Articles by R2D2

R code coverage support via docker

December 17, 2014 | 0 Comments

R code coverage support via docker 2014-12-17 Source In my previous post , I used a R with built-in code coverage to compute the code coverage of some packages. Today I will show you how to install and use such a R with code coverage support. I just created a ... [Read more...]

Test coverage of the 10 most downloaded R packages

May 2, 2014 | 0 Comments

Test coverage of the 10 most downloaded R packages 2014-04-30 Source Introduction How do you know that your code is well tested ? The test coverage is the proportion of source code lines that are executed (covered) when running the tests. It is useful to find the parts of your code ... [Read more...]

An example of monkey patching a package

August 1, 2013 | 0 Comments

An example of monkey patching a package 2013-07-11 Source Scope This article is about R package development. Motivation In the same spirit that my previous post A dirty hack for importing packages that use Depends , I wanted to use an earlier version of the excellent gdata package in one ... [Read more...]

A dirty hack for importing packages that use Depends

July 31, 2013 | 0 Comments

A dirty hack for importing packages that use Depends 2013-05-27 Source Scope This article is about R package development. Motivation As stated in the the Writing R Extensions manual and the Software for Data Analysis book (aka the R bible), packages should whenever possible use Imports instead of Depends, ... [Read more...]

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)