# 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 RClock(RPackage): """Date-Time Types and Tools. Provides a comprehensive library for date-time manipulations using a new family of orthogonal date-time classes (durations, time points, zoned-times, and calendars) that partition responsibilities so that the complexities of time zones are only considered when they are really needed. Capabilities include: date-time parsing, formatting, arithmetic, extraction and updating of components, and rounding.""" cran = "clock" license("MIT") version("0.6.1", sha256="f80c385fd8229538968ffb71d7de53ddc82bfcec6641f8e76f299546c43c1702") depends_on("r@3.4:", type=("build", "run")) depends_on("r-rlang@1.0.4:", type=("build", "run")) depends_on("r-tzdb@0.3.0:", type=("build", "run")) depends_on("r-vctrs@0.4.1:", type=("build", "run")) depends_on("r-cpp11@0.4.2:", type=("build", "run"))