tinytest 1.2.4 is on CRAN

[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.

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 with lib.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.

screenshot

Currently 127 packages are suggesting tinytest.

growth of tinytest usage

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.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)