This unlinks the docs subdirectory, runs devtools document function, and writes a new docs/ directory using the pkgdown build_site function.
deploy_gh_pages( commit_msg = "deploy GitHub Pages using glitter", remote_name = "origin", remote_branch = "master", path = getwd(), examples = TRUE, run_dont_run = FALSE, seed = 1014, lazy = TRUE, override = list(), preview = FALSE, devel = TRUE, new_process = !devel, install = !devel )
commit_msg | commit message |
---|---|
remote_name | name of remote to push to. Defaults to "origin". |
remote_branch | name of branch on the remote to push to. Defaults to "master" or "main" if the cardinal branch is using this newer default. |
path | full path to local repository to be pushed |
examples | Run examples? |
run_dont_run | Run examples that are surrounded in \dontrun? |
seed | Seed used to initialize so that random examples are reproducible. |
lazy | If |
override | An optional named list used to temporarily override
values in |
preview | If |
devel | Use development or deployment process? If If
|
new_process | If |
install | If TRUE, installs the package after the changes are pushed to the remote, Default: TRUE |