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

Launch GUI automatically within a Shiny server.

parent e3d61dcf
Pipeline #33804 failed with stages
in 8 minutes and 46 seconds
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.54
Version: 0.4.55
Date: 2021-05-28
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
......
if (nzchar(Sys.getenv("SHINY_PORT"))) { # shiny:::inShinyServer
## In a Shiny server, start the GUI directly without launching a browser
shiny::runApp(
system.file("interface", package = "mapMCDA"),
launch.browser = FALSE
)
}
......@@ -17,5 +17,6 @@ mapMCDA_app <- function (bg = FALSE) {
}
.onLoad <- function(libname, pkgname){
# library(mapMCDA)
# mapMCDA_app()
}
\ No newline at end of file
}
Markdown is supported
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