Commit a3e0a2a1 authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

mapMCDA_app: always launch browser

- even if not interactive, since sometimes I call mapMCDA_app from a scripted separate process
parent bc60fd29
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk factors
Version: 0.3.1.9000
Version: 0.3.2.9000
Date: 2018-06-27
Authors@R: c(
person("Elena", "Arsevska", email = "elena.arsevska@cirad.fr", role = c("ctb")),
......
......@@ -7,7 +7,7 @@
#' @export
mapMCDA_app <- function (bg = FALSE) {
code_launch <- "shiny::runApp(system.file(\"interface\", package = \"mapMCDA\"), launch.browser = interactive())"
code_launch <- "shiny::runApp(system.file(\"interface\", package = \"mapMCDA\"), launch.browser = TRUE)"
if (bg) {
system(paste("Rscript -e '", code_launch, "' &"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment