Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amine GHOZLANE
shaman
Commits
99025f24
Commit
99025f24
authored
Jun 20, 2017
by
svolant
Browse files
rajout verif version R
parent
10cfc741
Changes
1
Show whitespace changes
Inline
Side-by-side
server.R
View file @
99025f24
...
...
@@ -2059,7 +2059,7 @@ shinyServer(function(input, output,session) {
if
(
!
is.null
(
resDiff
))
{
## Check the R version
#
if(as.numeric(R.Version()$major)<=3 && as.numeric(R.Version()$minor) <=1.2){
if
(
as.numeric
(
R.Version
()
$
major
)
<=
3
&&
as.numeric
(
R.Version
()
$
minor
)
<=
1.2
){
box
(
title
=
"Contrasts (New)"
,
width
=
NULL
,
status
=
"primary"
,
solidHeader
=
TRUE
,
collapsible
=
TRUE
,
collapsed
=
FALSE
,
fluidRow
(
column
(
width
=
3
,
selectInput
(
"Select1_contrast"
,
"Compare"
,
""
)),
...
...
@@ -2068,7 +2068,7 @@ shinyServer(function(input, output,session) {
column
(
width
=
3
,
br
(),
actionButton
(
"AddContrastEasy"
,
"Add"
,
icon
=
icon
(
"plus"
)))
)
)
#
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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