Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

checkPlot

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)


pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.