Skip to content

Error in setup step even though it seems to succeed #116

Closed

Description

@Enchufa2

I have two workflows: one to check the package that is triggered for every push, and another one to build the pkgdown site when a new release is published.

Any idea what's the issue here?

Activity

  1. added
    bug
    on Jun 6, 2020
  2. trangdata commented on Jun 6, 2020

    @trangdata

    r-lib/actions/setup-r@master is also failing for me. Worked yesterday. I wonder if this is related to the r 4.0.1 release?

  3. Enchufa2 commented on Jun 6, 2020

    @Enchufa2
    Author
  4. CorradoLanera commented on Jun 6, 2020

    @CorradoLanera

    same issue here w/ lint, pkgdown, and test-coverage (it works for R-CMD-check)

  5. jonkeane commented on Jun 6, 2020

    @jonkeane

    I think that at least part of the problem is that the JSON at https://rversions.r-pkg.org/r-versions is malformed (note that the comma on line 5 should be one line up immediately following the closing brace and not immediately following the open brace). This results in the version map being empty and no matching R version being installed.

    ...
        {
    	"version": "4.0.0",
    	"date": "2020-04-24T07:05:34.612Z"
        }
        {,
    	"version": "4.0.1",
    	"date": "2020-06-06T07:05:16.469439Z"
        }
    
    
  6. jonkeane commented on Jun 7, 2020

    @jonkeane

    The fix for the r-versions.json was merged and is available now, and my builds are back to running again.

  7. albersonmiranda commented on Jun 7, 2020

    @albersonmiranda

    r-lib/actions/setup-r@master still failling for me.

  8. yutannihilation commented on Jun 7, 2020

    @yutannihilation
    Contributor

    I'm also seeing the failure on some runners, while some other ones are running fine. My guess is that the response of https://rversions.r-pkg.org/r-versions is cached somehow (CDN?) and the change doesn't always propagate immediately.

  9. jonkeane commented on Jun 7, 2020

    @jonkeane

    Is it failing for all versions or for a specific one?

    I also noticed that although 4.0.1 has been released, it doesn't look like the binary is available for macOS yet. It looks like by default if you specify r version 4.0 it will try and pull the laters (but not be able to because the 4.0.1 binary isn't up yet). I worked around this for now by specifying 4.0.0 and that worked fine for me:

    https://github.com/jonkeane/dittodb/blob/pkgdown-cleanup/.github/workflows/check-mac.yaml#L16 and https://github.com/jonkeane/dittodb/actions/runs/127718220

  10. markromanmiller commented on Jun 7, 2020

    @markromanmiller

    Specifying the patch also worked for me. Are the macOS binaries likely to be released within a few days?

  11. ha0ye commented on Jun 7, 2020

    @ha0ye

    My guess is that the response of https://rversions.r-pkg.org/r-versions is cached somehow (CDN?) and the change doesn't always propagate immediately.

    I had the same issue yesterday, even after seeing this comment; but re-running the job just now succeeded, so good sign for the propagation of the fix?

  12. CorradoLanera commented on Jun 7, 2020

    @CorradoLanera

    Re-run everything now, all fixed from my side. thanks!

  13. albersonmiranda commented on Jun 9, 2020

    @albersonmiranda

    Is it safe now to remove R 4.0.0 version specification?

  14. jimhester commented on Jun 9, 2020

    @jimhester
    Member

    the problem was there is a OS specific r,versions endpoint for macOS (https://rversions.r-pkg.org/r-release-macos), which is what version: release uses. But if you specify version: 4.0 in the action we query (https://rversions.r-pkg.org/r-versions) for the versions, and that does not have an OS specific endpoint. Plus as mentioned the macOS binary for 4.0.1 lagged the other OSs, which is what caused the failure.

    The binary for 4.0.1 exists now so all cases should work as normal.

  15. wlandau commented on Jul 21, 2020

    @wlandau
  16. sckott commented on Jul 22, 2020

    @sckott

    +1 same problem with r-devel macos

  17. vissarion commented on Jul 29, 2020

    @vissarion

    +1 same problem here for macos-latest and r-devel.
    It is OK with macos-latest and r-release
    https://github.com/GeomScale/volume_approximation/actions/runs/184043422
    @jimhester should we open a new issue?

  18. jimhester commented on Jul 29, 2020

    @jimhester
    Member

    #140 is tracking the lack of R-devel on macOS. In short the daily devel binaries previously available on https://mac.r-project.org have been removed with no explanation, we can't do anything unless they are restored.

  19. github-actions commented on Nov 7, 2022

    @github-actions

    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

  20. locked as resolved and limited conversation to collaborators on Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions