Skip to content

Commit 56ab59f

Browse files
committed
Merge branch 'main' into joss
2 parents 4039c6a + 6872663 commit 56ab59f

File tree

8 files changed

+39
-9
lines changed

8 files changed

+39
-9
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message: 'To cite package "simulist" in publications use:'
88
type: software
99
license: MIT
1010
title: 'simulist: Simulate Disease Outbreak Line List and Contacts Data'
11-
version: 0.6.0.9000
11+
version: 0.7.0
1212
doi: 10.5281/zenodo.10471458
1313
identifiers:
1414
- type: doi

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: simulist
22
Title: Simulate Disease Outbreak Line List and Contacts Data
3-
Version: 0.6.0.9000
3+
Version: 0.7.0
44
Authors@R: c(
55
person("Joshua W.", "Lambert", , "[email protected]", role = c("aut", "cre", "cph"),
66
comment = c(ORCID = "0000-0001-5218-3046")),

NEWS.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
# simulist (development version)
1+
# simulist 0.7.0
2+
3+
This minor version release contains a range of minor updates and accompanies the _simulist_ publication in the [Journal of Open Source Software (JOSS)](https://joss.theoj.org/).
4+
5+
## New features
6+
7+
* The sampling of sex for line list and contacts data can now be weighted instead of assuming a uniform probability via `prob_male` in `config` (#255).
8+
9+
* The `reporting_delay` argument in `sim_linelist()` and `sim_outbreak()` now supports `<epiparameter>` objects, matching the functionality of the other delay distribution arguments (#262).
10+
11+
* A new line list events plot has been added to the `vis-linelist.Rmd` vignette (#278).
12+
13+
## Breaking changes
14+
15+
* None
16+
17+
## Minor changes
18+
19+
* Added `dependabot` (#258).
20+
21+
* GitHub actions versions are updated (multiple PRs).
22+
23+
* `.lintr` is updated to include more linters (#279) and the `# nolint` flag syntax is fixed (#263).
24+
25+
## Bug fixes
26+
27+
* None
28+
29+
## Deprecated and defunct
30+
31+
* None
232

333
# simulist 0.6.0
434

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,4 @@ Some packages are related to {simulist} but do not simulate line list data. Thes
267267

268268
The {outbreaks} package is useful if data from a past outbreak data or generic line list data is required. The {ringbp} and {epichains} packages can be used to generate case data over time which can then be converted into a line list with some manual post-processing.
269269

270-
Another package for creating messy data is the [{messy}](https://CRAN.R-project.org/package=messy) package. This can be used, either independently or in combination with `messy_linelist()`, to create messy line list and contacts data.
270+
Another package for creating messy data is the [{messy}](https://CRAN.R-project.org/package=messy) package. This can be used, either independently or in combination with `messy_linelist()`, to create messy line list and contacts data.

cran-comments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## R CMD check results
22

3-
0 errors | 0 warnings | 0 notes
3+
0 errors | 0 warnings | 1 note
44

55
* Running R CMD check (with _R_CHECK_INCOMING_REMOTE_) flags 403 warnings for LSHTM URLs but these are valid URLs and are not flagged on winbuilder.
6-
7-
* There are no papers describing the methods used in this package.

inst/WORDLIST

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Kobo
5252
lifecycle
5353
Lifecycle
5454
linelist
55+
linters
5556
lintr
5657
LLsim
5758
lognormally
@@ -73,6 +74,7 @@ pkgdown
7374
Poisson
7475
Pratik
7576
primarycensored
77+
PRs
7678
px
7779
qPCR
7880
R's

vignettes/time-varying-cfr.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ To visualise the incidence of cases and deaths over time we will use the [{incid
128128
For more information on using {incidence2} to plot line list data see the [Visualising simulated data](vis-linelist.html) vignette.
129129
:::
130130

131-
Before converting the line list `<data.frame>` to an `<incidence>` object we need to ungroup the outcome columns into their own columns using the [{tidyr}](https://tidyr.tidyverse.org/) and [{dplyr}](https://dplyr.tidyverse.org/) R packages from the [Tidyverse](https://www.tidyverse.org/).
131+
Before converting the line list `<data.frame>` to an `<incidence>` object we need to ungroup the outcome columns into their own columns using the [{tidyr}](https://tidyr.tidyverse.org/) and [{dplyr}](https://dplyr.tidyverse.org/) R packages from the [Tidyverse](https://tidyverse.org/).
132132

133133
```{r, reshape-linelist}
134134
linelist <- linelist |>

vignettes/wrangling-linelist.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ library(dplyr)
2323
library(epicontacts)
2424
```
2525

26-
This vignette provides data wrangling examples using both functions available in the R language (commonly called "base R") as well as using [tidyverse R packages](https://www.tidyverse.org/), which are commonly applied to data science tasks in R. The tidyverse examples are shown by default, but select the "Base R" tab to see the equivalent functionality using base R. There are many other tools for wrangling data in R which are not covered by this vignette (e.g. [{data.table}](https://rdatatable.gitlab.io/data.table/)).
26+
This vignette provides data wrangling examples using both functions available in the R language (commonly called "base R") as well as using [tidyverse R packages](https://tidyverse.org/), which are commonly applied to data science tasks in R. The tidyverse examples are shown by default, but select the "Base R" tab to see the equivalent functionality using base R. There are many other tools for wrangling data in R which are not covered by this vignette (e.g. [{data.table}](https://rdatatable.gitlab.io/data.table/)).
2727

2828
::: {.alert .alert-info}
2929
See these great resources for more information on general data wrangling in R:

0 commit comments

Comments
 (0)