Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UMR-ASTRE
mapMCDA
Commits
d43e9bca
Commit
d43e9bca
authored
May 28, 2021
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
d43e9bca
Package: mapMCDA
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
Title: Produce an epidemiological risk map by weighting multiple risk
factors
factors
Version: 0.4.5
4
Version: 0.4.5
5
Date: 2021-05-28
Date: 2021-05-28
Authors@R: c( person("Andrea", "Apolloni", email =
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
...
...
R/app.R
0 → 100644
View file @
d43e9bca
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
)
}
R/mapMCDA_app.R
View file @
d43e9bca
...
@@ -17,5 +17,6 @@ mapMCDA_app <- function (bg = FALSE) {
...
@@ -17,5 +17,6 @@ mapMCDA_app <- function (bg = FALSE) {
}
}
.onLoad
<-
function
(
libname
,
pkgname
){
.onLoad
<-
function
(
libname
,
pkgname
){
# library(mapMCDA)
# mapMCDA_app()
# mapMCDA_app()
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment