| print.checkglobalsi | R Documentation |
"checkglobalsi" objectPrint method for S3-objects of class "checkglobalsi" characteristic
to the "imports" list element of "checkglobals" objects returned by checkglobals,
check_pkg or check_source.
## S3 method for class 'checkglobalsi'
print(x, format = "basic", pattern, ...)
x |
object inheriting from class |
format |
character, one of the following two choices:
|
pattern |
an optional regular expression. Only names
matching |
... |
additional arguments to configure the printed output. The following arguments can be specified:
|
Returns the object x invisibly (via invisible)
## R-package from folder
chk <- checkglobals(
pkg = system.file(
"unit_tests", "pkg", "testpkg",
package = "checkglobals"
)
)
chk$imports
## print selected imports
print(chk, format = "detail", pattern = "coef", which = "import", maxRef = 99)
## print without cli-formatting
print(chk$imports, use_cli = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.