summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlingnanyuan <1297162327@qq.com>2017-10-24 04:25:58 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2017-10-24 11:25:58 +0200
commit01215d705fc71c91bfd753252d05f2b074ed59e0 (patch)
tree6caa0b6fff033c4f9e3ab3ae8d5068fbc4800e99
parent8c0b95c398e8ee366d2df3c849412d3cd72c678f (diff)
downloadspack-01215d705fc71c91bfd753252d05f2b074ed59e0.tar.gz
spack-01215d705fc71c91bfd753252d05f2b074ed59e0.tar.bz2
spack-01215d705fc71c91bfd753252d05f2b074ed59e0.tar.xz
spack-01215d705fc71c91bfd753252d05f2b074ed59e0.zip
r-htmltable: Create new package. (#5882)
-rw-r--r--var/spack/repos/builtin/packages/r-htmltable/package.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-htmltable/package.py b/var/spack/repos/builtin/packages/r-htmltable/package.py
new file mode 100644
index 0000000000..bf40a036c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-htmltable/package.py
@@ -0,0 +1,47 @@
+##############################################################################
+# 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 RHtmltable(RPackage):
+ """Tables with state-of-the-art layout elements such as row
+ spanners, column spanners, table spanners, zebra striping, and
+ more. While allowing advanced layout, the underlying css-structure
+ is simple in order to maximize compatibility with word processors
+ such as 'MS Word' or 'LibreOffice'. The package also contains a
+ few text formatting functions that help outputting text
+ compatible with HTML/'LaTeX'."""
+
+ homepage = "https://CRAN.R-project.org/package=htmlTable"
+ url = "https://cran.rstudio.com/src/contrib/htmlTable_1.9.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/htmlTable"
+
+ version('1.9', '08c62c19e1ffe570e7d8fa57db5094b9')
+
+ depends_on('r-stringr', type=('build', 'run'))
+ depends_on('r-knitr', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-checkmate', type=('build', 'run'))
+ depends_on('r-htmlwidgets', type=('build', 'run'))