devtools
devtools copied to clipboard
Tools to make an R developer's life easier
Added support for Quarto documents, deprecated `build_rmd()`, updated tests. Tests rely on `usethis::use_readme_qmd`proposed in r-lib/usethis#2176--leaving as draft PR until that gets merged. Tried to address #2628 by using the regex...
Name `snap_dir` arg for `testthat::local_snapshotter()` in `test_coverage_active_file()` Fixes #2630
In testthat 3.3, [`local_snapshotter()` gained a new 1st argument, `reporter`](https://github.com/r-lib/testthat/pull/2199). The PR acknowledged that `local_snapshotter()` is used in devtools, but devtools doesn't appear to have an update to deal with...
The build_readme() function (build-readme.R) finds the file to build using the following regular expression: regexp
I usually build the README.md file in my R packages with `devtools::build_readme()` from a README.Rmd file. I use GitHub alerts like [these](https://github.com/orgs/community/discussions/16925) in some of my README.Rmd files, but the...
In preparation for submitting the package I have just finished to CRAN, I updated the R version I was using. I then installed all the more recent versions of the...
[tidy dev day 2025] part of r-lib/rcmdcheck#237: `rcmdcheck::rcmdcheck()` now prints all associated r check environment variables as well as not cran, so we can remove this feature from `devtools::check()`.
[This PR](https://github.com/r-lib/usethis/pull/2176) adds support for Quarto readme generation through usethis, so it's probably a good idea to maintain parity by adjusting devtools's `build_readme()` to handle Quarto readmes as well.
The existing `check_win_*()` functions use passive FTP to upload package tarballs to WinBuilder. FTP is increasingly deprecated or blocked in modern network environments due to security policies, firewall restrictions, or...
When running `devtools::dev_sitrep()` in Positron, there's a message about the RStudio version because ` devtools:::is_rstudio_running()` returns `TRUE`. Could this be avoided? Should devtools check the Positron version instead in this...