blob: 0f04b08db939c78ae1cedcea0b2672ff6e569065 (
plain) (
blame)
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
|
# 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.package import *
class RWk(RPackage):
"""Lightweight Well-Known Geometry Parsing.
Provides a minimal R and C++ API for parsing well-known binary and
well-known text representation of geometries to and from R-native formats.
Well-known binary is compact and fast to parse; well-known text is
human-readable and is useful for writing tests. These formats are only
useful in R if the information they contain can be accessed in R, for which
high-performance functions are provided here."""
cran = "wk"
version("0.7.0", sha256="e24327d38f2ff2d502c67c60eba3b4e44079a64ed8b805df64f231dc4712a2de")
version("0.6.0", sha256="af2c2837056a6dcc9f64d5ace29601d6d668c95769f855ca0329648d7326eaf5")
version("0.4.1", sha256="daa7351af0bd657740972016906c686f335b8fa922ba10250e5000ddc2bb8950")
depends_on("r@2.10:", type=("build", "run"), when="@0.7.0:")
depends_on("r-cpp11", type=("build", "run"))
depends_on("r-cpp11", when="@:0.6.0")
|