View source: R/Close_all_graphic_devices.R
Close the graphic device to avoid errors in R CMD check.
1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# Open the graphic devices
grDevices::dev.new();plot(stats::runif(100),stats::runif(100))
grDevices::dev.new();plot(stats::runif(100),stats::runif(100))
grDevices::dev.new();plot(stats::runif(100),stats::runif(100))
grDevices::dev.new();plot(stats::runif(100),stats::runif(100))
grDevices::dev.new();plot(stats::runif(100),stats::runif(100))
grDevices::dev.new();plot(stats::runif(100),stats::runif(100))
# Close the graphic device
## Close_all_graphic_devices()
#'
## End(Not run)# dottest
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.