Author Archives: mark

tinytest 1.2.4 is on CRAN

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 - … Continue reading

Posted in programming, R | Tagged , , | Leave a comment

How to set library path on a {parallel} R cluster

In R you can add extra library locations (directories where your packages are installed) with the .libPaths() function. For example, to add "~/my/lib", you can do libs <- c("~/my/lib", .libPaths()) libPaths(new = libs) If you want to set library locations … Continue reading

Posted in programming, R | Tagged , , | Leave a comment

Author with affiliation in bookdown: HTML and pdf

If you are using Yihui Xie's bookdown package, it is quite easy to add authors and affiliations for HTML output. You only need to put the following pandoc options in the header of index.Rmd. author: - name: John Doe email: … Continue reading

Posted in programming, R | Tagged , , | Leave a comment

validate 1.0.1: new features and a cookbook

Version 1.0.1 of our validate package has arrived on CRAN on 2020-12-08. At the same time, a complete Data Validation Cookbook has been published online, and is also included with the package as a vignette. The new features of validate … Continue reading

Posted in programming, R | Tagged , , , | Leave a comment

stringdist 0.9.6 on CRAN: new features

stringdist version 0.9.6 arrived on CRAN on 16 july 2020. This release brings a few new features. Fuzzy text search Search text for approximate matches of a search string using any stringdist distance. There are several functions that allow you … Continue reading

Posted in programming, R, Uncategorized | Leave a comment

gower 1.2.2 is on CRAN

R package gower was accepted on CRAN on 23 june 2020. This release fixes an edge case, affecting cases with a small number of records and a large number of threads. Thanks to Max Austin for kindly reporting the issue. … Continue reading

Posted in programming, R | Leave a comment

tinytest 1.2.2 is on CRAN

The tinytest package was accepted on CRAN at 18 june. This release improves the build_install_test() function with two extra arguments that were previously missing, as reported by Patrick Breheny. Meanwhile, usage of the package continues to grow steadily. At time … Continue reading

Posted in programming, R | Tagged | Leave a comment

lumberjack 1.2.0 is on CRAN and paper accepted by JSS

lumberjack is a package that allows you to track (log) changes in data while an R script is running. This allows you to detect exactly which code had what effect on your data. The only thing you have to do … Continue reading

Posted in programming, R | Tagged , , , , , | Leave a comment

tinytest 1.2.0 is on CRAN

tinytest is a relatively new, light-weight (no-dependency) but full-featured unit testing framework for R. It is currently used by 60+ packages, including the famous Rcpp package. The latest version of tinytest was accepted by CRAN on 5 May 2020. This … Continue reading

Posted in programming, R | Tagged , , | Leave a comment

validate 0.9.3 is on CRAN

CRAN just accepted the latest version of our R package validate. The validate package provides an infrastructure to perform any data quality check in a flexible and extensible way. This is a minor update with the following new features: New … Continue reading

Posted in R, Uncategorized | Tagged , | Leave a comment