Skip to content

Releases: r-lib/actions

v2

12 Dec 17:39
Compare
Choose a tag to compare

Note that v2 is a sliding tag, and we introduce non-breaking changes to it.

v2.9.0 (2024-05-09)

  • The test-coverage.yaml example workflow now handles global Codecov
    tokens for test coverage uploads to codecov.io
    (@ALanguillaume, @gaborcsardi, #823).

  • The check-full.yaml example does not test on R 3.6.x any more.

  • All example workflows set the default permissions now to read-only.

  • We deleted the (long broken) run-rchk action.
    R-hub will have an rchk container and builder soon: r-hub/containers#29.

  • [setup-r-dependencies]: new option to save the R package cache for
    unsuccessful workflow runs as well (@schloerke, #695).

  • New example workflows bookdown-gh-pages and blogdown-gh-pages to
    deploy bookdown books and blogdown sites to GH Pages without commiting
    them into the repository (#856).

v2.8.7 (2024-04-05)

  • [setup-r-dependencies] now has a lockfile-create-lib input parameter, that is
    passed to pak::lockfile_create(lib = ...) (#814).

v2.8.6 (2024-03-30)

  • [setup-r] now does not install qpdf on Windows, because it is part of all Rtools
    versions that we use. Also, it installs Ghostscript from a .zip file instead of a
    choco package, because choco install can sometimes freeze (#812).

v2.8.5 (2024-03-26)

  • [setup-r] uses a different tag name to download system packages from on
    Windows. This is to fix r-lib/usethis#1967.

v2.8.4 (2024-03-25)

  • [setup-r]: Ghostscript and QPDF installation is now more robust on Windows.
    We download and install manually, instead of installing from the Chocolatey
    repository (#812).

v2.8.3 (2024-03-20)

  • [setup-r] now sets the HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
    environment variable when installation associated tools on macOS. Without this brew
    often fails on outdated Homebrew installations (#810).
  • [setup-r-dependencies] now works on aarch64 Linux.

v2.8.2 (2024-03-18)

  • [setup-r] now supports Rtools44, and installs Rtools44 for R 4.4.x (currently R-devel).
  • [check-r-package] now supports upload-results: never to never upload
    check results as artifacts. This is useful if you want to handle artifact uploads
    yourself.

v2.8.1 (2024-02-29)

  • [setup-r-dependencies]: fix Pandoc auto-installation (#808).

v2.8.0 (2024-02-27)

  • [setup-r] now allows rtools-version: none to skip installing Rtools (#767).
  • [setup-pandoc]: The default version is 3.1.11 now.
  • [setup-pandoc] can now install the latest pandoc version, or the pandoc nightly build.
  • [setup-pandoc] now supports arm64 macOS and any amd64 or arm64 Linux distribution.
  • [setup-r-dependencies] now installs pandoc if the R package depends on the rmarkdown package.
  • [check-r-package] now has inputs artifact-name and snapshot-artifact-name to specify artifact names explicitly (#800).
  • The styler example now sets permissions correctly (#775, @thisisnic).
  • The test coverage example now handles paths with spaces or special characters (#782, @Felixmil).
  • The check example workflows now use a better build_args parameter (#787).

v2.7.2 (2024-02-01)

  • [check-r-package] now uses better artifact names. It includes matrix.config.id from the job matrix in the artifact name. If that's not defined then the zero-based job index in the matrix is used. For non-matrix jobs, this is 0.

v2.7.1 (2024-01-31)

  • [check-r-package] now includes the runner architecture in the name of the test output artifact, to avoid a name clash between macos-14 and other macOS runners.

v2.7.0 (2024-01-31)

  • [setup-r] now removes Homebrew R from the PATH on macOS. With this setup-r works on the new arm64 macos-14 platform.
  • All actions and examples now use Node 20 actions.

v2.6.5 (2023-10-27)

  • [setup-r] now tries to avoid *.r-project.org URLs, to work around a DNS issue.
  • [check-r-package] now only sets _R_CHECK_CRAN_INCOMING_=false if it is not set already (@krlmlr, #764).
  • [setup-renv] now has a working-directory parameter (@milanmlft, #770).
  • The example test-coverage.yaml workflow now works on Windows.

v2.6.4 (2023-07-14)

  • [setup-r-dependencies] now works without sudo on Linux.
  • [setup-renv] now only installs renv if not installed already, e.g. the installation of the correct renv version
    is typically triggered from the .Rprofile (#747).

v2.6.3 (2023-04-26)

  • [setup-r] now installs gfortran 12.2 only for R 4.3.0 and newer, as it is not compatible with the
    R 4.1.x (and possibly other) R builds (#722).

v2.6.2 (2023-04-24)

  • [setup-r] sets its installed-r-version output correctly again, to the actual R version number.
  • [setup-r] now installs gfortran 12.2 for R 4.0.0 and newer. This fixes fortran compilation for
    R 4.3.0 and newer.

v2.6.1 (2023-04-21)

  • [setup-r] observes the rtools-version input parameter again (#720).
  • The pkgdown example now sets the permissions of the automatic GITHUB_TOKEN
    to allow deployment (#719, @jennybc).

v2.6.0 (2023-04-21)

  • [setup-r] now does a better job resolving R version specifications.
  • The example workflow for styler now commits all styled files (#693, @dpprdan).

v2.5.0 (2023-04-01)

  • [setup-r]: better cache key for R-devel: now the graphics engine API id and t he internal R id are also included
    in the cache key (#699, @schloerke).
  • [setup-r]: the r-version parameter can now be set to renv, to read the R version to install from the
    renv.lock file (#701, @iqis).
  • [setup-r]: now installs Rtools43 for R 4.3.0 (current R-next) and later (#714).
  • [setup-r-dependencies]: new input parameter: upgrade, whether to install the latest available package
    versions. Defaults to FALSE.
  • [setup-tinytex]: handle tinytex 2023 change about windows directory (#712, @cderv).
  • [setup-pandoc]: fix installation of Pandoc 3.1.2 (and possibly later) on macOS (#716, @IndrajeetPatil).
  • The example document.yaml workflow now also saves the DESCRIPTION file (#694, @dpprdan).

v2.4.0 (2023-01-16)

  • [setup-r]: supports Rtools43 now. On R-devel Windows Rtools43 is installed by default (#682).
  • [setup-renv]: new input parameter: bypass-cache to skip the GitHub cache completely (#667, @davidski).
  • The style.yaml example workflow now installs roxygen2 as well (#690, @dpprdan).
  • The document.yaml and style.yaml example workflows now do not run for pull requests (#683, @arisp99).

v2.3.1 (2022-11-04)

  • [setup-r-dependencies] is now compatible with renv again (#652).
  • [check-r-package] now sets the LOGNAME environment variable, which is needed for an R CMD check test to work (#651).

v2.3.0 (2022-10-26)

  • All node.js actions use node 16 now.

  • [check-r-package] uploading artifacts works now when working-directory is set (#614, @riccardoporreca).

  • [setup-pandoc] uses now pandoc version 2.19.2 by default.

  • [setup-r] now sets RENV_CONFIG_REPOS_OVERRIDE to RSPM, if RSPM is requrested (#572).

  • [setup-r] has a new windows-path-include-rtools parameter (#574).

  • [setup-r] now installs ghostscript on all platforms, as it is sometimes needed for R CMD check (#583).

  • [setup-r-dependencies] now installs pak into the site library. This helps checking packages that depend on pak (#640).

  • [setup-renv] has a new profile parameter for the renv profile to use in renv::activate() (#649, @Bisaloo).

  • All example workflows use actions relying on node 16 now.

  • Example workflows using lintr now fail on lint errors now (#537).

  • The check-full workflow now includes a check on Windows 4.1.x (#564).

  • The style example how also supports Quarto .qmd files (#629, @IndrajeetPatil).

  • New example workflow, lint-changed-files, to lint only the changed files (#567, @IndrajeetPatil).

  • New example workflow, check-no-suggests, to run R CMD check with only the suggested packages (#549).

  • The test-coverage workflow now prints the test results and on test failures it also uploads them as an artifact (#643).

v2.2.8 (2022-08-31)

  • Examples now use ubuntu-latest instead of ubuntu-20.04. This avoid having to update your workflows every two years.
    It does not change anything right now, however, as ubuntu-latest is the same as ubuntu-20.04 currently.

v2.2.7 (2022-08-23)

  • HTML 5 check example now works for packages with vignettes (by ignoring them), #611.
  • [setup-r] now adds Rtools40 to the PATH for Windows ucrt R versions, so R can compile packages again, #610.

v2.2.6 (2022-08-22)

v2.2.5 (2002-08-05)

  • [check-r-package] now correctly uploads artifacts after a check error (#593, #595).
  • shiny-deploy example now works correctly.

v2.2.4 (2022-07-27)

  • [setup-r] does not fix release to 4.2.0 any more.

v2.2.3 (2002-06-23)

  • [setup-r] release is now fixed to R 4.2.0 on Linux, until we have the Linux binaries ready for R 4.2.1.
  • The lintr example workflow now installs the local package as well (#557,@dpprdan).
  • Artifact upload now works properly if check-dir is specified (#560, @riccardoporreca)

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 ...
Read more

v1

13 Dec 21:06
Compare
Choose a tag to compare
v1

This is a sliding tag, and we introduce non-breaking changes to it.

v1.0.2 (2022-10-24)

The v1 versions of the actions are now formally deprecated, and they generate warning messages.

v1.0.1 (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.