{devtools} in package development workflow

Опубликовано: 14 Июль 2026
на канале: TheCoatlessProfessor
141
1

In the third video of the series, we aim to show how {devtools} functions are used to build and debug the package.

In particular, we use:

1. Load the package to test functions.
devtools::load_all()

2. Generate package document from inline roxygen2 comments.
devtools::document()

3. Check package to make sure it passes CRAN's quality control tests.
devtools::document()

4. Build and install package locally.
devtools::install()