vdiff_webpage: Generate web pages for viewing differences in test results

Description Usage Arguments See Also

Description

This function is used for comparing the test results for two different commits of the package that was tested.

Usage

1
2
vdiff_webpage(ref1 = "HEAD", ref2 = "", pkg = ".", filter = "",
  convertpng = TRUE, method = "ghostscript", prompt = TRUE)

Arguments

ref1

a git commit ref to compare (usually this should be the older ref). If "recent", then use the most recent commit with a saved resultset.

ref2

a git commit ref to compare (usually this should be the newer ref). The empty string "" refers to the last-run tests.

pkg

package object or path.

filter

a regular expression; result pages will be generated only only for test contexts that match this pattern.

convertpng

if TRUE, convert the source PDFs files to PNG. Otherwise they are kept in PDF format, and are viewable only in some browers.

method

the method for converting to PNG. Presently can be "ghostscript" or "imagemagick".

prompt

ask to open web page in browser.

See Also

vdiffstat for a data frame of information about changed tests.

vtest_webpage for creating a web page of results for a single commit.


wch/vtest documentation built on May 4, 2019, 2:02 a.m.