summarytools icon indicating copy to clipboard operation
summarytools copied to clipboard

feat: add GHA for R CMD chek

Open mcanouil opened this issue 2 years ago • 2 comments

This PR add GHA workflow from r-lib/actions (https://github.com/r-lib/actions/blob/v2-branch/examples/check-standard.yaml) in order to check R package using Continuous integration to detect issues earlier than CRAN submission.

See #165

mcanouil avatar May 07 '22 08:05 mcanouil

Thanks for this.... I wonder if additional packages might be added to the yaml template though...? Like magick for instance. This is totally new stuff to me.

dcomtois avatar May 19 '22 05:05 dcomtois

Thanks for this.... I wonder if additional packages might be added to the yaml template though...? Like magick for instance. This is totally new stuff to me.

In theory, all packages needed to check the package are listed in DESCRIPTION. But, if for some reason, you need more you can add them in the following block of the yaml: https://github.com/dcomtois/summarytools/blob/bf08c345279cdc810e16f84b4adab6e1a5d926c0/.github/workflows/check-standard.yaml#L42-L45 See documentation at https://github.com/r-lib/actions/tree/v2-branch/setup-r-dependencies

mcanouil avatar May 19 '22 07:05 mcanouil

Sorry for the delay. Merged. Many thanks.

dcomtois avatar Sep 13 '22 17:09 dcomtois