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

Advice re: creating user library doesn't quite make sense #100

Open
jennybc opened this issue Dec 20, 2023 · 0 comments
Open

Advice re: creating user library doesn't quite make sense #100

jennybc opened this issue Dec 20, 2023 · 0 comments

Comments

@jennybc
Copy link
Member

jennybc commented Dec 20, 2023

Here:

https://rstats.wtf/maintaining-r#how-to-transfer-your-library-when-updating-r

We advise folks to run this code to make sure the default R_LIBS_USER directory exists, after an R upgrade, but before re-installing add-on packages:

fs::dir_create(Sys.getenv("R_LIBS_USER"))

But, by definition, they won't have fs (yet). So this snippet should really be base R code probably.

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

1 participant