Skip to content

Commit

Permalink
small update .Rprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
guuswilmink committed Sep 10, 2024
1 parent 4e890bb commit 5fb332f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (any(list.files() == "renv")) {
} else {
message("No renv initialized, calling renv::init()")
message("Please select to use only the DESCRIPTION file for dependency discovery if prompted, and next select 'Restore the project from the lockfile'")
if (!requireNamespace("renv", quietly = TRUE)) {
if (!require("renv", quietly = TRUE)) {
utils::install.packages("renv")
}
renv::init()
Expand Down

0 comments on commit 5fb332f

Please sign in to comment.