The goal of spatialexplain is to provide model agnostic tools for exploring and explaining spatial machine learning models. It is based on the DALEX package and uses the terra package for spatial raster data handling.
You can install the development version of spatialexplain from GitHub with:
# install.packages("pak")
pak::pak("Nowosad/spatialexplain")