The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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.R
lest_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.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.