devtools 2.4.0
Breaking changes and deprecated functions
-
The
check_results()
function has been removed.
It was not used by any CRAN package, and much better alternatives are available in the rcmdcheck package. -
pkgload::inst()
is no longer re-exported (#2218). -
test_file()
has been renamed totest_active_file()
andtest_coverage_file()
has been renamed totest_coverage_active_file()
to avoid a name collision withtestthat::test_file()
.
The previous names have been soft deprecated in this release, they will be hard deprecated in the next release and eventually removed. (#2125)
Re-licensing
- devtools is now released under a MIT license (#2326)
Minor improvements and fixes
-
build_readme()
now supports readme files located ininst/README.Rmd
, as intended (#2333) -
build_vignettes()
now creates more specific.gitignore
entries (@klmr, #2317) -
check()
now only re-documents if you have a matching version of roxygen2 (#2263). -
change_maintainer_email()
now has a check to assess whether the email is actually changed.
If the email is not changed, the code now stops such that an email is not accidentally sent to the wrong recipient. (@emilsjoerup, #2073) -
run_examples(fresh = TRUE)
again works without error (#2264) -
The covr and DT packages have been moved from Imports to Suggests.
They are only needed when runningtest_coverage()
andtest_coverage_active_file()
so now you'll be prompted to install them when needed. -
Switched to fs for all file system functions (#2331, @malcolmbarrett)
-
Now uses testthat 3.0.0 to power
test()
,test_active_file()
,test_coverage()
, andtest_coverage_active_file()
.
The major difference is thattest_active_file()
now generates a compact summary that takes up less space on the console.