From 0f1a236813cd035a426262d59de6230c19961565 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Sat, 10 Aug 2024 22:31:03 -0700 Subject: [PATCH 1/2] Typo: argment ->argument --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 908db9a123e521dda542bbd3ee07807e2439dc75 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Sat, 10 Aug 2024 22:32:33 -0700 Subject: [PATCH 2/2] other typos --- R/load.R | 2 +- R/zzz.R | 2 +- man/load_all.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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}{