
ZonationR is an R package that provides a seamless interface to the Zonation software, enabling users to execute spatial conservation prioritization workflows directly from R.
The package is designed to:
Traditionally, Zonation workflows require manual input preparation, running the software via GUI or command line, and separate post-processing in R or GIS. ZonationR simplifies this process by integrating all steps into R, enabling transparent and automated workflows.

You can install ZonationR from CRAN:
install.packages("ZonationR")Or install the development version from GitHub:
# Install pak if not already installed
if (!requireNamespace("pak", quietly = TRUE)) {
install.packages("pak")
}
# Install ZonationR from GitHub
pak::pak("thiago-cav/ZonationR")Load the package:
library(ZonationR)For detailed documentation, tutorials, and example workflows, see the ZonationR website.
Contributions of any kind are warmly welcomed! These can include
improvements to the documentation, testthat tests,
vignettes, or new functions. If you have an idea for a new feature,
please reach out so we can discuss it.
Pull requests to the master branch need confirmation and
a code review from the package maintainers. We recommend using the
pull request
helpers from the usethis package, which are part
of our workflow.
We also use GitHub Actions for continuous integration, so please make
sure the package passes R CMD check without errors or
warnings before submitting a pull request.
If you find a clear bug, please open an issue with a minimal reproducible example on GitHub.