use_import_from() imports a function from another package by adding the
@importFrom tag to the package-level documentation (which can be
use_package_doc()). Importing a function from another
package allows you to refer to it without a namespace (e.g.,
use_import_from() also re-documents the NAMESPACE, and re-load the current
package. This ensures that
fun is immediately available in your development
use_import_from(package, fun, load = is_interactive())
A vector of function names
Logical. Re-load with
TRUE if the package document has changed,
FALSE if not.
## Not run: use_import_from("usethis", "ui_todo") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.