Download and create dependency function.
Usage
create_dependency(
name,
tag = NULL,
open = interactive(),
options = charpente_options()
)
Arguments
- name
Name of library.
- tag
Library version. Default to NULL. If NULL, takes the latest version.
- open
Whether to allow rstudioapi to open the newly created script. Default to TRUE.
- options
See charpente_options.
Examples
if (FALSE) { # \dontrun{
create_dependency("tabler")
# Use CDNs
create_dependency(
"framework7",
options = charpente_options(local = FALSE)
)
} # }