scaffold_rmd | R Documentation |
Creates the basic structure for golem app with JavaScript.
scaffold_rmd(react = FALSE, vue = FALSE, edit = interactive())
react |
Whether to include React, internally runs |
vue |
Whether to include Vue, internally runs |
edit |
Automatically open pertinent files. |
Only one of react
or vue
can be set to TRUE
.
TRUE
(invisibly) if successfully run.
if(interactive()){ # current directory wd <- getwd() # create a mock up ambiorix project tmp <- tmp_project() # move to package setwd(tmp) # scaffold ambiorix scaffold_rmd() # 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.