function_coverage: Calculate test coverage for a specific function.

Description Usage Arguments

View source: R/covr.R

Description

Calculate test coverage for a specific function.

Usage

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

Arguments

fun

name of the function.

code

expressions to run.

env

environment the function is defined in.

enc

the enclosing environment which to run the expressions.


covr documentation built on May 29, 2017, 9:44 p.m.

Search within the covr package
Search all R packages, documentation and source code