Tag Archives: programming

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

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