{
  "_id": "6acfd1f1e2d863f662953206",
  "Package": "phylospatial",
  "Title": "Spatial Phylogenetic Analysis",
  "Version": "1.5.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)",
  "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/roxygen2/version": "8.0.0",
  "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-10-14 16:47:08 UTC",
  "RemoteUrl": "https://github.com/matthewkling/phylospatial",
  "RemoteRef": "HEAD",
  "RemoteSha": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 18:54:35 UTC",
    "User": "root"
  },
  "Author": "Matthew Kling [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-9073-4240>)",
  "Maintainer": "Matthew Kling <mattkling@berkeley.edu>",
  "_user": "matthewkling",
  "_type": "src",
  "_file": "phylospatial_1.5.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5c4168cb721ef3decda640d712b88df17bcded7e773219e967f97bba89402500",
  "_filesize": 2979430,
  "_sha256": "5c4168cb721ef3decda640d712b88df17bcded7e773219e967f97bba89402500",
  "_expires": "2027-01-22T19:03:08.000Z",
  "_created": "2026-10-14T18:54:35.000Z",
  "_published": "2026-10-14T19:03:12.781Z",
  "_buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116042212727,
      "time": 282,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11921566206"
    },
    {
      "job": 116042212657,
      "time": 311,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11922435697"
    },
    {
      "job": 116042212590,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11921456430"
    },
    {
      "job": 116042212667,
      "time": 195,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11921736333"
    },
    {
      "job": 116039638542,
      "time": 318,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11921650158"
    },
    {
      "job": 116042212646,
      "time": 164,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11922090513"
    },
    {
      "job": 116042212626,
      "time": 215,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11921206373"
    },
    {
      "job": 116042212643,
      "time": 216,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11922405575"
    },
    {
      "job": 116042212677,
      "time": 177,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11921665767"
    }
  ],
  "_upstream": "https://github.com/matthewkling/phylospatial",
  "_commit": {
    "id": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
    "author": "Matthew Kling <mattkling@gmail.com>",
    "committer": "Matthew Kling <mattkling@gmail.com>",
    "message": "add support for unequal-area sites via site_weight param\n",
    "time": 1791996428
  },
  "_maintainer": {
    "name": "Matthew Kling",
    "email": "mattkling@berkeley.edu",
    "login": "matthewkling",
    "description": "Macroecologist and conservation biogeographer.",
    "uuid": 3752758,
    "orcid": "0000-0001-9073-4240"
  },
  "_distro": "resolute",
  "_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"
    },
    {
      "package": "prioritizr",
      "version": ">= 9.0.0",
      "role": "Suggests"
    },
    {
      "package": "highs",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "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
    },
    {
      "week": "2026-40",
      "n": 5
    },
    {
      "week": "2026-41",
      "n": 3
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_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"
    },
    {
      "name": "v1.5.0",
      "date": "2026-10-01"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "matthewkling",
      "count": 127,
      "uuid": 3752758
    }
  ],
  "_userbio": {
    "uuid": 3752758,
    "type": "user",
    "name": "Matthew Kling",
    "followers": 61,
    "description": "Macroecologist and conservation biogeographer."
  },
  "_downloads": {
    "count": 508,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/phylospatial.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "1.5.0",
      "date": "2026-10-01"
    }
  ],
  "_exports": [
    "benefit",
    "clade_dist",
    "delta_tree",
    "moss",
    "phylospatial",
    "plot_lambda",
    "ps_add_dissim",
    "ps_area",
    "ps_canape",
    "ps_canaper",
    "ps_dissim",
    "ps_diversity",
    "ps_expand",
    "ps_geodist",
    "ps_get_comm",
    "ps_grid",
    "ps_ordinate",
    "ps_performance",
    "ps_prioritize",
    "ps_prioritizr",
    "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_area",
      "title": "Area of spatial units",
      "topics": [
        "ps_area"
      ]
    },
    {
      "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_performance",
      "title": "Performance curves for a conservation prioritization",
      "topics": [
        "plot.ps_performance",
        "ps_performance"
      ]
    },
    {
      "page": "ps_prioritize",
      "title": "Phylogenetic conservation prioritization",
      "topics": [
        "ps_prioritize"
      ]
    },
    {
      "page": "ps_prioritizr",
      "title": "Build a prioritizr conservation problem",
      "topics": [
        "ps_prioritizr"
      ]
    },
    {
      "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-10-14 16:47:08",
      "commits": 9
    },
    {
      "source": "prioritization.Rmd",
      "filename": "prioritization.html",
      "title": "Conservation prioritization",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Greedy stepwise prioritization via ps_prioritize()",
        "Performance curves",
        "Probabilistic prioritization",
        "Conservation benefit functions",
        "Optimization with ps_prioritizr()"
      ],
      "created": "2024-12-13 21:30:29",
      "modified": "2026-10-08 15:54:12",
      "commits": 13
    }
  ],
  "_score": 6.342422680822207,
  "_indexed": true,
  "_nocasepkg": "phylospatial",
  "_universes": [
    "matthewkling"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0.9000",
      "date": "2026-10-14T18:58:08.000Z",
      "distro": "resolute",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/f8f658623772390985be34a016abc45b9312baccc6ae962159c043b7ae63c5b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.0.9000",
      "date": "2026-10-14T18:58:34.000Z",
      "distro": "resolute",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/ae3c9a9bdf259e8894713d4e5488114de9f9e802160867e371ce83e5b0ec9ade",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0.9000",
      "date": "2026-10-14T19:00:34.000Z",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/3e582a932431f55e9b6e4b49693c3f42d83e2c96402e4117234dc86524141045",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.0.9000",
      "date": "2026-10-14T19:00:51.000Z",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/d55c2158ff066046e98f6cfdb5c65b2d56f61a7acda1e9483ce2e3d87935af2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0.9000",
      "date": "2026-10-14T18:57:59.000Z",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/0fbaff85c5aa3f4b7f33ab016bdc2a3ddd2e2bafd72a83580df607b19cd98e48",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0.9000",
      "date": "2026-10-14T18:56:42.000Z",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/00b892d191aae6665e9e2f36269526d6fbb2aba3e7fe8676795badfd54c04cb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0.9000",
      "date": "2026-10-14T18:56:45.000Z",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/0ba971cc6451aca0065b8973ee1da7425592d4f81629883aefb358d21f9192d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.0.9000",
      "date": "2026-10-14T18:56:39.000Z",
      "commit": "1a55bdeeb7daab39b2a85a2a534508c14395cc1b",
      "fileid": "https://r2.ropensci.org/4c72eccfa074e80f13e0e8357699ec97d586e44ccc58830b8fed35dcaccef0b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/38618450654"
    }
  ]
}