Skip to content

socialmixr

0.6.0

Social Mixing Matrices for Infectious Disease Modelling

4packages depend
16.8Kdownloads / year
78.5%test coverage
13/13checks pass

Overview

About
Maintained by Sebastian FunkFirst published 2018-01-0817 releasesCRAN page ↗GitHub ↗

Methods for sampling contact matrices from diary data for use in infectious disease modelling, as discussed in Mossong et al. (2008) doi:10.1371/journal.pmed.0050074.

Install

Health

CRAN checks
13OK
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.66
78.5%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 254 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
93%
Return-value docs
96%
References docs
0%

Downloads

16.8K
CRAN downloads in the past year
Rank #3,573 · ~46/day · ~1.4K/mo
Daily download trend is not available in this view yet.
75130 days
2.8K90 days
16.8K1 year
Compare downloads with other packages →
Also on173 r2u19 autocran49 c2d4u

Repository

Repository
44Stars
15Forks
16Open issues
0Open PRs
9Releases
687Commits
16Contributors
rr-package
687 commits · Last activity 2026-08-13 · 0% stars, 30d

Stars over time

2025-07-31 · 402026-07-07 · 44

Repository practices

Upstream repositoryBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/epiforecasts/socialmixr on 2026-08-09.

Continuous integration (2)
GitHub ActionsTravis CI
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Automation and maintenance (1)
Dependabot
Show all practices
Lint, format, editor (4)
lintrAirVS CodeRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

People & History

People (12)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author · added in 0.3.0
Author · added in 0.5.1
Author · added in 0.2.0
Contributors (7)
Contributor · added in 0.1.7
Contributor · added in 0.5.0
Contributor · added in 0.1.7
Contributor · added in 0.2.0
Contributor · added in 0.1.7
Contributor · added in 0.1.7
Contributor · added in 0.1.7
Other (1)
col, dtm · added in 0.2.0
Package Timeline

17 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.6.0Latest
    2026-04-29 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1
    2026-02-04 · diff ↗
  • 0.5.0
    2026-01-19 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0
    2024-10-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.2
    2024-04-18 · diff ↗
  • 0.3.1
    2023-10-26 · diff ↗
  • 0.3.0
    2023-10-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0
    2022-10-27 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.8
    2020-11-14 · diff ↗
  • 0.1.7
    2020-08-06 · diff ↗
Show 11 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.6
    2020-01-10 · diff ↗
  • 0.1.5
    2019-09-24 · diff ↗
  • 0.1.4
    2019-07-24 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.3
    2018-08-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.2
    2018-02-22 · diff ↗
  • 0.1.1
    2018-01-15 · diff ↗
  • 0.1.0
    2018-01-08
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-01-08
Total releases
17 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
364 KB / 1 file
Download size
553 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("socialmixr")
Funk, S., Bekker-Nielsen Dunbar, M., Chapman, L., Clifford, S., Coletti, P., Gruson, H., Hens, N., Jarvis, C., Pearson, C. A. B., Robert, A., Tierney, N., & Willem, L. (2026). socialmixr: Social Mixing Matrices for Infectious Disease Modelling (Version 0.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.socialmixr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for socialmixr version 0.6.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy