Preliminary RPackage class (#2761)
This commit is contained in:
parent
f379697985
commit
daff3c0908
@ -159,7 +159,9 @@
|
||||
from spack.build_systems.makefile import MakefilePackage
|
||||
from spack.build_systems.autotools import AutotoolsPackage
|
||||
from spack.build_systems.cmake import CMakePackage
|
||||
__all__ += ['Package', 'CMakePackage', 'AutotoolsPackage', 'MakefilePackage']
|
||||
from spack.build_systems.r import RPackage
|
||||
__all__ += ['Package', 'CMakePackage', 'AutotoolsPackage', 'MakefilePackage',
|
||||
'RPackage']
|
||||
|
||||
from spack.version import Version, ver
|
||||
__all__ += ['Version', 'ver']
|
||||
|
57
lib/spack/spack/build_systems/r.py
Normal file
57
lib/spack/spack/build_systems/r.py
Normal file
@ -0,0 +1,57 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, 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 LICENSE file 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
|
||||
##############################################################################
|
||||
|
||||
import inspect
|
||||
|
||||
from spack.directives import extends
|
||||
from spack.package import PackageBase
|
||||
|
||||
|
||||
class RPackage(PackageBase):
|
||||
"""Specialized class for packages that are built using R
|
||||
|
||||
This class provides a single phase that can be overridden:
|
||||
* install
|
||||
|
||||
It has sensible defaults and for many packages the only thing
|
||||
necessary will be to add dependencies
|
||||
"""
|
||||
phases = ['install']
|
||||
|
||||
# To be used in UI queries that require to know which
|
||||
# build-system class we are using
|
||||
build_system_class = 'RPackage'
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
"""Install the R package"""
|
||||
inspect.getmodule(self).R(
|
||||
'CMD', 'INSTALL',
|
||||
'--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
||||
# Check that self.prefix is there after installation
|
||||
PackageBase.sanity_check('install')(PackageBase.sanity_check_prefix)
|
@ -215,16 +215,11 @@ def __init__(self, name, *args):
|
||||
class RGuess(DefaultGuess):
|
||||
"""Provides appropriate overrides for R extensions"""
|
||||
dependencies = """\
|
||||
extends('r')
|
||||
|
||||
# FIXME: Add additional dependencies if required.
|
||||
# FIXME: Add dependencies if required.
|
||||
# depends_on('r-foo', type=nolink)"""
|
||||
|
||||
body = """\
|
||||
def install(self, spec, prefix):
|
||||
# FIXME: Add logic to build and install here.
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)"""
|
||||
# FIXME: Override install() if necessary."""
|
||||
|
||||
def __init__(self, name, *args):
|
||||
name = 'r-{0}'.format(name)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RAbind(Package):
|
||||
class RAbind(RPackage):
|
||||
"""Combine multidimensional arrays into a single array. This is a
|
||||
generalization of 'cbind' and 'rbind'. Works with vectors, matrices, and
|
||||
higher-dimensional arrays. Also provides functions 'adrop', 'asub', and
|
||||
@ -36,9 +36,3 @@ class RAbind(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/abind"
|
||||
|
||||
version('1.4-3', '10fcf80c677b991bf263d38be35a1fc5')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RAssertthat(Package):
|
||||
class RAssertthat(RPackage):
|
||||
"""assertthat is an extension to stopifnot() that makes it easy to declare
|
||||
the pre and post conditions that you code should satisfy, while also
|
||||
producing friendly error messages so that your users know what they've done
|
||||
@ -35,9 +35,3 @@ class RAssertthat(Package):
|
||||
url = "https://cran.r-project.org/src/contrib/assertthat_0.1.tar.gz"
|
||||
|
||||
version('0.1', '59f9d7f7c00077ea54d763b78eeb5798')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RBase64enc(Package):
|
||||
class RBase64enc(RPackage):
|
||||
"""This package provides tools for handling base64 encoding. It is more
|
||||
flexible than the orphaned base64 package."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RBase64enc(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/base64enc"
|
||||
|
||||
version('0.1-3', '0f476dacdd11a3e0ad56d13f5bc2f190')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RBh(Package):
|
||||
class RBh(RPackage):
|
||||
"""Boost provides free peer-reviewed portable C++ source libraries. A large
|
||||
part of Boost is provided as C++ template code which is resolved entirely
|
||||
at compile-time without linking. This package aims to provide the most
|
||||
@ -46,9 +46,3 @@ class RBh(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/BH"
|
||||
|
||||
version('1.60.0-2', 'b50fdc85285da05add4e9da664a2d551')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,32 +25,16 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RBiocgenerics(Package):
|
||||
class RBiocgenerics(RPackage):
|
||||
"""S4 generic functions needed by many Bioconductor packages."""
|
||||
|
||||
homepage = 'https://bioconductor.org/packages/BiocGenerics/'
|
||||
version('bioc-3.3',
|
||||
version('3.3',
|
||||
git='https://github.com/Bioconductor-mirror/BiocGenerics.git',
|
||||
branch='release-3.3')
|
||||
version('bioc-3.2',
|
||||
version('3.2',
|
||||
git='https://github.com/Bioconductor-mirror/BiocGenerics.git',
|
||||
branch='release-3.2')
|
||||
|
||||
extends('r')
|
||||
|
||||
def validate(self, spec):
|
||||
"""
|
||||
Checks that the version of R is appropriate for the Bioconductor
|
||||
version.
|
||||
"""
|
||||
if spec.satisfies('@bioc-3.3'):
|
||||
if not spec.satisfies('^R@3.3.0:3.3.9'):
|
||||
raise InstallError('Must use R-3.3 for Bioconductor-3.3')
|
||||
elif spec.satisfies('@bioc-3.2'):
|
||||
if not spec.satisfies('^R@3.2.0:3.2.9'):
|
||||
raise InstallError('Must use R-3.2 for Bioconductor-3.2')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
self.validate(spec)
|
||||
R('CMD', 'INSTALL', '--library=%s' %
|
||||
self.module.r_lib_dir, '%s' % self.stage.source_path)
|
||||
depends_on('r@3.3.0:3.3.9', when='@3.3')
|
||||
depends_on('r@3.2.0:3.2.9', when='@3.2')
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RBitops(Package):
|
||||
class RBitops(RPackage):
|
||||
"""Functions for bitwise operations on integer vectors."""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=bitops"
|
||||
@ -34,9 +34,3 @@ class RBitops(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/bitops"
|
||||
|
||||
version('1.0-6', 'fba16485a51b1ccd354abde5816b6bdd')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RBoot(Package):
|
||||
class RBoot(RPackage):
|
||||
"""Functions and datasets for bootstrapping from the book "Bootstrap
|
||||
Methods and Their Application" by A. C. Davison and D. V. Hinkley (1997,
|
||||
CUP), originally written by Angelo Canty for S."""
|
||||
@ -35,9 +35,3 @@ class RBoot(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/boot"
|
||||
|
||||
version('1.3-18', '711dd58af14e1027eb8377d9202e9b6f')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RBrew(Package):
|
||||
class RBrew(RPackage):
|
||||
"""brew implements a templating framework for mixing text and R code for
|
||||
report generation. brew template syntax is similar to PHP, Ruby's erb
|
||||
module, Java Server Pages, and Python's psp module."""
|
||||
@ -35,9 +35,3 @@ class RBrew(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/brew"
|
||||
|
||||
version('1.0-6', '4aaca5e6ec145e0fc0fe6375ce1f3806')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RC50(Package):
|
||||
class RC50(RPackage):
|
||||
"""C5.0 decision trees and rule-based models for pattern recognition."""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=C50"
|
||||
@ -35,10 +35,4 @@ class RC50(Package):
|
||||
|
||||
version('0.1.0-24', '42631e65c5c579532cc6edf5ea175949')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-partykit', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCar(Package):
|
||||
class RCar(RPackage):
|
||||
"""Functions and Datasets to Accompany J. Fox and S. Weisberg, An R
|
||||
Companion to Applied Regression, Second Edition, Sage, 2011."""
|
||||
|
||||
@ -35,14 +35,8 @@ class RCar(Package):
|
||||
|
||||
version('2.1-2', '0f78ad74ef7130126d319acec23951a0')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-mass', type=nolink)
|
||||
depends_on('r-mgcv', type=nolink)
|
||||
depends_on('r-nnet', type=nolink)
|
||||
depends_on('r-pbkrtest', type=nolink)
|
||||
depends_on('r-quantreg', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCaret(Package):
|
||||
class RCaret(RPackage):
|
||||
"""Misc functions for training and plotting classification and regression
|
||||
models."""
|
||||
|
||||
@ -35,8 +35,6 @@ class RCaret(Package):
|
||||
|
||||
version('6.0-70', '202d7abb6a679af716ea69fb2573f108')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-lattice', type=nolink)
|
||||
depends_on('r-ggplot2', type=nolink)
|
||||
depends_on('r-car', type=nolink)
|
||||
@ -44,7 +42,3 @@ class RCaret(Package):
|
||||
depends_on('r-plyr', type=nolink)
|
||||
depends_on('r-nlme', type=nolink)
|
||||
depends_on('r-reshape2', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCatools(Package):
|
||||
class RCatools(RPackage):
|
||||
"""Contains several basic utility functions including: moving (rolling,
|
||||
running) window statistic functions, read/write for GIF and ENVI binary
|
||||
files, fast calculation of AUC, LogitBoost classifier, base64
|
||||
@ -38,10 +38,4 @@ class RCatools(Package):
|
||||
|
||||
version('1.17.1', '5c872bbc78b177b306f36709deb44498')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-bitops', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RChron(Package):
|
||||
class RChron(RPackage):
|
||||
"""Chronological objects which can handle dates and times."""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=chron"
|
||||
@ -33,9 +33,3 @@ class RChron(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/chron"
|
||||
|
||||
version('2.3-47', 'b8890cdc5f2337f8fd775b0becdcdd1f')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RClass(Package):
|
||||
class RClass(RPackage):
|
||||
"""Various functions for classification, including k-nearest neighbour,
|
||||
Learning Vector Quantization and Self-Organizing Maps."""
|
||||
|
||||
@ -35,10 +35,4 @@ class RClass(Package):
|
||||
|
||||
version('7.3-14', '6a21dd206fe4ea29c55faeb65fb2b71e')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-mass', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCluster(Package):
|
||||
class RCluster(RPackage):
|
||||
"""Methods for Cluster analysis. Much extended the original from Peter
|
||||
Rousseeuw, Anja Struyf and Mia Hubert, based on Kaufman and Rousseeuw
|
||||
(1990) "Finding Groups in Data"."""
|
||||
@ -35,9 +35,3 @@ class RCluster(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/cluster"
|
||||
|
||||
version('2.0.4', 'bb4deceaafb1c42bb1278d5d0dc11e59')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCodetools(Package):
|
||||
class RCodetools(RPackage):
|
||||
"""Code analysis tools for R."""
|
||||
|
||||
homepage = "https://cran.r-project.org/web/packages/codetools/index.html"
|
||||
@ -33,9 +33,3 @@ class RCodetools(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/codetools"
|
||||
|
||||
version('0.2-14', '7ec41d4f8bd6ba85facc8c5e6adc1f4d')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RColorspace(Package):
|
||||
class RColorspace(RPackage):
|
||||
"""Carries out mapping between assorted color spaces including RGB, HSV,
|
||||
HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar CIELAB.
|
||||
Qualitative, sequential, and diverging color palettes based on HCL colors
|
||||
@ -36,9 +36,3 @@ class RColorspace(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/colorspace"
|
||||
|
||||
version('1.2-6', 'a30191e9caf66f77ff4e99c062e9dce1')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCrayon(Package):
|
||||
class RCrayon(RPackage):
|
||||
"""Colored terminal output on terminals that support 'ANSI' color and
|
||||
highlight codes. It also works in 'Emacs' 'ESS'. 'ANSI' color support is
|
||||
automatically detected. Colors and highlighting can be combined and nested.
|
||||
@ -37,9 +37,3 @@ class RCrayon(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/crayon"
|
||||
|
||||
version('1.3.2', 'fe29c6204d2d6ff4c2f9d107a03d0cb9')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCubature(Package):
|
||||
class RCubature(RPackage):
|
||||
"""Adaptive multivariate integration over hypercubes"""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=cubature"
|
||||
@ -33,9 +33,3 @@ class RCubature(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/cubature"
|
||||
|
||||
version('1.1-2', '5617e1d82baa803a3814d92461da45c9')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RCurl(Package):
|
||||
class RCurl(RPackage):
|
||||
"""The curl() and curl_download() functions provide highly configurable
|
||||
drop-in replacements for base url() and download.file() with better
|
||||
performance, support for encryption (https, ftps), gzip compression,
|
||||
@ -43,10 +43,4 @@ class RCurl(Package):
|
||||
version('1.0', '93d34926d6071e1fba7e728b482f0dd9')
|
||||
version('0.9.7', 'a101f7de948cb828fef571c730f39217')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('curl')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDatatable(Package):
|
||||
class RDatatable(RPackage):
|
||||
"""Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins,
|
||||
fast add/modify/delete of columns by group using no copies at all, list
|
||||
columns and a fast file reader (fread). Offers a natural and flexible
|
||||
@ -37,10 +37,4 @@ class RDatatable(Package):
|
||||
|
||||
version('1.9.6', 'b1c0c7cce490bdf42ab288541cc55372')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-chron', type='nolink')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDbi(Package):
|
||||
class RDbi(RPackage):
|
||||
"""A database interface definition for communication between R and
|
||||
relational database management systems. All classes in this package are
|
||||
virtual and need to be extended by the various R/DBMS implementations."""
|
||||
@ -35,9 +35,3 @@ class RDbi(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/DBI"
|
||||
|
||||
version('0.4-1', 'c7ee8f1c5037c2284e99c62698d0f087')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,18 +26,12 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDeoptim(Package):
|
||||
class RDeoptim(RPackage):
|
||||
"""Implements the differential evolution algorithm for global optimization
|
||||
of a real-valued function of a real-valued parameter vector."""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=DEoptim"
|
||||
url = "https://cran.r-project.org/src/contrib/DEoptim_2.2-3.tar.gz"
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/DEoptim"
|
||||
|
||||
|
||||
version('2.2-3', 'ed406e6790f8f1568aa9bec159f80326')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDevtools(Package):
|
||||
class RDevtools(RPackage):
|
||||
"""Collection of package development tools."""
|
||||
|
||||
homepage = "https://github.com/hadley/devtools"
|
||||
@ -34,8 +34,6 @@ class RDevtools(Package):
|
||||
|
||||
version('1.11.1', '242672ee27d24dddcbdaac88c586b6c2')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-httr', type=nolink)
|
||||
depends_on('r-memoise', type=nolink)
|
||||
depends_on('r-whisker', type=nolink)
|
||||
@ -44,7 +42,3 @@ class RDevtools(Package):
|
||||
depends_on('r-jsonlite', type=nolink)
|
||||
depends_on('r-git2r', type=nolink)
|
||||
depends_on('r-withr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDiagrammer(Package):
|
||||
class RDiagrammer(RPackage):
|
||||
"""Create graph diagrams and flowcharts using R."""
|
||||
|
||||
homepage = "https://github.com/rich-iannone/DiagrammeR"
|
||||
@ -34,8 +34,6 @@ class RDiagrammer(Package):
|
||||
|
||||
version('0.8.4', '9ee295c744f5d4ba9a84289ca7bdaf1a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-htmlwidgets', type=nolink)
|
||||
depends_on('r-igraph', type=nolink)
|
||||
depends_on('r-influencer', type=nolink)
|
||||
@ -43,7 +41,3 @@ class RDiagrammer(Package):
|
||||
depends_on('r-stringr', type=nolink)
|
||||
depends_on('r-visnetwork', type=nolink)
|
||||
depends_on('r-scales', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDichromat(Package):
|
||||
class RDichromat(RPackage):
|
||||
"""Collapse red-green or green-blue distinctions to simulate the effects of
|
||||
different types of color-blindness."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RDichromat(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/dichromat"
|
||||
|
||||
version('2.0-0', '84e194ac95a69763d740947a7ee346a6')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDigest(Package):
|
||||
class RDigest(RPackage):
|
||||
"""Implementation of a function 'digest()' for the creation of hash digests
|
||||
of arbitrary R objects (using the md5, sha-1, sha-256, crc32, xxhash and
|
||||
murmurhash algorithms) permitting easy comparison of R language objects, as
|
||||
@ -48,9 +48,3 @@ class RDigest(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/digest"
|
||||
|
||||
version('0.6.9', '48048ce6c466bdb124716e45ba4a0e83')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDoparallel(Package):
|
||||
class RDoparallel(RPackage):
|
||||
"""Provides a parallel backend for the %dopar% function using the parallel
|
||||
package."""
|
||||
|
||||
@ -35,11 +35,5 @@ class RDoparallel(Package):
|
||||
|
||||
version('1.0.10', 'd9fbde8f315d98d055483ee3493c9b43')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-foreach', type=nolink)
|
||||
depends_on('r-iterators', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDplyr(Package):
|
||||
class RDplyr(RPackage):
|
||||
"""A fast, consistent tool for working with data frame like objects, both
|
||||
in memory and out of memory."""
|
||||
|
||||
@ -35,8 +35,6 @@ class RDplyr(Package):
|
||||
|
||||
version('0.5.0', '1fcafcacca70806eea2e6d465cdb94ef')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-assertthat', type=nolink)
|
||||
depends_on('r-r6', type=nolink)
|
||||
depends_on('r-rcpp', type=nolink)
|
||||
@ -45,7 +43,3 @@ class RDplyr(Package):
|
||||
depends_on('r-lazyeval', type=nolink)
|
||||
depends_on('r-dbi', type=nolink)
|
||||
depends_on('r-bh', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDt(Package):
|
||||
class RDt(RPackage):
|
||||
"""Data objects in R can be rendered as HTML tables using the JavaScript
|
||||
library 'DataTables' (typically via R Markdown or Shiny). The 'DataTables'
|
||||
library has been included in this R package. The package name 'DT' is an
|
||||
@ -36,12 +36,6 @@ class RDt(Package):
|
||||
|
||||
version('0.1', '5c8df984921fa484784ec4b8a4fb6f3c')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-htmltools', type=nolink)
|
||||
depends_on('r-htmlwidgets', type=nolink)
|
||||
depends_on('r-magrittr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RDygraphs(Package):
|
||||
class RDygraphs(RPackage):
|
||||
"""An R interface to the 'dygraphs' JavaScript charting library (a copy of
|
||||
which is included in the package). Provides rich facilities for charting
|
||||
time-series data in R, including highly configurable series- and
|
||||
@ -38,13 +38,7 @@ class RDygraphs(Package):
|
||||
|
||||
version('0.9', '7f0ce4312bcd3f0a58b8c03b2772f833')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-magrittr', type=nolink)
|
||||
depends_on('r-htmlwidgets', type=nolink)
|
||||
depends_on('r-zoo', type=nolink)
|
||||
depends_on('r-xts', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RE1071(Package):
|
||||
class RE1071(RPackage):
|
||||
"""Functions for latent class analysis, short time Fourier transform, fuzzy
|
||||
clustering, support vector machines, shortest path computation, bagged
|
||||
clustering, naive Bayes classifier, ..."""
|
||||
@ -36,10 +36,4 @@ class RE1071(Package):
|
||||
|
||||
version('1.6-7', 'd109a7e3dd0c905d420e327a9a921f5a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-class', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -27,7 +27,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class REvaluate(Package):
|
||||
class REvaluate(RPackage):
|
||||
"""Parsing and evaluation tools that make it easy to recreate the command
|
||||
line behaviour of R."""
|
||||
|
||||
@ -37,10 +37,4 @@ class REvaluate(Package):
|
||||
|
||||
version('0.9', '877d89ce8a9ef7f403b1089ca1021775')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-stringr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RFilehash(Package):
|
||||
class RFilehash(RPackage):
|
||||
"""Implements a simple key-value style database where character string keys
|
||||
are associated with data values that are stored on the disk. A simple
|
||||
interface is provided for inserting, retrieving, and deleting data from the
|
||||
@ -41,9 +41,3 @@ class RFilehash(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/filehash"
|
||||
|
||||
version('2.3', '01fffafe09b148ccadc9814c103bdc2f')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RForeach(Package):
|
||||
class RForeach(RPackage):
|
||||
"""Support for the foreach looping construct. Foreach is an idiom that
|
||||
allows for iterating over elements in a collection, without the use of an
|
||||
explicit loop counter. This package in particular is intended to be used
|
||||
@ -40,11 +40,5 @@ class RForeach(Package):
|
||||
|
||||
version('1.4.3', 'ef45768126661b259f9b8994462c49a0')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-codetools', type=nolink)
|
||||
depends_on('r-iterators', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RForeign(Package):
|
||||
class RForeign(RPackage):
|
||||
"""Functions for reading and writing data stored by some versions of Epi
|
||||
Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and for reading and
|
||||
writing some dBase files."""
|
||||
@ -35,9 +35,3 @@ class RForeign(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/foreign"
|
||||
|
||||
version('0.8-66', 'ff12190f4631dca31e30ca786c2c8f62')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RFormatr(Package):
|
||||
class RFormatr(RPackage):
|
||||
"""Provides a function tidy_source() to format R source code. Spaces and
|
||||
indent will be added to the code automatically, and comments will be
|
||||
preserved under certain conditions, so that R code will be more
|
||||
@ -39,13 +39,7 @@ class RFormatr(Package):
|
||||
|
||||
version('1.4', '98b9b64b2785b35f9df403e1aab6c73c')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-codetools', type=nolink)
|
||||
depends_on('r-shiny', type=nolink)
|
||||
depends_on('r-testit', type=nolink)
|
||||
# depends_on('r-knitr', type=nolink) - mutual dependency
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RFormula(Package):
|
||||
class RFormula(RPackage):
|
||||
"""Infrastructure for extended formulas with multiple parts on the right-hand
|
||||
side and/or multiple responses on the left-hand side."""
|
||||
|
||||
@ -35,9 +35,3 @@ class RFormula(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/Formula"
|
||||
|
||||
version('1.2-1', '2afb31e637cecd0c1106317aca1e4849')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGdata(Package):
|
||||
class RGdata(RPackage):
|
||||
"""Various R programming tools for data manipulation, including: - medical
|
||||
unit conversions ('ConvertMedUnits', 'MedUnits'), - combining objects
|
||||
('bindData', 'cbindX', 'combine', 'interleave'), - character vector
|
||||
@ -50,10 +50,4 @@ class RGdata(Package):
|
||||
|
||||
version('2.17.0', 'c716b663b9dc16ad8cafe6acc781a75f')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-gtools', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGeosphere(Package):
|
||||
class RGeosphere(RPackage):
|
||||
"""Spherical trigonometry for geographic applications. That is, compute
|
||||
distances and related measures for angular (longitude/latitude)
|
||||
locations."""
|
||||
@ -36,10 +36,4 @@ class RGeosphere(Package):
|
||||
|
||||
version('1.5-5', '28efb7a8e266c7f076cdbcf642455f3e')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-sp', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGgmap(Package):
|
||||
class RGgmap(RPackage):
|
||||
"""A collection of functions to visualize spatial data and models on top of
|
||||
static maps from various online sources (e.g Google Maps and Stamen Maps).
|
||||
It includes tools common to those tasks, including functions for
|
||||
@ -37,8 +37,6 @@ class RGgmap(Package):
|
||||
|
||||
version('2.6.1', '25ad414a3a1c6d59a227a9f22601211a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-ggplot2', type=nolink)
|
||||
depends_on('r-proto', type=nolink)
|
||||
depends_on('r-rgooglemaps', type=nolink)
|
||||
@ -51,7 +49,3 @@ class RGgmap(Package):
|
||||
depends_on('r-geosphere', type=nolink)
|
||||
depends_on('r-digest', type=nolink)
|
||||
depends_on('r-scales', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGgplot2(Package):
|
||||
class RGgplot2(RPackage):
|
||||
"""An implementation of the grammar of graphics in R. It combines the
|
||||
advantages of both base and lattice graphics: conditioning and shared axes
|
||||
are handled automatically, and you can still build up a plot step by step
|
||||
@ -40,15 +40,9 @@ class RGgplot2(Package):
|
||||
|
||||
version('2.1.0', '771928cfb97c649c720423deb3ec7fd3')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-digest', type=nolink)
|
||||
depends_on('r-gtable', type=nolink)
|
||||
depends_on('r-mass', type=nolink)
|
||||
depends_on('r-plyr', type=nolink)
|
||||
depends_on('r-reshape2', type=nolink)
|
||||
depends_on('r-scales', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGgvis(Package):
|
||||
class RGgvis(RPackage):
|
||||
"""An implementation of an interactive grammar of graphics, taking the best
|
||||
parts of 'ggplot2', combining them with the reactive framework from 'shiny'
|
||||
and web graphics from 'vega'."""
|
||||
@ -36,8 +36,6 @@ class RGgvis(Package):
|
||||
|
||||
version('0.4.2', '039f45e5c7f1e0652779163d7d99f922')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-assertthat', type=nolink)
|
||||
depends_on('r-jsonlite', type=nolink)
|
||||
depends_on('r-shiny', type=nolink)
|
||||
@ -45,7 +43,3 @@ class RGgvis(Package):
|
||||
depends_on('r-dplyr', type=nolink)
|
||||
depends_on('r-lazyeval', type=nolink)
|
||||
depends_on('r-htmltools', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGistr(Package):
|
||||
class RGistr(RPackage):
|
||||
"""Work with 'GitHub' 'gists' from 'R'. This package allows the user to
|
||||
create new 'gists', update 'gists' with new files, rename files, delete
|
||||
files, get and delete 'gists', star and 'un-star' 'gists', fork 'gists',
|
||||
@ -40,8 +40,6 @@ class RGistr(Package):
|
||||
|
||||
version('0.3.6', '49d548cb3eca0e66711aece37757a2c0')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-jsonlite', type=nolink)
|
||||
depends_on('r-httr', type=nolink)
|
||||
depends_on('r-magrittr', type=nolink)
|
||||
@ -49,7 +47,3 @@ class RGistr(Package):
|
||||
depends_on('r-knitr', type=nolink)
|
||||
depends_on('r-rmarkdown', type=nolink)
|
||||
depends_on('r-dplyr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGit2r(Package):
|
||||
class RGit2r(RPackage):
|
||||
"""Interface to the 'libgit2' library, which is a pure C implementation of
|
||||
the 'Git' core methods. Provides access to 'Git' repositories to extract
|
||||
data and running some basic 'Git' commands."""
|
||||
@ -36,11 +36,5 @@ class RGit2r(Package):
|
||||
|
||||
version('0.15.0', '57658b3298f9b9aadc0dd77b4ef6a1e1')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('zlib')
|
||||
depends_on('openssl')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGlmnet(Package):
|
||||
class RGlmnet(RPackage):
|
||||
"""Extremely efficient procedures for fitting the entire lasso or
|
||||
elastic-net regularization path for linear regression, logistic and
|
||||
multinomial regression models, Poisson regression and the Cox model. Two
|
||||
@ -39,11 +39,5 @@ class RGlmnet(Package):
|
||||
|
||||
version('2.0-5', '049b18caa29529614cd684db3beaec2a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-matrix', type=nolink)
|
||||
depends_on('r-foreach', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGooglevis(Package):
|
||||
class RGooglevis(RPackage):
|
||||
"""R interface to Google Charts API, allowing users to create interactive
|
||||
charts based on data frames. Charts are displayed locally via the R HTTP
|
||||
help server. A modern browser with an Internet connection is required and
|
||||
@ -38,10 +38,4 @@ class RGooglevis(Package):
|
||||
|
||||
version('0.6.0', 'ec36fd2a6884ddc7baa894007d0d0468')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-jsonlite', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGridbase(Package):
|
||||
class RGridbase(RPackage):
|
||||
"""Integration of base and grid graphics."""
|
||||
|
||||
homepage = "https://cran.r-project.org/web/packages/gridBase/index.html"
|
||||
@ -33,9 +33,3 @@ class RGridbase(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/gridBase"
|
||||
|
||||
version('0.4-7', '6d5064a85f5c966a92ee468ae44c5f1f')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGridextra(Package):
|
||||
class RGridextra(RPackage):
|
||||
"""Provides a number of user-level functions to work with "grid" graphics,
|
||||
notably to arrange multiple grid-based plots on a page, and draw tables."""
|
||||
|
||||
@ -35,10 +35,4 @@ class RGridextra(Package):
|
||||
|
||||
version('2.2.1', '7076c2122d387c7ef3add69a1c4fc1b2')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-gtable', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGtable(Package):
|
||||
class RGtable(RPackage):
|
||||
"""Tools to make it easier to work with "tables" of 'grobs'."""
|
||||
|
||||
homepage = "https://cran.r-project.org/web/packages/gtable/index.html"
|
||||
@ -33,9 +33,3 @@ class RGtable(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/gtable"
|
||||
|
||||
version('0.2.0', '124090ae40b2dd3170ae11180e0d4cab')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RGtools(Package):
|
||||
class RGtools(RPackage):
|
||||
"""Functions to assist in R programming, including: - assist in developing,
|
||||
updating, and maintaining R and R packages ('ask', 'checkRVersion',
|
||||
'getDependencies', 'keywords', 'scat'), - calculate the logit and inverse
|
||||
@ -52,9 +52,3 @@ class RGtools(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/gtools"
|
||||
|
||||
version('3.5.0', '45f8800c0336d35046641fbacc56bdbb')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RHexbin(Package):
|
||||
class RHexbin(RPackage):
|
||||
"""Binning and plotting functions for hexagonal bins. Now uses and relies
|
||||
on grid graphics and formal (S4) classes and methods."""
|
||||
|
||||
@ -36,10 +36,4 @@ class RHexbin(Package):
|
||||
|
||||
version('1.27.1', '7f380390c6511e97df10a810a3b3bb7c')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-lattice', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RHighr(Package):
|
||||
class RHighr(RPackage):
|
||||
"""Provides syntax highlighting for R source code. Currently it supports
|
||||
LaTeX and HTML output. Source code of other languages is supported via
|
||||
Andre Simon's highlight package."""
|
||||
@ -36,9 +36,3 @@ class RHighr(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/highr"
|
||||
|
||||
version('0.6', 'bf47388c5f57dc61962362fb7e1d8b16')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RHtmltools(Package):
|
||||
class RHtmltools(RPackage):
|
||||
"""Tools for HTML generation and output."""
|
||||
|
||||
homepage = "https://github.com/rstudio/htmltools"
|
||||
@ -34,11 +34,5 @@ class RHtmltools(Package):
|
||||
|
||||
version('0.3.5', '5f001aff4a39e329f7342dcec5139724')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-digest', type=nolink)
|
||||
depends_on('r-rcpp', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RHtmlwidgets(Package):
|
||||
class RHtmlwidgets(RPackage):
|
||||
"""A framework for creating HTML widgets that render in various contexts
|
||||
including the R console, 'R Markdown' documents, and 'Shiny' web
|
||||
applications."""
|
||||
@ -36,12 +36,6 @@ class RHtmlwidgets(Package):
|
||||
|
||||
version('0.6', '7fa522d2eda97593978021bda9670c0e')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-htmltools', type=nolink)
|
||||
depends_on('r-jsonlite', type=nolink)
|
||||
depends_on('r-yaml', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RHttpuv(Package):
|
||||
class RHttpuv(RPackage):
|
||||
"""Provides low-level socket and protocol support for handling HTTP and
|
||||
WebSocket requests directly from within R. It is primarily intended as a
|
||||
building block for other packages, rather than making it particularly easy
|
||||
@ -40,10 +40,4 @@ class RHttpuv(Package):
|
||||
|
||||
version('1.3.3', 'c78ae068cf59e949b9791be987bb4489')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-rcpp', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RHttr(Package):
|
||||
class RHttr(RPackage):
|
||||
"""Useful tools for working with HTTP organised by HTTP verbs (GET(),
|
||||
POST(), etc). Configuration functions make it easy to control additional
|
||||
request components (authenticate(), add_headers() and so on)."""
|
||||
@ -36,14 +36,8 @@ class RHttr(Package):
|
||||
|
||||
version('1.1.0', '5ffbbc5c2529e49f00aaa521a2b35600')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-jsonlite', type=nolink)
|
||||
depends_on('r-mime', type=nolink)
|
||||
depends_on('r-curl', type=nolink)
|
||||
depends_on('r-openssl', type=nolink)
|
||||
depends_on('r-r6', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RIgraph(Package):
|
||||
class RIgraph(RPackage):
|
||||
"""Routines for simple graphs and network analysis. It can handle large
|
||||
graphs very well and provides functions for generating random and regular
|
||||
graphs, graph visualization, centrality methods and much more."""
|
||||
@ -36,15 +36,9 @@ class RIgraph(Package):
|
||||
|
||||
version('1.0.1', 'ea33495e49adf4a331e4ba60ba559065')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-matrix', type=nolink)
|
||||
depends_on('r-magrittr', type=nolink)
|
||||
depends_on('r-nmf', type=nolink)
|
||||
depends_on('r-irlba', type=nolink)
|
||||
depends_on('gmp')
|
||||
depends_on('libxml2')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RInfluencer(Package):
|
||||
class RInfluencer(RPackage):
|
||||
"""Provides functionality to compute various node centrality measures on
|
||||
networks. Included are functions to compute betweenness centrality (by
|
||||
utilizing Madduri and Bader's SNAP library), implementations of Burt's
|
||||
@ -40,11 +40,5 @@ class RInfluencer(Package):
|
||||
|
||||
version('0.1.0', '6c8b6decd78c341364b5811fb3050ba5')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-igraph', type=nolink)
|
||||
depends_on('r-matrix', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RInline(Package):
|
||||
class RInline(RPackage):
|
||||
"""Functionality to dynamically define R functions and S4 methods with
|
||||
inlined C, C++ or Fortran code supporting .C and .Call calling
|
||||
conventions."""
|
||||
@ -35,9 +35,3 @@ class RInline(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/inline"
|
||||
|
||||
version('0.3.14', '9fe304a6ebf0e3889c4c6a7ad1c50bca')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RIrdisplay(Package):
|
||||
class RIrdisplay(RPackage):
|
||||
"""An interface to the rich display capabilities of Jupyter front-ends
|
||||
(e.g. 'Jupyter Notebook') Designed to be used from a running IRkernel
|
||||
session"""
|
||||
@ -36,10 +36,4 @@ class RIrdisplay(Package):
|
||||
|
||||
version('0.4.4', '5be672fb82185b90f23bd99ac1e1cdb6')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-repr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RIrkernel(Package):
|
||||
class RIrkernel(RPackage):
|
||||
"""R kernel for Jupyter"""
|
||||
|
||||
homepage = "https://irkernel.github.io/"
|
||||
@ -35,8 +35,6 @@ class RIrkernel(Package):
|
||||
version('master', git='https://github.com/IRkernel/IRkernel.git',
|
||||
tag='0.7')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-repr', type=nolink)
|
||||
depends_on('r-irdisplay', type=nolink)
|
||||
depends_on('r-evaluate', type=nolink)
|
||||
@ -45,7 +43,3 @@ class RIrkernel(Package):
|
||||
depends_on('r-devtools', type=nolink)
|
||||
depends_on('r-uuid', type=nolink)
|
||||
depends_on('r-digest', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RIrlba(Package):
|
||||
class RIrlba(RPackage):
|
||||
"""Fast and memory efficient methods for truncated singular and eigenvalue
|
||||
decompositions and principal component analysis of large sparse or dense
|
||||
matrices."""
|
||||
@ -36,10 +36,4 @@ class RIrlba(Package):
|
||||
|
||||
version('2.0.0', '557674cf8b68fea5b9f231058c324d26')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-matrix', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RIterators(Package):
|
||||
class RIterators(RPackage):
|
||||
"""Support for iterators, which allow a programmer to traverse through all
|
||||
the elements of a vector, list, or other collection of data."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RIterators(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/iterators"
|
||||
|
||||
version('1.0.8', '2ded7f82cddd8174f1ec98607946c6ee')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RJpeg(Package):
|
||||
class RJpeg(RPackage):
|
||||
"""This package provides an easy and simple way to read, write and display
|
||||
bitmap images stored in the JPEG format. It can read and write both files
|
||||
and in-memory raw vectors."""
|
||||
@ -36,10 +36,4 @@ class RJpeg(Package):
|
||||
|
||||
version('0.1-8', '696007451d14395b1ed1d0e9af667a57')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('jpeg')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RJsonlite(Package):
|
||||
class RJsonlite(RPackage):
|
||||
"""A fast JSON parser and generator optimized for statistical data and the
|
||||
web. Started out as a fork of 'RJSONIO', but has been completely rewritten
|
||||
in recent versions. The package offers flexible, robust, high performance
|
||||
@ -43,9 +43,3 @@ class RJsonlite(Package):
|
||||
|
||||
version('1.0', 'c8524e086de22ab39b8ac8000220cc87')
|
||||
version('0.9.21', '4fc382747f88a79ff0718a0d06bed45d')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -26,7 +26,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RKnitr(Package):
|
||||
class RKnitr(RPackage):
|
||||
"""Provides a general-purpose tool for dynamic report generation in R using
|
||||
Literate Programming techniques."""
|
||||
|
||||
@ -35,9 +35,7 @@ class RKnitr(Package):
|
||||
list_url = "https://cran.rstudio.com/src/contrib/Archive/knitr"
|
||||
|
||||
version('1.14', 'ef0fbeaa9372f99ffbc57212a7781511')
|
||||
version('0.6' , 'c67d6db84cd55594a9e870c90651a3db')
|
||||
|
||||
extends('r')
|
||||
version('0.6', 'c67d6db84cd55594a9e870c90651a3db')
|
||||
|
||||
depends_on('r-evaluate', type=nolink)
|
||||
depends_on('r-digest', type=nolink)
|
||||
@ -46,7 +44,3 @@ class RKnitr(Package):
|
||||
depends_on('r-stringr', type=nolink)
|
||||
depends_on('r-markdown', type=nolink)
|
||||
depends_on('r-yaml', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLabeling(Package):
|
||||
class RLabeling(RPackage):
|
||||
"""Provides a range of axis labeling algorithms."""
|
||||
|
||||
homepage = "https://cran.r-project.org/web/packages/labeling/index.html"
|
||||
@ -33,9 +33,3 @@ class RLabeling(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/labeling"
|
||||
|
||||
version('0.3', 'ccd7082ec0b211aba8a89d85176bb534')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLattice(Package):
|
||||
class RLattice(RPackage):
|
||||
"""A powerful and elegant high-level data visualization system inspired by
|
||||
Trellis graphics, with an emphasis on multivariate data. Lattice is
|
||||
sufficient for typical graphics needs, and is also flexible enough to
|
||||
@ -36,9 +36,3 @@ class RLattice(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/lattice"
|
||||
|
||||
version('0.20-34', 'c2a648b22d4206ae7526fb70b8e90fed')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLazyeval(Package):
|
||||
class RLazyeval(RPackage):
|
||||
"""An alternative approach to non-standard evaluation using formulas.
|
||||
Provides a full implementation of LISP style 'quasiquotation', making it
|
||||
easier to generate code with other code."""
|
||||
@ -35,9 +35,3 @@ class RLazyeval(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/lazyeval"
|
||||
|
||||
version('0.2.0', 'df1daac908dcf02ae7e12f4335b1b13b')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLeaflet(Package):
|
||||
class RLeaflet(RPackage):
|
||||
"""Create and customize interactive maps using the 'Leaflet' JavaScript
|
||||
library and the 'htmlwidgets' package. These maps can be used directly from
|
||||
the R console, from 'RStudio', in Shiny apps and R Markdown documents."""
|
||||
@ -36,8 +36,6 @@ class RLeaflet(Package):
|
||||
|
||||
version('1.0.1', '7f3d8b17092604d87d4eeb579f73d5df')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-base64enc', type=nolink)
|
||||
depends_on('r-htmlwidgets', type=nolink)
|
||||
depends_on('r-htmltools', type=nolink)
|
||||
@ -48,7 +46,3 @@ class RLeaflet(Package):
|
||||
depends_on('r-raster', type=nolink)
|
||||
depends_on('r-scales', type=nolink)
|
||||
depends_on('r-sp', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLme4(Package):
|
||||
class RLme4(RPackage):
|
||||
"""Fit linear and generalized linear mixed-effects models. The models and
|
||||
their components are represented using S4 classes and methods. The core
|
||||
computational algorithms are implemented using the 'Eigen' C++ library for
|
||||
@ -37,8 +37,6 @@ class RLme4(Package):
|
||||
|
||||
version('1.1-12', 'da8aaebb67477ecb5631851c46207804')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-matrix', type=nolink)
|
||||
depends_on('r-mass', type=nolink)
|
||||
depends_on('r-lattice', type=nolink)
|
||||
@ -47,7 +45,3 @@ class RLme4(Package):
|
||||
depends_on('r-nloptr', type=nolink)
|
||||
depends_on('r-rcpp', type=nolink)
|
||||
depends_on('r-rcppeigen', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLmtest(Package):
|
||||
class RLmtest(RPackage):
|
||||
"""A collection of tests, data sets, and examples for diagnostic checking
|
||||
in linear regression models. Furthermore, some generic tools for inference
|
||||
in parametric models are provided."""
|
||||
@ -36,10 +36,4 @@ class RLmtest(Package):
|
||||
|
||||
version('0.9-34', 'fcdf7286bb5ccc2ca46be00bf25ac2fe')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-zoo', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLubridate(Package):
|
||||
class RLubridate(RPackage):
|
||||
"""Functions to work with date-times and timespans: fast and user friendly
|
||||
parsing of date-time data, extraction and updating of components of a
|
||||
date-time (years, months, days, hours, minutes, and seconds), algebraic
|
||||
@ -39,10 +39,4 @@ class RLubridate(Package):
|
||||
|
||||
version('1.5.6', 'a5dc44817548ee219d26a10bae92e611')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-stringr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMagic(Package):
|
||||
class RMagic(RPackage):
|
||||
"""A collection of efficient, vectorized algorithms for the creation and
|
||||
investigation of magic squares and hypercubes, including a variety of
|
||||
functions for the manipulation and analysis of arbitrarily dimensioned
|
||||
@ -37,10 +37,4 @@ class RMagic(Package):
|
||||
|
||||
version('1.5-6', 'a68e5ced253b2196af842e1fc84fd029')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-abind', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMagrittr(Package):
|
||||
class RMagrittr(RPackage):
|
||||
"""Provides a mechanism for chaining commands with a new forward-pipe
|
||||
operator, %>%. This operator will forward a value, or the result of an
|
||||
expression, into the next function call/expression. There is flexible
|
||||
@ -37,9 +37,3 @@ class RMagrittr(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/magrittr"
|
||||
|
||||
version('1.5', 'e74ab7329f2b9833f0c3c1216f86d65a')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMapproj(Package):
|
||||
class RMapproj(RPackage):
|
||||
"""Converts latitude/longitude into projected coordinates."""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=mapproj"
|
||||
@ -34,10 +34,4 @@ class RMapproj(Package):
|
||||
|
||||
version('1.2-4', '10e22bde1c790e1540672f15ddcaee71')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-maps', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMaps(Package):
|
||||
class RMaps(RPackage):
|
||||
"""Display of maps. Projection code and larger maps are in separate
|
||||
packages ('mapproj' and 'mapdata')."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RMaps(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/maps"
|
||||
|
||||
version('3.1.1', 'ff045eccb6d5a658db5a539116ddf764')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMaptools(Package):
|
||||
class RMaptools(RPackage):
|
||||
"""Set of tools for manipulating and reading geographic data, in particular
|
||||
ESRI shapefiles; C code used from shapelib. It includes binary access to
|
||||
GSHHG shoreline files. The package also provides interface wrappers for
|
||||
@ -38,12 +38,6 @@ class RMaptools(Package):
|
||||
|
||||
version('0.8-39', '3690d96afba8ef22c8e27ae540ffb836')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-sp', type=nolink)
|
||||
depends_on('r-foreign', type=nolink)
|
||||
depends_on('r-lattice', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMarkdown(Package):
|
||||
class RMarkdown(RPackage):
|
||||
"""Provides R bindings to the 'Sundown' 'Markdown' rendering library
|
||||
(https://github.com/vmg/sundown). 'Markdown' is a plain-text formatting
|
||||
syntax that can be converted to 'XHTML' or other formats. See
|
||||
@ -38,10 +38,4 @@ class RMarkdown(Package):
|
||||
|
||||
version('0.7.7', '72deca9c675c7cc9343048edbc29f7ff')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-mime', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMass(Package):
|
||||
class RMass(RPackage):
|
||||
"""Functions and datasets to support Venables and Ripley, "Modern Applied
|
||||
Statistics with S" (4th edition, 2002)."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RMass(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/MASS"
|
||||
|
||||
version('7.3-45', 'aba3d12fab30f1793bee168a1efea88b')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMatrix(Package):
|
||||
class RMatrix(RPackage):
|
||||
"""Classes and methods for dense and sparse matrices and operations on them
|
||||
using 'LAPACK' and 'SuiteSparse'."""
|
||||
|
||||
@ -35,10 +35,4 @@ class RMatrix(Package):
|
||||
|
||||
version('1.2-6', 'f545307fb1284861e9266c4e9712c55e')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-lattice', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMatrixmodels(Package):
|
||||
class RMatrixmodels(RPackage):
|
||||
"""Modelling with sparse and dense 'Matrix' matrices, using modular
|
||||
prediction and response module classes."""
|
||||
|
||||
@ -35,10 +35,4 @@ class RMatrixmodels(Package):
|
||||
|
||||
version('0.4-1', '65b3ab56650c62bf1046a3eb1f1e19a0')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-matrix', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMemoise(Package):
|
||||
class RMemoise(RPackage):
|
||||
"""Cache the results of a function so that when you call it again with the
|
||||
same arguments it returns the pre-computed value."""
|
||||
|
||||
@ -35,10 +35,4 @@ class RMemoise(Package):
|
||||
|
||||
version('1.0.0', 'd31145292e2a88ae9a504cab1602e4ac')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-digest', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMgcv(Package):
|
||||
class RMgcv(RPackage):
|
||||
"""GAMs, GAMMs and other generalized ridge regression with multiple
|
||||
smoothing parameter estimation by GCV, REML or UBRE/AIC. Includes a gam()
|
||||
function, a wide variety of smoothers, JAGS support and distributions
|
||||
@ -37,11 +37,5 @@ class RMgcv(Package):
|
||||
|
||||
version('1.8-13', '30607be3aaf44b13bd8c81fc32e8c984')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-nlme', type=nolink)
|
||||
depends_on('r-matrix', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMime(Package):
|
||||
class RMime(RPackage):
|
||||
"""Guesses the MIME type from a filename extension using the data derived
|
||||
from /etc/mime.types in UNIX-type systems."""
|
||||
|
||||
@ -35,9 +35,3 @@ class RMime(Package):
|
||||
|
||||
version('0.5', '87e00b6d57b581465c19ae869a723c4d')
|
||||
version('0.4', '789cb33e41db2206c6fc7c3e9fbc2c02')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMinqa(Package):
|
||||
class RMinqa(RPackage):
|
||||
"""Derivative-free optimization by quadratic approximation based on an
|
||||
interface to Fortran implementations by M. J. D. Powell."""
|
||||
|
||||
@ -35,10 +35,4 @@ class RMinqa(Package):
|
||||
|
||||
version('1.2.4', 'bcaae4fdba60a33528f2116e2fd51105')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-rcpp', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMultcomp(Package):
|
||||
class RMultcomp(RPackage):
|
||||
"""Simultaneous tests and confidence intervals for general linear
|
||||
hypotheses in parametric models, including linear, generalized linear,
|
||||
linear mixed effects, and survival models. The package includes demos
|
||||
@ -38,14 +38,8 @@ class RMultcomp(Package):
|
||||
|
||||
version('1.4-6', 'f1353ede2ed78b23859a7f1f1f9ebe88')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-mvtnorm', type=nolink)
|
||||
depends_on('r-survival', type=nolink)
|
||||
depends_on('r-thdata', type=nolink)
|
||||
depends_on('r-sandwich', type=nolink)
|
||||
depends_on('r-codetools', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMunsell(Package):
|
||||
class RMunsell(RPackage):
|
||||
"""Provides easy access to, and manipulation of, the Munsell colours.
|
||||
Provides a mapping between Munsell's original notation (e.g. "5R 5/10") and
|
||||
hexadecimal strings suitable for use directly in R graphics. Also provides
|
||||
@ -38,10 +38,4 @@ class RMunsell(Package):
|
||||
|
||||
version('0.4.3', 'ebd205323dc37c948f499ee08be9c476')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-colorspace', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMvtnorm(Package):
|
||||
class RMvtnorm(RPackage):
|
||||
"""Computes multivariate normal and t probabilities, quantiles, random
|
||||
deviates and densities."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RMvtnorm(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/mvtnorm"
|
||||
|
||||
version('1.0-5', '5894dd3969bbfa26f4862c45f9a48a52')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNcdf4(Package):
|
||||
class RNcdf4(RPackage):
|
||||
"""Provides a high-level R interface to data files written using Unidata's
|
||||
netCDF library (version 4 or earlier), which are binary data files that are
|
||||
portable across platforms and include metadata information in addition to
|
||||
@ -47,10 +47,4 @@ class RNcdf4(Package):
|
||||
|
||||
version('1.15', 'cd60dadbae3be31371e1ed40ddeb420a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('netcdf')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNetworkd3(Package):
|
||||
class RNetworkd3(RPackage):
|
||||
"""Creates 'D3' 'JavaScript' network, tree, dendrogram, and Sankey graphs
|
||||
from 'R'."""
|
||||
|
||||
@ -35,12 +35,6 @@ class RNetworkd3(Package):
|
||||
|
||||
version('0.2.12', '356fe4be59698e6fb052644bd9659d84')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-htmlwidgets', type=nolink)
|
||||
depends_on('r-igraph', type=nolink)
|
||||
depends_on('r-magrittr', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNlme(Package):
|
||||
class RNlme(RPackage):
|
||||
"""Fit and compare Gaussian linear and nonlinear mixed-effects models."""
|
||||
|
||||
homepage = "https://cran.r-project.org/package=nlme"
|
||||
@ -34,10 +34,4 @@ class RNlme(Package):
|
||||
|
||||
version('3.1-128', '3d75ae7380bf123761b95a073eb55008')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-lattice', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNloptr(Package):
|
||||
class RNloptr(RPackage):
|
||||
"""nloptr is an R interface to NLopt. NLopt is a free/open-source library
|
||||
for nonlinear optimization, providing a common interface for a number of
|
||||
different free optimization routines available online as well as original
|
||||
@ -39,9 +39,3 @@ class RNloptr(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/nloptr"
|
||||
|
||||
version('1.0.4', '9af69a613349b236fd377d0a107f484c')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNmf(Package):
|
||||
class RNmf(RPackage):
|
||||
"""Provides a framework to perform Non-negative Matrix Factorization (NMF).
|
||||
The package implements a set of already published algorithms and seeding
|
||||
methods, and provides a framework to test, develop and plug new/custom
|
||||
@ -39,8 +39,6 @@ class RNmf(Package):
|
||||
|
||||
version('0.20.6', '81df07b3bf710a611db5af24730ff3d0')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-pkgmaker', type=nolink)
|
||||
depends_on('r-registry', type=nolink)
|
||||
depends_on('r-rngtools', type=nolink)
|
||||
@ -54,7 +52,3 @@ class RNmf(Package):
|
||||
depends_on('r-doparallel', type=nolink)
|
||||
depends_on('r-ggplot2', type=nolink)
|
||||
depends_on('r-reshape2', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNnet(Package):
|
||||
class RNnet(RPackage):
|
||||
"""Software for feed-forward neural networks with a single hidden layer,
|
||||
and for multinomial log-linear models."""
|
||||
|
||||
@ -34,9 +34,3 @@ class RNnet(Package):
|
||||
list_url = "https://cran.r-project.org/src/contrib/Archive/nnet"
|
||||
|
||||
version('7.3-12', 'dc7c6f0d0de53d8fc72b44554400a74e')
|
||||
|
||||
extends('r')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RNp(Package):
|
||||
class RNp(RPackage):
|
||||
"""This package provides a variety of nonparametric (and semiparametric)
|
||||
kernel methods that seamlessly handle a mix of continuous, unordered, and
|
||||
ordered factor data types. We would like to gratefully acknowledge support
|
||||
@ -40,11 +40,5 @@ class RNp(Package):
|
||||
|
||||
version('0.60-2', 'e094d52ddff7280272b41e6cb2c74389')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-boot', type=nolink)
|
||||
depends_on('r-cubature', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user