dev/run_prod.R

# Launch the ShinyApp (Do not remove this comment)
# To deploy, run: rsconnect::deployApp()
# Or use the blue button on top of this file

library(shiny)

# remotes::install_github("EBukin/devPTIpack", force = TRUE)
library(devPTIpack)

# pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)

launch_pti(
  shp_dta = ukr_shp,                 # or readRDS("...")
  inp_dta = ukr_mtdt_full,           # or devPTIpack::fct_template_reader("...")
  app_name = "{{COUNTRY NAME}}", 
  show_waiter = TRUE, 
  show_adm_levels = "admin2",
  shapes_path = ".", 
  mtdtpdf_path = "." #,
  # pti_landing_page = "./landing-page.md"
)
EBukin/devPTIpack documentation built on April 14, 2025, 9:23 a.m.