-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into clean_simulation_vignette
- Loading branch information
Showing
43 changed files
with
1,492 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ allpopsamples_hlye.csv$ | |
^CRAN-SUBMISSION$ | ||
^README\.qmd$ | ||
^codecov\.yml$ | ||
^\.lintr$ | ||
^man/df_to_array\.Rd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NEWS.md merge=union |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: Bug report or feature request | ||
about: Describe a bug you've seen or make a case for a new feature | ||
--- | ||
|
||
Please briefly describe your problem and what output you expect. | ||
If you have a question, please don't use this form. | ||
Instead, ask on | ||
<https://github.com/UCD-SERG/serocalculator/discussions/categories/q-a>. | ||
|
||
Please include a minimal reproducible example (AKA a reprex). | ||
If you've never heard of a [reprex](http://reprex.tidyverse.org/) before, | ||
start by reading <https://www.tidyverse.org/help/#reprex>. | ||
|
||
For more advice on how to write a great issue, see <https://code-review.tidyverse.org/issues/>. | ||
|
||
Brief description of the problem | ||
|
||
```r | ||
# insert reprex here | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Thank you for taking the time to submit a pull request! | ||
|
||
To maximize the chances of acceptance: | ||
|
||
- [ ] The title of your PR should briefly describe the change. | ||
- [ ] The body of your PR should contain `Fixes #issue-number` (if relevant). | ||
- [ ] Commit/merge messages to be included in NEWS.md should begin with `-`. | ||
- [ ] Code should follow the tidyverse [style guide](https://style.tidyverse.org). | ||
- [ ] Documentation should use roxygen2, with Markdown syntax. | ||
- [ ] Contributions should include unit tests (using `testthat`). | ||
|
||
For more information see [Contributing](/.github/CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
|
||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: check-readme | ||
|
||
jobs: | ||
check-readme: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- { os: ubuntu-latest, r: "release" } | ||
#- { os: ubuntu-latest, r: "devel" } | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
with: | ||
pandoc-version: "latest" | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
http-user-agent: "release" | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
pak-version: devel | ||
upgrade: "TRUE" | ||
extra-packages: | | ||
local::. | ||
any::gghalves | ||
any::ggplot2 | ||
any::quarto | ||
any::ggridges | ||
any::ggbeeswarm | ||
any::PairedData | ||
any::metaviz | ||
any::metaplus | ||
- name: Render README | ||
run: | | ||
options( | ||
crayon.enabled = TRUE, | ||
# warnPartialMatchArgs = TRUE, | ||
# warnPartialMatchAttr = TRUE, | ||
# warnPartialMatchDollar = TRUE, | ||
warn = 2L | ||
) | ||
quarto::quarto_render("README.qmd") | ||
shell: Rscript {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
linters: linters_with_defaults() # see vignette("lintr") | ||
encoding: "UTF-8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
Package: serocalculator | ||
Type: Package | ||
Package: serocalculator | ||
Title: Estimating Infection Rates from Serological Data | ||
Version: 1.2.0.9005 | ||
Version: 1.2.0.9012 | ||
Authors@R: c( | ||
person(given = "Peter", family = "Teunis", email = "[email protected]", role = c("aut", "cph"), comment = "Author of the method and original code."), | ||
person(given = "Kristina", family = "Lai", email = "[email protected]", role = c("aut", "cre")), | ||
person(given = "Chris", family = "Orwa", role = "aut"), | ||
person(given = "Kristen", family = "Aiemjoy", email = "[email protected]", role = c("aut")), | ||
person(given = "Douglas Ezra", family = "Morrison", email = "[email protected]", role = c("aut"))) | ||
Description: Translates antibody levels measured in cross-sectional population | ||
samples into estimates of the frequency with which seroconversions (infections) | ||
occur in the sampled populations. Replaces the previous `seroincidence` package. | ||
Depends: R (>= 4.1.0) | ||
person("Peter", "Teunis", , "[email protected]", role = c("aut", "cph"), | ||
comment = "Author of the method and original code."), | ||
person("Kristina", "Lai", , "[email protected]", role = c("aut", "cre")), | ||
person("Chris", "Orwa", role = "aut"), | ||
person("Kristen", "Aiemjoy", , "[email protected]", role = "aut"), | ||
person("Douglas Ezra", "Morrison", , "[email protected]", role = "aut") | ||
) | ||
Description: Translates antibody levels measured in cross-sectional | ||
population samples into estimates of the frequency with which | ||
seroconversions (infections) occur in the sampled populations. | ||
Replaces the previous `seroincidence` package. | ||
License: GPL-3 | ||
URL: https://github.com/UCD-SERG/serocalculator, | ||
https://ucd-serg.github.io/serocalculator/ | ||
BugReports: https://github.com/UCD-SERG/serocalculator/issues | ||
Depends: | ||
R (>= 4.1.0) | ||
Imports: | ||
cli, | ||
doParallel, | ||
dplyr (>= 1.1.1), | ||
foreach, | ||
|
@@ -29,28 +37,33 @@ Imports: | |
stats, | ||
tibble, | ||
tidyr, | ||
utils, | ||
tidyselect, | ||
cli | ||
utils | ||
Suggests: | ||
parallel, | ||
bookdown, | ||
devtag (>= 0.0.0.9000), | ||
DT, | ||
fs, | ||
ggbeeswarm, | ||
knitr, | ||
pak, | ||
parallel, | ||
readr, | ||
rmarkdown, | ||
tidyverse, | ||
fs, | ||
spelling, | ||
ssdtools (>= 1.0.6.9016), | ||
testthat (>= 3.0.0), | ||
readr, | ||
bookdown, | ||
ggbeeswarm, | ||
DT, | ||
spelling | ||
LazyData: true | ||
Encoding: UTF-8 | ||
URL: https://github.com/UCD-SERG/serocalculator, https://ucd-serg.github.io/serocalculator/ | ||
RoxygenNote: 7.3.2 | ||
NeedsCompilation: no | ||
tidyverse | ||
LinkingTo: | ||
Rcpp | ||
Language: en-US | ||
Roxygen: list(markdown = TRUE) | ||
Config/testthat/edition: 3 | ||
Config/Needs/build: moodymudskipper/devtag | ||
Encoding: UTF-8 | ||
Language: en-US | ||
LazyData: true | ||
NeedsCompilation: no | ||
Remotes: | ||
bcgov/ssdtools, | ||
moodymudskipper/devtag | ||
Roxygen: list(markdown = TRUE, roclets = c("collate", "rd", "namespace", "devtag::dev_roclet")) | ||
RoxygenNote: 7.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.