R/charpenteCode.R

# Important to target the app folder.
# Only work if app is in a package.
# register_service_worker is FALSE, shinyMobile already does it.
# We also don't need to create web dependencies.

# install.packages("remotes")
# library(remotes)
# devtools::install_github("RinteRface/charpente")
#
 # library(charpente)
 # charpente::set_pwa(
 #   "IAMDynasam",
 #   name = "IAM Dynasam",
 #   shortName = "IAM",
 #   startUrl = "/",
 #   display = c("standalone", "minimal-ui", "fullscreen", "browser"),
 #   background_color = "#ffffff",
 #   theme_color = "#ffffff",
 #   register_service_worker = TRUE,
 #   create_dependencies = TRUE
 # )

# add_dependencies(tag, c(pwacompat-dependencies,pwa-dependencies))
#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
# usethis::gh_token_help()
# gitcreds::gitcreds_set()
# devtools::load_all()
#
# run_app()
Dynasam/IAMDynasam documentation built on Dec. 17, 2021, 5:36 p.m.