-
Notifications
You must be signed in to change notification settings - Fork 362
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
Alternative to MRAN #773
Comments
In the past, I have successfully used That way the packages and their versions can be declared like so in the p_install_version(
c("pacman", "testthat"),
c("0.2.0", "0.9.1")
)
Pros:
Cons:
|
MRAN seems down right now :-( which seems to be blocking my repo2docker runs CC: @nuest
|
MRAN has been up&down several time s over the last few days :( Could we keep this issue as a place to only collect ideas for alternatives with their pros and cons. I think that would help keep us on track and keep an overview of the options. So I'd propose that we don't discuss the options until we have a few nor use it to discuss the current MRAN outage. |
We were also affected by the MRAN outage as using it to pin package version in our prod Docker builds (running several times a day), and although using a caching proxy etc to overcome temporarily network issues, the most recent 48 hrs downtime was really worrisome, so decided to look for alternatives at system1.com as well. On the other hand, MRAN was pretty stable in the past ~2 years (since we use it at scale) and MS seems to take care of it nowadays as well, so not sure if we indeed need to change for something else. Regarding Installing fixed package versions from the At system1, we were thinking about starting our own CRAN time-machine implementation that is pretty easy to set up with daily ZFS snapshops (hosting this on S3 or similar would have a huge overhead due to file dupes) and a webserver, but needs infra and not sure who would cover the monthly fees in the long run. We were also thinking about applying for an R Consortium grant to cover these costs, but not sure if that's a reasonable idea if MRAN is out there already. For now, I think we will go with mirroring some MRAN daily snapshots to our own infra via |
FTR seems like MRAN is also using ZFS in the background: From https://www.huber.embl.de/dsc/slides/R_Reproducibility-DSC.pdf |
The R Consosrtium just opened the Call for Proposals for R (infra) projects at https://www.r-consortium.org/blog/2019/09/13/get-funded-by-the-r-consortium-call-for-proposals-open-now |
@daroczig Interesting idea about hosting your own MRAN. Is there a repo/document about your plans? I think with MRAN being used more widely, especially by other platforms such as BinderHub, a few mirrors would not hurt. |
MRAN seems to be down again with Asking for help at https://twitter.com/daroczig/status/1180483076918521859?s=09 Fortunately, I've got a local mirror created with I'm still not sure where to host a general MRAN mirror, as seems to require quite some space that I don't have. |
MRAN was fixed 🎉 My script to maintain a local mirror: https://gist.github.com/daroczig/ef858d11b159f390b35fbbf8300b378d |
MRAN seems to occasionally miss a snapshot, though other days are working:
This caused the stencila-r build to fail travis today:
For this case (no date specified, use 2 days before) we could automatically try a URL for the N prior days too? Does anyone have an overview of:
|
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: https://discourse.jupyter.org/t/r-packages-in-install-r-fail-to-load-mran-down/3350/2 |
I don't have any hard data on how often MRAN goes down. Anecdotally it goes down "much more often" than say the conda package mirrors. I think the last outage was 3-5months ago for MRAN and lasted a few days? There was discussion at some point if MRAN should/could start thinning out the dates for which they have a snapshot. Not sure where that discussion went/ended though. I think we should consider encouraging people to move to using an |
There is an issue with encouraging people to move to using an As an aside, if you're thinking of using an alternative way of installing R packages, it would be especially nice if it also worked with R packages not in CRAN (and therefore not currently snapshotted by MRAN), such as R packages in Bioconductor and Neuroconductor. |
As an alternative to Microsoft's MRAN, there's RStudio's public pkg manager as well now: https://packagemanager.rstudio.com/client/#/repos/1/overview |
#1104 switches to packagemanger.rstudio.com for newer R dates and versions. |
Proposed change
Provide an alternative way of pinning R packages to using MRAN dates. MRAN has been flaky/unavailable several times this week which means repos that use a MRAN date can't be built.
This issue is about collecting alternatives and their pros/cons. As well as maybe some information on whether the current performance of MRAN is a sign for things to come or just an intermittent problem.
Who would use this feature?
All R users.
Who can do this work?
To work on this you need to understand how CRAN and R packaging work. It would help if you have some understanding or connection to MRAN to judge if the current outages are connected to a policy change.
The text was updated successfully, but these errors were encountered: