These functions download files from external sources and put them inside the inst/app/www directory.
The use_internal_ functions will copy internal files, while use_external_ will try to download them
from a remote location.
These functions download files from external sources and put them inside the inst/app/www directory.
The use_internal_ functions will copy internal files, while use_external_ will try to download them
from a remote location.
use_external_js_file(
url,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_css_file(
url,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_html_template(
url,
name = "template.html",
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_file(
url,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_js_file(
path,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_css_file(
path,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_html_template(
path,
name = "template.html",
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_file(
path,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_js_file(
url,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_css_file(
url,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_html_template(
url,
name = "template.html",
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_external_file(
url,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_js_file(
path,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_css_file(
path,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_html_template(
path,
name = "template.html",
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)
use_internal_file(
path,
name = NULL,
pkg = get_golem_wd(),
dir = "inst/app/www",
open = FALSE,
dir_create
)String representation of URL for the file to be downloaded
The name of the module.
Path to the root of the package. Default is get_golem_wd().
Path to the dir where the file while be created.
Should the created file be opened?
Creates the directory if it doesn't exist, default is TRUE.
String representation of the local path for the file to be implemented (use_file only)
The path to the file, invisibly.
The path to the file, invisibly.
See ?htmltools::htmlTemplate and https://shiny.rstudio.com/articles/templates.html
for more information about htmlTemplate.
See ?htmltools::htmlTemplate and https://shiny.rstudio.com/articles/templates.html
for more information about htmlTemplate.