Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Repository
Estimating Epidemic Growth Rates
Basic Info
- Host: GitHub
- Owner: davidearn
- Language: R
- Default Branch: master
- Size: 36 MB
Statistics
- Stars: 9
- Watchers: 5
- Forks: 1
- Open Issues: 7
- Releases: 0
Metadata Files
README.md
epigrowthfit
epigrowthfit is an R package for fitting nonlinear mixed effects models of epidemic growth to collections of one or more disease incidence time series. It can be applied to birth processes other than epidemics, as the statistical machinery is agnostic to the precise interpretation of supplied count data. epigrowthfit is built on Template Model Builder.
Installation
CRAN distributes both the package sources and binaries for Windows and macOS. Hence typical users will install epigrowthfit with
r
install.packages("epigrowthfit")
or perhaps
r
install.packages("epigrowthfit", type = "source")
to force installation from sources where installation of a binary
would occur by default. The rest of this section concerns the
type = "source" case.
Installation from sources depends on compilers and related tools. These will already be available on modern Linux installations. Windows users must have installed Rtools. macOS users must have installed Apple's Command Line Tools for Xcode and GNU Fortran. The most recent version of Command Line Tools supporting the version of macOS in use can be installed by running
shell
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
in Terminal. Binaries for older versions of Command Line Tools can be downloaded here. GNU Fortran should be installed following the instructions on the R for macOS Developers page.
Vignette building depends on a
LaTeX distribution.
Specifically, PATH must specify the location of pdflatex.
Issues related to installation should be reported (with relevant output) here. Notably, details for Windows and macOS can differ for non-current versions of R or non-standard installations of R, where the "standard" way to install R is to download and unpack a binary built and published by CRAN.
Compiler errors encountered on macOS are almost always explained
by unmet dependencies or masking of native tools, headers, and
libraries with non-native ones (e.g., ones installed by Homebrew).
Masking occurs due to dubious configuration of PATH or dubious
setting (typically in ~/.R/Makevars) of Make variables such as
CPPFLAGS and LDFLAGS. Users should reattempt compilation
after removing suspicious components of PATH (e.g., by
removing relevant lines of startup files in your home directory,
then launching a new shell) and (re)moving ~/.R/Makevars.
epigrowthfit supports low level parallelism via
OpenMP. The support tends to
be automatic except on macOS, because Apple's Command Line Tools do
not bundle the requisite headers and runtime library. The R for macOS
Developers page makes these files
available for download, hence macOS users can follow the installation
instructions there. If clang --version gives 1403.0.22.14.1 (say),
then one would do
shell
curl -O https://mac.r-project.org/openmp/openmp-15.0.7-darwin20-Release.tar.gz
sudo mkdir -p /opt/R/$(uname -m)
sudo tar -xvf openmp-15.0.7-darwin20-Release.tar.gz --strip-components=2 -C /opt/R/$(uname -m)
and create a ~/.R/Makevars containing the lines
make
CPPFLAGS += -Xclang -fopenmp
LDFLAGS += -lomp
The flags in the tar command line ensure that the files are unpacked
under /opt/R/x86_64 (Intel) or /opt/R/arm64 (Apple Silicon).
Standard installations of R will already be configured to search there
for dependencies.
Documentation
After installing, users can access the package index (a list of available help topics) with:
r
help(package = "epigrowthfit")
The HTML help contains useful hyperlinks and typeset math.
You can force HTML rendering, where that is not the default,
by passing help_type = "html".
Repository structure
Active development happens on branch master. Tested changes intended
for the next release are ported to branch release-candidate,
where tarballs submitted to CRAN are eventually built. Neither master
nor release-candidate should be considered stable.
The stable branches are named release-x.y.z. They branch from
release-candidate before the version number there is incremented,
typically just after a tarball is submitted to CRAN.
To install epigrowthfit from sources in a given branch or commit, install remotes and run, e.g.,
r
remotes::install_github("davidearn/epigrowthfit", ref = "release-0.15.2")
remotes::install_github("davidearn/epigrowthfit", ref = "cf6fdd8")
References
Owner
- Name: David Earn
- Login: davidearn
- Kind: user
- Location: Hamilton, Ontario, Canada
- Company: McMaster University
- Website: http://davidearn.mcmaster.ca
- Repositories: 8
- Profile: https://github.com/davidearn
GitHub Events
Total
- Release event: 1
- Delete event: 1
- Push event: 9
- Create event: 1
Last Year
- Release event: 1
- Delete event: 1
- Push event: 9
- Create event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 9
- Total pull requests: 0
- Average time to close issues: 2 months
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 6.33
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- bbolker (5)
- dushoff (4)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 129 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: epigrowthfit
Nonlinear Mixed Effects Models of Epidemic Growth
- Homepage: https://github.com/davidearn/epigrowthfit
- Documentation: http://cran.r-project.org/web/packages/epigrowthfit/epigrowthfit.pdf
- License: GPL-3
-
Latest release: 0.15.4
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5 depends
- TMB * depends
- Matrix * imports
- grDevices * imports
- graphics * imports
- methods * imports
- nlme * imports
- stats * imports
- utils * imports
- diffviewer * suggests
- emdbook >= 1.3.12 suggests
- knitr * suggests
- pkgload * suggests
- shiny * suggests
- shinyFeedback * suggests
- testthat >= 3.0.0 suggests
- vdiffr * suggests
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite