# devtools

> R functions that make developing R packages easier

Source: https://talira.ai/catalog/devtools-3v733k6m
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / package authoring](https://talira.ai/categories/developer-tools/package-authoring), [languages / r](https://talira.ai/categories/languages/r)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Posit](https://talira.ai/orgs/posit.md)

devtools is an R package of functions for the everyday work of developing R packages. load_all() simulates installing and reloading a package while you work, document() regenerates the man pages and NAMESPACE, test() reloads the code and runs its [testthat](https://talira.ai/catalog/testthat-7gmdb2r0.md) tests, and test_coverage() measures coverage with [covr](https://talira.ai/catalog/covr-kjtm5623.md). It also builds and installs packages, installs others from GitHub, GitLab, Bitbucket, git, SVN, a URL or a specific CRAN version, runs R CMD check locally or on win-builder and macbuilder, and handles the mechanics of submitting to CRAN. The R Packages book (r-pkgs.org) teaches package development around it.

## Links

- Website: https://devtools.r-lib.org/
- GitHub: https://github.com/r-lib/devtools
- Docs: https://devtools.r-lib.org/reference/

## Problems it solves

- speed up the edit, reload and test loop while writing an R package
- check my R package and submit it to CRAN
- install an R package straight from GitHub

## Features

- load_all() reloads a package in development without reinstalling
- document() regenerates man pages and NAMESPACE
- test() and test_coverage() run testthat tests and covr coverage
- install_github(), install_gitlab(), install_version() and other installers
- check() plus win-builder and macbuilder checks
- release() and submit_cran() for CRAN submission

## Trust

Overall: 0.53 out of 1.
Signals: maintenance 0.65, adoption 0.68, momentum 0.34, community 0.90, backing 0.30, extensibility 0.00.

- last commit 11 days ago
- 7 commits in the last 90 days
- latest release v2.5.2 7 months ago
- 2.5k GitHub stars
- 177 contributors
- backed by Posit

## Related

- Works with [testthat](https://talira.ai/catalog/testthat-7gmdb2r0.md)
- Works with [covr](https://talira.ai/catalog/covr-kjtm5623.md)

## Alternatives

- [remotes](https://talira.ai/catalog/remotes-frq1g7yp.md): Install R packages from GitHub, GitLab, Bitbucket, Bioconductor and git
- [pak](https://talira.ai/catalog/pak-zngdbg2b.md): Fast, safe R package installation from CRAN, Bioconductor, GitHub and git
- [usethis](https://talira.ai/catalog/usethis-ckbjm7g4.md): Automate R package and project setup

## Sources

[^1]: https://github.com/r-lib/devtools/blob/main/DESCRIPTION (checked 28 Nov 2026)
