-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tibble and rlang to Imports. Both needed for dplyr, therefore the PoolTestR dependency footprint is unchanged. Added tibble:: and stats:: calls for functions in those packages. Imported .data from rlang in package.R file. Update dplyr function calls - data masking and tidy selection (refer to this vignette: https://dplyr.tidyverse.org/articles/in-packages.html) In R files, updated T and F to TRUE and FALSE as recommended in R Packages 2nd ed. Ran devtools document and check functions, then tested all 6 modes of PoolPrev and HierPoolPrev. Also tested print method on all 6 modes. Ran successfully. Tidied description with usethis::use_tidy_description()
- Loading branch information
Showing
6 changed files
with
66 additions
and
60 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 |
---|---|---|
|
@@ -2,31 +2,30 @@ Package: PoolTestR | |
Title: Prevalence and Regression for Pool-Tested (Group-Tested) Data | ||
Version: 0.2.0 | ||
Authors@R: c( | ||
person(given = "Angus", family = "McLure", role = c("aut", "cre"), | ||
email = "[email protected]",comment = c(ORCID = "0000-0003-2551-3059") ), | ||
person(given = "Caitlin", family = "Cherryh", role = c("ctb"), | ||
comment = c(ORCID = "0000-0001-6146-4376") ) | ||
) | ||
person("Angus", "McLure", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-2551-3059")), | ||
person("Caitlin", "Cherryh", role = "ctb", | ||
comment = c(ORCID = "0000-0001-6146-4376")) | ||
) | ||
Description: An easy-to-use tool for working with presence/absence tests | ||
on 'pooled' or 'grouped' samples. The primary application is for | ||
estimating prevalence of a marker in a population based on the results | ||
of tests on pooled specimens. This sampling method is often employed | ||
in surveillance of rare conditions in humans or animals (e.g. | ||
molecular xenomonitoring). The package was initially conceived as an | ||
R-based alternative to the molecular xenomonitoring software, | ||
'PoolScreen' <https://sites.uab.edu/statgenetics/software/>. However, | ||
it goes further, allowing for estimates of prevalence to be adjusted | ||
for hierarchical sampling frames, and perform flexible mixed-effect | ||
regression analyses (McLure et al. Environmental Modelling and | ||
Software. <DOI:10.1016/j.envsoft.2021.105158>). The package is | ||
currently in early stages, however more features are planned or in the | ||
works: e.g. adjustments for imperfect test specificity/sensitivity, | ||
functions for helping with optimal experimental design, and functions | ||
for spatial modelling. | ||
License: GPL (>= 3) | ||
URL: https://github.com/AngusMcLure/PoolTestR | ||
BugReports: https://github.com/AngusMcLure/PoolTestR | ||
Description: An easy-to-use tool for working with presence/absence tests on 'pooled' | ||
or 'grouped' samples. The primary application is for estimating prevalence of | ||
a marker in a population based on the results of tests on pooled specimens. | ||
This sampling method is often employed in surveillance of rare conditions in | ||
humans or animals (e.g. molecular xenomonitoring). The package was initially | ||
conceived as an R-based alternative to the molecular xenomonitoring software, | ||
'PoolScreen' <https://sites.uab.edu/statgenetics/software/>. However, it goes | ||
further, allowing for estimates of prevalence to be adjusted for hierarchical | ||
sampling frames, and perform flexible mixed-effect regression analyses | ||
(McLure et al. Environmental Modelling and Software. | ||
<DOI:10.1016/j.envsoft.2021.105158>). The package is currently in early stages, | ||
however more features are planned or in the works: e.g. adjustments for | ||
imperfect test specificity/sensitivity, functions for helping with optimal | ||
experimental design, and functions for spatial modelling. | ||
License: GPL (>= 3) | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Biarch: true | ||
Depends: | ||
R (>= 3.4.0) | ||
Imports: | ||
|
@@ -37,19 +36,24 @@ Imports: | |
progress, | ||
Rcpp (>= 0.12.0), | ||
RcppParallel (>= 5.0.1), | ||
rlang, | ||
rstan (>= 2.26.0), | ||
rstantools (>= 2.3.1.1), | ||
stats, | ||
stringr | ||
stringr, | ||
tibble | ||
Suggests: | ||
covr | ||
LinkingTo: | ||
BH (>= 1.66.0), | ||
Rcpp (>= 0.12.0), | ||
RcppEigen (>= 0.3.3.3.0), | ||
RcppParallel (>= 5.0.1), | ||
rstan (>= 2.26.0), | ||
StanHeaders (>= 2.26.0) | ||
SystemRequirements: GNU make | ||
RoxygenNote: 7.3.2 | ||
Biarch: true | ||
Encoding: UTF-8 | ||
Language: en-AU | ||
Suggests: | ||
covr | ||
LazyData: true | ||
RoxygenNote: 7.3.2 | ||
SystemRequirements: GNU make |
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
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
#' @import methods | ||
#' @import Rcpp | ||
#' @import rstan | ||
#' @importFrom rlang .data | ||
#' | ||
#' @references | ||
#' | ||
|
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