Skip to content

Commit

Permalink
Polish news
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Oct 8, 2022
1 parent 19d979f commit 9f2cfa5
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# devtools (development version)

* `test_active_file()` passes the package onto to testthat so it can correctly
set the `TESTTHAT_PKG` envvar (#2470).
* `check(cleanup =)` was deprecated in devtools v1.11.0 (2016-04-12) and was
made defunct in v2.4.4 (2022-07-20). The documentation is more clear now about
recommended alternatives.

* You can once again use `devtools::test()` and `devtools::test_active_file()`
with the testthat package.
* `check(check_dir = NULL)` is the new default, to align with the default
behaviour of the underlying `rcmdcheck::rcmdcheck()`.

* `check(cran = TRUE)` sets the env var
`_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_` to `FALSE`, in order to
surface the `"Namespace in Imports field not imported from"` NOTE. This only
applies to R >= 4.2, due to favorable changes in the behaviour of
`R CMD check --as-cran` (#2459).

* `check(check_dir = NULL)` is the new default, to align with the default
behaviour of the underlying `rcmdcheck::rcmdcheck()`.
* `test_active_file()` passes the package onto to testthat so it can correctly
set the `TESTTHAT_PKG` envvar (#2470).

* `check(cleanup =)` was deprecated in devtools v1.11.0 (2016-04-12) and was
made defunct in v2.4.4 (2022-07-20). The documentation is more clear now about
recommended alternatives.
* `test()` and `test_active_file()` once again work with testthat itself.

# devtools 2.4.4

Expand Down

0 comments on commit 9f2cfa5

Please sign in to comment.