Commit b1d2d4df authored by unknown's avatar unknown
Browse files

v.0.1.8.14 add a message to reinstall the dygraph package

parent 4c2565a7
Package: airGRteaching
Type: Package
Title: Tools to Simplify the Use of the airGR Hydrological Package for Education (Including a Shiny Interface)
Version: 0.1.8.13
Date: 2017-11-28
Version: 0.1.8.14
Date: 2017-11-29
Authors@R: c(person("Olivier", "Delaigue", role = c("aut", "cre"), email = "airGR@irstea.fr"), person("Laurent", "Coron", role = c("aut")), person("Pierre", "Brigode", role = c("aut")), person("Guillaume", "Thirel", role = c("ctb")))
Depends: airGR (>= 1.0.9.43)
Imports: dygraphs (>= 1.1.1.4), markdown, plotrix, shiny, shinyjs, xts
Imports: devtools, dygraphs (>= 1.1.1.4), markdown, plotrix, shiny, shinyjs, xts
Description: Add-on package to the airGR package that simplifies its use and is aimed at being used for teaching hydrology. The package provides 1) three functions that allow to complete very simply a hydrological modelling exercise 2) plotting functions to help students to explore observed data and to interpret the results of calibration and simulation of the GR models 3) a shiny graphical interface that allows for displaying the impact of model parameters on hydrographs and models internal variables.
License: GPL-2
NeedsCompilation: no
......
## =================================================================================
## function to generate a message to reinstall the dygraph package
## =================================================================================
.onAttach <- function(lib, pkg) {
packageStartupMessage("\nThe airGRteaching needs the last version of the 'dygraphs' package.\n",
"Please, reinstall it with the following command:\n",
"\tdevtools::install_github(c(\"ramnathv/htmlwidgets\", \"rstudio/dygraphs\"), force = TRUE)")
}
## =================================================================================
......@@ -13,6 +24,7 @@ if (getRversion() >= "2.15.1") {
## =================================================================================
## function to manage the model units
## =================================================================================
......@@ -41,6 +53,8 @@ if (getRversion() >= "2.15.1") {
}
## =================================================================================
## function to plot the gr models diagrams (only GR4J and GR5J)
## =================================================================================
......
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