as.character.checkglobals | R Documentation |
Cast an S3-object of class "checkglobals"
to a character vector.
## S3 method for class 'checkglobals'
as.character(x, pattern, which = c("global", "import"), ...)
x |
object inheriting from class |
pattern |
an optional regular expression. Only names
matching |
which |
a character vector, either |
... |
additional arguments to configure the output:
|
a character vector containing the names of the global or imported function/variables.
as.character
## R-package from folder
chk <- checkglobals(
pkg = system.file(
"unit_tests", "pkg", "testpkg",
package = "checkglobals"
)
)
as.character(chk)
## include only imports
as.character(chk, which = "import")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.