diff options
author | lingnanyuan <1297162327@qq.com> | 2017-10-31 19:30:49 -0500 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-10-31 18:30:49 -0600 |
commit | 1ec8f6ea3fb2eb02caea856b6906ec1474c0db0e (patch) | |
tree | d878d55180ccd64fb37615c766c85674b126e901 | |
parent | cfb685aa32ad517713253bcb9a449bdaa9495678 (diff) | |
download | spack-1ec8f6ea3fb2eb02caea856b6906ec1474c0db0e.tar.gz spack-1ec8f6ea3fb2eb02caea856b6906ec1474c0db0e.tar.bz2 spack-1ec8f6ea3fb2eb02caea856b6906ec1474c0db0e.tar.xz spack-1ec8f6ea3fb2eb02caea856b6906ec1474c0db0e.zip |
r-nloptr: Create new package. (#6063)
-rw-r--r-- | var/spack/repos/builtin/packages/r-nloptr/package.py | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/r-nloptr/package.py b/var/spack/repos/builtin/packages/r-nloptr/package.py index 110cb8c406..e378bb7098 100644 --- a/var/spack/repos/builtin/packages/r-nloptr/package.py +++ b/var/spack/repos/builtin/packages/r-nloptr/package.py @@ -26,15 +26,19 @@ from spack import * 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 - implementations of various other algorithms. See - http://ab-initio.mit.edu/wiki/index.php/NLopt_Introduction for more - information on the available algorithms. During installation on Unix the - NLopt code is downloaded and compiled from the NLopt website.""" + """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 implementations of various other + algorithms. See http://ab-initio.mit.edu/wiki/index.php/NLopt + _Introduction for more information on the available algorithms. + During installation on Unix the NLopt code is downloaded and + compiled from the NLopt website.""" homepage = "https://cran.r-project.org/package=nloptr" - url = "https://cran.r-project.org/src/contrib/nloptr_1.0.4.tar.gz" + url = "https://cran.rstudio.com/src/contrib/nloptr_1.0.4.tar.gz" + list_url = "https://cran.rstudio.com/src/contrib/Archive/nloptr" - version('1.0.4', '9af69a613349b236fd377d0a107f484c') + version('1.0.4', 'f2775dfb4f7f5552d46937a04c062b0d') + + depends_on('r-testthat', type=('build', 'run')) |