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

[fix]set build R env var #116

Merged
merged 11 commits into from
Jun 13, 2024
Merged

[fix]set build R env var #116

merged 11 commits into from
Jun 13, 2024

Conversation

StarTrooper08
Copy link
Collaborator

Changes:
1.Updated dockerfile to have BUILDDIR and TOP_SRC env var as r-devel.
2. Created new script to create and change env var path.
3. Changed permission for the new set build script in localscript so that whenever codespaces starts we can use the script with just typing set_build_r [sub env] (env var instead of r-devel)

PR for issue number #103

@hturner
Copy link
Member

hturner commented Jun 7, 2024

This is not yet working as we want. When the container starts we should have

BUILDDIR="/workspaces/r-dev-env/build/r-devel"
TOP_SRCDIR="/workspaces/r-dev-env/svn/r-devel"

Then the set_build_r script should overwrite the these variables, e.g. if the new label is r-devel-raw the script should set

BUILDDIR="/workspaces/r-dev-env/build/r-devel-raw"
TOP_SRCDIR="/workspaces/r-dev-env/svn/r-devel-raw"

@hturner
Copy link
Member

hturner commented Jun 13, 2024

This is all working as required 🎉

@hturner hturner merged commit adf06d6 into devel Jun 13, 2024
@hturner hturner deleted the update/which_r branch June 13, 2024 08:17
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.

Improvements to multi_r script Set build var to default and add script for advanced users to change them
2 participants