<commit_before># Copyright 2013-2021 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 RGdalutils(RPackage):
    """gdalUtils: Wrappers for the Geospatial Data Abstraction Library"""

    homepage = "https://cloud.r-project.org/package=gdalUtils"
    url      = "https://cloud.r-project.org/src/contrib/gdalUtils_2.0.1.14.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/gdalUtils"

    version('2.0.1.14', sha256='890a502b2eb5f1b23655fab94caad5d32adca05b93f5db1d96d9dcde3f0e7737')

    depends_on('r@2.14.0:', type=('build', 'run'))
    depends_on('r-sp', type=('build', 'run'))
    depends_on('r-foreach', type=('build', 'run'))
    depends_on('r-r-utils', type=('build', 'run'))
    depends_on('r-raster', type=('build', 'run'))
    depends_on('r-rgdal', type=('build', 'run'))
    depends_on('gdal')<commit_msg>add version 2.0.3.2 to r-gdalutils (#20985)<commit_after># Copyright 2013-2021 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 RGdalutils(RPackage):
    """Wrappers for the Geospatial Data Abstraction Library (GDAL) Utilities"""

    homepage = "https://cloud.r-project.org/package=gdalUtils"
    url      = "https://cloud.r-project.org/src/contrib/gdalUtils_2.0.1.14.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/gdalUtils"

    version('2.0.3.2', sha256='4c6faabee2db8a87b7ea0f8e67e9fce3c5db7f4be353d7d86ea559507cbb2a4f')
    version('2.0.1.14', sha256='890a502b2eb5f1b23655fab94caad5d32adca05b93f5db1d96d9dcde3f0e7737')

    depends_on('r@2.14.0:', type=('build', 'run'))
    depends_on('r-sp', type=('build', 'run'))
    depends_on('r-foreach', type=('build', 'run'))
    depends_on('r-r-utils', type=('build', 'run'))
    depends_on('r-raster', type=('build', 'run'))
    depends_on('r-rgdal', type=('build', 'run'))
    depends_on('gdal')
{'fraction_non_alphanumeric': 0.1732766761095373, 'fraction_numerical': 0.07932011331444759, 'mean_word_length': 4.696236559139785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1787858', 'n_tokens_mistral': 894, 'n_tokens_neox': 830, 'n_words': 135}