Skip to content

Commit

Permalink
updated print snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Jun 4, 2024
1 parent b205e17 commit 4252241
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions tests/testthat/_snaps/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,11 @@
Use subset to filter by entry variables or single_epidist to return a single entry.
To retrieve the citation for each use the 'get_citation' function
Output
# List of <epidist> objects
# A list: 122 elements
# List of 122 <epidist> objects
Number of diseases: 23
> Adenovirus > COVID-19 > Chikungunya > Dengue > Ebola Virus Disease > Hantavirus Pulmonary Syndrome > Human Coronavirus > Influenza > Japanese Encephalitis > MERS > Marburg Virus Disease > Measles > Mpox > Parainfluenza > Pneumonic Plague > RSV > Rhinovirus > Rift Valley Fever > SARS > Smallpox > West Nile Fever > Yellow Fever > Zika Virus Disease
Number of epi distributions: 12
> generation time > hospitalisation to death > hospitalisation to discharge > incubation period > notification to death > notification to discharge > offspring distribution > onset to death > onset to discharge > onset to hospitalisation > onset to ventilation > serial interval
[[1]]
Disease: Adenovirus
Pathogen: Adenovirus
Expand Down Expand Up @@ -63,9 +57,7 @@
# i 119 more elements
# i Use `print(n = ...)` to see more elements.
# i Use `parameter_tbl()` to see a summary table of the parameters.
Message
Explore database online at
<https://epiverse-trace.github.io/epiparameter/dev/articles/database.html>
# i Explore database online at: https://epiverse-trace.github.io/epiparameter/dev/articles/database.html

# epidist_db print method works as expected for <= 5 <epidist>

Expand All @@ -76,17 +68,11 @@
Use subset to filter by entry variables or single_epidist to return a single entry.
To retrieve the citation for each use the 'get_citation' function
Output
# List of <epidist> objects
# A list: 2 elements
# List of 2 <epidist> objects
Number of diseases: 1
> SARS
Number of epi distributions: 1
> offspring distribution
[[1]]
Disease: SARS
Pathogen: SARS-Cov-1
Expand All @@ -112,7 +98,5 @@
dispersion: 0.170
# i Use `parameter_tbl()` to see a summary table of the parameters.
Message
Explore database online at
<https://epiverse-trace.github.io/epiparameter/dev/articles/database.html>
# i Explore database online at: https://epiverse-trace.github.io/epiparameter/dev/articles/database.html

0 comments on commit 4252241

Please sign in to comment.