Avoid using user-HOME when installing RPackage#3911
Open
Flamefire wants to merge 3 commits intoeasybuilders:developfrom
Open
Avoid using user-HOME when installing RPackage#3911Flamefire wants to merge 3 commits intoeasybuilders:developfrom
Flamefire wants to merge 3 commits intoeasybuilders:developfrom
Conversation
Contributor
Author
|
Test report by @Flamefire Overview of tested easyconfigs (in order)
Build succeeded for 11 out of 11 (8 easyconfigs in total) |
Contributor
Author
@boegel See question at #2408 (comment) on what this was supposed to do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(created using
eb --new-pr)When installing
R-bundle-CRAN-2023.12-foss-2023a.ebthe extensionR.cacheattempts to write to the user home (~/.cache/Rfolder)This is due to rappdirs using those defaults for R_USER_DATA_DIR, R_USER_CACHE_DIR and R_USER_CONFIG_DIR env vars
Prior rappdirs versions used the XDG variables like
$XDG_CACHE_HOME. Those are still used as fallbacks but setting all 6 avoids interference with user environmentsI also did a small refactoring:
make_R_install_optionhad a manualstr.join()implementationhandle_installation_errorsNote that we should also remove the unused
async_cmd_check, see also easybuilders/easybuild-docs#343