Learn R Programming

testextra (version 0.1.0.1)

covr-rendering-single: Rendering for single file report

Description

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

Usage

.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?