8000 `setup-r` not working on `macos-13` runners · Issue #810 · r-lib/actions · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
setup-r not working on macos-13 runners #810
Closed
@grimbough

Description

@grimbough

Describe the bug

I'm currently unable to use the setup-r action on macos-13 runners. It fails at the "Downloading macOS utils" step with the error:

Error: Failed to get R devel: Failed to get R 4.4.0: Failed to install qpdf: Error: The process '/usr/local/bin/brew' failed with exit code 1

To Reproduce

A link to a failed run of the action can be found at: https://github.com/grimbough/test-workflow/actions/runs/8358075235/job/22878572700

The fairly minimal workflow file is:

on:
  workflow_dispatch:
  
name: Quick tests of setup-r action

env:
  GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

jobs:

  testing:
    name: Test setup-r action
    runs-on: macos-13
    steps:    
      - name: Setup R
        uses: r-lib/actions/setup-r@v2

Expected behavior

The action seems to work fine on the GitHub runners using other MacOS version and it's be great to restore that behaviour on macos-13.

Additional context

I've noticed that the GitHub runner macos-13 base image has changed a bit recently e.g. there's no existing installation of R on there any more (actions/runner-images@7535fb5). Perhaps those recent changes are releated to this issue.

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

      0