Installation - grantbrown/ABSEIR GitHub Wiki
0. General Requirements
ABSEIR requires a recent version of 64 bit R (>=3.3), in addition to several R packages. The following packages are prerequisites:
- Rcpp
- RcppEigen
It also requires a recent C++ compiler which supports C++ 11. This is now shipped in Rtools for Windows, and by default on most Linux distributions. RStudio should be able to take care of installing RTools for you, if you're on a Windows machine.
There have been some reports of installation difficulties with the version of Clang++ bundled on OSX machines; if you have access to such a machine, we would appreciate your feedback on the installation process.
The R-package prerequisites can be installed from within R by running:
install.packages(c("Rcpp", "RcppEigen"))
In addition, if you would like to avoid running "R CMD INSTALL" manually, you will need to download the devtools package:
install.packages("devtools")
Preparation for a submission to CRAN is in progress.
1. Installation
In general, installation should be very straightforward:
library(devtools)
install_git("https://github.com/grantbrown/ABSEIR.git")
If this doesn't work, please open an issue on the ABSEIR github page.