1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RArgparse(RPackage):
"""Command Line Optional and Positional Argument Parser.
A command line parser to be used with Rscript to write "#!" shebang scripts
that gracefully accept positional and optional arguments and automatically
generate usage."""
cran = "argparse"
version('2.1.3', sha256='aeda31a54a8d7a0a511cfbf7c5868637e129922671d43938165867437fb6a66e')
version('2.0.3', sha256='d26139c610ea0adf8d6632699cd34c4595ae3e7963bfc7a00cb3b7504f2059b0')
version('2.0.1', sha256='949843920d14fc7c162aedab331a936499541736e7dafbb103fbfd79be8147ab')
version('1.1.1', sha256='441449f0816411a868fd1b15cf4b2bc45931bbd4b67d6592dbe48875905cf93b')
depends_on('r-r6', type=('build', 'run'), when='@2.0.0:')
depends_on('r-findpython', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('python@3.2:', type=('build', 'run'))
depends_on('r-proto@1:', type=('build', 'run'), when='@1.0.0:1.9.9')
depends_on('r-getopt', type=('build', 'run'), when='@1.0.0:1.9.9')
|