save_vtest2: Save an individual test to file, and record information using...

Description Usage Arguments

Description

This presently only works with pdf; other file types will fail

Usage

1
2
save_vtest2(desc = NULL, expr = NULL, width = 4, height = 4, dpi = 72,
  device = "pdf")

Arguments

desc

A short description of the test

expr

An expression to evaluate. This should generate the plot.

filename

Output filename (not including extension, like ".pdf"). If NULL, use MD5 hash of 'desc' as the filename.

width

Width in inches

height

Height in inches

dpi

Pixels per inch (OK, it really should be ppi)

device

String with name of output device. Only "pdf" is supported now.

err

Error status. ok, warn, or error

hash

A hash of the file contents


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