Skip to content

Instantly share code, notes, and snippets.

@nanxstats
Created August 12, 2024 02:02
Show Gist options
  • Save nanxstats/a84108ddbaf15558d8c5143f1107cb85 to your computer and use it in GitHub Desktop.
Save nanxstats/a84108ddbaf15558d8c5143f1107cb85 to your computer and use it in GitHub Desktop.
Check gsDesign2 with R-hub v2 GitHub Actions workflows
  1. Fork the repo and clone the repo to local.
  2. Remove all existing tests and GitHub Action workflows.
  3. Add Yihui's example as a test. Wrap the last step n - 454 in an expect_indetical() call and set the comparison to condition to 0.
  4. Run rhub::rhub_setup() to add the R-hub v2 workflow.
  5. Add, commit, and push the above changes.
  6. Run rhub::rhub_check() to run R-hub checks and select options to run the workflow. You might be prompted to set up a GitHub PAT locally and need to do that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment