Skip to content

Commit

Permalink
Tweaks.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@84943 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Aug 14, 2023
1 parent 6c04411 commit 7823cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/tools/R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -3893,7 +3893,7 @@ add_dummies <- function(dir, Log)
Rcmd <- sprintf("ls(asNamespace('%s'), all = TRUE)", pkgname)
out <- R_runR0(Rcmd, opts, arch = arch)
if (any(grepl("[.]on(Load|Attach)", out))) {
checkingLog(Log, "startup messages can be suppressed")
checkingLog(Log, "whether startup messages can be suppressed")
Rcmd <- sprintf("suppressWarnings(suppressPackageStartupMessages(library(%s, lib.loc = '%s', warn.conflicts=FALSE)))", pkgname, libdir)
opts <- if(nzchar(arch)) R_opts4 else R_opts2
env <- character()
Expand Down

0 comments on commit 7823cdf

Please sign in to comment.