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

Install standard ci.yaml for r2u use #175

Merged
merged 1 commit into from
May 27, 2024

Conversation

eddelbuettel
Copy link
Contributor

As discussed over at the r2u repo yesterday this PR adds my standard ci.yaml. I added an extra paragraph with 'install_all' to explicitly install suggested dependencies as well as actual dependencies (I usually stick with just depends in most cases, one larger package at work also installs all suggests for maximum test coverage). Additional blocks or commands can be added, if needed, as usual via shell or Rscript snippet.

In my action, the deploy step failed but that was expected as I do not have your tokens. I think you can tune in the opening paragraph when these actions are triggered to exclude forks and/or skip the corresponding steps if the variables are empty.

As you see, I also skip tests on macOS "because life is too short". For most things this should just work: the underlying script happily installs R for macOS and packages resolve well (and fast) too as binaries "in most cases". But because I don't work on a mac myself I never quite au courant about what is happening and prefer to just skip these tests rather than chase occassional one-offs. Your mileage may differ, it is easy to turn this on. Similarly, I usually run Windows off a different yaml script when I have to.

As you can, this did what it set out to do, and quickly, and that usually works for me.

image

Added extra paragraph with 'install_all' to explicitly install suggested
dependencies as well as actual dependencies

Additional blocks or commands can be added, if needed, as usual via shell or
Rscript snippet
@LukasWallrich LukasWallrich merged commit 18befc4 into ESHackathon:main May 27, 2024
4 of 5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants