Skip to contents

Installing the package

Dependencies

If the nloptr dependency does not install and your working on a linux-based system please install nlopt.

For CentOS

yum install nlopt nlopt-devel

For Ubuntu

apt-get install libnlopt-dev

For Mac

brew install nlopt

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')