nloptr provides an R interface to NLopt, a free/open-source library for nonlinear optimization providing a common interface to a number of different optimization routines which can handle nonlinear constraints and lower and upper bounds for the controls.
Running sudo brew install cmake, as suggested in cmake_config.sh, now results in an error:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
On the other hand, brew install --cask cmake works and allows installation of nloptr.
Running
sudo brew install cmake
, as suggested incmake_config.sh
, now results in an error:On the other hand,
brew install --cask cmake
works and allows installation ofnloptr
.