scaffold | R Documentation |
Similar to packer::scaffold_widget()
but replace javascript with typescript, yarn with pnpm and webpack with esbuild
scaffold( dir, path, rstudio = rstudioapi::isAvailable(), open = rlang::is_interactive(), is_package = FALSE ) scaffold_widget(...) scaffold_quarto_book(...) scaffold_bookdown_book(...)
dir |
directory to copy, relative to to inst/ |
path |
project path |
rstudio |
if rstudio is available |
open |
if rstudio is open |
the new project path
## Not run: scaffold_widget("~/mywidget") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.