Make a function to retrieve a parameter from an environment if not explicitly specified, and if it is not already such a function.
1 | ensure_reactable(item, env_name = NULL)
|
item |
Thing to ensure is "reactable". |
env_name |
Name of variable in environment to retrieve value from, if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.