suggested_callbacks | R Documentation |
These callbacks can be provided to suggested
when declaring a
suggested dependency. If a Suggested package namespace is accessed, the
callback is used when handling the missing dependency. Generally, these are
mitigating or communicative steps to handle the missing package in its
entirety. By contrast, a package author may also define fallback behaviors
for specific namespace objects when the package is otherwise missing.
suggested_callback_error(pkgname, ...) suggested_callback_prompt(pkgname, ...)
suggested_callback_error
Throw an error if a suggested package is not installed.
suggested_callback_prompt
Prompt to install a suggested package and resume if installed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.