{
  "_id": "6a1f1e07b401979e7341fd3f",
  "Package": "habitat",
  "Title": "An R Package for Analyzing and Comparing Habitat Changes",
  "Date": "2025-08-18",
  "Version": "1.6-13",
  "Authors@R": "c( \nperson(\"Saman\", \"Ghasemian Sorboni\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1184-1484\"), email = \"samangh.edu@gmail.com\"),\nperson(\"Mehrdad\", \"Hadipour\", role = \"aut\", comment = c(ORCID = \"0000-0001-6026-8306\")))",
  "Author": "Saman Ghasemian Sorboni [aut, cre], Mehrdad Hadipour [aut]",
  "Maintainer": "Saman Ghasemian Sorboni <samangh.edu@gmail.com>",
  "Description": "An R package for analyzing and comparing habitat and\nspecies distributions changes. Ideal for students, ecologists,\nenvironmental researchers, and conservation planners.",
  "License": "GPL-3 + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libjpeg-dev libpng-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://samanghs.r-universe.dev",
  "Date/Publication": "2026-05-16 07:35:44 UTC",
  "RemoteUrl": "https://github.com/samanghs/habitat",
  "RemoteRef": "HEAD",
  "RemoteSha": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:30:30 UTC",
    "User": "root"
  },
  "MD5sum": "2c741c7277f85c3b0bd71553268e8af1",
  "_user": "samanghs",
  "_type": "src",
  "_file": "habitat_1.6-13.tar.gz",
  "_fileid": "166e5e5bf6fd17ed3894715e98f469454ae93f2169b4c8bd85b076f7f9270036",
  "_filesize": 194906,
  "_sha256": "166e5e5bf6fd17ed3894715e98f469454ae93f2169b4c8bd85b076f7f9270036",
  "_created": "2026-05-16T08:30:30.000Z",
  "_published": "2026-06-02T18:16:39.119Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79141004749,
      "time": 258,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031989209"
    },
    {
      "job": 79141004831,
      "time": 233,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031986780"
    },
    {
      "job": 79141004738,
      "time": 198,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031980628"
    },
    {
      "job": 79141004556,
      "time": 225,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031983267"
    },
    {
      "job": 79141004224,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031962853"
    },
    {
      "job": 79141003925,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366192218"
    },
    {
      "job": 79141004903,
      "time": 242,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031987576"
    },
    {
      "job": 79141004916,
      "time": 218,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031985243"
    },
    {
      "job": 79141004416,
      "time": 216,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031985071"
    }
  ],
  "_buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/samanghs/habitat",
  "_commit": {
    "id": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
    "author": "Saman Ghasemian <samangh.edu@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Revise citation in README\n\nUpdated citation format in README.",
    "time": 1778916944
  },
  "_maintainer": {
    "name": "Saman Ghasemian Sorboni",
    "email": "samangh.edu@gmail.com",
    "login": "samanghs",
    "orcid": "0000-0002-1184-1484",
    "uuid": 189440950
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggspatial",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "sdm",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    }
  ],
  "_owner": "samanghs",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 15
    },
    {
      "week": "2025-34",
      "n": 10
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.4-2",
      "date": "2025-08-13"
    },
    {
      "name": "v1.4.-2",
      "date": "2025-08-13"
    },
    {
      "name": "v1.5-00",
      "date": "2025-08-13"
    },
    {
      "name": "v1.5-10",
      "date": "2025-08-14"
    },
    {
      "name": "v1.6-00",
      "date": "2025-08-15"
    },
    {
      "name": "v1.6-11",
      "date": "2025-08-16"
    },
    {
      "name": "v1.6-12",
      "date": "2025-08-16"
    },
    {
      "name": "v1.6-13",
      "date": "2025-08-16"
    }
  ],
  "_topics": [
    "biogeography",
    "conservation-planning",
    "ecological-modelling",
    "ecology",
    "habitat",
    "habitat-suitability",
    "raster-analysis",
    "species-distribution-modelling"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "samanghs",
      "count": 188,
      "uuid": 189440950
    }
  ],
  "_userbio": {
    "uuid": 189440950,
    "type": "user",
    "name": "Saman Ghasemian",
    "description": "Forest Science Student\r\nBackground: Environmental Science and Ecology\r\nInterests: Species Distribution Models, Spatial Ecology, Climate Change Impact assessment"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/habitat"
  },
  "_devurl": "https://github.com/samanghs/habitat",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/habitat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "frequency",
    "hb_agg_md_raster",
    "hb_an_habitat",
    "hb_analyze_changes",
    "hb_binary",
    "hb_cal_area",
    "hb_changes",
    "hb_ensemble",
    "hb_env_at_presence",
    "hb_exclude_value",
    "hb_exp_csv",
    "hb_exp_raster",
    "hb_exp_txt",
    "hb_ext_eval",
    "hb_frequency",
    "hb_load_shp",
    "hb_merge",
    "hb_modify_raster",
    "hb_modify_shp",
    "hb_multiD_raster",
    "hb_opt_th",
    "hb_plot",
    "hb_plot_changes",
    "hb_plot_timesrs",
    "hb_range",
    "hb_range_plot",
    "hb_ras_to_pol",
    "hb_reclass",
    "hb_res_check",
    "hb_sstat",
    "hb_stack_dfs",
    "hb_stack_rasters",
    "raster_to_spat",
    "spat_to_raster"
  ],
  "_help": [
    {
      "page": "frequency",
      "title": "Raster Value Frequency Table",
      "topics": [
        "frequency"
      ]
    },
    {
      "page": "hb_agg_md_raster",
      "title": "Aggregate Multidimensional Raster",
      "topics": [
        "hb_agg_md_raster"
      ]
    },
    {
      "page": "hb_an_habitat",
      "title": "Analyze Suitable Habitat",
      "topics": [
        "hb_an_habitat"
      ]
    },
    {
      "page": "hb_analyze_changes",
      "title": "Analyze Changes Using Statistical Summaries",
      "topics": [
        "hb_analyze_changes"
      ]
    },
    {
      "page": "hb_binary",
      "title": "Convert Raster to Binary Map",
      "topics": [
        "hb_binary"
      ]
    },
    {
      "page": "hb_cal_area",
      "title": "Calculate Suitable and Unsuitable Areas",
      "topics": [
        "hb_cal_area"
      ]
    },
    {
      "page": "hb_changes",
      "title": "Calculate Habitat Changes Between Two Rasters",
      "topics": [
        "hb_changes"
      ]
    },
    {
      "page": "hb_ensemble",
      "title": "Create Ensemble Map",
      "topics": [
        "hb_ensemble"
      ]
    },
    {
      "page": "hb_env_at_presence",
      "title": "Analyze environmental values at species presence",
      "topics": [
        "hb_env_at_presence"
      ]
    },
    {
      "page": "hb_exclude_value",
      "title": "Exclude Specific Value from Binarized Raster or Vector Data",
      "topics": [
        "hb_exclude_value"
      ]
    },
    {
      "page": "hb_exp_csv",
      "title": "Export Habitat Results to CSV",
      "topics": [
        "hb_exp_csv"
      ]
    },
    {
      "page": "hb_exp_raster",
      "title": "Export Raster to File",
      "topics": [
        "hb_exp_raster"
      ]
    },
    {
      "page": "hb_exp_txt",
      "title": "Export Habitat Results to TXT",
      "topics": [
        "hb_exp_txt"
      ]
    },
    {
      "page": "hb_ext_eval",
      "title": "Extract Evaluation Metrics from sdmModels Object",
      "topics": [
        "hb_ext_eval"
      ]
    },
    {
      "page": "hb_frequency",
      "title": "Raster Value Frequency Table",
      "topics": [
        "hb_frequency"
      ]
    },
    {
      "page": "hb_load_shp",
      "title": "Load and Prepare Shapefile",
      "topics": [
        "hb_load_shp"
      ]
    },
    {
      "page": "hb_merge",
      "title": "Merge Rasters",
      "topics": [
        "hb_merge"
      ]
    },
    {
      "page": "hb_modify_raster",
      "title": "Modify Raster Parameters",
      "topics": [
        "hb_modify_raster"
      ]
    },
    {
      "page": "hb_modify_shp",
      "title": "Modify Shapefile Parameters",
      "topics": [
        "hb_modify_shp"
      ]
    },
    {
      "page": "hb_multiD_raster",
      "title": "Create Multidimensional Raster Layer",
      "topics": [
        "hb_multiD_raster"
      ]
    },
    {
      "page": "hb_opt_th",
      "title": "Calculate Optimal Thresholds from Evaluation Metrics",
      "topics": [
        "hb_opt_th"
      ]
    },
    {
      "page": "hb_plot",
      "title": "Plot Habitat Map",
      "topics": [
        "hb_plot"
      ]
    },
    {
      "page": "hb_plot_changes",
      "title": "Plot Habitat Changes (terra)",
      "topics": [
        "hb_plot_changes"
      ]
    },
    {
      "page": "hb_plot_timesrs",
      "title": "Plot Time Series Data",
      "topics": [
        "hb_plot_timesrs"
      ]
    },
    {
      "page": "hb_range",
      "title": "Analyze Habitat Changes",
      "topics": [
        "hb_range"
      ]
    },
    {
      "page": "hb_range_plot",
      "title": "Plot Habitat Changes",
      "topics": [
        "hb_range_plot"
      ]
    },
    {
      "page": "hb_ras_to_pol",
      "title": "Convert Raster to Polygon",
      "topics": [
        "hb_ras_to_pol"
      ]
    },
    {
      "page": "hb_reclass",
      "title": "Reclassify Raster Values",
      "topics": [
        "hb_reclass"
      ]
    },
    {
      "page": "hb_res_check",
      "title": "Validate Raster Inputs",
      "topics": [
        "hb_res_check"
      ]
    },
    {
      "page": "hb_sstat",
      "title": "Summary Statistics for Raster Data",
      "topics": [
        "hb_sstat"
      ]
    },
    {
      "page": "hb_stack_dfs",
      "title": "Stack Data Frames",
      "topics": [
        "hb_stack_dfs"
      ]
    },
    {
      "page": "hb_stack_rasters",
      "title": "Stack Raster Layers",
      "topics": [
        "hb_stack_rasters"
      ]
    },
    {
      "page": "raster_to_spat",
      "title": "Convert RasterLayer to SpatRaster",
      "topics": [
        "raster_to_spat"
      ]
    },
    {
      "page": "spat_to_raster",
      "title": "Convert SpatRaster to RasterLayer",
      "topics": [
        "spat_to_raster"
      ]
    }
  ],
  "_readme": "https://github.com/samanghs/habitat/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "ggplot2",
    "ggspatial",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "jpeg",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rosm",
    "s2",
    "S7",
    "scales",
    "sdm",
    "sf",
    "sp",
    "stringi",
    "stringr",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_score": 2.6532125137753435,
  "_indexed": true,
  "_nocasepkg": "habitat",
  "_universes": [
    "samanghs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6-13",
      "date": "2026-05-16T08:33:08.000Z",
      "distro": "noble",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "b310f9a2fbbfcb6c8111b4b9d8ad6faa85a13eb33f2ad473640a73b4f6403864",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6-13",
      "date": "2026-05-16T08:33:04.000Z",
      "distro": "noble",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "6c8656ee5ec758fe0c844bc1d39cd93c4711a6e92764cbfdc952a9c48060aa9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6-13",
      "date": "2026-05-16T08:32:55.000Z",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "b3d5ca273e4909f3cd12f883e83144b295858cffc28b2bc2da5db8666603a13b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.6-13",
      "date": "2026-05-16T08:32:54.000Z",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "dd9b94db2d83007d811da707ea292523873a46bb65c50b590582051c27769623",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6-13",
      "date": "2026-05-16T08:32:49.000Z",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "248066b98a493fbecfe3f9dcda2e9648cada057c0d3bd0d0a4c838c3be49c17a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6-13",
      "date": "2026-05-16T08:32:09.000Z",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "072f4c56b246a29dd68ea43b19c303a3ff0231b913ef0af41848c2df47e60a17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.6-13",
      "date": "2026-05-16T08:32:03.000Z",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "672149d3a99ca26229fbfce82371e617665b10a4a3f73789c22f53e6e281b112",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6-13",
      "date": "2026-06-02T18:16:16.000Z",
      "commit": "ccda84ea838fb3c5df12ff0f17c2fe6f053fc856",
      "fileid": "fe852613373c3510d97da48760ba0d92e58d26f3d7430c279b495ad7a96bc37c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/samanghs/actions/runs/25957304003"
    }
  ]
}