checkPlot: Plot in Unit Tests

Description Usage Arguments

View source: R/unitTests.R

Description

Saves a plot in a PNG file that will be included in unit test HTML reports.

Usage

1
  checkPlot(expr, msg = NULL, width = 1000, height = NULL)

Arguments

expr

expression that generate th eplot

width

plot width

height

plot height (not used)

msg

plot msg explaining the plot . It will be used as the caption


pkgmaker documentation built on May 19, 2017, 9:52 a.m.

Search within the pkgmaker package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.