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

add triplets for r versions 4.3, 4.4 #1403

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

minrk
Copy link
Member

@minrk minrk commented Jan 30, 2025

otherwise r-4.3 won't work

perhaps we should error when a minor version isn't found in the dict (or use x.y.0), because installing R will fail with a 404 trying to download .deb if it's not a 3-part version.

minrk added 2 commits January 30, 2025 09:37
otherwise r-4.3 won't work
R.deb download step requires a full x.y.z version, it will 404 on `r-4.4`
@@ -97,6 +99,9 @@ def r_version(self):
# available. Users can however explicitly specify the full version to get something specific
if r_version in version_map:
r_version = version_map[r_version]
elif len(r_version.split(".")) == 1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
elif len(r_version.split(".")) == 1:
elif len(r_version.split(".")) == 2:

Shouldn't this be 2?

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

Successfully merging this pull request may close these issues.

2 participants