版本发布 4
* Drop legacy hook tests (#578). * Extend pkgdown hook tests for latest release where URLs are checked too (#577). * Fix test to pass with new pkgdown error message (#564). * fix path resolution for conda (#564). * Lint .qmd docs also (#570). * Update hook dependencies (#581). Thanks to all who contributed to this release: [@boxydog](https://github.com/boxydog), [@hadley](https://github.com/hadley), [@IndrajeetPatil](https://github.com/IndrajeetPatil), [@jcken95](https://github.com/jcken95), [@jeancochrane](https://github.com/jeancochrane), [@jrdnbradford](https://github.com/jrdnbradford), [@lorenzwalthert](https://github.com/lorenzwalthert), [@owenjonesuob](https://github.com/owenjonesuob), and [@TymekDev](https://github.com/TymekDev).
Release relax the dependency on third-party error messages in our unit tests (#555). Thanks @hadley, who asked for this fix, as it broke the dev version of {pkgdown}.
This release ensures unit tests can handle the error messages from {styler} correctly that were modified slightly. Apart from hook dependency updates, this release adds no user-facing changes. Thanks [@joshpersi](https://github.com/joshpersi) for contributing to this release.
Apart from two new hooks, many bug fixes and a few minor features, this release focused on improving the user experience when installing the hooks, which caused users the most troubles. We enabled fast hook installation without the need for build time or system dependencies on all platforms thanks to the Posit Package Manager and removal of dependencies {git2r} and {digest}. **Features** - New hook: `no-print-statement` discovers and check for rogue print statements (#505). - New hook: `pkgdown` runs `pkgdown::check_pkgdown()` to ensure the {pkgdown} config is valid (#393). - add Posit CRAN mirror to ensure macOS binary installs are possible (#488). - `codemeta-description-updated`, `roxygenize`, and `use-tidy-description` now all support a `root` argument that specifies the directory in the git repo that contains the R package. Defaults to `.` since for most R package git repos, the git and R package root coincide (#432, #438). - `style-files` now supports styling of R code in Quarto docs (#449). - `style-files` now supports file names with spaces (#516). - Use python 3.10 by default for conda envs (#477). **Bug Fixes** - Make sorting consistent with `spelling::update_wordlist` (#514). - Don't depend on dev version of styler to avoid GitHub rate limit hit (#486). - fix roxygenize cache invalidation (#464, #520). - fix missing namespace prefixing in roxygen hook (#525). **Documentation** - improve spelling (#453). - `use_ci()` is now documented to take `NA`, not `NULL` for argument `ci` (#431). - correct typo (#465) and fix error message (#470). **Dependencies** - remove {digest} dependency (#471). - remove {git2r} dependency (#497). - Hook dependencies update (#503, #506 #508, #513, #540, #538, #527, #521, #519). **Infrastructure** - Refactored hook dependency update scripts and fixed bug with repos. - Automatic hook dependency updates (#539, #532). - use `ubuntu-latest` instead of pinned version for tests (#481). - use new {pkgdown} hook in this repo (#460). - `read-only` flag for testing (#529). - Bump actions/checkout (#509, #458) and others (#533). - ensure local and remote pre-commit execution are the same for this repo (#463). **Other** - Adjust to latest {roxygen2} CRAN release (#536). Changelog from dev releases is collapsed into this patch release at the time this release is created. If you need releases by dev release, i.e. 0.3.2.x, checkout this file at git tag `v0.3.2.9020`. A big thanks goes to all people who made this release reality: [@AliSajid](https://github.com/AliSajid), [@averissimo](https://github.com/averissimo), [@clarkliming](https://github.com/clarkliming), [@danielinteractive](https://github.com/danielinteractive), [@denn173](https://github.com/denn173), [@dependabot[bot]](https://github.com/dependabot), [@EzicJ](https://github.com/EzicJ), [@fabianegli](https://github.com/fabianegli), [@hadley](https://github.com/hadley), [@IndrajeetPatil](https://github.com/IndrajeetPatil), [@jashapiro](https://github.com/jashapiro), [@joelnitta](https://github.com/joelnitta), [@jonathanckt](https://github.com/jonathanckt), [@jsnel](https://github.com/jsnel), [@kcphila](https://github.com/kcphila), [@KoderKow](https://github.com/KoderKow), [@KyleDCox](https://github.com/KyleDCox), [@lorenzwalthert](https://github.com/lorenzwalthert), [@m-muecke](https://github.com/m-muecke), [@mythichamster](https://github.com/mythichamster), [@ns-rse](https://github.com/ns-rse), [@pre-commit-ci[bot]](https://github.com/pre-commit-ci), [@russHyde](https://github.com/russHyde), [@sempwn](https://github.com/sempwn), [@stefanoborini](https://github.com/stefanoborini), [@thefabnab](https://github.com/thefabnab), [@TNonet](https://github.com/TNonet), [@TymekDev](https://github.com/TymekDev), and [@yogat3ch](https://github.com/yogat3ch).