checkPlot: Plot in Unit Tests

View source: R/unitTests.R

checkPlotR Documentation

Plot in Unit Tests

Description

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

Usage

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

Arguments

expr

expression that generate th eplot

msg

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

width

plot width

height

plot height (not used)

Value

TRUE is the check is successful.


renozao/pkgmaker documentation built on May 3, 2023, 6:04 p.m.