Installing the package
Dependencies
If the nloptr
dependency does not install and your
working on a linux-based system please install nlopt
.
For CentOS
For Ubuntu
For Mac
Tidyr/CPP 11 install error
If you get an error when trying to install tidyr, run the following lines of code:
remove.packages("tidyr")
remove.packages("cpp11")
library(remotes)
install_github('r-lib/cpp11', ref = 'v0.1.0')
install_github('tidyverse/tidyr', ref = 'v1.1.0')