Description Usage Arguments Value Syntactic Sugars Warning
Getters and setters for module options. Deprecated and kept for backward compatibility.
1 2 3 4 5 6 7 8 9 |
name |
A string (character vector of lenght one). A module name can contain letters, figures and some special characters,
namely Names containing The name "modulr" corresponds to a special module and is therefore reserved. |
options |
A (named) list of options. |
A list of getters and setters. See config
.
name %has_default_option% options
and
name %has_default_options% options
for
module_options(name)$set(options, drop = FALSE)
.
name %has_option% options
and
name %has_options% options
for
module_options(name)$set(options, drop = TRUE)
.
It is considered a very bad practice to define, touch, undefine, load, make, reset, or perform any other operation from within a module definition that may alterate the internal state of modulr.
Deprecated and kept for backward compatibility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.