scaffold_extension | R Documentation |
Creates the basic structure for a shiny extension.
scaffold_extension(name, edit = interactive())
name |
Name of extension used to define file names and functions. |
edit |
Automatically open pertinent files. |
TRUE
(invisibly) if successfully run.
if(interactive()){ # current directory wd <- getwd() # create a mock up ambiorix project tmp <- tmp_package() # move to package setwd(tmp) # scaffold ambiorix scaffold_extension() # clean up setwd(wd) tmp_delete(tmp) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.