By and large, @autoImports
should be the only imports
tag that you need to use. It automatically generates the necessary
importFrom
statements to import all external functions used by this
function. See auto_imports
for more implementation details.
If there is a conflict, use tag_importFrom
to resolve it. You can do
@importFrom base function
- this is not normally allowed in the
‘NAMESPACE’, but roxygen3 will simply ignore it, but still use it when
resolving conflicts.
You must have the packages declared in DESCRIPTION
Imports.
1 2 3 4 | #' @importClassesFrom package fun1 fun2
#' @importFrom package function1 function2
#' @importMethodsFrom package fun1 fun2
#' @import package1 package2 package3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.