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
escaping special characters as needed.
We’ve also bumped two dependencies: devtools now requires R 3.0.2 and roxygen2 3.0.0. We’ve also included many minor improvements and bug fixes, particularly for package installation. For example
install_github() now prefers the safer github personal access token, and does a better job of installing the dependencies that you actually need. We also provide versions of
system.file() that work with all packages, regardless of how they’re loaded. See a complete list of changes in the full release notes.
We are excited to announce real-time collaborative editing on RStudio Cloud. Users can join the same project, edit code, and immediately see each other’s changes.
In this series, we walk through lesser-known tips and tricks to help you work more effectively and efficiently in R Markdown. This third post focuses on features that save you time and trouble.