Automate R package and project setup
open sourceMITfree
usethis is an R package from the r-lib/Posit team that automates the setup tasks of R packages and projects you'd otherwise do by hand: creating a package or project, adding unit tests and test coverage, continuous integration (GitHub Actions), Git and GitHub (repositories, pull requests), a licence, Rcpp, RStudio projects, README and NEWS files, vignettes and more, each with one function call such as use_testthat() or use_github().
Problems it solves
- set up a new R package with tests, CI and a licence without doing it all by hand
- add GitHub Actions continuous integration to my R package
- connect my R project to Git and GitHub quickly
Features
- create R packages and projects
- set up unit testing, test coverage and continuous integration
- set up Git and GitHub, including pull request helpers
- add licences, READMEs, vignettes, Rcpp and RStudio project files
Alternatives
The same job
These do what usethis does.
- devtools R functions that make developing R packages easier
