Skip to content

Commit

Permalink
annotate output
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Dec 21, 2023
1 parent 222c53e commit a24c21b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dev/roxygen_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ check_roxygenize_idempotent <- function(LOCALE) {
}
cat(sprintf("roxygenize() output differs from saved output for %s.\n", file))
cat("Here's the tools::Rdiff() comparison of the two files:\n")
cat(sprintf(" [---][%s]: saved output\n", old_file))
cat(sprintf(" [+++][%s]: roxygenize() output\n", new_file))
system2("diff", c("--unified", old_file, new_file))
stop("Failed in LOCALE=", LOCALE, ".", call. = FALSE)
}
Expand Down

0 comments on commit a24c21b

Please sign in to comment.