I'm an admin for a locked down site that runs R 4.1.0 only. The server has no internet access so packages need to be uploaded as .tar.gz files and installed manually. In the past, I've used the Posit package manager to download packages from 2021-05-18, the release date of R version 4.1.0. This has always worked well but now I'm getting error messages that the download has been refused.
Warning: unable to access index for repository https://packagemanager.posit.co/cran/2021-05-18/src/contrib:
cannot open URL 'https://packagemanager.posit.co/cran/2021-05-18/src/contrib/PACKAGES'
Error: Unable to retrieve source package plotly from https://packagemanager.posit.co/cran/2021-05-18
Can anyone help me out? I use the miniCRAN
package with the following code:
library(miniCRAN)
CRAN_mirror <- "https://packagemanager.posit.co/cran/2021-05-18"
pkgs <- c("plotly")
# Determine package dependencies
(pkgList <- pkgDep(pkgs, repos = CRAN_mirror, type = "source", suggests = FALSE, Rversion = "4.1.0"))
This works if I use CRAN_mirror <- "https://cran.r-project.org/"
but that will download the most recent package version. Can anyone explain why I can't access posit.co