Packages

Shiny 0.10

2014-06-20 Joe Cheng
Shiny 0.10 is now available on CRAN. Interactive documents In this release, the biggest changes were under the hood to support the creation of interactive documents. If you haven’t had a chance to check out interactive documents, we really encourage you to do so—it may be the easiest way to learn Shiny. New layout functions Three new functions—flowLayout(), splitLayout(), and inputPanel()—were added for putting UI elements side by side. Read more →

R Markdown v2

2014-06-18 Yihui Xie
Thumbnail
People rarely agree on a best authoring tool or language. Some people cannot live without \LaTeX{} because of the beauty and quality of its PDF output. Some \feel{} \uncomfortable{} \with{} \backslashes{}, and would rather live in another World Word. We have also witnessed the popularity of Markdown, an incredibly simple language (seriously? a LANGUAGE?) that has made reproducible research much easier. Thinking of all these tools and languages, every developer will dream about “One ring to rule them all”. Read more →

dplyr 0.2

2014-05-21 Hadley Wickham
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, please read the full release notes. Improved piping dplyr now imports %>% from the magrittr package by Stefan Milton Bache. Read more →

roxygen2 4.0.1

2014-05-19 Hadley Wickham
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 files so that you know they shouldn’t be edited by hand. This also ensures that roxygen2 will never overwrite a file that it did not create, and can automatically remove files that are no longer needed. Read more →

reshape2 1.4; Kevin Ushey joins Rstudio

2014-05-09 Hadley Wickham
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 C++ implementation of melt was contributed by Kevin Ushey, who we’re very pleased to announce has joined RStudio. Read more →

devtools 1.5

2014-04-08 Hadley Wickham
devtools 1.5 is now available on CRAN. It includes four new functions to 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 characters as needed. We’ve also bumped two dependencies: devtools now requires R 3. Read more →

httr 0.3

2014-03-21 Hadley Wickham
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: # install.packages("httr") library(httr) # Find the most recent R questions on stackoverflow r <- GET( "http://api.stackexchange.com", path = "questions", query = list( site = "stackoverflow. Read more →

dplyr 0.1.3

2014-03-16 Hadley Wickham
dplyr 0.1.3 is now on CRAN. It fixes an incompatibility with the latest version of Rcpp, and a number of other bugs that were causing dplyr to crash R. See the full details in the release notes. Read more →

dplyr 0.1.2

2014-02-25 Hadley Wickham
We’re pleased to announce a new minor version of dplyr. This fixes a number of bugs that crashed R, and considerably improves the functionality of select(). You can now use named arguments to rename existing variables, and use new functions starts_with(), ends_with(), contains(), matches() and num_range() to select variables based on their names. Finally, select() now makes a shallow copy, substantially reducing its memory impact. I’ve also added the summarize() alias for people from countries who don’t spell correctly ;) Read more →

testthat 0.8 (and 0.8.1)

2014-02-25 Hadley Wickham
We’re pleased to announce a new major version of testthat. Version 0.8 comes with a new recommended structure for storing your tests. To better meet CRAN recommended practices, we now recommend that tests live in tests/testthat, instead of inst/tests. This makes it possible for users to choose whether or not to install tests. With this new structure, you’ll need to use test_check() instead of test_packages() in the test file (usually tests/testthat. Read more →