do_drat | R Documentation |
do_drat()
builds and deploys R packages to a drat repository and adds
default steps to the "install"
, "before_deploy"
and "deploy"
stages:
step_setup_ssh()
in the "before_deploy"
to setup
the upcoming deployment
step_setup_push_deploy()
in the "before_deploy"
stage
(if deploy
is set),
step_add_to_drat()
in the "deploy"
step_do_push_deploy()
in the "deploy"
stage.
do_drat(
repo_slug = NULL,
orphan = FALSE,
checkout = TRUE,
path = "~/git/drat",
branch = NULL,
remote_url = NULL,
commit_message = NULL,
commit_paths = ".",
force = FALSE,
private_key_name = "TIC_DEPLOY_KEY",
deploy_dev = FALSE
)
repo_slug |
|
orphan |
|
checkout |
|
path, branch |
By default, this macro deploys the default repo branch
(usually "master") of the drat repository.
An alternative option is |
remote_url |
|
commit_message |
|
commit_paths |
|
force |
|
private_key_name |
|
deploy_dev |
|
Deployment can only happen to the default repo branch (usually "master") or
gh-pages
branch because the GitHub Pages functionality from GitHub is
used to access the drat repository later on. You need to enable this
functionality when creating the drat repository on GitHub via Settings -> GitHub pages
and set it to the chosen setting here.
To build and deploy Windows and macOS binaries, builds with deployment permissions need to be triggered. Have a look at https://docs.ropensci.org/tic/articles/deployment.html for more information and instructions.
Other macros:
do_blogdown()
,
do_bookdown()
,
do_package_checks()
,
do_pkgdown()
,
do_readme_rmd()
,
list_macros()
## Not run:
dsl_init()
do_drat()
dsl_get()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.