Start the GeoLightViz shiny app
Arguments
- x
a GeoPressureR
tagobject, a.Rdatafile or the unique identifieridwith a.Rdatafile located in"./data/interim/{id}.RData".- stapath
optional stationary path data.frame (defaults to
tag$stapwhen available).- launch_browser
If true (by default), the app runs in your browser, otherwise it runs on Rstudio.
- run_bg
If true (by default), the app runs in a background R process using
callr::r_bg(), allowing you to continue using the R console. If false, the app blocks the console until closed.- quiet
logical, currently unused.
- ...
currently unused.
Value
When run_bg = TRUE, an invisible callr r_process running the app.
When run_bg = FALSE, the return value of shiny::runApp().
Examples
if (FALSE) {
withr::with_dir(system.file("extdata", package = "GeoPressureR"), {
tag <- tag_create("18LX", quiet = TRUE) |>
tag_label(quiet = TRUE) |>
twilight_create() |>
twilight_label_read()
})
geolightviz(tag, run_bg = FALSE, launch_browser = FALSE)
}
