Closed
Description
Example workflow for yardstick:
https://github.com/tidymodels/yardstick/pull/281/files
A few notes:
- Running with
cache: false
to 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
noSuggests
build installs testthat, but I imagine it also installs knitr/rmarkdown too.
Metadata
Metadata
Assignees
Labels
No labels