summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-11-03 18:05:28 +0100
committerGitHub <noreply@github.com>2021-11-03 12:05:28 -0500
commit09eb79b57168cdf756ca6ca9bd4dfedf00122320 (patch)
treee9ed70f9f2f664508573a7c23618e0763ec45e7f /var
parent346f3652c6feb8349b95473e209eaa5f0e6f081b (diff)
downloadspack-09eb79b57168cdf756ca6ca9bd4dfedf00122320.tar.gz
spack-09eb79b57168cdf756ca6ca9bd4dfedf00122320.tar.bz2
spack-09eb79b57168cdf756ca6ca9bd4dfedf00122320.tar.xz
spack-09eb79b57168cdf756ca6ca9bd4dfedf00122320.zip
r-reprex: add 2.0.1 (#27174)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-reprex/package.py38
1 files changed, 26 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/r-reprex/package.py b/var/spack/repos/builtin/packages/r-reprex/package.py
index 91467dc258..f3ed5cded4 100644
--- a/var/spack/repos/builtin/packages/r-reprex/package.py
+++ b/var/spack/repos/builtin/packages/r-reprex/package.py
@@ -7,18 +7,20 @@ from spack import *
class RReprex(RPackage):
- """Convenience wrapper that uses the 'rmarkdown' package to render small
- snippets of code to target formats that include both code and output.
- The goal is to encourage the sharing of small, reproducible, and
- runnable examples on code-oriented websites, such as
- <https://stackoverflow.com/> and <https://github.com>, or in email.
- 'reprex' also extracts clean, runnable R code from various common
- formats, such as copy/paste from an R session."""
+ """Prepare Reproducible Example Code via the Clipboard.
+
+ Convenience wrapper that uses the 'rmarkdown' package to render small
+ snippets of code to target formats that include both code and output.
+ The goal is to encourage the sharing of small, reproducible, and
+ runnable examples on code-oriented websites, such as
+ <https://stackoverflow.com/> and <https://github.com>, or in email.
+ 'reprex' also extracts clean, runnable R code from various common
+ formats, such as copy/paste from an R session."""
homepage = "https://github.com/jennybc/reprex"
- url = "https://cloud.r-project.org/src/contrib/reprex_0.1.1.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/reprex"
+ cran = "reprex"
+ version('2.0.1', sha256='0e6d8667cacb63135476a766fba3a4f91e5ad86274ea66d2b1e6d773b5ca6426')
version('0.3.0', sha256='203c2ae6343f6ff887e7a5a3f5d20bae465f6e8d9745c982479f5385f4effb6c')
version('0.2.1', sha256='5d234ddfbcadc5a5194a58eb88973c51581e7e2e231f146974af8f42747b45f3')
version('0.1.1', sha256='919ae93039b2d8fb8eace98da9376c031d734d9e75c237efb24d047f35b5ba4b')
@@ -26,12 +28,24 @@ class RReprex(RPackage):
depends_on('r+X', type=('build', 'run'))
depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r@3.1:', when='@0.2.0:', type=('build', 'run'))
+ depends_on('r@3.3:', when='@1:', type=('build', 'run'))
depends_on('r-callr@2.0.0:', type=('build', 'run'))
+ depends_on('r-callr@3.3.1:', when='@1:', type=('build', 'run'))
+ depends_on('r-callr@3.6.0:', when='@2:', type=('build', 'run'))
+ depends_on('r-cli', when='@1:', type=('build', 'run'))
+ depends_on('r-cli@2.3.1:', when='@2:', type=('build', 'run'))
depends_on('r-clipr@0.4.0:', type=('build', 'run'))
+ depends_on('r-fs', when='@0.2.1:', type=('build', 'run'))
+ depends_on('r-glue', when='@1:', type=('build', 'run'))
depends_on('r-knitr', when='@:0.1.9', type=('build', 'run'))
- depends_on('r-rmarkdown', type=('build', 'run'))
- depends_on('r-whisker', type=('build', 'run'))
+ depends_on('r-knitr@1.23:', when='@1:', type=('build', 'run'))
depends_on('r-rlang', when='@0.2.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.0:', when='@1:', type=('build', 'run'))
+ depends_on('r-rmarkdown', type=('build', 'run'))
+ depends_on('r-rstudioapi', when='@2:', type=('build', 'run'))
depends_on('r-withr', when='@0.2.0:', type=('build', 'run'))
- depends_on('r-fs', when='@0.2.1:', type=('build', 'run'))
+ depends_on('r-withr@2.3.0:', when='@1:', type=('build', 'run'))
depends_on('pandoc@1.12.3:')
+ depends_on('pandoc@2:', when='@2:')
+
+ depends_on('r-whisker', when='@:0', type=('build', 'run'))