Skip to contents

Code Coverage of a Package

Usage

coverage(pkg = ".", dest_dir = tempdir(), ...)

Arguments

pkg

A character string specifying the path to the package.

dest_dir

A character string specifying the path to the output directory.

...

Further parameters to be passed to covr::package_coverage().

Examples

if (FALSE) { # \dontrun{
coverage()
} # }