Skip to content

epiparameter

Classes and Helper Functions for Working with Epidemiological Parameters

v0.4.1 · Jan 23, 2025 · MIT + file LICENSE

Description

Classes and helper functions for loading, extracting, converting, manipulating, plotting and aggregating epidemiological parameters for infectious diseases. Epidemiological parameters extracted from the literature are loaded from the 'epiparameterDB' R package.

Downloads

246

Last 30 days

13059th

246

Last 90 days

246

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [42s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > # nolint start
  > library(testthat)
  > library(epiparameter)
  > # nolint end
  > 
  > test_check("epiparameter")
  Citation cannot be created as author, year, journal or title is missing
  Saving _problems/test-extract_param-266.R
  Returning 4 results that match the criteria (4 are parameterised). 
  Use subset to filter by entry variables or single_epiparameter to return a single entry. 
  To retrieve the citation for each use the 'get_citation' function
  Returning 3 results that match the criteria (3 are parameterised). 
  Use subset to filter by entry variables or single_epiparameter to return a single entry. 
  To retrieve the citation for each use the 'get_citation' function
  [ FAIL 1 | WARN 2 | SKIP 30 | PASS 523 ]
  
  ══ Skipped tests (30) ══════════════════════════════════════════════════════════
  • On CRAN (23): 'test-convert_params.R:13:1', 'test-convert_params.R:53:1',
    'test-convert_params.R:114:1', 'test-convert_params.R:144:1',
    'test-epiparameter.R:176:1', 'test-epiparameter.R:197:1',
    'test-epiparameter.R:219:1', 'test-extract_param.R:294:3',
    'test-extract_param.R:363:3', 'test-parameter_tbl.R:4:1',
    'test-parameter_tbl.R:16:1', 'test-parameter_tbl.R:31:1',
    'test-parameter_tbl.R:46:1', 'test-parameter_tbl.R:61:1',
    'test-parameter_tbl.R:76:1', 'test-parameter_tbl.R:92:1',
    'test-parameter_tbl.R:105:1', 'test-parameter_tbl.R:118:1',
    'test-plot.R:1:1', 'test-print.R:4:1', 'test-print.R:9:1',
    'test-print.R:16:1', 'test-print.R:27:1'
  • {epireview} is not installed (7): 'test-coercion.R:13:3',
    'test-coercion.R:39:3', 'test-coercion.R:63:3', 'test-coercion.R:88:3',
    'test-coercion.R:114:3', 'test-coercion.R:140:3', 'test-coercion.R:169:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-extract_param.R:256:3'): .extract_param works for lnorm percentiles ──
  Expected `lnorm_params` to equal `list(...)`.
  Differences:
    `actual$convergence`: 52.0
  `expected$convergence`:  0.0
  
  `actual$message`:   "ERROR: ABNORMAL_TERMINATION_IN_LNSRCH"           
  `expected$message`: "CONVERGENCE: NORM OF PROJECTED GRADIENT <= PGTOL"
  
  
  [ FAIL 1 | WARN 2 | SKIP 30 | PASS 523 ]
  Error:
  ! Test failures.
  Execution halted
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

tests

  Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [42s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > # nolint start
  > 

Reverse Dependencies (2)

imports

suggests

Dependency Network

Dependencies Reverse dependencies cachem checkmate cli distcrete distributional epiparameterDB lifecycle pillar rlang simulist superspreading epiparameter

Version History

new 0.4.1 Mar 9, 2026