Learn R Programming

covr (version 1.2.0)

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

Description

This function uses non_standard evaluation so is best used in interactive sessions.

Usage

environment_coverage(env, ..., enc = parent.frame())

Arguments

env
the environment to take function definitions from
...
one or more expressions to be evaluated.
enc
The enclosing environment from which the expressions should be evaluated