Skip to contents

The GitHub action created would run R CMD check on your package. It uses a wide range of platforms, can be reduced by commenting or deleting platforms on the matrix config.

Usage

gha_check_full(pkg = ".", overwrite = TRUE, cron_expr = "30 08 1 * *")

Source

r-lib/actions

Arguments

pkg

Path to a (subdirectory of an) R package.

overwrite

Overwrite the action if it was already present.

cron_expr

Valid cron expression. By default, the first day of the month at 08:30 AM. See Details.

Value

A GitHub Action on <pkg>/.github/workflows.

Details

Use crontab.guru to check and create your own cron tag.

Examples

if (FALSE) { # \dontrun{
gha_check_full(cron_expr = "57 16 12 * *")
} # }