diff --git a/NEWS.md b/NEWS.md index 868de165..04be7c75 100644 --- a/NEWS.md +++ b/NEWS.md @@ -9,7 +9,7 @@ # pkgload 1.4.0 -* The `reset` argment of `load_all()` is no longer supported because preserving +* The `reset` argument of `load_all()` is no longer supported because preserving the namespace requires unlocking its environment, which is no longer possible in recent versions of R. It should no longer be necessary as the performance issues caused by resetting the namespace were resolved a while ago. diff --git a/R/load.R b/R/load.R index a32df207..8b6e0dbc 100644 --- a/R/load.R +++ b/R/load.R @@ -36,7 +36,7 @@ #' #' `is_loading()` returns `TRUE` when it is called while `load_all()` #' is running. This may be useful e.g. in `.onLoad` hooks. -#' A package loaded with `load_all()` can be identified with with +#' A package loaded with `load_all()` can be identified with #' [is_dev_package()]. #' #' # Differences to regular loading diff --git a/R/zzz.R b/R/zzz.R index 71c24488..c3c0e284 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -2,7 +2,7 @@ run_on_load() ns <- ns_env(pkgname) - # Capture TEMPDIR for use in subproceses + # Capture TEMPDIR for use in subprocesses if (identical(Sys.getenv("PKGLOAD_PARENT_TEMPDIR"), "")) { Sys.setenv("PKGLOAD_PARENT_TEMPDIR" = tempdir()) } diff --git a/man/load_all.Rd b/man/load_all.Rd index 2c2c7bf2..bd086408 100644 --- a/man/load_all.Rd +++ b/man/load_all.Rd @@ -97,7 +97,7 @@ helpers are run during package loading. \code{is_loading()} returns \code{TRUE} when it is called while \code{load_all()} is running. This may be useful e.g. in \code{.onLoad} hooks. -A package loaded with \code{load_all()} can be identified with with +A package loaded with \code{load_all()} can be identified with \code{\link[=is_dev_package]{is_dev_package()}}. } \section{Differences to regular loading}{