summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-fitdistrplus/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-fitdistrplus/package.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/r-fitdistrplus/package.py b/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
index 2e2393e1df..5d21466bb4 100644
--- a/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
+++ b/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
@@ -7,7 +7,8 @@ from spack import *
class RFitdistrplus(RPackage):
- """Help to Fit of a Parametric Distribution to Non-Censored or Censored Data
+ """Help to Fit of a Parametric Distribution to Non-Censored or Censored
+ Data.
Extends the fitdistr() function (of the MASS package) with several
functions to help the fit of a parametric distribution to non-censored or
@@ -19,14 +20,15 @@ class RFitdistrplus(RPackage):
versions of MLE, MME and QME are available. See e.g. Casella & Berger
(2002). Statistical inference. Pacific Grove."""
- homepage = "https://lbbe.univ-lyon1.fr/fitdistrplus.html"
- url = "https://cloud.r-project.org/src/contrib/fitdistrplus_1.0-14.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/fitdistrplus"
+ cran = "fitdistrplus"
+ version('1.1-6', sha256='17c2990041a3bb7479f3c3a6d13d96c989db8eaddab17eff7e1fbe172a5b96be')
version('1.1-3', sha256='776d5456e14398e44b78b3d7db526559bb7a3537e546a29c88aa192141c756de')
version('1.0-14', sha256='85082590f62aa08d99048ea3414c5cc1e5b780d97b3779d2397c6cb435470083')
depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', type=('build', 'run'), when='@1.1-6:')
depends_on('r-mass', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
- depends_on('r-npsurv', when='@:1.0-14', type=('build', 'run'))
+
+ depends_on('r-npsurv', type=('build', 'run'), when='@:1.0-14')