Skip to content

Error "No such keg: /opt/homebrew/Cellar/r" using setup-r@v2 for MacOS latest with R release #864

@the-mad-statter

Description

@the-mad-statter

The R-CMD-check workflow here is reported as being successful but also produces the error "macOS-latest (R release) No such keg: /opt/homebrew/Cellar/r" as can be seen here.

I have traced the source of the error to this line in the setup-r installer.ts file.

I am not sure why /opt/homebrew/Cellar/r is missing, but could this situation be prevented or at least be turned into a warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions