Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: setup R to be more reliable #2

Open
zkamvar opened this issue Jul 6, 2022 · 0 comments
Open

workflows: setup R to be more reliable #2

zkamvar opened this issue Jul 6, 2022 · 0 comments

Comments

@zkamvar
Copy link
Contributor

zkamvar commented Jul 6, 2022

At the moment, the setup-r action will attempt to download the latest R from the internet. In fact, we can use the R version that is pre-installed on GitHub actions like is present in sandpaper:

https://github.com/carpentries/sandpaper/blob/592112589ed80fa0a1f4b5460cb8264bec73c3bb/inst/workflows/sandpaper-main.yaml#L37-L41

      - name: "Set up R"
        uses: r-lib/actions/setup-r@v2
        with:
          use-public-rspm: true
          install-r: false

This would help avoid build errors due to timeouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant