You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The availability of binaries as the restriction for the lack of the R-devel installer itself seems odd. Wouldn't this also apply to macOS then for which R-devel is available?
To build upon r-lib/actions it would be great if the availability of the R-devel installer is not a constraint of the availability of package binaries.
One might prefer source installations, especially on R-devel (where compilers might be different than for R-release).
Installing R from source requires a different set of system dependencies than installing R packages, it is out of scope for the setup-r action. I have no interest in supporting it.
which I think you coded yourself or at least contributed.
Why is the same approach not an option on Github Actions?
Or in the other words: What is wrong with the R-devel builds used on Travis so that they cannot be used in GHA?
Activity
pat-s commentedon Feb 25, 2020
Your most likely aware that R-devel builds can be get as a tarball via https://stat.ethz.ch/R/daily/.
There is a even some code in the installer that should throw a descriptive error when R-devel is requested but it seems not to work:
actions/setup-r/src/installer.ts
Lines 346 to 349 in 52d876c
All other install funs use "version" as the argument, the ubuntu one
filename- could that be the problem?Could you shine a bit light on why R-devel is not supported on the Linux Runners currently? Don't wanna go down a potential rabbit hole 😄
jimhester commentedon Mar 2, 2020
Because in order to support it we would have to build daily binaries for it. Those tarballs are just the daily source, not binaries.
pat-s commentedon Mar 2, 2020
The availability of binaries as the restriction for the lack of the R-devel installer itself seems odd. Wouldn't this also apply to macOS then for which R-devel is available?
To build upon r-lib/actions it would be great if the availability of the R-devel installer is not a constraint of the availability of package binaries.
One might prefer source installations, especially on R-devel (where compilers might be different than for R-release).
jimhester commentedon Mar 2, 2020
There are daily R-devel binaries for macOS which is what is used, so no it does not apply to macOS.
Installing R from source requires a different set of system dependencies than installing R packages, it is out of scope for the setup-r action. I have no interest in supporting it.
At some point in the future https://github.com/rstudio/r-builds will supply daily linux binaries for R-devel and when that happens they will be supported in the setup-r action. Until that time R-devel will not be available on linux through the setup-r action.
pat-s commentedon Mar 2, 2020
As of https://github.com/travis-ci/travis-build/blob/0afb532b33b76d11c0ec308639f935dd458c596f/lib/travis/build/script/r.rb#L103-L108.
the following is done on Travis for R-devel
which I think you coded yourself or at least contributed.
Why is the same approach not an option on Github Actions?
Or in the other words: What is wrong with the R-devel builds used on Travis so that they cannot be used in GHA?
cannot test devel on ubuntu yet
jimhester commentedon Mar 3, 2020
Because those binaries are built on travis and assume travis' default system dependencies, which are different on GitHub Actions.
Removed r-devel for ubuntu since it is not supported (r-lib/actions#49)
yutannihilation commentedon Jul 25, 2020
@jeroen
Sorry for bothering you. I feel your great work https://github.com/r-devel/r-svn/ can be used for this somehow. It doesn't include Ubuntu, but I guess it's not very difficult to add as Debian is already there (Or, maybe is it easier for us to switch to Debian...?). What do you think?
jimhester commentedon Jul 28, 2020
Daily R-devel builds are now supported (23635c0)
yutannihilation commentedon Jul 28, 2020
Super cool! 🎉
github-actions commentedon Nov 8, 2022
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