En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

Commit 7b120598 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v0.2.6.27 CLEAN: TZ environment variable removed on exit of ShinyGR fun

parent e4769feb
Package: airGRteaching
Type: Package
Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
Version: 0.2.6.26
Date: 2019-04-18
Version: 0.2.6.27
Date: 2019-04-23
Authors@R: c(
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@irstea.fr"),
person("Laurent", "Coron", role = c("aut"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -13,7 +13,7 @@ output:
### 0.2.6.26 Release Notes (2019-04-18)
### 0.2.6.27 Release Notes (2019-04-23)
#### Bug fixes
......
......@@ -141,10 +141,10 @@ ShinyGR <- function(ObsDF = NULL, DatesR = NULL, Precip = NULL, PotEvap = NULL,
theme = theme)
## timezone used
oTZ <- Sys.timezone()
# oTZ <- Sys.timezone()
Sys.setenv(TZ = "UTC")
on.exit({rm(.ShinyGR.args, .ShinyGR.hist, envir = .GlobalEnv) ; Sys.setenv(TZ = oTZ)})
on.exit({rm(.ShinyGR.args, .ShinyGR.hist, envir = .GlobalEnv) ; Sys.unsetenv("TZ")})
shiny::runApp(system.file("ShinyGR", package = "airGRteaching"), launch.browser = TRUE)
return(NULL)
......
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