Skip to content

Commit 9f2cfa5

Browse files
committed
Polish news
1 parent 19d979f commit 9f2cfa5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

NEWS.md

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

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

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

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

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

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

2221
# devtools 2.4.4
2322

0 commit comments

Comments
 (0)