Tag Archives: R

Make your package spherical

Larger packages typically consist of functions that are visible to the users (exported functions) and functions that are used by the exported functions, but that are invisible to the user. For example: # exported, user-visible function inch2cm <- function(x){ x*conversion_factor("inch") … Continue reading

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

Checking reverse dependencies: the tiny way

The tools package that comes with base R makes checking reverse dependencies super easy. Build your package tarball (the pkg_x.y.z.tar.gz file). R CMD build /your/package/location It is a good idea to make sure that the tarball is in a dedicated … Continue reading

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

uRos2019: tutorials, keynote speakers, registration and call for papers!

The 7th use of R in Official Statistics conference is the event for all things R in the production and use of government statistics. The 7th installment of this conference will take place from 20 to 21 May 2019 at … Continue reading

Posted in official statistics, R | Tagged , , | Leave a comment

Add a static pdf vignette to an R package

Most vignettes are built when a package is built, but there are occasions where you just want to include a pdf. For example when you want to include a paper. Of course there is a package supporting this, but in … Continue reading

Posted in programming, R | Tagged , , | 1 Comment