From 13ee2c04e1089576e6f0da79083fdb73aeba6651 Mon Sep 17 00:00:00 2001 From: 健美猞猁 Date: Fri, 29 Jun 2018 04:40:00 +0800 Subject: r-aer: a new package. (#8567) * r-aer: a new package. * Flake8. * Add list_url and dependency versions. --- var/spack/repos/builtin/packages/r-aer/package.py | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-aer/package.py diff --git a/var/spack/repos/builtin/packages/r-aer/package.py b/var/spack/repos/builtin/packages/r-aer/package.py new file mode 100644 index 0000000000..58dcc60eab --- /dev/null +++ b/var/spack/repos/builtin/packages/r-aer/package.py @@ -0,0 +1,46 @@ +############################################################################## +# Copyright (c) 2013-2018, 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/spack/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 RAer(RPackage): + """Functions, data sets, examples, demos, and vignettes + for the book Christian Kleiber and Achim Zeileis (2008), + Applied Econometrics with R, Springer-Verlag, New York. + ISBN 978-0-387-77316-2.""" + + homepage = "https://cran.r-project.org/web/packages/AER/index.html" + url = "https://cran.r-project.org/src/contrib/AER_1.2-5.tar.gz" + list_url = "https://cran.rstudio.com/src/contrib/Archive/AER" + + version('1.2-5', '419df9dc8ee6e5edd79678fee06719ae') + + depends_on('r@2.13.0:', type=('build', 'run')) + depends_on('r-car@2.10-19:', type=('build', 'run')) + depends_on('r-lmtest', type=('build', 'run')) + depends_on('r-sandwich', type=('build', 'run')) + depends_on('r-survival@2.37-5:', type=('build', 'run')) + depends_on('r-zoo', type=('build', 'run')) + depends_on('r-formula', type=('build', 'run')) -- cgit v1.2.3-70-g09d2