create_option | R Documentation |
Use inside your package to setup a zephyr_option
that you can use in your
functions with get_option()
. The specification is stored inside the
environment of your package.
For more information and how to get started see use_zephyr()
.
create_option(name, default, description = name, .envir = parent.frame())
name |
|
default |
|
description |
|
.envir |
Environment in which the option is defined. Default is suitable for use inside your package. |
Invisible zephyr_option
object
create_option(
name = "answer",
default = 42,
description = "This is supposed to be the question"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.