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 @@ 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'))