as.data.frame.checkglobalsi {checkglobals} | R Documentation |
Cast to data.frame
Description
Cast an S3-object of class "checkglobalsi"
to a data.frame.
Usage
## S3 method for class 'checkglobalsi'
as.data.frame(x, row.names = NULL, optional = FALSE, pattern, ...)
Arguments
x |
object inheriting from class |
row.names |
currently not used, included for compatibility with |
optional |
currently not used, included for compatibility with |
pattern |
an optional regular expression. Only names
matching |
... |
additional arguments to configure the output:
|
Value
a data.frame similar in format to as.data.frame.checkglobals
.
See Also
Examples
## R-package from folder
chk <- checkglobals(
pkg = system.file(
"unit_tests", "pkg", "testpkg",
package = "checkglobals"
)
)
as.data.frame(chk$imports)