[This article was first published on R – Mark van der Loo, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Version 1.2.4 of tinytest arrived on CRAN at 17 December 2020.
This release has a couple of new features.
- You can specify the library location in
test_package
withlib.loc
. - New function
expect_inherits()
to check the class of an object – Printing of file exit message is now shorter and on same line as
test report. - Duration per file is now reported, total duration is stored.
- New function
expect_inherits()
For all features and fixes, see NEWS.
I owe a big thanks to Dirk Eddelbuettel and Sebastian Meyer for numerous suggestions and feedback while developing the new features.
Test durations are printed in two colors: anything measured in ms is printed light blue, test durations lasting longer than that are printed in dark blue. Here’s an example testing RcppArmadillo on five cores.
Currently 127 packages are suggesting tinytest
.
Markdown with by wp-gfm
To leave a comment for the author, please follow the link and comment on their blog: R – Mark van der Loo.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.