add version 4.1 to r-glmnet (#21025)

This commit is contained in:
Glenn Johnson 2021-01-17 13:47:11 -06:00 committed by GitHub
parent c204b94927
commit c8e52aaa9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,9 @@
class RGlmnet(RPackage):
"""Extremely efficient procedures for fitting the entire lasso or
"""Lasso and Elastic-Net Regularized Generalized Linear Models
Extremely efficient procedures for fitting the entire lasso or
elastic-net regularization path for linear regression, logistic and
multinomial regression models, Poisson regression and the Cox model. Two
recent additions are the multiple-response Gaussian, and the grouped
@ -18,9 +20,13 @@ class RGlmnet(RPackage):
url = "https://cloud.r-project.org/src/contrib/glmnet_2.0-13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/glmnet"
version('4.1', sha256='8f0af50919f488789ecf261f6e0907f367d89fca812baa2f814054fb2d0e40cb')
version('2.0-18', sha256='e8dce9d7b8105f9cc18ba981d420de64a53b09abee219660d3612915d554256b')
version('2.0-13', sha256='f3288dcaddb2f7014d42b755bede6563f73c17bc87f8292c2ef7776cb9b9b8fd')
version('2.0-5', sha256='2ca95352c8fbd93aa7800f3d972ee6c1a5fcfeabc6be8c10deee0cb457fd77b1')
depends_on('r@3.6.0:', when='@4.1:', type=('build', 'run'))
depends_on('r-matrix@1.0-6:', type=('build', 'run'))
depends_on('r-foreach', type=('build', 'run'))
depends_on('r-shape', when='@4.1:', type=('build', 'run'))
depends_on('r-survival', when='@4.1:', type=('build', 'run'))