{
  "_id": "6a18858eacfb0bcc41dc3b2d",
  "Package": "phylospatial",
  "Title": "Spatial Phylogenetic Analysis",
  "Version": "1.4.0.9000",
  "Authors@R": "person(\"Matthew\", \"Kling\", , \"mattkling@berkeley.edu\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-9073-4240\"))",
  "Description": "Analyze spatial phylogenetic diversity patterns. Use your\ndata on an evolutionary tree and geographic distributions of\nthe terminal taxa to compute diversity and endemism metrics,\ntest significance with null model randomization, analyze\ncommunity turnover and biotic regionalization, and perform\nspatial conservation prioritizations. All functions support\nquantitative community data in addition to binary data.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://matthewkling.github.io/phylospatial/,\nhttps://github.com/matthewkling/phylospatial",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "BugReports": "https://github.com/matthewkling/phylospatial/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://matthewkling.r-universe.dev",
  "Date/Publication": "2026-05-28 17:49:56 UTC",
  "RemoteUrl": "https://github.com/matthewkling/phylospatial",
  "RemoteRef": "HEAD",
  "RemoteSha": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 18:07:44 UTC",
    "User": "root"
  },
  "Author": "Matthew Kling [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-9073-4240>)",
  "Maintainer": "Matthew Kling <mattkling@berkeley.edu>",
  "MD5sum": "7b0d6594b044ab7352e8642d9ed0e690",
  "_user": "matthewkling",
  "_type": "src",
  "_file": "phylospatial_1.4.0.9000.tar.gz",
  "_fileid": "b498f0fc88d630b8c64e0426182a5af6496f3057f2bbff5bc1a0a02dcb7719dd",
  "_filesize": 2768254,
  "_sha256": "b498f0fc88d630b8c64e0426182a5af6496f3057f2bbff5bc1a0a02dcb7719dd",
  "_created": "2026-05-28T18:07:44.000Z",
  "_published": "2026-05-28T18:12:30.132Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78356798348,
      "time": 222,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7273741529"
    },
    {
      "job": 78356798442,
      "time": 246,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7273750566"
    },
    {
      "job": 78356798344,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7273743500"
    },
    {
      "job": 78356798391,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7273710943"
    },
    {
      "job": 78356057674,
      "time": 238,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7273658677"
    },
    {
      "job": 78356798275,
      "time": 199,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7273732665"
    },
    {
      "job": 78356798282,
      "time": 191,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7273731036"
    },
    {
      "job": 78356798553,
      "time": 169,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7273722948"
    },
    {
      "job": 78356798296,
      "time": 187,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7273729490"
    }
  ],
  "_buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/matthewkling/phylospatial",
  "_commit": {
    "id": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
    "author": "Matthew Kling <mattkling@gmail.com>",
    "committer": "Matthew Kling <mattkling@gmail.com>",
    "message": "Fix flawed branch scaling tests\n",
    "time": 1779990596
  },
  "_maintainer": {
    "name": "Matthew Kling",
    "email": "mattkling@berkeley.edu",
    "login": "matthewkling",
    "description": "Macroecologist and conservation biogeographer.",
    "uuid": 3752758,
    "orcid": "0000-0001-9073-4240"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vegan",
      "role": "Imports"
    },
    {
      "package": "canaper",
      "role": "Suggests"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "betapart",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tmap",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "hillR",
      "role": "Suggests"
    },
    {
      "package": "picante",
      "role": "Suggests"
    },
    {
      "package": "phytools",
      "role": "Suggests"
    },
    {
      "package": "nullcat",
      "version": ">= 0.2.0",
      "role": "Suggests"
    },
    {
      "package": "parallelDist",
      "role": "Suggests"
    }
  ],
  "_owner": "matthewkling",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 4
    },
    {
      "week": "2025-51",
      "n": 11
    },
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 9
    },
    {
      "week": "2026-15",
      "n": 7
    },
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2025-12-18"
    },
    {
      "name": "v1.3.0",
      "date": "2026-04-03"
    },
    {
      "name": "v1.4.0",
      "date": "2026-04-10"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "matthewkling",
      "count": 116,
      "uuid": 3752758
    }
  ],
  "_userbio": {
    "uuid": 3752758,
    "type": "user",
    "name": "Matthew Kling",
    "description": "Macroecologist and conservation biogeographer."
  },
  "_downloads": {
    "count": 580,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phylospatial"
  },
  "_devurl": "https://github.com/matthewkling/phylospatial",
  "_pkgdown": "https://matthewkling.github.io/phylospatial/",
  "_searchresults": 10,
  "_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/phylospatial.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/matthewkling/phylospatial",
  "_realowner": "matthewkling",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-01-24"
    },
    {
      "version": "1.1.0",
      "date": "2025-04-09"
    },
    {
      "version": "1.1.1",
      "date": "2025-05-02"
    },
    {
      "version": "1.2.0",
      "date": "2025-12-20"
    },
    {
      "version": "1.2.1",
      "date": "2025-12-24"
    },
    {
      "version": "1.3.0",
      "date": "2026-04-03"
    },
    {
      "version": "1.4.0",
      "date": "2026-04-16"
    }
  ],
  "_exports": [
    "benefit",
    "clade_dist",
    "delta_tree",
    "moss",
    "phylospatial",
    "plot_lambda",
    "ps_add_dissim",
    "ps_canape",
    "ps_canaper",
    "ps_dissim",
    "ps_diversity",
    "ps_expand",
    "ps_geodist",
    "ps_get_comm",
    "ps_grid",
    "ps_ordinate",
    "ps_prioritize",
    "ps_quantize",
    "ps_rand",
    "ps_regions",
    "ps_regions_eval",
    "ps_rgb",
    "ps_simulate",
    "ps_suggest_n_iter",
    "ps_trace",
    "quantize",
    "rescale_tree",
    "slice_tree",
    "to_spatial",
    "uniform_tree"
  ],
  "_help": [
    {
      "page": "benefit",
      "title": "Calculate taxon conservation benefit",
      "topics": [
        "benefit"
      ]
    },
    {
      "page": "clade_dist",
      "title": "Pairwise distances among clades or nodes",
      "topics": [
        "clade_dist"
      ]
    },
    {
      "page": "moss",
      "title": "Load California moss spatial phylogenetic data",
      "topics": [
        "moss"
      ]
    },
    {
      "page": "phylospatial",
      "title": "Create a spatial phylogenetic object",
      "topics": [
        "phylospatial"
      ]
    },
    {
      "page": "plot_lambda",
      "title": "Plot alternative lambda values",
      "topics": [
        "plot_lambda"
      ]
    },
    {
      "page": "plot.phylospatial",
      "title": "Plot a 'phylospatial' object",
      "topics": [
        "plot.phylospatial"
      ]
    },
    {
      "page": "ps_add_dissim",
      "title": "Add community dissimilarity data to a 'phylospatial' object",
      "topics": [
        "ps_add_dissim"
      ]
    },
    {
      "page": "ps_canape",
      "title": "Categorical Analysis of Neo- and Paleo-Endemism (CANAPE)",
      "topics": [
        "ps_canape"
      ]
    },
    {
      "page": "ps_canaper",
      "title": "Binary randomization tests including CANAPE",
      "topics": [
        "ps_canaper"
      ]
    },
    {
      "page": "ps_dissim",
      "title": "Quantitative phylogenetic dissimilarity",
      "topics": [
        "ps_dissim"
      ]
    },
    {
      "page": "ps_diversity",
      "title": "Calculate spatial phylogenetic diversity and endemism metrics",
      "topics": [
        "ps_diversity"
      ]
    },
    {
      "page": "ps_expand",
      "title": "Expand occupied-only results to full spatial extent",
      "topics": [
        "ps_expand"
      ]
    },
    {
      "page": "ps_geodist",
      "title": "Geographic distance between sites",
      "topics": [
        "ps_geodist"
      ]
    },
    {
      "page": "ps_get_comm",
      "title": "Get 'phylospatial' community data",
      "topics": [
        "ps_get_comm"
      ]
    },
    {
      "page": "ps_grid",
      "title": "Convert occurrence point data to a gridded community data set",
      "topics": [
        "ps_grid"
      ]
    },
    {
      "page": "ps_ordinate",
      "title": "Community phylogenetic ordination",
      "topics": [
        "ps_ordinate"
      ]
    },
    {
      "page": "ps_prioritize",
      "title": "Phylogenetic conservation prioritization",
      "topics": [
        "ps_prioritize"
      ]
    },
    {
      "page": "ps_quantize",
      "title": "Stratified randomization of a phylospatial object",
      "topics": [
        "ps_quantize"
      ]
    },
    {
      "page": "ps_rand",
      "title": "Null model randomization analysis of alpha diversity metrics",
      "topics": [
        "ps_rand"
      ]
    },
    {
      "page": "ps_regions",
      "title": "Cluster analysis to identify phylogenetic regions",
      "topics": [
        "ps_regions"
      ]
    },
    {
      "page": "ps_regions_eval",
      "title": "Evaluate region numbers",
      "topics": [
        "ps_regions_eval"
      ]
    },
    {
      "page": "ps_rgb",
      "title": "Map phylospatial data onto RGB color bands",
      "topics": [
        "ps_rgb"
      ]
    },
    {
      "page": "ps_simulate",
      "title": "Simulate a toy spatial phylogenetic data set",
      "topics": [
        "ps_simulate"
      ]
    },
    {
      "page": "ps_suggest_n_iter",
      "title": "Suggest number of iterations for null model convergence",
      "topics": [
        "ps_suggest_n_iter"
      ]
    },
    {
      "page": "ps_trace",
      "title": "Trace diagnostics for null model mixing",
      "topics": [
        "ps_trace"
      ]
    },
    {
      "page": "quantize",
      "title": "Stratified randomization of community matrix",
      "topics": [
        "quantize"
      ]
    },
    {
      "page": "to_spatial",
      "title": "Convert a site-by-variable matrix into a SpatRaster or sf object",
      "topics": [
        "to_spatial"
      ]
    },
    {
      "page": "tree_scaling",
      "title": "Scale branch lengths on a phylogenetic tree",
      "topics": [
        "delta_tree",
        "rescale_tree",
        "slice_tree",
        "tree_scaling",
        "uniform_tree"
      ]
    }
  ],
  "_pkglogo": "https://github.com/matthewkling/phylospatial/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/matthewkling/phylospatial/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "class",
    "classInt",
    "cluster",
    "DBI",
    "digest",
    "e1071",
    "KernSmooth",
    "lattice",
    "MASS",
    "Matrix",
    "mgcv",
    "nlme",
    "permute",
    "proxy",
    "Rcpp",
    "s2",
    "sf",
    "terra",
    "units",
    "vegan",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "alpha-diversity.Rmd",
      "filename": "alpha-diversity.html",
      "title": "Alpha phylogenetic diversity",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Diversity measures",
        "Null model randomization",
        "Spatially constrained randomization",
        "CANAPE"
      ],
      "created": "2024-12-13 21:30:29",
      "modified": "2026-04-10 15:29:43",
      "commits": 19
    },
    {
      "source": "beta-diversity.Rmd",
      "filename": "beta-diversity.html",
      "title": "Phylogenetic beta diversity",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dissimilarity",
        "Distance decay",
        "Ordination",
        "Regionalization"
      ],
      "created": "2024-12-13 21:30:29",
      "modified": "2026-04-06 14:52:44",
      "commits": 8
    },
    {
      "source": "phylospatial-data.Rmd",
      "filename": "phylospatial-data.html",
      "title": "Spatial phylogentic data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "A minimal example",
        "Structure of a phylospatial object",
        "Phylogeny",
        "Community matrix",
        "Spatial data",
        "Starting from occurrence points",
        "A realistic example",
        "Non-phylogenetic data",
        "Tree scaling",
        "Affine rescaling",
        "Differential transforms"
      ],
      "created": "2024-12-13 21:30:29",
      "modified": "2026-04-16 17:35:22",
      "commits": 8
    },
    {
      "source": "prioritization.Rmd",
      "filename": "prioritization.html",
      "title": "Conservation prioritization",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic optimization",
        "Probabilistic prioritization",
        "Conservation benefit functions"
      ],
      "created": "2024-12-13 21:30:29",
      "modified": "2026-04-03 16:07:39",
      "commits": 10
    }
  ],
  "_score": 6.204119982655925,
  "_indexed": true,
  "_nocasepkg": "phylospatial",
  "_universes": [
    "matthewkling"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:10:25.000Z",
      "distro": "noble",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "10ddc8b82147a06aa183fce2967c532f481f8ac631a10306fd7ff83f9817491a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:10:43.000Z",
      "distro": "noble",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "66503ac5e4a37b31106413f981673a9279a1e73c1ed04fcfbfacdcd6bc799282",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:10:58.000Z",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "26542f66ceafaea875f7e2fb92f00b5b12bd298f9bb2c5d30a39b238cf516c41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:09:26.000Z",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "9acb19357f25e87197c958d034881cde0e1b414ed3a9ca60ff9f7cac121f939a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:11:22.000Z",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "fc6bf0f9c45754a88dc6828a9a95c521b650774db445afe0f94dd08351f4b206",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:09:26.000Z",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "8207cc897ddafcada70e4ea651c66918dda014012c6ab765d26c59d44d899323",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:09:14.000Z",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "ce311000df64a16e7a1bcdddd6341702de6967b5c24676e1eddf6b814304392b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0.9000",
      "date": "2026-05-28T18:09:25.000Z",
      "commit": "c5d2d39bd2ba5b454f1020bac1ebc8f51a5cc6eb",
      "fileid": "0d0f687326dfd29e8cf5c76c43753ba7dff80ed2bb4f0bd18d557a3e2201618f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/26592879586"
    }
  ]
}