Adding Pop_OS! to available list of R versions
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!
@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 Thank you for the solution, worked like a charm!