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
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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.