Description Usage Arguments Examples
Execute all package examples in independent knitr files to capture images of each visual item produced, such as plots, htmlwidgets, shiny application objects.
1 2 3 4 5 6 | viztest(pkg = ".", old_pkg = pkg_name(pkg), output_dir = paste("viztest",
pkg_name(pkg), pkg_version(pkg), sep = "-"), ..., delay = 2,
fig.width = 8, fig.height = 6, vwidth = 992, vheight = 744,
test = TRUE, run = FALSE, stomp = FALSE, skip_old = FALSE,
cache = FALSE, document = TRUE, save_individual = TRUE, resize = TRUE,
browse = TRUE)
|
pkg |
Local R package to load with devtools |
old_pkg |
R package name description. This should either be a CRAN or GitHub name to
work with |
output_dir |
Output directory. Defaults to "viztest-PKG-VERSION" |
... |
parameters sent to |
delay |
Amount of delay to use before capturing |
fig.width, fig.height |
Figure width and height in inches |
vwidth, vheight |
Screenshot size in pixels |
test |
If |
run |
If |
stomp |
If |
skip_old |
If |
cache |
If |
document |
If |
save_individual |
If |
resize |
|
browse |
If |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.