# Launch the ShinyApp (Do not remove this comment)
# Sys.setenv("LANG" = "ja_JP.UTF-8")
## Copy font files manually and call `fc-cache`.
if (!dir.exists("~/.fonts")) { dir.create("~/.fonts") }
file.copy("./inst/fonts/setofont-sp-merged.ttf", "~/.fonts", overwrite = TRUE)
system("fc-cache -vf ~/.fonts")
# print(head(sysfonts::font_files())$family)
## Load app
# golem::detach_all_attached() # Detach all loaded packages and clean your environment
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
options(
"golem.app.prod" = TRUE
)
shaketoba::run_app() # add parameters here (if any)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.