Hi everyone,
I’m trying to download the development version of RStan from here: RStan Getting Started · stan-dev/rstan Wiki · GitHub
I’ve removed my old version of RStan and StanHeaders, but every time I try to download the package, I get a warning saying “unable to access index for repository” and then get re-directed to CRAN (see below), where the older version is. I’ve tried re-installing R, de-selecting the “use secure download method” option for downloading packages, and changing wifi networks but I haven’t had any luck. Does anybody have any suggestions? I’m using R 4.2.1 on macOS Mojave 10.14.3.
install.packages("rstan", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
Warning in install.packages :
unable to access index for repository https://mc-stan.org/r-packages/src/contrib:
cannot open URL 'https://mc-stan.org/r-packages/src/contrib/PACKAGES'
also installing the dependency ‘StanHeaders’
Warning in install.packages :
unable to access index for repository https://mc-stan.org/r-packages/bin/macosx/contrib/4.2:
cannot open URL 'https://mc-stan.org/r-packages/bin/macosx/contrib/4.2/PACKAGES'
trying URL 'http://cran.rstudio.com/bin/macosx/contrib/4.2/StanHeaders_2.21.0-7.tgz'
Content type 'application/x-gzip' length 1546843 bytes (1.5 MB)
==================================================
downloaded 1.5 MB
trying URL 'http://cran.rstudio.com/bin/macosx/contrib/4.2/rstan_2.21.5.tgz'
Content type 'application/x-gzip' length 24565204 bytes (23.4 MB)
==================================================
downloaded 23.4 MB