Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

List all versions #8

Closed
n8sty opened this issue Aug 9, 2020 · 1 comment
Closed

List all versions #8

n8sty opened this issue Aug 9, 2020 · 1 comment

Comments

@n8sty
Copy link

n8sty commented Aug 9, 2020

I was trying to install the "latest" version of R using asdf. I ran asdf install R latest and

22:17 $ R --version
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

but the latest version is 4.0.2. I can successfully install that version if I specify it explicitly like asdf install R 4.0.2, but the list-all and install R latest functionality should work as expected. I'm opening a PR momentarily to fix this.

n8sty added a commit to n8sty/asdf-R that referenced this issue Aug 9, 2020
This was referenced Aug 9, 2020
BennyHoward added a commit to BennyHoward/asdf-R that referenced this issue Dec 13, 2020
Fix to list-all

This pull-request iterates and lists all the major versions of R starting at 2.
It will keep checking major releases until no minor releases are found.

Hopefully, this will future proof it against future major releases assuming the HTML page doesn't change so drastically that `awk` can't find the release links.
iroddis added a commit that referenced this issue Dec 14, 2020
@iroddis
Copy link
Owner

iroddis commented Dec 14, 2020

Fixed in #12

@iroddis iroddis closed this as completed Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants