-
Notifications
You must be signed in to change notification settings - Fork 233
Notes on a noSuggests-like workflow #548
Copy link
Copy link
Closed
Description
Example workflow for yardstick:
https://github.com/tidymodels/yardstick/pull/281/files
A few notes:
- Running with
cache: falseto avoid accidentally restoring Suggested dependencies from a pre-existing cache. Using RSPM means this isn't that painful. We could also use the cache and somehow trim down the resulting library of packages to only what is in the pak lockfile. - Only running on Linux with r-release (because of
cache: false) - Sets
dependencies: '"hard"'to install Depends, Imports, LinkingTo dependencies, but not Suggests. Suggests dependencies can still be implicitly installed if they are required by any of the hard dependencies. - Always installs testthat, knitr, and rmarkdown to be able to run tests and build vignettes. We know the
noSuggestsbuild installs testthat, but I imagine it also installs knitr/rmarkdown too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels