-
Notifications
You must be signed in to change notification settings - Fork 217
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
Prevent installing the package itself in setup-r-dependencies #419
Comments
I think this will be resolved eventually by r-lib/pak#319 (comment) But possibly we could in the meantime explicitly filter |
Thanks for the prompt reply @jimhester! If this is already considered the way forward for |
Another use case for this is if you setup a shiny app using Then https://github.com/rstudio/shiny-testing-gha-example can be greatly simplified by using |
This is now fixed in the |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue |
Is your feature request related to a problem? Please describe.
When installing package dependencies, it might be desirable / convenient not to install the package itself, which is also the approach of e.g.
pak::local_install_dev_deps()
. Actionsetup-r-dependencies
however does install the package.R CMD check
, the installation is unneccessary and might waste some precious time (e.g. with compiled code).Describe the solution you'd like
setup-r-dependencies
, driven e.g. by a new "parameter" underwith:
.R CMD check
considerations from above).Describe alternatives you've considered
The alternative is to not use
setup-r-dependencies
and go for the old, lengthy approach taking explicit care of caching in the workflows, like in the pre-setup-r-dependencies
examples, e.g. https://github.com/r-lib/actions/blob/a880f739a14aad0d50888cb746c1bc2db2257257/examples/check-standard.yamlAdditional context
NULL
The text was updated successfully, but these errors were encountered: