summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorlingnanyuan <1297162327@qq.com>2017-11-03 15:19:16 -0500
committerChristoph Junghans <christoph.junghans@gmail.com>2017-11-03 14:19:16 -0600
commitf91c25ddeefd6815bb2139e1990fc241adcede66 (patch)
tree640fd0e395f8c4534b33dd1fccd6ca1878dea508 /var
parentd54627659ab697e31a5ca1b8147c43c492072bd8 (diff)
downloadspack-f91c25ddeefd6815bb2139e1990fc241adcede66.tar.gz
spack-f91c25ddeefd6815bb2139e1990fc241adcede66.tar.bz2
spack-f91c25ddeefd6815bb2139e1990fc241adcede66.tar.xz
spack-f91c25ddeefd6815bb2139e1990fc241adcede66.zip
r-samr: Create new package. (#6117)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-samr/package.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-samr/package.py b/var/spack/repos/builtin/packages/r-samr/package.py
new file mode 100644
index 0000000000..71eec84ffe
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-samr/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# 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 RSamr(RPackage):
+ """Significance Analysis of Microarrays."""
+
+ homepage = "https://cran.r-project.org/package=samr"
+ url = "https://cran.rstudio.com/src/contrib/samr_2.0.tar.gz"
+ list_url = "https://cran.rstudio.com/src/contrib/Archive/samr"
+ version('2.0', 'e8f50b8b25069d03d42c2c61c72b0da0')
+
+ depends_on('r-impute', type=('build', 'run'))
+ depends_on('r-matrixstats', type=('build', 'run'))