
Create a GitHub action that documents and checks your package
Source:R/gha_update_docs.R
gha_update_docs.RdThe GitHub action created would document your package (see update_docs()),
would check it and would deploy the package on a gh-pages branch.
Details
Check https://github.com/actions/runner-images to see the available options.
Examples
# \dontrun{
# With Ubuntu 20.04
gha_update_docs(platform = "ubuntu", version = "20.04")
#> ✔ Adding "R-version" to .github/.gitignore.
#> Warning: cannot open file '/tmp/RtmpXg8X1K/file1ea942807fdb/.github/.gitignore': No such file or directory
#> Error in file(path, open = file_mode, encoding = "utf-8"): cannot open the connection
# }