Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error : Failed to retrieve package sources for MASS 7.3-60.0.1 from CRAN #289

Closed
LXHe opened this issue Apr 7, 2024 · 2 comments
Closed

Comments

@LXHe
Copy link

LXHe commented Apr 7, 2024

Hi, thanks for creating such an amazing bookdown tool. I have been using it these days and have republished a manuscript multiple times with no error. But 2 days ago, I came across an error while republishing my latest writing:

`Installing MASS (7.3-60.0.1) ...
curl: HTTP 200 https://cran.rstudio.com/src/contrib/PACKAGES.rds
curl: HTTP 404 https://cran.rstudio.com/src/contrib/Archive/MASS/MASS_7.3-60.0.1.tar.gz
curl: (22) The requested URL returned error: 404
curl: HTTP 404 https://cran.rstudio.com/src/contrib/Archive/MASS/MASS_7.3-60.0.1.tar.gz
curl: (22) The requested URL returned error: 404
curl: HTTP 404 https://cran.rstudio.com/src/contrib/Archive/MASS/MASS_7.3-60.0.1.tar.gz
curl: (22) The requested URL returned error: 404
curl: HTTP 404 https://cran.rstudio.com/src/contrib/Archive/MASS/MASS_7.3-60.0.1.tar.gz
curl: (22) The requested URL returned error: 404
curl: HTTP 404 https://cran.rstudio.com/src/contrib/Archive/MASS/MASS_7.3-60.0.1.tar.gz
curl: (22) The requested URL returned error: 404
FAILED
Error in getSourceForPkgRecord(pkgRecord, srcDir(project), availablePackagesSource(repos = repos), : Failed to retrieve package sources for MASS 7.3-60.0.1 from CRAN (internet connectivity issue?)

Unable to fully restore the R packages associated with this deployment.
Please review the preceding messages to determine which package
encountered installation difficulty and the cause of the failure.`

My R version is 4.3.3 and I have installed the latest MASS package locally but still get the error. I saw a similar issue here. Don't know if it is also a hosting service issue. Can you help me out? Thank you.

@cderv
Copy link
Collaborator

cderv commented Apr 9, 2024

It seems this package is not available somehow in cran.rstudio.com

You could try a previous MASS version, or wait for this package to be synced. We can't do much about that from our end unfortunately.

@LXHe
Copy link
Author

LXHe commented Apr 15, 2024

Thanks! I tried a previous MASS version and that worked!
It seems that rmarkdown::publish_site() also works.

@LXHe LXHe closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants