Skip to content

Roll R versions on Ubuntu; sort out some Windows caching - #314

Merged
jimhester merged 8 commits into
masterfrom
update-for-R-4.1
May 25, 2021
Merged

jimhester merged 8 commits into
masterfrom
update-for-R-4.1

Conversation

@jennybc

@jennybc jennybc commented May 24, 2021 •

Copy link
Copy Markdown
Member
  • Roll R versions on Ubuntu
  • In general, allow caching on Windows; apply a workaround so that older Rtools doesn't break storing the cache

Still pretty sure that ...

Closes #118
Closes #21

BTW you'll want to squash this, as the history contains the (now reverted) original PR #311

Comment thread examples/check-full.yaml
path: check

- name: Don't use tar from old Rtools to store the cache
if: ${{ runner.os == 'Windows' && startsWith(steps.install-r.outputs.installed-r-version, '3.6' ) }}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of startsWith(), this could be ... == '3.6.3' but I chose this to more obviously match how this R version appears in the build matrix.

Comment thread examples/check-full.yaml
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check

- name: Don't use tar from old Rtools to store the cache

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to be very explicit about what this step is about.

@jimhester

Copy link
Copy Markdown
Member

LGTM, thanks!

Thanks!

@jimhester
jimhester merged commit 96d779f into master May 25, 2021
@jimhester
jimhester deleted the update-for-R-4.1 branch May 25, 2021 12:31
@yutannihilation

Copy link
Copy Markdown
Contributor

🎉

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cache R installation on Windows

4 participants