as.character.checkglobalsi {checkglobals} | R Documentation |
Cast to character
Description
Cast an S3-object of class "checkglobalsi"
to a character vector.
Usage
## S3 method for class 'checkglobalsi'
as.character(x, pattern, ...)
Arguments
x |
object inheriting from class |
pattern |
an optional regular expression. Only names
matching |
... |
additional arguments to configure the output:
|
Value
a character vector similar to as.character.checkglobals
.
See Also
Examples
## R-package from folder
chk <- checkglobals(
pkg = system.file(
"unit_tests", "pkg", "testpkg",
package = "checkglobals"
)
)
as.character(chk$imports)
[Package checkglobals version 0.1.0 Index]