mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 09:59:39 +02:00
18 lines
524 B
R
18 lines
524 B
R
# Prep for shiny
|
|
# system2("cat ./R/index_from_raw.R ./R/plot_index.R ./R/read_file.R > ./R/functions.R")
|
|
|
|
project.aid::merge_scripts(list.files("R/",full.names = TRUE),dest = here::here("app/functions.R"))
|
|
|
|
# Typical shiny
|
|
shiny::runApp(appDir = here::here("app/"))
|
|
shiny::runApp(appDir = here::here("app/"), launch.browser = TRUE)
|
|
|
|
project.aid::deploy_shiny(
|
|
path="app/",
|
|
account.name = "agdamsbo",
|
|
name.app = "webResearch",
|
|
name.token = "rsconnect_agdamsbo_token",
|
|
name.secret = "rsconnect_agdamsbo_secret"
|
|
)
|
|
|
|
|