Downloading GitHub repo stan-dev/cmdstanr@HEAD
── R CMD build ──────────────────────────────────────────────────────────────────────────
checking for file ‘/private/var/folders/66/6yy31gvd2ggdrcmn0v72j0z40000gn/T/Rtmpe1DO8E/remotes97c752247d2/stan-dev-cmdstanr-7036eee/DESCRIPTION’ ...
─ preparing ‘cmdstanr’:
checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
─ building ‘cmdstanr_0.5.3.tar.gz’
Error: 3:49: unexpected string constant
3: if (Sys.getenv("RSTUDIO") == "1" && RSTUDIO_TERM")) &&
4: Sys.info()["
^
Execution halted
Warning: installation of package ‘/var/folders/66/6yy31gvd2ggdrcmn0v72j0z40000gn/T//Rtmpe1DO8E/file97c1d996812/cmdstanr_0.5.3.tar.gz’ had non-zero exit statusDownloading GitHub repo rmcelreath/rethinking@HEAD
Skipping 1 packages not available: cmdstanr
── R CMD build ──────────────────────────────────────────────────────────────────────────
checking for file ‘/private/var/folders/66/6yy31gvd2ggdrcmn0v72j0z40000gn/T/Rtmpe1DO8E/remotes97c17c66e2e/rmcelreath-rethinking-2f01a9c/DESCRIPTION’ ...
─ preparing ‘rethinking’:
checking DESCRIPTION meta-information
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘rethinking_2.31.tar.gz’
Error: 3:49: unexpected string constant
3: if (Sys.getenv("RSTUDIO") == "1" && RSTUDIO_TERM")) &&
4: Sys.info()["
^
Execution halted
Warning: installation of package ‘/var/folders/66/6yy31gvd2ggdrcmn0v72j0z40000gn/T//Rtmpe1DO8E/file97c646b9a33/rethinking_2.31.tar.gz’ had non-zero exit status.
I uninstalled and reinstalled R this morning with same result. I tried installing on R (not RStudio) with same result.
Aaaaarrrggghhh!!
I tried another variation, also rejected with the error message:
Error in "1" && "RSTUDIO_TERM" : invalid 'x' type in 'x && y' Execution halted Warning: installation of package ‘/var/folders/66/6yy31gvd2ggdrcmn0v72j0z40000gn/T//RtmpRNhaSs/file106a366d852a/rethinking_2.31.tar.gz’ had non-zero exit status.