define_pkg_fn | R Documentation |
This function loads functions from package namespaces and assigns them to the preferred function names in the current environment.
define_pkg_fn(pkg, ...)
pkg |
Package. |
... |
Functions. Preferred names can be provide via named arguments. |
Preferred function names can be provide via named arguments
like info = cli_alert_info
.
No return value, called for side effects.
define_pkg_fn(pkg = cli, cli_alert_info, cli_alert_warning)
define_pkg_fn(cli, cli_alert_warning, info = cli_alert_info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.