Type: Package Package: landscapemetrics Title: Landscape Metrics for Categorical Map Patterns Version: 2.2.2 Authors@R: c(person("Maximilian H.K.", "Hesselbarth", role = c("aut", "cre"), email = "mhk.hesselbarth@gmail.com", comment = c(ORCID = "0000-0003-1125-9918")), person("Marco", "Sciaini", role = "aut", email = "sciaini.marco@gmail.com", comment = c(ORCID = "0000-0002-3042-5435")), person("Jakub", "Nowosad", role = "aut", email = "nowosad.jakub@gmail.com", comment = c(ORCID = "0000-0002-1057-3721")), person("Sebastian", "Hanss", role = "aut", comment = c(ORCID = "0000-0002-3990-4897")), person("Laura J.", "Graham", role = "ctb", comment = "Input on package structure"), person("Jeffrey", "Hollister", role = "ctb", comment = "Input on package structure"), person("Kimberly A.", "With", role = "ctb", comment = "Input on package structure"), person("Florian", "Privé", role = "ctb", comment = "Original author of underlying C++ code for get_nearestneighbour() function"), person("Project Nayuki", role = "ctb", comment = "Original author of underlying C++ code for get_circumscribingcircle and lsm_p_circle"), person("Matt", "Strimas-Mackey", role = "ctb", comment = "Bugfix in sample_metrics()") ) Maintainer: Maximilian H.K. Hesselbarth Description: Calculates landscape metrics for categorical landscape patterns in a tidy workflow. 'landscapemetrics' reimplements the most common metrics from 'FRAGSTATS' () and new ones from the current literature on landscape metrics. This package supports 'terra' SpatRaster objects as input arguments. It further provides utility functions to visualize patches, select metrics and building blocks to develop new metrics. License: GPL-3 URL: https://r-spatialecology.github.io/landscapemetrics/ BugReports: https://github.com/r-spatialecology/landscapemetrics/issues Depends: R (>= 3.6) Imports: cli, ggplot2, methods, Rcpp (>= 0.11.0), stats, terra, tibble Suggests: covr, dplyr, knitr, raster, rmarkdown, sf, sp, stars, stringr, testthat, tidyr LinkingTo: Rcpp, RcppArmadillo ByteCompile: true Encoding: UTF-8 LazyData: true Config/testthat/edition: 3 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 VignetteBuilder: knitr Config/pak/sysreqs: libgdal-dev gdal-bin libgeos-dev libproj-dev libsqlite3-dev Repository: https://r-spatialecology.r-universe.dev Date/Publication: 2025-11-24 07:36:49 UTC RemoteUrl: https://github.com/r-spatialecology/landscapemetrics RemoteRef: HEAD RemoteSha: 9e777a5c5ec568ebca8f5ddec7bed1c2d465a357 NeedsCompilation: yes Packaged: 2026-06-22 09:40:06 UTC; root Author: Maximilian H.K. Hesselbarth [aut, cre] (ORCID: ), Marco Sciaini [aut] (ORCID: ), Jakub Nowosad [aut] (ORCID: ), Sebastian Hanss [aut] (ORCID: ), Laura J. Graham [ctb] (Input on package structure), Jeffrey Hollister [ctb] (Input on package structure), Kimberly A. With [ctb] (Input on package structure), Florian Privé [ctb] (Original author of underlying C++ code for get_nearestneighbour() function), Project Nayuki [ctb] (Original author of underlying C++ code for get_circumscribingcircle and lsm_p_circle), Matt Strimas-Mackey [ctb] (Bugfix in sample_metrics())