Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Dec 21, 2023
1 parent a24c21b commit 9c5b5dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .dev/roxygen_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +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))
cat(" [---]: saved output in man/ directory\n")
cat(" [+++]: roxygenize() output of R/ sources\n")
system2("diff", c("--unified", old_file, new_file))
stop("Failed in LOCALE=", LOCALE, ".", call. = FALSE)
}
Expand Down
1 change: 0 additions & 1 deletion R/any_is_na_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#' Therefore, it should be used in all situations instead of the latter.
#'
#' @examples
#' # comment
#' # will produce lints
#' lint(
#' text = "any(is.na(x), na.rm = TRUE)",
Expand Down

0 comments on commit 9c5b5dc

Please sign in to comment.