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

Feature request: when using Conda to install R, add the ability to specify the version of R that Conda installs #393

Closed
DilumAluthge opened this issue Sep 21, 2020 · 1 comment

Comments

@DilumAluthge
Copy link
Member

DilumAluthge commented Sep 21, 2020

This should be relatively straightforward to implement, e.g. something like this in the deps/build.jl file:

Rhome = get(ENV, "R_HOME", "")
if Rhome == "*"
    r_version = get(ENV, "RCALL_CONDA_R", ">=3.4.0,<4")
    Conda.add("r-base$(r_version)")
end

Then, you can override the version of R installed by Conda by setting RCALL_CONDA_R, e.g.:

ENV["RCALL_CONDA_R"] = ">=3.6.0,<4"
ENV["RCALL_CONDA_R"] = "=3.5"
@palday
Copy link
Collaborator

palday commented Jul 16, 2024

I'm marking this as stale/not planned, because we now have experimental CondaPkg support, where this can be specified via CondaPkg's dependency file.

That said, if somebody wants to open a PR with the necessary changes, I would be happy to revirew.

@palday palday closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
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

No branches or pull requests

2 participants