Devtools 1.10.0
[This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Devtools 1.10.0 is now available on CRAN. Devtools makes package building so easy that a package can become your default way to organise code, data, documentation, and tests. You can learn more about creating your own package in R packages. Install devtools with:
install.packages("devtools")
This version is mostly a collection of bug fixes and minor improvements. For example:
- Devtools employs a new strategy for detecting RTools on windows: we now only check for Rtools if you need to
load_all()
orbuild()
a package with compiled code. This should make life easier for most windows users. - Package installation receieved a lot of tweaks from the community. Devtools now makes use of the
Additional_repositories
field, which is useful if you’re using drat for non-CRAN packages.install_github()
is now lazy and won’t reinstall if the currently installed version is the same as the one on github. Local installs now add git and github metadata, if available. use_news_md()
adds a (very) basicNEWS.md
template. CRAN now acceptsNEWS.md
files sorelease()
warns if you’ve previously added it to.Rbuilignore
.use_mit_license()
writes the necessary infrastructure to declare that your package is MIT licensed (in a CRAN-compliant way).check(cran = TRUE)
automatically adds--run-donttest
as this is a de facto CRAN standard.
To see the full list of changes, please read the release notes.

To leave a comment for the author, please follow the link and comment on their blog: RStudio Blog.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.