R: Calculate test coverage for a specific function.

function_coverage {covr} | R Documentation

## Calculate test coverage for a specific function.

### Description

Calculate test coverage for a specific function.

### Usage

    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.

[Package covr version 3.0.1 Index]