Formatting changes to conform with http://r-pkgs.had.co.nz/style.html