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

Let users customise .Rprofile #104

Closed
bschilder opened this issue Nov 1, 2023 · 0 comments
Closed

Let users customise .Rprofile #104

bschilder opened this issue Nov 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request GitHub Actions Issue occurring on GitHub Actions

Comments

@bschilder
Copy link
Collaborator

bschilder commented Nov 1, 2023

It may be useful for users to be able to supply a customised .Rprofile in some cases, eg:
#65 (comment)

However this step in the rworkflows actions currently overwrites any existing .Rprofile on Linux:

echo ".libPaths('/__w/_temp/Library')" > ~/.Rprofile

Instead, I think I can change this to just append the .Rprofile using >> instead of >
https://unix.stackexchange.com/a/64376

I confirmed that >> doesn't cause an error when no such file yet exists.

More info on .Rprofile:
https://support.posit.co/hc/en-us/articles/360047157094-Managing-R-with-Rprofile-Renviron-Rprofile-site-Renviron-site-rsession-conf-and-repos-conf

@bschilder bschilder self-assigned this Nov 1, 2023
@bschilder bschilder added enhancement New feature or request GitHub Actions Issue occurring on GitHub Actions labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GitHub Actions Issue occurring on GitHub Actions
Projects
None yet
Development

No branches or pull requests

1 participant