Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 14, 2024
1 parent 1d7ccb9 commit a16202d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/rix_init.R
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ nix_rprofile <- function() {
"You are currently in an R session running from Nix.\n",
"Don't update packages using update.packages(),\n",
"generate a new default.nix with a more recent version of R. ",
"If you need bleeding edge packages, read the",
"If you need bleeding edge packages, read the",
"'Understanding the rPackages set release cycle and using ",
"bleeding edge packages' vignette."
)
Expand All @@ -444,7 +444,8 @@ nix_rprofile <- function() {
stop(
"You are currently in an R session running from Nix.\n",
"Don't remove packages using `remove.packages()``,\ndelete them ",
"from the default.nix file instead.")
"from the default.nix file instead."
)
}
current_paths <- .libPaths()
userlib_paths <- Sys.getenv("R_LIBS_USER")
Expand Down

0 comments on commit a16202d

Please sign in to comment.