r-lib/actions
### [`v2`](https://togithub.com/r-lib/actions/releases/tag/v2)
[Compare Source](https://togithub.com/r-lib/actions/compare/v1...v2)
Note that `v2` is a sliding tag, and we introduce non-breaking changes to it.
##### `v2.2.2` (2022-04-25)
- `[setup-r]` `release` is not fixed to R 4.1.3 any more, on Linux.
##### `v2.2.1` (2022-04-21)
- `[setup-r]` `release` is now fixed to R 4.1.3 on Linux, until we have the Linux binaries and RSPM binary packages
ready for R 4.2.0.
##### `v2.2.0` (2022-04-01)
- `[setup-r]` now supports `next` as an R version. It installs the next version of R. This is R-patched if there is no
active release process. Otherwise it can be R-alpha, R-beta, R-rc or R-prerelease ([#542](https://togithub.com/r-lib/actions/issues/542)).
- `[setup-r-dependencies]` has a new `cache` input parameter, which you can set to `false` to disable the cache
([@Bisaloo](https://togithub.com/Bisaloo), [#530](https://togithub.com/r-lib/actions/issues/530)).
- `[setup-r-dependencies]` now removed the temporary `.github/pkg.lock` file after the package installation,
to avoid a dirty git tree ([@schloerke](https://togithub.com/schloerke), [#526](https://togithub.com/r-lib/actions/issues/526)).
- `[setup-pandoc]` now fails if it fails to install pandoc ([@nikeee](https://togithub.com/nikeee), [#515](https://togithub.com/r-lib/actions/issues/515)).
##### `v2.1.5` (2022-03-11)
- `[setup-r]`: remove workaround for R 4.1.3. `release` is R 4.1.3 now on Linux.
##### `v2.1.4` (2022-03-10)
- `[check-r-package`: new `upload-results` parameter to be able to upload the result artifact for successful checks.
- `[setup-r]`: fix R installation for R `release`.
##### `v2.1.3` (2022-02-18)
- `[setup-r-dependencies]`: the `pak-version` parameter defaults to "stable" now.
- `[setup-tinynex]` now fails if it fails to download or install TinyTeX ([#505](https://togithub.com/r-lib/actions/issues/505)).
##### `v2.1.2` (2022-02-16)
- `[setup-r]` now again adds Rtools40 to the path ([#504](https://togithub.com/r-lib/actions/issues/504), [@nealrichardson](https://togithub.com/nealrichardson)).
- `[setup-r]` Rtools42 version updated to latest.
##### `v2.1.1` (2022-02-14)
- `[setup-r-dependencies]` uses the correct cache key now, previously it was truncated.
##### `v2.1.0` (2022-02-12)
- `[setup-r-dependencies]` now has a `packages` parameter, to override which package(s) to install ([#486](https://togithub.com/r-lib/actions/issues/486)).
- `[setup-r]` now supports Rtools42. Pass `'42'` as the `rtools-version` parameter ([#491](https://togithub.com/r-lib/actions/issues/491)).
- `[setup-r]`: the `windows-path-include-mingw` parameter is now defunct with Rtools40 and later, as it is not needed and possibly causes confusion.
- `[check-r-package]` has a new parameter: `upload-snapshots`, to upload testthat snapshots as artifacts ([#473](https://togithub.com/r-lib/actions/issues/473)).
- The pkgdown, bookdown and blogdown examples now use concurrency groups to avoid race conditions when deploying the site ([#476](https://togithub.com/r-lib/actions/issues/476)).
- The test-coverage example now keeps the output from covr, to make debugging easier ([#481](https://togithub.com/r-lib/actions/issues/481)).
- Two new examples are included, to run `roxygen2::roxygenise()` and `styler::style_pkg()` on a repo and commit the results ([#434](https://togithub.com/r-lib/actions/issues/434)).
##### `v2.0.11` (2022-01-16)
- `[setup-r]` forces HTTP/1.1 for pak/pkgcache.
- `[setup-r-dependencies]` does the same. This *seems* to fix crashes during package installation ([#483](https://togithub.com/r-lib/actions/issues/483)).
##### `v2.0.10` (2022-01-11)
- The pkgdown example now uses `clean: false` to allow a production and a dev site.
##### `v2.0.9` (2022-01-11)
- `[setup-r]` now does not download qpdf on Windows, because it is already
included in Rtools ([#474](https://togithub.com/r-lib/actions/issues/474)).
##### `v2.0.8` (2022-01-11)
- `[check-r-package]` does not print the environment now, because there is a slight chance that printing
exposes processed secrets that GitHub's reduction mechanism misses.
##### `v2.0.7` (2022-01-06)
- Simplified GitHub Pages deployment in the pkgdown example ([#468](https://togithub.com/r-lib/actions/issues/468)).
##### `v2.0.6` (2022-01-05)
- `[setup-r]` does not add the `ppa:cran/travis` PPA on Ubuntu, as it is not needed any more. ([@jeroen](https://togithub.com/jeroen), [#465](https://togithub.com/r-lib/actions/issues/465))
- `[setup-r]` macOS R-devel builds use a more robust R download URL now ([@s-u](https://togithub.com/s-u), [#466](https://togithub.com/r-lib/actions/issues/466)).
- `[setup-r-dependencies]` now uses the correct cache key if `working-directory` is specified ([@harupy](https://togithub.com/harupy), [#471](https://togithub.com/r-lib/actions/issues/471))
##### `v2.0.5` (2021-12-17)
- `[setup-r-dependencies]` now works with older versions of the sessioninfo package.
(This typically happens on older R versions and Windows or macOS, where pak prefers
to install an older binary package to a newer source package, unless the newer package
is needed.)
##### `v2.0.4` (2021-12-16)
- `[setup-r]` and `[setup-r-dependencies]` now have better organized output
- `[check-r-package]` now prints all environment variables before the check.
##### `v2.0.3` (2021-12-15)
- `[setup-r]` and `[setup-r-dependencies]` do not treat R version `devel-ucrt` specially any more,
and it is equivalent to `devel`.
##### `v2.0.2` (2021-12-14)
- `[check-r-package]` now sets the `_R_CHECK_FORCE_SUGGESTS_=false` environment variable,
unless it was already set before to a non-empty value.
##### `v2.0.1` (2021-12-13)
- `[setup-r-dependencies]` is now better at ignoring soft package dependencies that
cannot be installed on the current R version. See more in the README here:
https://github.com/r-lib/actions/tree/v2/setup-r-dependencies#ignoring-optional-dependencies-that-need-a-newer-r-version
##### `v2.0.0` (2021-12-12)
##### Breaking changes from `v1`
- `[check-r-package]`: many parameters have a new format now, and they need
to be legal R expressions.
- `[setup-r]` does not have a `crayon.enabled` parameter now. You can update
`.Rprofile` manually to set options if you like, see example in the README.
##### New compared to `v1`
- `[check-r-package]` has a `working-direcytory` parameter now ([#393](https://togithub.com/r-lib/actions/issues/393)).
- `[check-r-package]` prints the testthat output, and uploads artifacts on failure
now, no need to do these in the workflow file.
- `[run-rchk]` is now a more flexible composite action ([@randy3k](https://togithub.com/randy3k), [#380](https://togithub.com/r-lib/actions/issues/380), [#428](https://togithub.com/r-lib/actions/issues/428)).
- `[setup-pandoc]` now defaults to Pandoc version 2.14.2.
- `[setup-r]` more robust installation in macOS, hopefully the hangs are solved.
- `[setup-r]` now works on macOS Big Sur for older R versions ([#412](https://togithub.com/r-lib/actions/issues/412)).
- `[setup-r-dependencies]` has more robust dependency and system dependency lookup
and installation ([#370](https://togithub.com/r-lib/actions/issues/370), [#386](https://togithub.com/r-lib/actions/issues/386), [#405](https://togithub.com/r-lib/actions/issues/405), [#419](https://togithub.com/r-lib/actions/issues/419), [#430](https://togithub.com/r-lib/actions/issues/430), [#431](https://togithub.com/r-lib/actions/issues/431), [#432](https://togithub.com/r-lib/actions/issues/432), [#437](https://togithub.com/r-lib/actions/issues/437)).
- `[setup-r-dependencies]` automatically uses the UCRT versions of packages on UCRT R.
- `[setup-r-dependencies]` has a `working-directory` parameter now ([#393](https://togithub.com/r-lib/actions/issues/393), [#438](https://togithub.com/r-lib/actions/issues/438)).
- `[setup-r-dependencies]` has a less conservative cache key now for R-devel ([#429](https://togithub.com/r-lib/actions/issues/429)).
- `[setup-r-dependencies]` now has a `dependencies` parameter to finetune which
dependencies are installed ([#409](https://togithub.com/r-lib/actions/issues/409)).
##### Changes in example workflows from `v1`
- New example workflows, that work with the `v2` tag.
- Example pkgdown workflow builds releases now ([#450](https://togithub.com/r-lib/actions/issues/450)).
- bookdown, blogdown and pkgdown examples now have workflow triggers to
trigger a build manually.
- bookdown, blogdown and pkgdown examples now build on pull requests as
well, without deploying ([#363](https://togithub.com/r-lib/actions/issues/363)).
- Check examples omit showing the testtat output and the artifact upload
on error, these are done in the `check-r-package` action now.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1
->v2
Release Notes
r-lib/actions
### [`v2`](https://togithub.com/r-lib/actions/releases/tag/v2) [Compare Source](https://togithub.com/r-lib/actions/compare/v1...v2) Note that `v2` is a sliding tag, and we introduce non-breaking changes to it. ##### `v2.2.2` (2022-04-25) - `[setup-r]` `release` is not fixed to R 4.1.3 any more, on Linux. ##### `v2.2.1` (2022-04-21) - `[setup-r]` `release` is now fixed to R 4.1.3 on Linux, until we have the Linux binaries and RSPM binary packages ready for R 4.2.0. ##### `v2.2.0` (2022-04-01) - `[setup-r]` now supports `next` as an R version. It installs the next version of R. This is R-patched if there is no active release process. Otherwise it can be R-alpha, R-beta, R-rc or R-prerelease ([#542](https://togithub.com/r-lib/actions/issues/542)). - `[setup-r-dependencies]` has a new `cache` input parameter, which you can set to `false` to disable the cache ([@Bisaloo](https://togithub.com/Bisaloo), [#530](https://togithub.com/r-lib/actions/issues/530)). - `[setup-r-dependencies]` now removed the temporary `.github/pkg.lock` file after the package installation, to avoid a dirty git tree ([@schloerke](https://togithub.com/schloerke), [#526](https://togithub.com/r-lib/actions/issues/526)). - `[setup-pandoc]` now fails if it fails to install pandoc ([@nikeee](https://togithub.com/nikeee), [#515](https://togithub.com/r-lib/actions/issues/515)). ##### `v2.1.5` (2022-03-11) - `[setup-r]`: remove workaround for R 4.1.3. `release` is R 4.1.3 now on Linux. ##### `v2.1.4` (2022-03-10) - `[check-r-package`: new `upload-results` parameter to be able to upload the result artifact for successful checks. - `[setup-r]`: fix R installation for R `release`. ##### `v2.1.3` (2022-02-18) - `[setup-r-dependencies]`: the `pak-version` parameter defaults to "stable" now. - `[setup-tinynex]` now fails if it fails to download or install TinyTeX ([#505](https://togithub.com/r-lib/actions/issues/505)). ##### `v2.1.2` (2022-02-16) - `[setup-r]` now again adds Rtools40 to the path ([#504](https://togithub.com/r-lib/actions/issues/504), [@nealrichardson](https://togithub.com/nealrichardson)). - `[setup-r]` Rtools42 version updated to latest. ##### `v2.1.1` (2022-02-14) - `[setup-r-dependencies]` uses the correct cache key now, previously it was truncated. ##### `v2.1.0` (2022-02-12) - `[setup-r-dependencies]` now has a `packages` parameter, to override which package(s) to install ([#486](https://togithub.com/r-lib/actions/issues/486)). - `[setup-r]` now supports Rtools42. Pass `'42'` as the `rtools-version` parameter ([#491](https://togithub.com/r-lib/actions/issues/491)). - `[setup-r]`: the `windows-path-include-mingw` parameter is now defunct with Rtools40 and later, as it is not needed and possibly causes confusion. - `[check-r-package]` has a new parameter: `upload-snapshots`, to upload testthat snapshots as artifacts ([#473](https://togithub.com/r-lib/actions/issues/473)). - The pkgdown, bookdown and blogdown examples now use concurrency groups to avoid race conditions when deploying the site ([#476](https://togithub.com/r-lib/actions/issues/476)). - The test-coverage example now keeps the output from covr, to make debugging easier ([#481](https://togithub.com/r-lib/actions/issues/481)). - Two new examples are included, to run `roxygen2::roxygenise()` and `styler::style_pkg()` on a repo and commit the results ([#434](https://togithub.com/r-lib/actions/issues/434)). ##### `v2.0.11` (2022-01-16) - `[setup-r]` forces HTTP/1.1 for pak/pkgcache. - `[setup-r-dependencies]` does the same. This *seems* to fix crashes during package installation ([#483](https://togithub.com/r-lib/actions/issues/483)). ##### `v2.0.10` (2022-01-11) - The pkgdown example now uses `clean: false` to allow a production and a dev site. ##### `v2.0.9` (2022-01-11) - `[setup-r]` now does not download qpdf on Windows, because it is already included in Rtools ([#474](https://togithub.com/r-lib/actions/issues/474)). ##### `v2.0.8` (2022-01-11) - `[check-r-package]` does not print the environment now, because there is a slight chance that printing exposes processed secrets that GitHub's reduction mechanism misses. ##### `v2.0.7` (2022-01-06) - Simplified GitHub Pages deployment in the pkgdown example ([#468](https://togithub.com/r-lib/actions/issues/468)). ##### `v2.0.6` (2022-01-05) - `[setup-r]` does not add the `ppa:cran/travis` PPA on Ubuntu, as it is not needed any more. ([@jeroen](https://togithub.com/jeroen), [#465](https://togithub.com/r-lib/actions/issues/465)) - `[setup-r]` macOS R-devel builds use a more robust R download URL now ([@s-u](https://togithub.com/s-u), [#466](https://togithub.com/r-lib/actions/issues/466)). - `[setup-r-dependencies]` now uses the correct cache key if `working-directory` is specified ([@harupy](https://togithub.com/harupy), [#471](https://togithub.com/r-lib/actions/issues/471)) ##### `v2.0.5` (2021-12-17) - `[setup-r-dependencies]` now works with older versions of the sessioninfo package. (This typically happens on older R versions and Windows or macOS, where pak prefers to install an older binary package to a newer source package, unless the newer package is needed.) ##### `v2.0.4` (2021-12-16) - `[setup-r]` and `[setup-r-dependencies]` now have better organized output - `[check-r-package]` now prints all environment variables before the check. ##### `v2.0.3` (2021-12-15) - `[setup-r]` and `[setup-r-dependencies]` do not treat R version `devel-ucrt` specially any more, and it is equivalent to `devel`. ##### `v2.0.2` (2021-12-14) - `[check-r-package]` now sets the `_R_CHECK_FORCE_SUGGESTS_=false` environment variable, unless it was already set before to a non-empty value. ##### `v2.0.1` (2021-12-13) - `[setup-r-dependencies]` is now better at ignoring soft package dependencies that cannot be installed on the current R version. See more in the README here: https://github.com/r-lib/actions/tree/v2/setup-r-dependencies#ignoring-optional-dependencies-that-need-a-newer-r-version ##### `v2.0.0` (2021-12-12) ##### Breaking changes from `v1` - `[check-r-package]`: many parameters have a new format now, and they need to be legal R expressions. - `[setup-r]` does not have a `crayon.enabled` parameter now. You can update `.Rprofile` manually to set options if you like, see example in the README. ##### New compared to `v1` - `[check-r-package]` has a `working-direcytory` parameter now ([#393](https://togithub.com/r-lib/actions/issues/393)). - `[check-r-package]` prints the testthat output, and uploads artifacts on failure now, no need to do these in the workflow file. - `[run-rchk]` is now a more flexible composite action ([@randy3k](https://togithub.com/randy3k), [#380](https://togithub.com/r-lib/actions/issues/380), [#428](https://togithub.com/r-lib/actions/issues/428)). - `[setup-pandoc]` now defaults to Pandoc version 2.14.2. - `[setup-r]` more robust installation in macOS, hopefully the hangs are solved. - `[setup-r]` now works on macOS Big Sur for older R versions ([#412](https://togithub.com/r-lib/actions/issues/412)). - `[setup-r-dependencies]` has more robust dependency and system dependency lookup and installation ([#370](https://togithub.com/r-lib/actions/issues/370), [#386](https://togithub.com/r-lib/actions/issues/386), [#405](https://togithub.com/r-lib/actions/issues/405), [#419](https://togithub.com/r-lib/actions/issues/419), [#430](https://togithub.com/r-lib/actions/issues/430), [#431](https://togithub.com/r-lib/actions/issues/431), [#432](https://togithub.com/r-lib/actions/issues/432), [#437](https://togithub.com/r-lib/actions/issues/437)). - `[setup-r-dependencies]` automatically uses the UCRT versions of packages on UCRT R. - `[setup-r-dependencies]` has a `working-directory` parameter now ([#393](https://togithub.com/r-lib/actions/issues/393), [#438](https://togithub.com/r-lib/actions/issues/438)). - `[setup-r-dependencies]` has a less conservative cache key now for R-devel ([#429](https://togithub.com/r-lib/actions/issues/429)). - `[setup-r-dependencies]` now has a `dependencies` parameter to finetune which dependencies are installed ([#409](https://togithub.com/r-lib/actions/issues/409)). ##### Changes in example workflows from `v1` - New example workflows, that work with the `v2` tag. - Example pkgdown workflow builds releases now ([#450](https://togithub.com/r-lib/actions/issues/450)). - bookdown, blogdown and pkgdown examples now have workflow triggers to trigger a build manually. - bookdown, blogdown and pkgdown examples now build on pull requests as well, without deploying ([#363](https://togithub.com/r-lib/actions/issues/363)). - Check examples omit showing the testtat output and the artifact upload on error, these are done in the `check-r-package` action now.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.