`setup-r-dependencies` doesn't install latest version of pak for macOS
Closed this issue · 2 comments
salim-b commented
Describe the bug
Running the setup-r-dependencies on macos-latest (release) installs pak 0.7.2 while running the same action on ubuntu-latest (release) installs pak 0.8.0.
To Reproduce
Simply set up the check-standard workflow via usethis::use_github_action().
The macos-latest (release) GHA job will then attempt to
Install pak
> dir.create(Sys.getenv("R_LIB_FOR_PAK"), recursive = TRUE, showWarnings = FALSE)
>
>
> if ("stable" == "repo") { install.packages("pak", lib = Sys.getenv("R_LIB_FOR_PAK")) } else { install.packages("pak", lib = Sys.getenv("R_LIB_FOR_PAK"), repos = sprintf("https://r-lib.github.io/p/pak/%s/%s/%s/%s", "stable", .Platform$pkgType, R.Version()$os, R.Version()$arch)) }
trying URL 'https://r-lib.github.io/p/pak/stable/mac.binary.big-sur-arm64/darwin20/aarch64/bin/macosx/big-sur-arm64/contrib/4.4/../../../../../../../../darwin20/aarch64/pak_0.7.2_R-4-4_aarch64-darwin20.tgz'
(...)
Expected behavior
The latest stable release of pak (v0.8.0) should be installed.
Additional context
In my case it's crucial to use to the latest pak version because it fixed GitLab remotes parsing.
gaborcsardi commented
Fixed now.
github-actions commented
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue