{
  "_id": "6a16b070acfb0bcc41d84da7",
  "Type": "Package",
  "Package": "shar",
  "Title": "Species-Habitat Associations",
  "Version": "2.3.1",
  "Authors@R": "c(person(\"Maximilian H.K.\", \"Hesselbarth\", email = \"mhk.hesselbarth@gmail.com\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-1125-9918\")),\nperson(\"Marco\", \"Sciaini\", email = \"marco.sciaini@posteo.net\",\nrole = \"aut\", comment = c(ORCID = \"0000-0002-3042-5435\")),\nperson(\"Chris\", \"Wudel\", email = \"chris.wudel@tu-dresden.de\",\nrole = \"aut\", comment = c(ORCID = \"0000-0003-0446-4665\")),\nperson(\"Zeke\", \"Marshall\", email = \"ee18zm@leeds.ac.uk\",\nrole = \"ctb\", comment = c(ORCID = \"0000-0001-9260-7827\")),\nperson(\"Thomas\", \"Etherington\", email = \"teth001@aucklanduni.ac.nz\",\nrole = \"ctb\", comment = c(ORCID = \"0000-0002-3187-075X\")),\nperson(\"Janosch\", \"Heinermann\", email = \"janosch.heinermann@tu-dresden.de\",\nrole = \"ctb\", comment = c(ORCID = \"0000-0001-5080-8591\"))\n)",
  "Maintainer": "Maximilian H.K. Hesselbarth <mhk.hesselbarth@gmail.com>",
  "Description": "Analyse species-habitat associations in R. Therefore,\ninformation about the location of the species (as a point\npattern) is needed together with environmental conditions (as a\ncategorical raster). To test for significance habitat\nassociations, one of the two components is randomized. Methods\nare mainly based on Plotkin et al. (2000)\n<doi:10.1006/jtbi.2000.2158> and Harms et al. (2001)\n<doi:10.1111/j.1365-2745.2001.00615.x>.",
  "License": "GPL (>= 3)",
  "URL": "https://r-spatialecology.github.io/shar/",
  "BugReports": "https://github.com/r-spatialecology/shar/issues/",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libproj-dev\nlibsqlite3-dev",
  "Repository": "https://r-spatialecology.r-universe.dev",
  "Date/Publication": "2025-02-13 07:07:07 UTC",
  "RemoteUrl": "https://github.com/r-spatialecology/shar",
  "RemoteRef": "HEAD",
  "RemoteSha": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 08:46:46 UTC",
    "User": "root"
  },
  "Author": "Maximilian H.K. Hesselbarth [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1125-9918>),\nMarco Sciaini [aut] (ORCID: <https://orcid.org/0000-0002-3042-5435>),\nChris Wudel [aut] (ORCID: <https://orcid.org/0000-0003-0446-4665>),\nZeke Marshall [ctb] (ORCID: <https://orcid.org/0000-0001-9260-7827>),\nThomas Etherington [ctb] (ORCID:\n<https://orcid.org/0000-0002-3187-075X>),\nJanosch Heinermann [ctb] (ORCID:\n<https://orcid.org/0000-0001-5080-8591>)",
  "MD5sum": "a3b153abd146e6210d266fa5e1504614",
  "_user": "r-spatialecology",
  "_type": "src",
  "_file": "shar_2.3.1.tar.gz",
  "_fileid": "18aef5e8e2c957554fa6748c1619cb771ff04b98395364ec9b66620b4666e394",
  "_filesize": 1077730,
  "_sha256": "18aef5e8e2c957554fa6748c1619cb771ff04b98395364ec9b66620b4666e394",
  "_created": "2026-05-27T08:46:46.000Z",
  "_published": "2026-05-27T08:50:56.463Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78040852891,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7236033460"
    },
    {
      "job": 78040852870,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7236029260"
    },
    {
      "job": 78040852953,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7236017948"
    },
    {
      "job": 78040852894,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7236014670"
    },
    {
      "job": 78040209181,
      "time": 218,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7235959677"
    },
    {
      "job": 78040852895,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7236005842"
    },
    {
      "job": 78040853005,
      "time": 170,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7236020793"
    },
    {
      "job": 78040852945,
      "time": 138,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7236008965"
    },
    {
      "job": 78040853044,
      "time": 164,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7236018886"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-spatialecology/shar",
  "_commit": {
    "id": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
    "author": "Maximilian Hesselbarth <mhk.hesselbarth@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "[skip-ci] Update _pkgdown.yml",
    "time": 1739430427
  },
  "_maintainer": {
    "name": "Maximilian H.K. Hesselbarth",
    "email": "mhk.hesselbarth@gmail.com",
    "login": "mhesselbarth",
    "description": "Computational Ecologist | Data Scientist | R Programmer",
    "uuid": 29225293,
    "orcid": "0000-0003-1125-9918"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "classInt",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "spatstat.explore",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "spatstat.model",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spatstat",
      "version": ">= 2.0-0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "r-spatialecology",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "habitat-association",
    "landscape-ecology",
    "point-pattern-analysis",
    "spatial-analysis"
  ],
  "_stars": 22,
  "_contributors": [
    {
      "user": "mhesselbarth",
      "count": 660,
      "uuid": 29225293
    },
    {
      "user": "zekemarshall",
      "count": 11,
      "uuid": 60969328
    },
    {
      "user": "marcosci",
      "count": 6,
      "uuid": 10864574
    },
    {
      "user": "chriswudel",
      "count": 3,
      "uuid": 66413299
    },
    {
      "user": "rubak",
      "count": 2,
      "uuid": 6704085
    },
    {
      "user": "kant",
      "count": 1,
      "uuid": 32717
    },
    {
      "user": "bisaloo",
      "count": 1,
      "uuid": 10783929
    },
    {
      "user": "tretherington",
      "count": 1,
      "uuid": 22470547
    }
  ],
  "_userbio": {
    "uuid": 42056187,
    "type": "organization",
    "name": "r-spatialecology"
  },
  "_downloads": {
    "count": 189,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shar"
  },
  "_devurl": "https://github.com/r-spatialecology/shar",
  "_pkgdown": "https://r-spatialecology.github.io/shar/",
  "_searchresults": 28,
  "_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/readme.html",
    "extra/readme.md",
    "extra/shar.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-spatialecology/shar",
  "_realowner": "r-spatialecology",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2019-01-27"
    },
    {
      "version": "0.2",
      "date": "2019-02-06"
    },
    {
      "version": "0.3",
      "date": "2019-04-08"
    },
    {
      "version": "0.3.1",
      "date": "2019-04-23"
    },
    {
      "version": "0.4",
      "date": "2019-05-27"
    },
    {
      "version": "0.5",
      "date": "2019-07-09"
    },
    {
      "version": "1.0",
      "date": "2019-08-08"
    },
    {
      "version": "1.0.1",
      "date": "2019-09-10"
    },
    {
      "version": "1.1",
      "date": "2019-11-15"
    },
    {
      "version": "1.2",
      "date": "2021-03-15"
    },
    {
      "version": "1.2.1",
      "date": "2021-05-04"
    },
    {
      "version": "1.3",
      "date": "2021-12-06"
    },
    {
      "version": "1.3.1",
      "date": "2022-01-04"
    },
    {
      "version": "1.3.2",
      "date": "2022-03-08"
    },
    {
      "version": "2.0.0",
      "date": "2022-09-21"
    },
    {
      "version": "2.0.1",
      "date": "2022-11-01"
    },
    {
      "version": "2.0.2",
      "date": "2022-11-16"
    },
    {
      "version": "2.0.3",
      "date": "2023-03-13"
    },
    {
      "version": "2.0.4",
      "date": "2023-08-29"
    },
    {
      "version": "2.1",
      "date": "2023-10-02"
    },
    {
      "version": "2.1.1",
      "date": "2023-10-23"
    },
    {
      "version": "2.2",
      "date": "2023-12-21"
    },
    {
      "version": "2.2.1",
      "date": "2024-01-09"
    },
    {
      "version": "2.3",
      "date": "2024-02-14"
    },
    {
      "version": "2.3.1",
      "date": "2025-01-10"
    }
  ],
  "_exports": [
    "calculate_energy",
    "classify_habitats",
    "fit_point_process",
    "list_to_randomized",
    "pack_randomized",
    "plot_energy",
    "randomize_raster",
    "reconstruct_pattern",
    "reconstruct_pattern_marks",
    "reconstruct_pattern_multi",
    "results_habitat_association",
    "translate_raster",
    "unpack_randomized"
  ],
  "_datasets": [
    {
      "name": "landscape",
      "title": "Example landscape (random cluster neutral landscape model).",
      "object": "landscape",
      "class": [
        "PackedSpatRaster"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "species_a",
      "title": "Species a",
      "object": "species_a",
      "class": [
        "ppp"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "species_b",
      "title": "Species b",
      "object": "species_b",
      "class": [
        "ppp"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "calculate_energy",
      "title": "calculate_energy",
      "topics": [
        "calculate_energy"
      ]
    },
    {
      "page": "classify_habitats",
      "title": "classify_habitats",
      "topics": [
        "classify_habitats"
      ]
    },
    {
      "page": "fit_point_process",
      "title": "fit_point_process",
      "topics": [
        "fit_point_process"
      ]
    },
    {
      "page": "landscape",
      "title": "Example landscape (random cluster neutral landscape model).",
      "topics": [
        "landscape"
      ]
    },
    {
      "page": "list_to_randomized",
      "title": "list_to_randomized",
      "topics": [
        "list_to_randomized"
      ]
    },
    {
      "page": "pack_randomized",
      "title": "pack_randomized",
      "topics": [
        "pack_randomized"
      ]
    },
    {
      "page": "plot_energy",
      "title": "plot_energy",
      "topics": [
        "plot_energy"
      ]
    },
    {
      "page": "plot.rd_mar",
      "title": "plot.rd_mar",
      "topics": [
        "plot.rd_mar"
      ]
    },
    {
      "page": "plot.rd_multi",
      "title": "plot.rd_multi",
      "topics": [
        "plot.rd_multi"
      ]
    },
    {
      "page": "plot.rd_pat",
      "title": "plot.rd_pat",
      "topics": [
        "plot.rd_pat"
      ]
    },
    {
      "page": "plot.rd_ras",
      "title": "plot.rd_ras",
      "topics": [
        "plot.rd_ras"
      ]
    },
    {
      "page": "print.rd_mar",
      "title": "print.rd_mar",
      "topics": [
        "print.rd_mar"
      ]
    },
    {
      "page": "print.rd_pat",
      "title": "print.rd_pat",
      "topics": [
        "print.rd_pat"
      ]
    },
    {
      "page": "print.rd_ras",
      "title": "print.rd_ras",
      "topics": [
        "print.rd_ras"
      ]
    },
    {
      "page": "randomize_raster",
      "title": "randomize_raster",
      "topics": [
        "randomize_raster"
      ]
    },
    {
      "page": "reconstruct_pattern",
      "title": "reconstruct_pattern",
      "topics": [
        "reconstruct_pattern"
      ]
    },
    {
      "page": "reconstruct_pattern_marks",
      "title": "reconstruct_pattern_marks",
      "topics": [
        "reconstruct_pattern_marks"
      ]
    },
    {
      "page": "reconstruct_pattern_multi",
      "title": "reconstruct_pattern_multi",
      "topics": [
        "reconstruct_pattern_multi"
      ]
    },
    {
      "page": "results_habitat_association",
      "title": "results_habitat_association",
      "topics": [
        "results_habitat_association"
      ]
    },
    {
      "page": "species_a",
      "title": "Species a",
      "topics": [
        "species_a"
      ]
    },
    {
      "page": "species_b",
      "title": "Species b",
      "topics": [
        "species_b"
      ]
    },
    {
      "page": "translate_raster",
      "title": "translate_raster",
      "topics": [
        "translate_raster"
      ]
    },
    {
      "page": "unpack_randomized",
      "title": "unpack_randomized",
      "topics": [
        "unpack_randomized"
      ]
    }
  ],
  "_pkglogo": "https://github.com/r-spatialecology/shar/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/r-spatialecology/shar/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "deldir",
    "e1071",
    "goftest",
    "KernSmooth",
    "lattice",
    "MASS",
    "Matrix",
    "mgcv",
    "nlme",
    "polyclip",
    "proxy",
    "Rcpp",
    "rpart",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.model",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "tensor",
    "terra"
  ],
  "_vignettes": [
    {
      "source": "get_started.Rmd",
      "filename": "get_started.html",
      "title": "Get started",
      "author": "Maximilian H.K. Hesselbarth",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Design",
        "Data",
        "Preprocessing of input data",
        "Randomize environmental data",
        "Randomize location data",
        "Analyse results",
        "Utility functions",
        "Citation",
        "References"
      ],
      "created": "2019-03-27 08:35:23",
      "modified": "2023-12-15 09:48:59",
      "commits": 23
    }
  ],
  "_score": 6.333648756514701,
  "_indexed": true,
  "_nocasepkg": "shar",
  "_universes": [
    "r-spatialecology",
    "mhesselbarth"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-05-27T08:49:13.000Z",
      "distro": "noble",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "512432f82513db1627d54d44232708c1136768058141f2df5d689f627e35ff44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.1",
      "date": "2026-05-27T08:49:07.000Z",
      "distro": "noble",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "312f66740e8fe8a8c132bcc469788eb2ed95dd2a1277ad2694ab7db72db2348d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-05-27T08:48:33.000Z",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "5c76c697829e1f5f41235a1eb4d1d6cfb38db44802c8c31c031030a39fb591b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.1",
      "date": "2026-05-27T08:48:38.000Z",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "dda4304544c14a386746bea884d0b5aba94a748ff96457192fe71fc72537b7a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.1",
      "date": "2026-05-27T08:49:15.000Z",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "d879e31b7edbbe68eb31af730ae066a19697e2c5a6c3d51e11480dcf29050e88",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-05-27T08:48:26.000Z",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "52012f1e7a8116be405e582c43fc0484f85d4ff057e8b076ea0abe8d8cefeb73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-05-27T08:48:11.000Z",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "a3e0aecd6c7a8d53dd58f4988f00c71d03c82b4565f1feb2c241afa476f3cecb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3.1",
      "date": "2026-05-27T08:48:26.000Z",
      "commit": "114d9f3db4f37eb5b00b6ab39d5028db9dbf79c8",
      "fileid": "693b06187668d7931abf85f5461a9ba2d4acff45ca0f3ad2f99cfa9a2fa33882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatialecology/actions/runs/26500719993"
    }
  ]
}