diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-01-31 08:54:34 -0600 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-31 09:54:34 -0500 |
commit | 0c0a1fdedc036c1a7bbd420780d48215a9488819 (patch) | |
tree | 325ebd78e2d27c3021a7328f97e6bf423932413c /var/spack/repos/builtin/packages/r-numderiv | |
parent | 19cf7a2833ba2ffcff46bd4543ed93fd80c1d8ea (diff) | |
download | spack-0c0a1fdedc036c1a7bbd420780d48215a9488819.tar.gz spack-0c0a1fdedc036c1a7bbd420780d48215a9488819.tar.bz2 spack-0c0a1fdedc036c1a7bbd420780d48215a9488819.tar.xz spack-0c0a1fdedc036c1a7bbd420780d48215a9488819.zip |
Add several new R packages (#2952)
* Add several new R packages
* Add a few more R packages
* Update more versions
* Convert Package to RPackage
* Add a few more packages
* Add missing dependencies
Diffstat (limited to 'var/spack/repos/builtin/packages/r-numderiv')
-rw-r--r-- | var/spack/repos/builtin/packages/r-numderiv/package.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-numderiv/package.py b/var/spack/repos/builtin/packages/r-numderiv/package.py new file mode 100644 index 0000000000..135c4f4141 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-numderiv/package.py @@ -0,0 +1,38 @@ +############################################################################## +# 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 RNumderiv(RPackage): + """Methods for calculating (usually) accurate numerical first and + second order derivatives.""" + + homepage = "https://cran.r-project.org/package=numDeriv" + url = "https://cran.r-project.org/src/contrib/numDeriv_2016.8-1.tar.gz" + list_url = "https://cran.r-project.org/src/contrib/Archive/numDeriv" + + version('2016.8-1', '30e486298d5126d86560095be8e8aac1') + + depends_on('r@2.11.1:') |