Installing and Loading COVIDCurve

To install this package, you will need to first install the remotes package and then run the following command:

remotes::install_github("mrc-ide/COVIDCurve")

Installation times should take approximately 30 seconds - 2 minutes depending on dependency needs.

Dependencies

COVIDCurve relies on the Rcpp package, which requires certain OS-specific dependencies:

  • Windows
    • Download and install the appropriate version of Rtools for your version of R. On installation, ensure you check the box to arrange your system PATH as recommended by Rtools
  • Mac OS X
    • Download and install XCode
    • Within XCode go to Preferences : Downloads and install the Command Line Tools
  • Linux (Debian/Ubuntu)
    • Install the core software development utilities required for R package development as well as LaTeX by executing
    sudo apt-get install r-base-dev texlive-full

In addition, COVIDCurve uses the drjacoby package for MCMC framework. Please see the drjacoby site for further details.

If you have any problems installing then please raise an issue on github.

Additional R-package dependencies are listed in the DESCRIPTION file.

Assuming everything installed correctly, you can now load the package:

library(COVIDCurve)