James-Thorson-NOAA / VAST

Spatio-temporal analysis of univariate or multivariate data, e.g., standardizing data for multiple species or stages
http://www.FishStats.org
GNU General Public License v3.0
124 stars 53 forks source link

Installation error on OSX #185

Open Rindrics opened 5 years ago

Rindrics commented 5 years ago

I got following error during installation

> 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

Thank you.

Rindrics commented 5 years ago

Mac OS 10.13.6 R version 3.5.1 (2018-07-02) -- "Feather Spray"

Rindrics commented 5 years ago

I opened this issue because the cause seems different from that of #179.