summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-spatstat-geom/package.py
blob: a8442dedb549a912800a8c2e0b6c19bf1568ca61 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2013-2023 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 RSpatstatGeom(RPackage):
    """Geometrical Functionality of the 'spatstat' Family.

    Defines spatial data types and supports geometrical operations on them.
    Data types include point patterns, windows (domains), pixel images, line
    segment patterns, tessellations and hyperframes. Capabilities include
    creation and manipulation of data (using command line or graphical
    interaction), plotting, geometrical operations (rotation, shift, rescale,
    affine transformation), convex hull, discretisation and pixellation,
    Dirichlet tessellation, Delaunay triangulation, pairwise distances,
    nearest-neighbour distances, distance transform, morphological operations
    (erosion, dilation, closing, opening), quadrat counting, geometrical
    measurement, geometrical covariance, colour maps, calculus on spatial
    domains, Gaussian blur, level sets of images, transects of images,
    intersections between objects, minimum distance matching. (Excludes spatial
    data on a network, which are supported by the package
    'spatstat.linnet'.)"""

    cran = "spatstat.geom"

    version("3.1-0", sha256="184a96679babcbff4897c5a471e034eb1bb7127c6cf668e8cc2c2c74bdea47fe")
    version("3.0-3", sha256="6e5b56c60e774a0cdcaa5a8ffde071225f233832446a341588bd8a7840913c84")
    version("2.4-0", sha256="32b89a409ce87ffe901e4c8720a26cac9629f9816e163c4ad68b7aa012d69e67")
    version("2.3-1", sha256="f23e58d05a6d6bfab1345951fa528a9865f2a744e162fe4456161e1b0b5172c0")

    depends_on("r@3.5.0:", type=("build", "run"))
    depends_on("r-spatstat-data@2.0-0:", type=("build", "run"))
    depends_on("r-spatstat-data@3.0:", type=("build", "run"), when="@3.0-3:")
    depends_on("r-spatstat-utils@2.2-0:", type=("build", "run"))
    depends_on("r-spatstat-utils@3.0:", type=("build", "run"), when="@3.0-3:")
    depends_on("r-spatstat-utils@3.0-2:", type=("build", "run"), when="@3.1-0:")
    depends_on("r-deldir@1.0-2:", type=("build", "run"))
    depends_on("r-polyclip@1.10-0:", type=("build", "run"))