Learn R Programming

covr (version 1.2.0)

function_coverage: Calculate test coverage for specific function.

Description

Calculate test coverage for specific function.

Usage

function_coverage(fun, ..., env = NULL, enc = parent.frame())

Arguments

fun
name of the function.
...
expressions to run.
env
environment the function is defined in.
enc
the enclosing environment which to run the expressions.