summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-knitr/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-knitr/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-knitr/package.py32
1 files changed, 18 insertions, 14 deletions
diff --git a/var/spack/repos/builtin/packages/r-knitr/package.py b/var/spack/repos/builtin/packages/r-knitr/package.py
index 3223ece22d..2785669885 100644
--- a/var/spack/repos/builtin/packages/r-knitr/package.py
+++ b/var/spack/repos/builtin/packages/r-knitr/package.py
@@ -8,14 +8,14 @@ from spack import *
class RKnitr(RPackage):
- """A General-Purpose Package for Dynamic Report Generation in R
+ """A General-Purpose Package for Dynamic Report Generation in R.
Provides a general-purpose tool for dynamic report generation in R using
Literate Programming techniques."""
- homepage = "https://yihui.org/knitr/"
- cran = "knitr"
+ cran = "knitr"
+ version('1.37', sha256='39cd2a4848baebbe7fa0c0ab8200179690fb5b9190f0c1688d987c38363ad763')
version('1.33', sha256='2f83332b0a880de6eae522271bda7f862c97693fba45c23ab1f772028f6c0909')
version('1.30', sha256='3aabb13566a234131ba18b78d690104f9468a982dc711f81344a985318c7c93e')
version('1.28', sha256='05ee01da31d715bf24793efb3e4ef3bb3101ef1e1ab2d760c645fc5b9d40232a')
@@ -24,18 +24,22 @@ class RKnitr(RPackage):
version('1.17', sha256='9484a2b2c7b0c2aae24ab7f4eec6db48affbceb0e42bd3d69e34d953fe92f401')
version('1.14', sha256='ba6d301482d020a911390d5eff181e1771f0e02ac3f3d9853a9724b1ec041aec')
- depends_on('r@2.14.1:', when='@:1.9', type=('build', 'run'))
- depends_on('r@3.0.2:', when='@1.10:1.14', type=('build', 'run'))
- depends_on('r@3.1.0:', when='@1.15:1.22', type=('build', 'run'))
- depends_on('r@3.2.3:', when='@1.23:', type=('build', 'run'))
+ depends_on('r@2.14.1:', type=('build', 'run'), when='@:1.9')
+ depends_on('r@3.0.2:', type=('build', 'run'), when='@1.10:1.14')
+ depends_on('r@3.1.0:', type=('build', 'run'), when='@1.15:1.22')
+ depends_on('r@3.2.3:', type=('build', 'run'), when='@1.23:')
depends_on('r-evaluate@0.10:', type=('build', 'run'))
depends_on('r-highr', type=('build', 'run'))
- depends_on('r-markdown', type=('build', 'run'))
depends_on('r-stringr@0.6:', type=('build', 'run'))
depends_on('r-yaml@2.1.19:', type=('build', 'run'))
- depends_on('r-xfun', when='@1.23:', type=('build', 'run'))
- depends_on('r-xfun@0.15:', when='@1.30', type=('build', 'run'))
- depends_on('r-xfun@0.19:', when='@1.31', type=('build', 'run'))
- depends_on('r-xfun@0.21:', when='@1.32:', type=('build', 'run'))
- depends_on('r-digest', when='@:1.17', type=('build', 'run'))
- depends_on('r-formatr', when='@:1.14', type=('build', 'run'))
+ depends_on('r-xfun', type=('build', 'run'), when='@1.23:')
+ depends_on('r-xfun@0.15:', type=('build', 'run'), when='@1.30')
+ depends_on('r-xfun@0.19:', type=('build', 'run'), when='@1.31')
+ depends_on('r-xfun@0.21:', type=('build', 'run'), when='@1.32:')
+ depends_on('r-xfun@0.27:', type=('build', 'run'), when='@1.37:')
+ depends_on('pandoc', type='build')
+ depends_on('py-rst2pdf', type=('build', 'run'))
+
+ depends_on('r-digest', type=('build', 'run'), when='@:1.17')
+ depends_on('r-formatr', type=('build', 'run'), when='@:1.14')
+ depends_on('r-markdown', type=('build', 'run'), when='@:1.33')