commit
ea11aab71f
3 changed files with 134 additions and 0 deletions
43
var/spack/repos/builtin/packages/r-boot/package.py
Normal file
43
var/spack/repos/builtin/packages/r-boot/package.py
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
##############################################################################
|
||||||
|
# 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
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class RBoot(Package):
|
||||||
|
"""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."""
|
||||||
|
|
||||||
|
homepage = "https://cran.r-project.org/package=boot"
|
||||||
|
url = "https://cran.r-project.org/src/contrib/boot_1.3-18.tar.gz"
|
||||||
|
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)
|
41
var/spack/repos/builtin/packages/r-cubature/package.py
Normal file
41
var/spack/repos/builtin/packages/r-cubature/package.py
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
##############################################################################
|
||||||
|
# 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
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class RCubature(Package):
|
||||||
|
"""Adaptive multivariate integration over hypercubes"""
|
||||||
|
|
||||||
|
homepage = "https://cran.r-project.org/package=cubature"
|
||||||
|
url = "https://cran.r-project.org/src/contrib/cubature_1.1-2.tar.gz"
|
||||||
|
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)
|
50
var/spack/repos/builtin/packages/r-np/package.py
Normal file
50
var/spack/repos/builtin/packages/r-np/package.py
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
##############################################################################
|
||||||
|
# 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
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class RNp(Package):
|
||||||
|
"""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
|
||||||
|
from the Natural Sciences and Engineering Research Council of Canada
|
||||||
|
(NSERC:www.nserc.ca), the Social Sciences and Humanities Research Council
|
||||||
|
of Canada (SSHRC:www.sshrc.ca), and the Shared Hierarchical Academic
|
||||||
|
Research Computing Network (SHARCNET:www.sharcnet.ca)."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/JeffreyRacine/R-Package-np/"
|
||||||
|
url = "https://cran.r-project.org/src/contrib/np_0.60-2.tar.gz"
|
||||||
|
list_url = "https://cran.r-project.org/src/contrib/Archive/np"
|
||||||
|
|
||||||
|
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)
|
Loading…
Reference in a new issue