R/install_captioner.R
install_captioner.Rd
install_captioner()
is called when 'form.io' loads. It is not necessary
to call it directly, except if you want to refresh these data. The automatic
installation when the 'form.io' package load can be disabled if you use
options(form.io_captioner = FALSE)
before loading the package. In that case
you can still install it later with install_captioner()
.
install_captioner()
Nothing, the function is intended for its side-effect of installing the
required knitr hook for processing numbered and captioned items. It also sets
default values for two chunk options: fig.cap = form.io::fig()
and
out.extra = form.io::fig_id()
. Both these chunk options allow to
automatically build a caption from the last call to Figure()
within the
R chunk where the plot is created.