Skip to content

Commit

Permalink
Minor upkeep (tidyverse#1131)
Browse files Browse the repository at this point in the history
* abort -> cli_abort
* Use parallel tests
  • Loading branch information
hadley authored Jul 17, 2024
1 parent 7968396 commit d9ae235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Biarch: true
Config/build/compilation-database: true
Config/Needs/website: tidyverse/tidytemplate, tidyr
Config/testthat/edition: 3
Config/testthat/parallel: TRUE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
2 changes: 1 addition & 1 deletion R/list-transpose.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ match_template <- function(x, template, error_arg = caller_arg(x), error_call =
rep_along(template, list(x))
}
} else {
abort("Invalid `template`", .internal = TRUE)
cli::cli_abort("Invalid `template`", .internal = TRUE)
}
}

0 comments on commit d9ae235

Please sign in to comment.