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
CSIRO-INRA
landsepi
Commits
d0026733
Commit
d0026733
authored
May 21, 2021
by
Jean-Francois Rey
☕
Browse files
shiny up rm print
parent
ad7a3b1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
inst/shiny-landsepi/server.R
View file @
d0026733
...
...
@@ -514,10 +514,10 @@ server <- function(input, output, session) {
# Remove old files
cleanDir
(
simul_params
@
OutputDir
)
print
(
simul_params
@
Croptypes
)
print
(
simul_params
@
Cultivars
)
print
(
simul_params
@
CultivarsGenes
)
print
(
simul_params
@
Genes
)
#
print(simul_params@Croptypes)
#
print(simul_params@Cultivars)
#
print(simul_params@CultivarsGenes)
#
print(simul_params@Genes)
# Croptypes Rotation
if
(
input
$
demo
==
"RO"
||
(
advanced_mode
()
&&
input
$
rotationPeriod
>
0
))
{
...
...
@@ -701,7 +701,6 @@ server <- function(input, output, session) {
######################################################################################
# Handle the demo list
shiny
::
observeEvent
(
input
$
demo
,
{
print
(
input
$
demo
)
# Cultivar tab
switch
(
input
$
demo
,
MO
=
{
...
...
Write
Preview
Supports
Markdown
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