|
1 | 1 | # devtools (development version)
|
2 | 2 |
|
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. |
5 | 6 |
|
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()`. |
8 | 9 |
|
9 | 10 | * `check(cran = TRUE)` sets the env var
|
10 | 11 | `_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_` to `FALSE`, in order to
|
11 | 12 | surface the `"Namespace in Imports field not imported from"` NOTE. This only
|
12 | 13 | applies to R >= 4.2, due to favorable changes in the behaviour of
|
13 | 14 | `R CMD check --as-cran` (#2459).
|
14 | 15 |
|
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). |
17 | 18 |
|
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. |
21 | 20 |
|
22 | 21 | # devtools 2.4.4
|
23 | 22 |
|
|
0 commit comments