Skip to content

Commit

Permalink
tweak c85720
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85752 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Dec 31, 2023
1 parent fdac7ef commit 630e513
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/library/tools/R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -4460,8 +4460,9 @@ add_dummies <- function(dir, Log)
if (Log$con > 0L && file.exists(logf)) {
## write results only to 00check.log
## check o/p might be in a different encoding.
lines <- readLines(logf, warn = FALSE, encoding = "bytes")
if(any(grepl("Running R code.*times elapsed time", lines)))
lines <- readLines(logf, warn = FALSE)
if(any(grepl("Running R code.*times elapsed time",
lines, useBytes = TRUE)))
any <- TRUE
}
if(any) noteLog(Log) else resultLog(Log, "OK")
Expand Down

0 comments on commit 630e513

Please sign in to comment.