Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added two GitHub actions files:
This was done using
usethis::use_github_action("check-standard")
, and adds R CMD checks against a number of operating systems for the package.This added a status badge to the readme too as a bonus 🦡
Have set to run against all pushes and PRs to main/master (default) and also any PRs to our working branches (development / update-to-gds-v5.4).
More information on these checks can be found at - https://r-pkgs.org/r-cmd-check.html. Effectively it's similar to running
devtools::check()
locally.Realised the current docs aren't hosted anywhere, so added a workflow that we can test when we do merge to main to add in the documentation onto a github pages site.
You can preview the site using
devtools::build_site()
though be aware it generates a bunch of updates to files in the docs/ folder. Try to avoid committing any of these, as ultimately we want to ignore them. I've raised #80 for me to remember to check this and do clean up of the Git history afterwards, which will stop this happening in the long run.