summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2017-11-18 07:35:47 -0600
committerChristoph Junghans <christoph.junghans@gmail.com>2017-11-18 06:35:47 -0700
commit1c55a401b1e6fce744a41adbff99a71b7bee43b7 (patch)
treef7973b961763f3ad5bf4158c690641137d2f2d31
parentebfc7bd7aa460dede55235dd37c8a13f95d017bc (diff)
downloadspack-1c55a401b1e6fce744a41adbff99a71b7bee43b7.tar.gz
spack-1c55a401b1e6fce744a41adbff99a71b7bee43b7.tar.bz2
spack-1c55a401b1e6fce744a41adbff99a71b7bee43b7.tar.xz
spack-1c55a401b1e6fce744a41adbff99a71b7bee43b7.zip
r-dtw: Create new package (#6365)
-rw-r--r--var/spack/repos/builtin/packages/r-dtw/package.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-dtw/package.py b/var/spack/repos/builtin/packages/r-dtw/package.py
new file mode 100644
index 0000000000..af50941f17
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-dtw/package.py
@@ -0,0 +1,44 @@
+##############################################################################
+# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class RDtw(RPackage):
+ """A comprehensive implementation of dynamic time warping (DTW) algorithms
+ in R. DTW computes the optimal (least cumulative distance) alignment
+ between points of two time series."""
+
+ homepage = "https://cran.r-project.org/web/packages/dtw/index.html"
+ url = "https://cran.r-project.org/src/contrib/dtw_1.18-1.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/dtw"
+
+ version('1.18-1', '5e9995a198a62f28045c29461265d536')
+ version('1.17-1', 'e8be988fe528acd6b44afdf5aa06b745')
+ version('1.16', '260bd22d9db429394eb39739db4a4686')
+ version('1.15', 'd3b6fdb0b866ff2e5b178c37bcfc7c55')
+ version('1.14-3', 'a7b878e8dda7a61df22356d0a81540c5')
+
+ depends_on('r@3.4.0:3.4.9')
+ depends_on('r-proxy', type=('build', 'run'))