8000 Notes on a `noSuggests`-like workflow · Issue #548 · r-lib/actions · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Notes on a noSuggests-like workflow #548
Closed
@DavisVaughan

Description

@DavisVaughan

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0