| scaffold_ambiorix | R Documentation |
Creates the basic structure for an ambiorix application.
scaffold_ambiorix(vue = FALSE, use_cdn = TRUE, edit = interactive())
vue |
Whether to include Vue, internally runs |
use_cdn |
Whether to use the CDN for react or vue dependencies,
this is passed to |
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_ambiorix()
# move to package
setwd(tmp)
# scaffold ambiorix
scaffold_ambiorix()
# 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.