Changelog
Source:NEWS.md
checklist 0.2.0
Added
update_installed_pkgs(), which usespak::pkg_install()to update installed packages, including packages installed from GitHub.check_rmd_renders()andcheck_qmd_renders()now use it whenupdate_packages = TRUE, removing the dependency on the remotes package.quit_on_failure()now accepts multiple check expressions as separate arguments. Its documentation warns against wrapping multiple checks in a braced block, which only returns the value of the last expression.check_rmd_renders()gainsoutput_dirandquietarguments; previously passing either through...produced an error about duplicated arguments.File names and glob patterns containing regular expression metacharacters (e.g.
+or{) are now matched literally byfind_files()and thecheck_*_files()functions, and flagged names containing braces are displayed correctly instead of being interpreted as cli expressions.check_required_files()now only accepts regular files, so a directory with a matching name no longer satisfies the check.With
install_missing = TRUE,check_rmd_renders()andcheck_qmd_renders()now scan only the named file for dependencies rather than any file whose name ends with the same suffix.The example GitHub Actions workflow in
inst/templates/now authenticates GitHub installs with the workflow’sGITHUB_TOKENand requests read-only permissions.The example assignments in
inst/examples/now use Quarto (qmd) documents instead of R Markdown, and an example GitHub Actions workflow is included ininst/templates/.Renamed the
globargument toregexpinfind_pkgs(),missing_pkgs(),install_missing_pkgs(), and thecheck_*_pkgs()functions; file selection now uses a regular expression.Removed the unused
fullargument fromcheck_allowed_pkgs(),check_disallowed_pkgs(), andcheck_required_pkgs().Fixed
quit_on_failure()so that a logical vector of allTRUEvalues no longer exits with an error status.find_files()now treats an emptyfilesvector as matching nothing (or everything wheninvert = TRUE), socheck_disallowed_files()with no patterns passes instead of reporting every file.
checklist 0.1.1
Added
handle_error()to help manage the results ofcheck_rmd_renders()andcheck_qmd_renders().Switch from using
renvtopakfor scanning files for dependencies.