summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Zhu <ifanzhu@foxmail.com>2017-10-13 08:47:43 -0500
committerChristoph Junghans <christoph.junghans@gmail.com>2017-10-13 07:47:43 -0600
commit9716a6f37f59e44cb4b9fcf862a72f66032b097d (patch)
tree1d702f3510f5186fff7c5ac17de4f2bcdf391c5d
parent350624a2313b119efda2554eb98eea6d71827747 (diff)
downloadspack-9716a6f37f59e44cb4b9fcf862a72f66032b097d.tar.gz
spack-9716a6f37f59e44cb4b9fcf862a72f66032b097d.tar.bz2
spack-9716a6f37f59e44cb4b9fcf862a72f66032b097d.tar.xz
spack-9716a6f37f59e44cb4b9fcf862a72f66032b097d.zip
r-readr: created new package (#5741)
-rw-r--r--var/spack/repos/builtin/packages/r-readr/package.py43
1 files changed, 43 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-readr/package.py b/var/spack/repos/builtin/packages/r-readr/package.py
new file mode 100644
index 0000000000..09a386d986
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-readr/package.py
@@ -0,0 +1,43 @@
+##############################################################################
+# 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/llnl/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 RReadr(RPackage):
+ """The goal of 'readr' is to provide a fast and friendly way to read
+ rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to
+ flexibly parse many types of data found in the wild, while still cleanly
+ failing when data unexpectedly changes."""
+
+ homepage = "https://cran.rstudio.com/web/packages/readr/index.html"
+ url = "https://cran.rstudio.com/src/contrib/readr_1.1.1.tar.gz"
+
+ version('1.1.1', 'cffb6669664f6a0f6fe172542e64cb47')
+
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-hms', type=('build', 'run'))
+ depends_on('r-r6', type=('build', 'run'))
+ depends_on('r-bh', type=('build', 'run'))