{
  "_id": "6a103f6eacfb0bcc41c9cd93",
  "Package": "divraster",
  "Title": "Diversity Metrics Calculations for Rasterized Data",
  "Version": "1.2.3",
  "Authors@R": "c(\nperson(\"Flávio M. M.\", \"Mota\", , \"flaviomoc@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-0308-7151\")),\nperson(\"Neander Marcel\", \"Heming\", , \"neanderh@yahoo.com.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-2461-5045\")),\nperson(\"Gabriela\", \"Alves-Ferreira\", , \"gabriela-alves77@hotmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5661-3381\"))\n)",
  "Maintainer": "Flávio M. M. Mota <flaviomoc@gmail.com>",
  "Description": "Alpha and beta diversity for taxonomic (TD), functional\n(FD), and phylogenetic (PD) dimensions based on rasters.\nSpatial and temporal beta diversity can be partitioned into\nreplacement and richness difference components. It also\ncalculates standardized effect size for FD and PD alpha\ndiversity and the average individual traits across multilayer\nrasters. The layers of the raster represent species, while the\ncells represent communities. Methods details can be found at\nCardoso et al. 2022 <https://CRAN.R-project.org/package=BAT>\nand Heming et al. 2023\n<https://CRAN.R-project.org/package=SESraster>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/flaviomoc/divraster,\nhttps://flaviomoc.github.io/divraster/",
  "BugReports": "https://github.com/flaviomoc/divraster/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibglpk-dev libgmp3-dev libicu-dev libxml2-dev libssl-dev\nlibproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://flaviomoc.r-universe.dev",
  "Date/Publication": "2026-01-11 18:43:54 UTC",
  "RemoteUrl": "https://github.com/flaviomoc/divraster",
  "RemoteRef": "HEAD",
  "RemoteSha": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 08:44:04 UTC",
    "User": "root"
  },
  "Author": "Flávio M. M. Mota [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0308-7151>),\nNeander Marcel Heming [aut] (ORCID:\n<https://orcid.org/0000-0003-2461-5045>),\nGabriela Alves-Ferreira [aut] (ORCID:\n<https://orcid.org/0000-0001-5661-3381>)",
  "MD5sum": "f28a70d2036456bb18178ba600a12d43",
  "_user": "flaviomoc",
  "_type": "src",
  "_file": "divraster_1.2.3.tar.gz",
  "_fileid": "67d8935139057cd31eef54c8c663304b2dde82bf4dce62cdc6d58b68d1f5c1d0",
  "_filesize": 2255879,
  "_sha256": "67d8935139057cd31eef54c8c663304b2dde82bf4dce62cdc6d58b68d1f5c1d0",
  "_created": "2026-05-11T08:44:04.000Z",
  "_published": "2026-05-22T11:35:10.592Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77371400039,
      "time": 274,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914106191"
    },
    {
      "job": 77371400743,
      "time": 280,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914108125"
    },
    {
      "job": 77371400778,
      "time": 271,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914090216"
    },
    {
      "job": 77371399998,
      "time": 232,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914085334"
    },
    {
      "job": 77371399768,
      "time": 313,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914017804"
    },
    {
      "job": 77371399820,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159516119"
    },
    {
      "job": 77371400912,
      "time": 584,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914205213"
    },
    {
      "job": 77371400861,
      "time": 684,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914237203"
    },
    {
      "job": 77371400610,
      "time": 208,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914085927"
    }
  ],
  "_buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/flaviomoc/divraster",
  "_commit": {
    "id": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
    "author": "Flavio Mota <flaviomoc@gmail.com>",
    "committer": "Flavio Mota <flaviomoc@gmail.com>",
    "message": "CRAN release date has been updated\n",
    "time": 1768157034
  },
  "_maintainer": {
    "name": "Flávio M. M. Mota",
    "email": "flaviomoc@gmail.com",
    "login": "flaviomoc",
    "linkedin": "in/motafmm",
    "twitter": "@fmota_eco",
    "uuid": 81574057,
    "orcid": "0000-0002-0308-7151"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BAT",
      "role": "Imports"
    },
    {
      "package": "SESraster",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "ape",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "flaviomoc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 5
    },
    {
      "week": "2025-22",
      "n": 11
    },
    {
      "week": "2025-41",
      "n": 4
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 3
    },
    {
      "week": "2025-52",
      "n": 5
    },
    {
      "week": "2026-01",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v1.2.3",
      "date": "2026-01-11"
    }
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "flaviomoc",
      "count": 152,
      "uuid": 81574057
    },
    {
      "user": "hemingnm",
      "count": 2,
      "uuid": 31964343
    }
  ],
  "_userbio": {
    "uuid": 81574057,
    "type": "user",
    "name": "Flávio Mota",
    "description": "Ph.D. in Ecology and Biodiversity Conservation. Has experience in spatial analysis and ecological niche modeling."
  },
  "_downloads": {
    "count": 247,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/divraster"
  },
  "_devurl": "https://github.com/flaviomoc/divraster",
  "_pkgdown": "https://flaviomoc.github.io/divraster/",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/divraster.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/flaviomoc/divraster",
  "_realowner": "flaviomoc",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2023-06-27"
    },
    {
      "version": "1.0.3",
      "date": "2023-08-21"
    },
    {
      "version": "1.0.4",
      "date": "2023-10-11"
    },
    {
      "version": "1.2.1",
      "date": "2025-05-27"
    },
    {
      "version": "1.2.3",
      "date": "2026-01-11"
    }
  ],
  "_exports": [
    "area.calc",
    "area.calc.flex",
    "area.interval",
    "bin2crop",
    "combine.rasters",
    "differ.rast",
    "load.data",
    "occ.avg.dist",
    "rast.by.polys",
    "spat.alpha",
    "spat.alpha2",
    "spat.beta",
    "spat.rand",
    "spat.trait",
    "suit.change",
    "temp.beta"
  ],
  "_help": [
    {
      "page": "area.calc",
      "title": "Calculate SpatRaster Layer Areas and Overlap Areas",
      "topics": [
        "area.calc"
      ]
    },
    {
      "page": "area.calc.flex",
      "title": "Flexible Area Calculation for Raster",
      "topics": [
        "area.calc.flex"
      ]
    },
    {
      "page": "area.interval",
      "title": "Calculate Area by Interval Classes for SpatRasters",
      "topics": [
        "area.interval"
      ]
    },
    {
      "page": "bin2crop",
      "title": "Crop a continuous raster by a binary (0/1) raster footprint (value == 1)",
      "topics": [
        "bin2crop"
      ]
    },
    {
      "page": "combine.rasters",
      "title": "Combine GeoTIFF rasters into a multilayer SpatRaster",
      "topics": [
        "combine.rasters"
      ]
    },
    {
      "page": "differ.rast",
      "title": "Calculate Absolute or Percentage Difference Between SpatRaster Objects",
      "topics": [
        "differ.rast"
      ]
    },
    {
      "page": "inputs_chk",
      "title": "Check if objects are valid",
      "topics": [
        "inputs_chk"
      ]
    },
    {
      "page": "load.data",
      "title": "Load data adapted from Mota et al. (2025), Şekercioğlu et al. (2025), Mota et al. (2022), Tobias et al. (2022), and Jetz et al. (2014)",
      "topics": [
        "load.data"
      ]
    },
    {
      "page": "occ.avg.dist",
      "title": "Average pairwise distance between occurrences by species",
      "topics": [
        "occ.avg.dist"
      ]
    },
    {
      "page": "rast.by.polys",
      "title": "Summarise raster values by polygons",
      "topics": [
        "rast.by.polys"
      ]
    },
    {
      "page": "spat.alpha",
      "title": "Alpha calculation for raster",
      "topics": [
        "spat.alpha"
      ]
    },
    {
      "page": "spat.alpha.vec",
      "title": "Alpha calculation for vector",
      "topics": [
        "spat.alpha.vec"
      ]
    },
    {
      "page": "spat.alpha2",
      "title": "Alternative Method to Calculate Alpha Taxonomic Diversity",
      "topics": [
        "spat.alpha2"
      ]
    },
    {
      "page": "spat.beta",
      "title": "Spatial beta diversity for raster",
      "topics": [
        "spat.beta"
      ]
    },
    {
      "page": "spat.rand",
      "title": "Standardized Effect Size (SES) for raster",
      "topics": [
        "spat.rand"
      ]
    },
    {
      "page": "spat.trait",
      "title": "Average trait calculation for raster",
      "topics": [
        "spat.trait"
      ]
    },
    {
      "page": "spat.trait.vec",
      "title": "Average trait calculation for vector",
      "topics": [
        "spat.trait.vec"
      ]
    },
    {
      "page": "suit.change",
      "title": "Species Suitability Change Between Climate Scenarios",
      "topics": [
        "suit.change"
      ]
    },
    {
      "page": "temp.beta",
      "title": "Temporal beta diversity calculation for raster",
      "topics": [
        "temp.beta"
      ]
    },
    {
      "page": "temp.beta.vec",
      "title": "Temporal beta diversity calculation for vector",
      "topics": [
        "temp.beta.vec"
      ]
    }
  ],
  "_pkglogo": "https://github.com/flaviomoc/divraster/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/flaviomoc/divraster/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ape",
    "BAT",
    "bit",
    "bit64",
    "boot",
    "caret",
    "class",
    "classInt",
    "cli",
    "clock",
    "cluster",
    "clusterGeneration",
    "coda",
    "codetools",
    "combinat",
    "cpp11",
    "crayon",
    "data.table",
    "DBI",
    "DEoptim",
    "diagram",
    "digest",
    "doParallel",
    "dplyr",
    "e1071",
    "expm",
    "farver",
    "fastcluster",
    "fastmatch",
    "FNN",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "geometry",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "hitandrun",
    "hms",
    "hypervolume",
    "igraph",
    "ipred",
    "isoband",
    "iterators",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "linprog",
    "listenv",
    "lpSolve",
    "lubridate",
    "magic",
    "magrittr",
    "maps",
    "MASS",
    "Matrix",
    "mclust",
    "mgcv",
    "mnormt",
    "ModelMetrics",
    "multicool",
    "mvtnorm",
    "nlme",
    "nls2",
    "nnet",
    "numDeriv",
    "optimParallel",
    "palmerpenguins",
    "parallelly",
    "pbapply",
    "pdist",
    "permute",
    "phangorn",
    "phytools",
    "pillar",
    "pkgconfig",
    "PlotTools",
    "plyr",
    "pracma",
    "prettyunits",
    "pROC",
    "prodlim",
    "progress",
    "progressr",
    "proto",
    "proxy",
    "purrr",
    "quadprog",
    "R6",
    "raster",
    "rbibutils",
    "rcdd",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "Rdpack",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "s2",
    "S7",
    "scales",
    "scatterplot3d",
    "SESraster",
    "sf",
    "shape",
    "sp",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "TreeTools",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "divraster-vignette.Rmd",
      "filename": "divraster-vignette.html",
      "title": "divraster-vignette",
      "author": "Flávio M. M. Mota, Neander M. Heming, and Gabriela Alves-Ferreira",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1 Introduction",
        "2 Alpha calculations",
        "2.1 Alpha examples",
        "2.1.1 Alpha TD",
        "2.1.2 Alpha FD",
        "2.1.3 Alpha PD",
        "3 Standardized effect size (SES)",
        "3.1 SES examples",
        "3.1.1 SES FD",
        "3.1.2 SES PD",
        "4 Beta diversity",
        "4.1 Beta examples",
        "4.1.1 Beta spatial TD",
        "4.1.2 Beta spatial FD",
        "4.1.3 Beta spatial PD",
        "4.1.4 Beta temporal TD",
        "4.1.5 Beta temporal FD",
        "4.1.6 Beta temporal PD",
        "5 Traits average",
        "5.1 Traits average examples",
        "6 Suitability change",
        "7 Area calculation",
        "8 Richness difference between scenarios",
        "9 Occurrence distance helper",
        "10 Raster–polygon summaries",
        "11 Cropping by binary footprint"
      ],
      "created": "2023-08-19 14:15:21",
      "modified": "2026-01-11 15:45:39",
      "commits": 8
    }
  ],
  "_score": 5.767155866082181,
  "_indexed": true,
  "_nocasepkg": "divraster",
  "_universes": [
    "flaviomoc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-05-11T08:47:08.000Z",
      "distro": "noble",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "4a1f0cfc94c33df56acc83d329b98f1c3b9d55dbbd4e99f058356b606773ae0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-05-11T08:47:14.000Z",
      "distro": "noble",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "cd397d377441b666860b86c5cfac11a9a424f287e7fada06188bdae38fb1545d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-05-11T08:46:46.000Z",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "a90d01bb18329ef852ddc6dfd361f023dcbe37cfe221de00044dd20b8e3aaf93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-05-11T08:46:37.000Z",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "5e87896293a1334a043b777150ff0c08cff39aac9675e3d8fccb650431fa922f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-05-11T08:52:03.000Z",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "e3d6a215e7205b1d4539419f06dcb43e6397becdb184527d67f7f3b23d8e864b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-05-11T08:53:47.000Z",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "d1858bdbdabc1a6dd3be9e1522a5cc2bbe253da852914fbb10c8801a77141101",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-05-11T08:45:52.000Z",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "47e4df8e2057bf2ccc4f101afdf1e5076c8af69a80d73eccfcb8a44a6900cb81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.3",
      "date": "2026-05-22T11:34:49.000Z",
      "commit": "4f8fc0a7d4f909e700fcfdeaa4bcb89cbf243e23",
      "fileid": "bf40a75d600efcc0d363606b249f683634a11f738cff0bd4332f5c8bbb543b67",
      "status": "success",
      "buildurl": "https://github.com/r-universe/flaviomoc/actions/runs/25659541704"
    }
  ]
}