From b7fcad2b7a9fff7109aa50c3d9f0ca88705f9da2 Mon Sep 17 00:00:00 2001 From: emstruong <112967876+emstruong@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:28:00 -0500 Subject: [PATCH 1/2] devtools::load_all() has an extra warning that pkgload::load_all() doesn't Fixes #2672 --- R/pkgload.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/pkgload.R b/R/pkgload.R index 3688a1d03..86bb92755 100644 --- a/R/pkgload.R +++ b/R/pkgload.R @@ -8,6 +8,7 @@ load_all <- function( export_all = TRUE, helpers = TRUE, quiet = FALSE, + debug = TRUE, ... ) { if (inherits(path, "package")) { @@ -32,6 +33,7 @@ load_all <- function( export_all = export_all, helpers = helpers, quiet = quiet, + debug = debug, ... ) } From 518325f5fd24cfc036b278a39e96207745de1979 Mon Sep 17 00:00:00 2001 From: emstruong <112967876+emstruong@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:52:22 -0500 Subject: [PATCH 2/2] update documentation --- man/load_all.Rd | 5 +++++ man/spell_check.Rd | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/man/load_all.Rd b/man/load_all.Rd index 9544b4083..fa715ead2 100644 --- a/man/load_all.Rd +++ b/man/load_all.Rd @@ -11,6 +11,7 @@ load_all( export_all = TRUE, helpers = TRUE, quiet = FALSE, + debug = TRUE, ... ) } @@ -33,6 +34,10 @@ in the NAMESPACE file.} \item{quiet}{if \code{TRUE} suppresses output from this function.} +\item{debug}{If \code{TRUE} (the default), then the build +runs without optimisation (\code{-O0}) and with debug symbols (\code{-g}). See +\code{\link[pkgbuild:compile_dll]{pkgbuild::compile_dll()}} for details.} + \item{...}{Additional arguments passed to \code{\link[pkgload:load_all]{pkgload::load_all()}}.} } \description{ diff --git a/man/spell_check.Rd b/man/spell_check.Rd index 0d8a7b6f6..3176aef3b 100644 --- a/man/spell_check.Rd +++ b/man/spell_check.Rd @@ -12,7 +12,7 @@ package object. See \code{\link[=as.package]{as.package()}} for more informatio \item{vignettes}{also check all \code{rmd} and \code{rnw} files in the pkg \code{vignettes} folder} -\item{use_wordlist}{ignore words in the package \link[spelling:wordlist]{WORDLIST} file} +\item{use_wordlist}{ignore words in the package \link[spelling:get_wordlist]{WORDLIST} file} } \description{ Runs a spell check on text fields in the package description file, manual