8000 Adding Pop_OS! to available list of R versions · Issue #277 · r-lib/rig · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adding Pop_OS! to available list of R versions #277

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

Open
Nerwosolek opened this issue Apr 18, 2025 · 2 comments
Open

Adding Pop_OS! to available list of R versions #277

Nerwosolek opened this issue Apr 18, 2025 · 2 comments
Labels
feature a feature request or enhancement

Comments

@Nerwosolek
Copy link

Hi!

I have Pop_OS! 22.04 which is basically Ubuntu.
rig system detect-platform reports:

Detected platform:
Architecture: x86_64
OS: linux
Distribution: pop
Version: 22.04

And of course rig available outputs:

[ERROR] Cannot download JSON: HTTP status client error (404 Not Found) for url (https://api.r-hub.io/rversions/available/linux-pop-22.04/x86_64)

So I wonder,is it possible to somehow override entry Distibution and instead pop place ubuntu?

Also, can I add R version which existed on my system before installing rig to the list of installed and switchable R's?

Probably possibility to rig add <filename> would also help in my case, I see it's on TODO list: #1

And BTW: great job, many thanks!

andrewswait added a commit to andrewswait/rig that referenced this issue Apr 25, 2025
Issue: r-lib#277

PopOS is not supported by api.r-hub.io yet but PopOS is essentially just
Ubuntu (in the context of installing R) so we masquerade it as that.
@andrewswait
Copy link
andrewswait commented Apr 25, 2025

@Nerwosolek I've opened a PR that does s/pop/ubuntu when determining the distro but see also this comment (you can set the RIG_PLATFORM env var to ubuntu-22.04 and that should do the trick).

e.g. RIG_PLATFORM=ubuntu-22.04 rig add release

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label May 8, 2025
@Nerwosolek
Copy link
Author

@gaborcsardi Thank you for the solution, worked like a charm!

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

No branches or pull requests

3 participants
0