Skip to content

Instantly share code, notes, and snippets.

@EmilHvitfeldt
Last active October 15, 2024 20:13
Show Gist options
  • Save EmilHvitfeldt/da0f03db7cf83d93db4c4fa325a22935 to your computer and use it in GitHub Desktop.
Save EmilHvitfeldt/da0f03db7cf83d93db4c4fa325a22935 to your computer and use it in GitHub Desktop.
Add R CMD Check hard GHA
src_pth <- "https://raw.githubusercontent.com/r-lib/actions/refs/heads/v2-branch/examples/check-no-suggests.yaml"
tmp_pth <- tempfile()
download.file(pth, destfile = tmp_pth)
hard_check <- readLines(tmp_pth)
hard_check <-
gsub("name: check-no-suggests.yaml",
"name: R-CMD-check-hard.yaml",
hard_check,
fixed = TRUE)
cat(hard_check, sep = "\n", file = ".github/workflows/R-CMD-check-hard.yaml")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment