scaffold_ambiorix {packer} | R Documentation |
Ambiorix
Description
Creates the basic structure for an ambiorix application.
Usage
scaffold_ambiorix(vue = FALSE, use_cdn = TRUE, edit = interactive())
Arguments
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. |
Details
Only one of react
or vue
can be set to TRUE
.
Value
TRUE
(invisibly) if successfully run.
Examples
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)
}
[Package packer version 0.1.3 Index]