Learn R Programming

covr (version 3.6.4)

print.coverage: Print a coverage object

Description

Print a coverage object

Usage

# S3 method for coverage
print(x, group = c("filename", "functions"), by = "line", ...)

Value

The coverage object (invisibly).

Arguments

x

the coverage object to be printed

group

whether to group coverage by filename or function

by

whether to count coverage by line or expression

...

additional arguments ignored