summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-powerlaw/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-powerlaw/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-powerlaw/package.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/r-powerlaw/package.py b/var/spack/repos/builtin/packages/r-powerlaw/package.py
index d577b1afc1..594a5da50c 100644
--- a/var/spack/repos/builtin/packages/r-powerlaw/package.py
+++ b/var/spack/repos/builtin/packages/r-powerlaw/package.py
@@ -7,22 +7,21 @@ from spack import *
class RPowerlaw(RPackage):
- """Analysis of Heavy Tailed Distributions
+ """Analysis of Heavy Tailed Distributions.
An implementation of maximum likelihood estimators for a variety of heavy
tailed distributions, including both the discrete and continuous power law
distributions. Additionally, a goodness-of-fit based approach is used to
estimate the lower cut-off for the scaling region."""
- homepage = "https://github.com/csgillespie/poweRlaw"
- url = "https://cloud.r-project.org/src/contrib/poweRlaw_0.70.1.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/poweRlaw"
+ cran = "poweRlaw"
version('0.70.6', sha256='efc091449c5c6494c1c13c85a8eb95625d1c55ffffebe86c7ea16e4abbafa191')
version('0.70.2', sha256='240f1454389b1a00ad483fb63e5b53243cc9367f21a3e7253ab2c293673459ab')
version('0.70.1', sha256='15b1b8dadeb550c01b9f1308cfa64720be6fbf56afb80f6a096987d6a0055913')
- depends_on('r@3.1.0:', when='@:0.70.1', type=('build', 'run'))
- depends_on('r@3.4.0:', when='@0.70.2:', type=('build', 'run'))
- depends_on('r-pracma', when='@0.70.6:', type=('build', 'run'))
- depends_on('r-vgam', when='@:0.70.2', type=('build', 'run'))
+ depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('r@3.4.0:', type=('build', 'run'), when='@0.70.2:')
+ depends_on('r-pracma', type=('build', 'run'), when='@0.70.6:')
+
+ depends_on('r-vgam', type=('build', 'run'), when='@:0.70.2')