r-knitr : dependencies and version updated (#16579)

* r-knitr : dependencies and version updated

* Adding version conditions for dependencies
This commit is contained in:
Amjad Kotobi 2020-05-12 18:35:41 +02:00 committed by GitHub
parent 278f8eb7fe
commit 7c327ed447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ class RKnitr(RPackage):
url = "https://cloud.r-project.org/src/contrib/knitr_1.14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/knitr"
version('1.28', sha256='05ee01da31d715bf24793efb3e4ef3bb3101ef1e1ab2d760c645fc5b9d40232a')
version('1.24', sha256='e80c2043b445a7e576b62ae8510cce89322660fe388881d799a706d35cd27b89')
version('1.23', sha256='063bfb3300fc9f3e7d223c346e19b93beced0e6784470b9bef2524868a206a99')
version('1.17', sha256='9484a2b2c7b0c2aae24ab7f4eec6db48affbceb0e42bd3d69e34d953fe92f401')
@ -25,8 +26,8 @@ class RKnitr(RPackage):
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-evaluate@0.10:', type=('build', 'run'))
depends_on('r-digest@:1.17', type=('build', 'run'))
depends_on('r-formatr@:1.14', type=('build', 'run'))
depends_on('r-digest@:1.17', when='@:1.24', type=('build', 'run'))
depends_on('r-formatr@:1.14', when='@:1.24', type=('build', 'run'))
depends_on('r-highr', type=('build', 'run'))
depends_on('r-stringr@0.6:', type=('build', 'run'))
depends_on('r-markdown', type=('build', 'run'))