File: checkPlot.Rd

package info (click to toggle)
r-cran-pkgmaker 0.32.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 13; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unitTests.R
\name{checkPlot}
\alias{checkPlot}
\title{Plot in Unit Tests}
\usage{
checkPlot(expr, msg = NULL, width = 1000, height = NULL)
}
\arguments{
\item{expr}{expression that generate th eplot}

\item{msg}{plot msg explaining the plot . It will be used as the caption}

\item{width}{plot width}

\item{height}{plot height (not used)}
}
\value{
TRUE is the check is successful.
}
\description{
Saves a plot in a PNG file that will be included in unit test HTML reports.
}
\keyword{internal}