Skip to content

Commit 3581599

Browse files
authored
Use same default as rcmdcheck itself (#2457)
* Use same default as rcmdcheck itself Related to #2448 and r-lib/rcmdcheck#185 * Add NEWS bullet
1 parent a6c0775 commit 3581599

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# devtools (development version)
22

3+
* `check(check_dir = NULL)` is the new default, to align with the default
4+
behaviour of the underlying `rcmdcheck::rcmdcheck()`.
5+
36
* `check(cleanup =)` was deprecated in devtools v1.11.0 (2016-04-12) and was
47
made defunct in v2.4.4 (2022-07-20). The documentation is more clear now about
58
recommended alternatives.

R/check.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ check <- function(pkg = ".",
6565
args = "--timings",
6666
env_vars = c(NOT_CRAN = "true"),
6767
quiet = FALSE,
68-
check_dir = tempdir(),
68+
check_dir = NULL,
6969
cleanup = deprecated(),
7070
vignettes = TRUE,
7171
error_on = c("never", "error", "warning", "note")) {

man/check.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)