Blog Archives

testthat 0.9

September 23, 2014
By
testthat 0.9

testthat 0.9 is now available on CRAN. Testthat makes it easy to turn the informal testing that you’re already doing into formal automated tests. Learn more at http://r-pkgs.had.co.nz/tests.html This version of testthat has four important new features that bring testthat up to speed with unit testing frameworks in other languages: You can skip() tests with

Read more »

httr 0.5

September 3, 2014
By
httr 0.5

httr 0.5 is now available on CRAN. The httr packages makes it easy to talk to web APIs from R. Learn more in the quick start vignette. This release is mostly bug fixes and minor improvements, but there is one major new feature: you can now save response bodies directly to disk. library(httr) # Download

Read more »

httr 0.4

July 31, 2014
By
httr 0.4

httr 0.4 is now available on CRAN. The httr packages makes it easy to talk to web APIs from R. The most important new features are two new vignettes to help you get started and to help you make wrappers for web APIs. Other important improvements include: New headers() and cookies() functions to extract headers

Read more »

New data packages

July 23, 2014
By
New data packages

I’ve released four new data packages to CRAN: babynames, fueleconomy, nasaweather and nycflights13. The goal of these packages is to provide some interesting, and relatively large, datasets to demonstrate various data analysis challenges in R. The package source code (on github, linked above) is fully reproducible so that you can see some data tidying in

Read more »

Introducing tidyr

July 22, 2014
By
Introducing tidyr

tidyr is new package that makes it easy to “tidy” your data. Tidy data is data that’s easy to work with: it’s easy to munge (with dplyr), visualise (with ggplot2 or ggvis) and model (with R’s hundreds of modelling packages). The two most important properties of tidy data are: Each column is a variable. Each

Read more »

dplyr 0.2

May 21, 2014
By
dplyr 0.2

I’m very excited to announce dplyr 0.2. It has three big features: improved piping courtesy of the magrittr package a vastly more useful implementation of do() five new verbs: sample_n(), sample_frac(), summarise_each(), mutate_each and glimpse(). These features are described in more detail below. To learn more about the 35 new minor improvements and bug fixes,

Read more »

roxygen2 4.0.1

May 19, 2014
By
roxygen2 4.0.1

We’re pleased to announce a new version of roxygen2. Roxygen2 allows you to write documentation comments that are automatically converted to R’s standard Rd format, saving you time and reducing duplication. This release is a major update that provides enhanced error handling and considerably safer default behaviour. Roxygen2 now adds a comment to all generated

Read more »

reshape2 1.4; Kevin Ushey joins Rstudio

May 9, 2014
By
reshape2 1.4; Kevin Ushey joins Rstudio

reshape2 1.4 is now available on CRAN. This version adds a number of useful arguments and messages, but mostly importantly it gains a C++ implementation of melt.data.frame(). This new method should be much much faster (>10x) and does a better job of preserving existing attributes. For full details, see the release notes on github. The

Read more »

devtools 1.5

April 8, 2014
By
devtools 1.5

devtools 1.5 is now available on CRAN. It includes four new functions make it easier to add useful infrastructure to packages: add_test_infrastructure() will create testthat infrastructure when needed. add_rstudio_project() adds an Rstudio project file to your package. add_travis() adds a basic template for travis-ci. add_build_ignore() makes it easy to add files to .Rbuildignore, escaping special

Read more »

httr 0.3

March 21, 2014
By
httr 0.3

We’re very pleased to announce the release of httr 0.3. httr makes it easy to work with modern web apis so that you can work with web data almost as easily as local data. For example, this code shows how might find the most recently asked question about R on stackoverflow: httr 0.3 recieved a

Read more »