From f4658a520cb5772e7846fd80df9f3c7a15b70a48 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Tue, 11 Apr 2023 23:39:06 -0500 Subject: r-hydrogof: add new package and dependencies (#36763) - r-hydrogof - r-hydrotsm - r-automap --- .../repos/builtin/packages/r-hydrogof/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-hydrogof/package.py (limited to 'var/spack/repos/builtin/packages/r-hydrogof/package.py') diff --git a/var/spack/repos/builtin/packages/r-hydrogof/package.py b/var/spack/repos/builtin/packages/r-hydrogof/package.py new file mode 100644 index 0000000000..ac928494c5 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-hydrogof/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class RHydrogof(RPackage): + """Goodness-of-Fit Functions for Comparison of Simulated and Observed + Hydrological Time Series. + + S3 functions implementing both statistical and graphical goodness-of-fit + measures between observed and simulated values, mainly oriented to be used + during the calibration, validation, and application of hydrological models. + Missing values in observed and/or simulated values can be removed before + computations. Comments / questions / collaboration of any kind are very + welcomed.""" + + cran = "hydroGOF" + + version("0.4-0", sha256="6a109740e36549a9369b5960b869e5e0a296261df7b6faba6cb3bd338d59883b") + + depends_on("r@2.10.0:", type=("build", "run")) + depends_on("r-zoo@1.7-2:", type=("build", "run")) + depends_on("r-hydrotsm@0.5-0:", type=("build", "run")) + depends_on("r-xts@0.8-2:", type=("build", "run")) -- cgit v1.2.3-60-g2f50