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

Updata aliases manually #234

Open
EllaKaye opened this issue May 14, 2024 · 2 comments
Open

Updata aliases manually #234

EllaKaye opened this issue May 14, 2024 · 2 comments
Labels
feature a feature request or enhancement

Comments

@EllaKaye
Copy link

EllaKaye commented May 14, 2024

Hello. Since the release of R 4.4, I have run rig add release and rig add devel to install R 4.4 and 4.5 respectively. That works fine, but I'm stuck with the alias oldrel attached to R 4.2. How can I swap that alias so that it now attaches to R 4.3? I tried running rig system make-links but that didn't change anything.

I had previously installed R 4.4 when it was the devel version, so, after running rig add release when R 4.4 was officially released, for a while I had the aliases release and devel both applied to R 4.4, which seemed weird, although that was resolved when I later ran rig add devel.

I haven't tried running rig add oldrel as it doesn't seem right to add a version that I already have, but maybe that's the way to go? If so, it would be nice if that was documented somewhere.

As a feature request, it might be nice if, on running rig add release the alias oldrel automatically gets reassigned to the previous release.

@gaborcsardi
Copy link
Member

We'll planning on having a more complete alias support, but currently indeed the only way is to (re)install a version that corresponds to that alias.

This is by design, so that if you do rig add oldrel, that version is continued to be called oldrel until you explicitly change the alias (will be possible in the future), or install a different R version that gets the oldrel alias.

@EllaKaye
Copy link
Author

Hi @gaborcsardi. Thanks for clarifying. I can see that it is probably best to make changing aliases explicit, so it's nice to know that that functionality is planned for the future.

Happy for you to close this issue now, or else leave it open until the alias support is added - as you wish :)

@gaborcsardi gaborcsardi changed the title Update oldrel alias Updata aliases manually May 14, 2024
@gaborcsardi gaborcsardi added the feature a feature request or enhancement label May 14, 2024
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

2 participants