summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rematch/package.py
blob: b4232fa1da9cc781a6a62ac31b17c2036fe108fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2018 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 RRematch(RPackage):
    """A small wrapper on 'regexpr' to extract the matches and
    captured groups from the match of a regular expression to a
    character vector."""

    homepage = "https://cran.r-project.org/package=rematch"
    url      = "https://cran.r-project.org/src/contrib/rematch_1.0.1.tar.gz"

    version('1.0.1', '5271666295e232931f21499522489dd3')

    depends_on('r-covr', type=('build', 'run'))
    depends_on('r-testthat', type=('build', 'run'))