as_vector.checkglobalsi | R Documentation |
Cast an S3-object of class "checkglobalsi"
to a list vector.
## S3 method for class 'checkglobalsi'
as_vector(x, pattern, ...)
x |
object inheriting from class |
pattern |
an optional regular expression. Only names
matching |
... |
additional arguments to configure the output:
|
a list consisting of two character vectors:
import
, vector of import function/variable names.
package
, vector of import package names.
as_vector.checkglobals
## R-package from folder
chk <- checkglobals(
pkg = system.file(
"unit_tests", "pkg", "testpkg",
package = "checkglobals"
)
)
as_vector(chk$imports)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.