Description Usage Arguments Value Examples
Get package parameters and return error if they do not exist
1 | get_param_strict(param, package = NULL)
|
param |
parameter to get |
package |
package of the parameter (NULL if running from a package) |
value of param
in package package
and error if parameter no found
1 2 3 4 5 6 | register_param('param1', 'tgconfig')
set_param('param1', 'value1', 'tgconfig')
get_param_strict('param1', 'tgconfig')
# try to get a parameter that doesn't exist
# get_param_strict('other_param', 'tgconfig') # would throw an error
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.