use_testdata_raw() gains name argument
similar to usethis::use_data(). If name is
provided, a script file for a dataset of that name is created (and
opened if you are using RStudio) (#15, thanks @TylerGrantSmith)test_this() (#13, thanks
@krlmlr)find_testdata() which returns the path to the
testdata directoryversion and refhook argument to
use_testdata() (which are passed on to
saveRDS()). You can use version = 2 to create
testdata that is compatible with R < 3.5.0.test_index() which displays an index / table of
contents of all test_that() calls in a package’s
tests/testthat directory. Uses source markers if called
from RStudio.get_test_coverage() to just
test_coverage().covrignore support to
test_coverage()read_testdata() now works in R CMD Check thanks to
@JakeVestal
(#11)parse_ns_file() from pkgload instead of
devtools.Rlest_this() functiontest_this(), test_subdir(), etc..)
functions now save all files in RStudio and reload the package before
running tests.lest_this() has been deprecated.
test_this() now behaves like lest_this()test_all() to run tests in all
subdirectoriesusethis::proj_get() instead of the
base_path function argument for compatibility with
usethis.?testthis)pkg = function arguments have been changed to
base_path = for consistency with the
usethis package.get_test_coverage() now recognizes tests in test
subdirsuse_testdata() and use_test_subdir(). See
README for details.test_skeleton() now honors the
#* @testfile tagopen_test() can now jump back and forth between source
and test file, and does no longer automatically create test files.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.