TicStep | R Documentation |
Override this class to create a new step.
new()
Create a TicStep
object.
TicStep$new()
run()
This method must be overridden, it is called when running the stage to which a step has been added.
TicStep$run()
prepare()
This is just a placeholder.
This method is called when preparing the stage to
which a step has been added. It auto-install all packages which are
needed for a certain step. For example, step_build_pkgdown()
requires
the pkgdown package.
For add_code_step()
, it autodetects any package calls in the form of
pkg::fun
and tries to install these packages from CRAN. If a steps
prepare_call
is not empty, the $prepare
method is skipped for this
step. This can be useful if a package should be installed from
non-standard repositories, e.g. from GitHub.
TicStep$prepare()
check()
This method determines if a step is prepared and run.
Return FALSE
if conditions for running this step are not met.
TicStep$check()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.