-
Notifications
You must be signed in to change notification settings - Fork 13
Installing the Development version of enaR
The stable version of enaR is stored as the master branch of this GitHub repository and is best distributed as the R package available from CRAN. The beta branch is the code we are actively working to develop. This is likely to have bug fixes and feature extensions not yet present in the master branch. If you would like to use this version of the package, you can use the devtools package in R to install the package from the beta branch.
Here is an example of how to do this. At the R command line, please type the following lines of code:
install.package("devtools")
library(devtools)
install_github("SEELab/enaR", ref = "develop")
This will overwrite any existing version of enaR with the version in the current beta version. To return to the stable version, you can simple re-install the version from CRAN with the install.packages("enaR")
function.
Installing the devtools package on Ubuntu is problematic because of missing code dependencies in the operating system. We have had success with the install after using the following code at the terminal to add the missing dependencies:
sudo apt-get install libssl-dev
sudo apt-get install aptitude
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libxml2-dev