R

Wercker and Rocker: Finally Performant Continuous Integration for R

The Problem Continuous Integration is a great technique for both developers, contributers and users to ensure that the development build of a project remains in a working state. In the R community there are a few different CI setups in use. The CRAN and Bioconductor package repositories both run nightly build checks for all of their packages using custom build servers. More recently continuous builds with Travis-CI on Github repositories have grown in popularity.

readr

Read Rectangular Text Data

How does covr work anyway?

Since releasing covr I have gotten a couple of requests to explain how it works. This post is adapted from a vignette I wrote to try and explain that. Other coverage tools Prior to writing covr, there were a handful of coverage tools for R code. R-coverage by Karl Forner and testCoverage by Tom Taverner, Chris Campbell, Suchen Jin were the two I was most aware of. R-coverage R-coverage provided a very robust solution by modifying the R source code to instrument the code for each call.

lintr

A Linter for R Code

gmailr

Use the gmail REST API from R

Responsive Remote Completion

I have been using remote completion from remote boxes for a long time, as it is available in both zsh and bash. However because establishing an SSH connection is slow, the completion is not terribly useful, you spend more time waiting for it to complete than it saves in typing. However if you set up a few SSH options to keep a master connection alive and for subsequent SSH connections to use the master connection it then is very snappy.

ZSH global aliases

Just a short post about two useful global aliases I created. ZSH global aliases are basically variables which are expanded before the command is executed. This allows them to be placed anywhere on the line, not just at the start like traditional aliases. Bash (as far as I know) does not have an analog to ZSH global aliases, but I have found them very useful. Both of them produce exactly the same output (unique lines in a file), but in two different ways.