8000 Use continuous integration to run `R CMD check` · Issue #128 · NIDAP-Community/DSPWorkflow · GitHub
[go: up one dir, main page]

Skip to content

Use continuous integration to run R CMD check #128

Open

Description

@kelly-sovacool

Currently, devtools::check() fails locally for me due to #126 & #127 with:

── R CMD check results ──────────────────────────────────────────────────────────────────── DSPWorkflow 1.2.0.0 ────
Duration: 14.2s

❯ checking package dependencies ... ERROR
  Packages required and available but unsuitable versions:
    'dplyr', 'GeomxTools', 'ggforce', 'ggplot2', 'grid', 'gtable',
    'knitr', 'NanoStringNCTools', 'patchwork', 'stats', 'SpatialDecon',
    'tibble', 'tidyr', 'umap', 'ComplexHeatmap'
  
  Depends: includes the non-default packages:
    'Biobase', 'BiocGenerics', 'cowplot', 'dplyr', 'GeomxTools',
    'ggforce', 'ggplot2', 'gridExtra', 'grid', 'gtable', 'knitr',
    'NanoStringNCTools', 'patchwork', 'reshape2', 'Rtsne', 'scales',
    'SpatialDecon', 'tibble', 'tidyr', 'umap', 'magrittr',
    'ComplexHeatmap'
  Adding so many packages to the search path is excessive and importing
  selectively is preferable.
  
  See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
  manual.

1 error ✖ | 0 warnings ✔ | 0 notes ✔

I would recommend creating a GitHub Action that automatically runs check on pushes & pull requests on the default branch. Here's an example: https://github.com/r-lib/actions/blob/v2/examples/check-standard.yaml

This way you'll know the package is at least installable on any new pushes/PRs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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