Learn R Programming

covr (version 1.2.0)

environment_coverage_: calculate the coverage on an environment after evaluating some expressions.

Description

This function does not use non_standard evaluation so is more appropriate for use in other functions.

Usage

environment_coverage_(env, exprs, enc = parent.frame())

Arguments

env
the environment to take function definitions from
exprs
a list of parsed expressions to be evaluated.
enc
The enclosing environment from which the expressions should be evaluated