covr-rendering-single: Rendering for single file report

Description Usage Arguments

Description

These functions facilitate the creation of reports for coverage of a single file.

Usage

1
2
3
4
5
6
7
8
.renderSourceRow(line, source, coverage)

.renderSourceFile(lines, file = "source", highlight = TRUE)

.single_file_summary(file_stats)

.renderReport(coverage, report.file, dir = dirname(report.file),
  libdir = file.path(dir, "lib"))

Arguments

line, lines

Line(s) number

source

source file

coverage

The number of times covered

file

the file in question

highlight

Highlight the row.

file_stats

The coverage object for the file.

report.file

Where to output the HTML report.

dir

the base directory for the HTML output

libdir

Where to put html dependencies?


testextra documentation built on Dec. 18, 2019, 9:38 a.m.