# keep rgl from popping up windows
Sys.setenv(RGL_USE_NULL = TRUE)
# The standard R Studio / devtools build does not compress vignettes. To avoid the warning
#
# 'gs+qpdf' made some significant size reductions
#
# it was necessary to build manually, using
Sys.setenv(R_GSCMD="C:/Program Files/gs/gs9.21/bin/gswin64c.exe")
devtools::build(args = c('--resave-data','--compact-vignettes="gs+qpdf"'))
# then, test with win builder
args = c('--resave-data','--compact-vignettes="gs+qpdf"')
devtools::build_win(args=args)
# submit to cran
devtools::submit_cran(args=args)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.