Blog Archives

An example of monkey patching a package

August 1, 2013
By
An example of monkey patching a package

An example of monkey patching a package 2013-07-11 SourceScope This article is about R package development.MotivationIn 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 of my packages, but as an Import instead of...

Read more »

A dirty hack for importing packages that use Depends

July 31, 2013
By
A dirty hack for importing packages that use Depends

A dirty hack for importing packages that use Depends 2013-05-27 SourceScope This article is about R package development.MotivationAs 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, to avoid name collision (masking) and ensure trustworthy computations. See

Read more »