Skip to content

Commit

Permalink
Remove timestamps from CRAN checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Oct 31, 2020
1 parent 6cf3607 commit b5f1fbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ parse_check <- function(file = NULL, text = NULL, ...) {
}
stdout <- paste(reencode_log(text), collapse = "\n")

# Remove timestamps from checks as these cause false failures (#128)
stdout <- gsub("\\[[0-9]+s/[0-9]+s\\]", "", stdout)

# Simulate minimal description from info in log
entries <- strsplit(paste0("\n", stdout), "\n* ", fixed = TRUE)[[1]][-1]
desc <- desc::description$new("!new")
Expand Down

0 comments on commit b5f1fbd

Please sign in to comment.