Skip to contents

Merges the counts that the processes of an instrumented R (see instrument_base_r()) saved in trace_dir.

Usage

base_r_code_coverage(trace_dir, source_dir)

Arguments

trace_dir

The directory the processes saved their counts in.

source_dir

The directory of the source of R, which the files in the coverage are in.

Value

A coverage object. File names are absolute paths in source_dir.