> install_github("james-thorson/VAST", INSTALL_opts="--no-staged-install")
Downloading GitHub repo james-thorson/VAST@master
─ building 'VAST_3.1.0.tar.gz'formation ...l/2v7h_sys7b3cjqcrq7qtztk40000gn/T/RtmpVlFqtF/remotes60a37f89bd67/James-Thorson-NOAA-VAST-deca9d5/DESCRIPTION’ ...
Warning: unknown option ‘--no-staged-install’
* installing *source* package ‘VAST’ ...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error: package or namespace load failed for ‘VAST’:
.onAttach failed in attachNamespace() for 'VAST', details:
call: if (getOption("repos")["CRAN"] == "@CRAN@") {
error: missing value where TRUE/FALSE needed
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/VAST’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/9l/2v7h_sys7b3cjqcrq7qtztk40000gn/T//RtmpVlFqtF/file60a33f3ca459/VAST_3.1.0.tar.gz’ had non-zero exit status
I got following error during installation
Thank you.