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

Microsoft MRAN is no more, what are the alternatives? #214

Closed
manticore-projects opened this issue Aug 18, 2023 · 4 comments
Closed

Microsoft MRAN is no more, what are the alternatives? #214

manticore-projects opened this issue Aug 18, 2023 · 4 comments
Labels

Comments

@manticore-projects
Copy link

https://techcommunity.microsoft.com/t5/azure-sql-blog/microsoft-r-application-network-retirement/ba-p/3707161

> install.packages('forecast');
Warning in install.packages("forecast") :
  'lib = "/usr/lib/jvm/java-17-graalvm/languages/R/library"' is not writable
Would you like to use a personal library instead? (yes/No/cancel) yes
Would you like to create a personal library
‘~/R/x86_64-pc-linux-gnu-library/fastr-23.0.0-4.0’
to install packages into? (yes/No/cancel) yes
Warning: unable to access index for repository https://mran.microsoft.com/snapshot/2021-02-01/src/contrib:
  mran.microsoft.com

And now, what please?

@manticore-projects
Copy link
Author

Answering my own question, this seems to work:

  1. Install GroundHog from https://groundhogr.com
  2. find the relevant cut-off date, which is 2021-04-30 for R 4.0.3 (FastR)
  3. generate the best Repo URL from POSIT: https://packagemanager.posit.co/client/#/repos/2/overview:
options(repos = c(REPO_NAME = "https://packagemanager.posit.co/cran/2021-04-30"))
  1. install the package via GroundHog for the given cut-off date
library(groundhog)
groundhog.library("rio", "2021-04-30")

@tony-aw
Copy link

tony-aw commented Feb 3, 2024

Hi,

You don't actually need groundhog. The RStudio/Posit packagemanager is already sufficient.

Kind regards,

Tony.

@steve-s
Copy link
Member

steve-s commented Feb 3, 2024

Yes, FastR migrated to it in 37133d3

@manticore-projects
Copy link
Author

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants