From fafd240c30a0b3351a49f5ea410e23ce9ab794d4 Mon Sep 17 00:00:00 2001 From: lingnanyuan <1297162327@qq.com> Date: Mon, 25 Sep 2017 17:39:41 -0500 Subject: [PATCH] r-glmnet: update version. (#5470) * r-glmnet: Create New Package. * pr-quantities: add version & py-numpy conflict (#5307) * r-glmnet: Update version to 2.0-13 * r-matrix: Update version to 1.2-11 * r-lattice: Update version to 0.20-35. --- var/spack/repos/builtin/packages/r-glmnet/package.py | 7 ++++--- var/spack/repos/builtin/packages/r-lattice/package.py | 4 +++- var/spack/repos/builtin/packages/r-matrix/package.py | 5 +++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-glmnet/package.py b/var/spack/repos/builtin/packages/r-glmnet/package.py index f7ab38d026..b58573907c 100644 --- a/var/spack/repos/builtin/packages/r-glmnet/package.py +++ b/var/spack/repos/builtin/packages/r-glmnet/package.py @@ -33,9 +33,10 @@ class RGlmnet(RPackage): multinomial. The algorithm uses cyclical coordinate descent in a path-wise fashion, as described in the paper linked to via the URL below.""" - homepage = "http://www.jstatsoft.org/v33/i01/" - url = "https://cran.r-project.org/src/contrib/glmnet_2.0-5.tar.gz" - + homepage = "https://cran.rstudio.com/web/packages/glmnet/index.html" + url = "https://cran.rstudio.com/src/contrib/glmnet_2.0-13.tar.gz" + list_url = homepage + version('2.0-13', '1dd5636388df5c3a29207d0bf1253343') version('2.0-5', '049b18caa29529614cd684db3beaec2a') depends_on('r-matrix', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/r-lattice/package.py b/var/spack/repos/builtin/packages/r-lattice/package.py index 6c1532ee53..cdc3f99079 100644 --- a/var/spack/repos/builtin/packages/r-lattice/package.py +++ b/var/spack/repos/builtin/packages/r-lattice/package.py @@ -32,6 +32,8 @@ class RLattice(RPackage): handle most nonstandard requirements. See ?Lattice for an introduction.""" homepage = "http://lattice.r-forge.r-project.org/" - url = "https://cran.r-project.org/src/contrib/lattice_0.20-34.tar.gz" + url = "https://cran.rstudio.com/src/contrib/lattice_0.20-35.tar.gz" + list_url = homepage + version('0.20-35', '07f1814623b3da6278ca61554ff7bfe6') version('0.20-34', 'c2a648b22d4206ae7526fb70b8e90fed') diff --git a/var/spack/repos/builtin/packages/r-matrix/package.py b/var/spack/repos/builtin/packages/r-matrix/package.py index e6014d5102..95152f5906 100644 --- a/var/spack/repos/builtin/packages/r-matrix/package.py +++ b/var/spack/repos/builtin/packages/r-matrix/package.py @@ -30,8 +30,9 @@ class RMatrix(RPackage): using 'LAPACK' and 'SuiteSparse'.""" homepage = "http://matrix.r-forge.r-project.org/" - url = "https://cran.r-project.org/src/contrib/Matrix_1.2-8.tar.gz" - + url = "https://cran.rstudio.com/src/contrib/Matrix_1.2-11.tar.gz" + list_url = homepage + version('1.2-11', 'a8c1a893f36d7ea918ddbf8cb8d10b43') version('1.2-8', '4a6406666bf97d3ec6b698eea5d9c0f5') version('1.2-6', 'f545307fb1284861e9266c4e9712c55e')