summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-04-02 22:09:50 -0400
committerGitHub <noreply@github.com>2021-04-02 21:09:50 -0500
commit3a36ca4b369cab4c552011b03a97762202cad539 (patch)
treef97f1f61fa348a56af92f1110437d50e8d7b4cb0 /var
parentb51363e0accfea4b130318ea4ee98132c4ea892b (diff)
downloadspack-3a36ca4b369cab4c552011b03a97762202cad539.tar.gz
spack-3a36ca4b369cab4c552011b03a97762202cad539.tar.bz2
spack-3a36ca4b369cab4c552011b03a97762202cad539.tar.xz
spack-3a36ca4b369cab4c552011b03a97762202cad539.zip
New package: r-anytime (#22624)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-anytime/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-anytime/package.py b/var/spack/repos/builtin/packages/r-anytime/package.py
new file mode 100644
index 0000000000..d77250de27
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-anytime/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 import *
+
+
+class RAnytime(RPackage):
+ """Anything to 'POSIXct' or 'Date' Converter
+
+ Convert input in any one of character, integer, numeric,
+ factor, or ordered type into 'POSIXct' (or 'Date') objects,
+ using one of a number of predefined formats, and relying on
+ Boost facilities for date and time parsing."""
+
+ homepage = "http://dirk.eddelbuettel.com/code/anytime.html"
+ url = "https://cloud.r-project.org/src/contrib/anytime_0.3.9.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/anytime"
+
+ version('0.3.9', sha256='1096c15249ac70997a8a41c37eeb2a6d38530621abeae05d3dcd96a8acc7574a')
+
+ depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.9:', type=('build', 'run'))
+ depends_on('r-bh', type=('build', 'run'))