{
  "_id": "6a105839acfb0bcc41ca32b8",
  "Type": "Package",
  "Package": "ShapePattern",
  "Title": "Tools for Analyzing Shapes and Patterns",
  "Version": "3.1.0",
  "Authors@R": "c(\nperson(\"Tarmo K.\", \"Remmel\", email = \"remmelt@yorku.ca\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-6251-876X\")),\nperson(\"Marie-Josee\", \"Fortin\", role = \"ctb\"),\nperson(\"Ferenc\", \"Csillag\", role = \"ctb\"),\nperson(\"Sandor\", \"Kabos\", role = \"ctb\"))",
  "Maintainer": "Tarmo K. Remmel <remmelt@yorku.ca>",
  "Description": "This is an evolving and growing collection of tools for\nthe quantification, assessment, and comparison of shape and\npattern. This collection provides tools for: (1) the spatial\ndecomposition of planar shapes using 'ShrinkShape' to\nincrementally shrink shapes to extinction while computing area,\nperimeter, and number of parts at each iteration of shrinking;\nthe spectra of results are returned in graphic and tabular\nformats (Remmel 2015) <doi:10.1111/cag.12222>, (2) simulating\nlandscape patterns, (3) provision of tools for estimating\ncomposition and configuration parameters from a categorical\n(binary) landscape map (grid) and then simulates a selected\nnumber of statistically similar landscapes. Class-focused\npattern metrics are computed for each simulated map to produce\nempirical distributions against which statistical comparisons\ncan be made. The code permits the analysis of single maps or\npairs of maps (Remmel and Fortin 2013)\n<doi:10.1007/s10980-013-9905-x>, (4) counting the number of\neach first-order pattern element and converting that\ninformation into both frequency and empirical probability\nvectors (Remmel 2020) <doi:10.3390/e22040420>, and (5)\ncomputing the porosity of raster patches\n<doi:10.3390/su10103413>. NOTE: This is a consolidation of\nexisting packages ('PatternClass', 'ShapePattern') to begin\nwarehousing all shape and pattern code in a common package.\nAdditional utility tools for handling data are provided and\nthis package will be added to as more tools are created,\ncleaned-up, and documented.  Note that all future developments\nwill appear in this package and that 'PatternClass' will\neventually be archived.",
  "License": "GPL-3",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-09 06:59:16 UTC",
    "User": "root"
  },
  "Author": "Tarmo K. Remmel [aut, cre]\n(<https://orcid.org/0000-0001-6251-876X>), Marie-Josee Fortin\n[ctb], Ferenc Csillag [ctb], Sandor Kabos [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-12-10 05:25:22 UTC",
  "RemoteUrl": "https://github.com/cran/ShapePattern",
  "RemoteRef": "HEAD",
  "RemoteSha": "dcb5e119688e88da407abd2fabc52ca73df671a2",
  "MD5sum": "c9fb489a64a32254a9b669d590007e50",
  "_user": "cran",
  "_type": "src",
  "_file": "ShapePattern_3.1.0.tar.gz",
  "_fileid": "b19c7c711ff65dbf629d3917f4a2ddb0e8e9a44656ebd7164bad4b107f852eed",
  "_filesize": 310898,
  "_sha256": "b19c7c711ff65dbf629d3917f4a2ddb0e8e9a44656ebd7164bad4b107f852eed",
  "_created": "2026-05-09T06:59:16.000Z",
  "_published": "2026-05-22T13:20:57.952Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77387858750,
      "time": 250,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6893827000"
    },
    {
      "job": 77387859151,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6893822295"
    },
    {
      "job": 77387858209,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6893799167"
    },
    {
      "job": 77387858002,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161516346"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25594687238",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ShapePattern",
  "_commit": {
    "id": "dcb5e119688e88da407abd2fabc52ca73df671a2",
    "author": "Tarmo K. Remmel <remmelt@yorku.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.1.0\n",
    "time": 1733808322
  },
  "_maintainer": {
    "name": "Tarmo K. Remmel",
    "email": "remmelt@yorku.ca",
    "orcid": "0000-0001-6251-876X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "sp",
      "role": "Depends"
    },
    {
      "package": "igraph",
      "role": "Depends"
    },
    {
      "package": "terra",
      "role": "Depends"
    },
    {
      "package": "landscapemetrics",
      "role": "Imports"
    },
    {
      "package": "raster",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 248,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ShapePattern"
  },
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ShapePattern.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2016-04-27"
    },
    {
      "version": "1.0.1",
      "date": "2016-10-26"
    },
    {
      "version": "2.0.2",
      "date": "2020-03-15"
    },
    {
      "version": "2.0.3",
      "date": "2020-04-02"
    },
    {
      "version": "2.0.4",
      "date": "2020-04-09"
    },
    {
      "version": "2.1.0",
      "date": "2020-04-27"
    },
    {
      "version": "2.2.0",
      "date": "2021-12-10"
    },
    {
      "version": "3.0.0",
      "date": "2023-08-07"
    },
    {
      "version": "3.0.1",
      "date": "2023-08-22"
    },
    {
      "version": "3.1.0",
      "date": "2024-12-10"
    }
  ],
  "_exports": [
    "build.lut",
    "buildsurfs",
    "CARsimu",
    "doubleplotter",
    "findcol",
    "findrow",
    "imaks",
    "KLPQ",
    "patternbits",
    "porosity",
    "singlemap",
    "singleplotter",
    "ssr",
    "surfplot",
    "wi",
    "wtest.run"
  ],
  "_datasets": [
    {
      "name": "data",
      "title": "This is a generic data environment that provides some demo data and control functionality.",
      "object": "data",
      "class": [
        "environment"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "ShapePattern-package",
      "title": "Tools for Analyzing Shapes and Patterns",
      "topics": [
        "ShapePattern-package",
        "ShapePattern"
      ]
    },
    {
      "page": "build.lut",
      "title": "Bias correction lookup table (LUT) builder based on simulations.",
      "topics": [
        "build.lut"
      ]
    },
    {
      "page": "buildsurfs",
      "title": "Build an array of surfaces across compositional and configuration analysis space.",
      "topics": [
        "buildsurfs"
      ]
    },
    {
      "page": "CARsimu",
      "title": "This function simulates an image using a FFT implementation of a Conditional Autoregressive (CAR) model.",
      "topics": [
        "CARsimu"
      ]
    },
    {
      "page": "data",
      "title": "This is a generic data environment that provides some demo data and control functionality.",
      "topics": [
        "data"
      ]
    },
    {
      "page": "doubleplotter",
      "title": "A comparison of two maps based on their empirical (null) distributions for a class-focused pattern metric",
      "topics": [
        "doubleplotter"
      ]
    },
    {
      "page": "findcol",
      "title": "An internal utility that identifies that identifies the appropriate column of the Whittle correction matrix.",
      "topics": [
        "findcol"
      ]
    },
    {
      "page": "findrow",
      "title": "An internal utility that identifies that identifies the appropriate row of the Whittle correction matrix.",
      "topics": [
        "findrow"
      ]
    },
    {
      "page": "imaks",
      "title": "Draws a matrix in the proper orientation, as it it were a raster landscape.",
      "topics": [
        "imaks"
      ]
    },
    {
      "page": "KLPQ",
      "title": "Computes and returns the Kullback-Leibler divergence between two probability distributions",
      "topics": [
        "KLPQ"
      ]
    },
    {
      "page": "patternbits",
      "title": "Decompose a binary landscape (grid) to count its pattern elements",
      "topics": [
        "patternbits"
      ]
    },
    {
      "page": "porosity",
      "title": "Compute the porosity of raster zones (patches)",
      "topics": [
        "porosity"
      ]
    },
    {
      "page": "singlemap",
      "title": "Process a single binary map",
      "topics": [
        "singlemap"
      ]
    },
    {
      "page": "singleplotter",
      "title": "Depict the empirical (null) distribution for class-focused pattern metrics.",
      "topics": [
        "singleplotter"
      ]
    },
    {
      "page": "ssr",
      "title": "Decompose a planar shape (polygon) to produce area, perimeter, and number of parts spectra",
      "topics": [
        "ssr"
      ]
    },
    {
      "page": "surfplot",
      "title": "Produce graphic plots providing class-focused pattern metric context for a landcape map",
      "topics": [
        "surfplot"
      ]
    },
    {
      "page": "wi",
      "title": "An internal utility that helps with the Whittle estimation.",
      "topics": [
        "wi"
      ]
    },
    {
      "page": "wtest.run",
      "title": "Whittle estimation for binary map",
      "topics": [
        "wtest.run"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "igraph",
    "isoband",
    "labeling",
    "landscapemetrics",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "R6",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "sp",
    "terra",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "shapepattern",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.0",
      "date": "2026-05-09T07:02:17.000Z",
      "distro": "noble",
      "commit": "dcb5e119688e88da407abd2fabc52ca73df671a2",
      "fileid": "4c4f413a1f8c960f050e51127dd886370831a6386fedde5c1854b2056ebcaee5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25594687238"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.0",
      "date": "2026-05-09T07:01:32.000Z",
      "distro": "noble",
      "commit": "dcb5e119688e88da407abd2fabc52ca73df671a2",
      "fileid": "3f317522b8d81bac7de71c716efca53a71d8926bdfe050cb2328f3edb84ca3a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25594687238"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.1.0",
      "date": "2026-05-22T13:20:33.000Z",
      "commit": "dcb5e119688e88da407abd2fabc52ca73df671a2",
      "fileid": "7c47ea916ff7337ade54a96a62cf4d359f338a5a4c5677976e6d55ed48fec9e8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25594687238"
    }
  ]
}