Changes in version 0.10.1 (2025-12-01) - Improve warning on CRS mismatch - Fix for bug in .num_expected_args() when fun is supplied that has any default argument values of NA or NULL (Mike Koontz) - Raise error when include_cols or append_cols has wrong type - Various internal updates to satisfy CRAN changes Changes in version 0.10.0 (2023-09-20) - Add weighted_variance and weighted_stdev operations Changes in version 0.9.1 (2022-11-16) - Fix incorrect results for frac and weighted_frac when different polygons intersect different subsets of available categorical values - Improve performance of frac and weighted_frac for large sets of input polygons Changes in version 0.9.0 (2022-08-23) - Add frac and weighted_frac summary operations, for summarizing categorical rasters - Add colname_fun argument to exact_extract, for controlling constructed column names - Add rasterize_polygons function to rasterize a polygon coverage, assigning cells to polygon with greatest coverage area Changes in version 0.8.2 (2022-04-15) - Fix incorrect read of raster values for value/weighting raster resolutions enabled in version 0.8.1 Changes in version 0.8.1 (2022-04-06) - Fix incorrect grid compatibility error with certain value and weighting raster resolutions Changes in version 0.8.0 (2022-03-29) - Eagerly load more data into memory to provide better performance for suboptimally-chunked rasters - Add grid_compat_tol argument to exact_extract and relax from previously hardcoded default - Avoid error when include_area = TRUE and polygon does not intersect raster - Support terra SpatRaster inputs to coverage_fraction - Produce error instead of incorrect result when processing SpatRaster with duplicate names - Add coverage_area argument to exact_resample - Allow use of user-defined summary function in exact_resample - Allow multi-layer inputs to exact_resample Changes in version 0.7.2 (2021-12-05) - Fix incorrect coverage fraction calculated for certain sliver-shaped polygons with large coordinate values Changes in version 0.7.1 (2021-10-12) - Fix include_xy and include_cell arguments for terra inputs - Support version 3.5 of raster package Changes in version 0.7.0 (2021-09-10) - Support terra SpatRaster inputs - Fix build using Windows/UTF-8 toolchain (Tomas Kalibera) - Improve performance of predefined summary operations on RasterStacks with many layers - Fix behavior of append_cols when summary function returns a multi-row data frame or vector of length > 1 for each feature Changes in version 0.6.1 (2021-05-10) - Fix Solaris build - Avoid undefined behavior when extracting values for polygon entirely outside raster extent - Fix incorrect results for GeometryCollections with more than one component (previously sf::st_cast was used to convert these to MultiPolygons, but st_cast only processes the first component.) Changes in version 0.6.0 (2021-04-17) - Support use of RasterStack weights in exact_extract named summary operations - Support use of weights in exact_extract R summary functions - Support SpatialPolygons and SpatialPolygonsDataFrame inputs - Support exact_resample with mode, minority, variety, median, quantiles - Add default_value and default_weight arguments to exact_extract - Add coverage_area argument to exact_extract - Add summarize_df argument to exact_extract - Accept weights='area' in exact_extract Changes in version 0.5.1 (2020-11-20) - Fix bug causing progress bar to jump to 100% - Fix check for data frame in return from R function in exact_extract to allow for derived data frame types such as tibbles. Changes in version 0.5.0 (2020-10-26) - Add exact_resample - Add force_df and full_colnames arguments to exact_extract, to obtain output in a consistent format - Add include_cols and append_cols arguments to exact_extract for linking pixels values or summarized results to input features - Add median and quantile summary operations - Add stack_apply argument to exact_extract to apply an R function individually to each layer in a RasterStack / RasterBrick. - Support returning a data frame from an R function applied to each polygon, then combining those data frames with dplyr::bind_rows Changes in version 0.4.0 (2020-06-28) - Add named summary operations for variance, standard deviation, coefficient of variation - Improve performance, most dramatically for named summary operations on RasterStack or RasterBrick inputs. - Avoid floating point robustness error when computing stats on certain polygons using different resolution value and weighting rasters. Changes in version 0.3.0 (2020-05-07) - Add include_cell argument to exact_extract (Michael Sumner) - Fix error thrown by exact_extract when a polygon is partially outside the extent of the value raster but fully within the extent of the weighting raster. - Avoid error when processing polygons with a Z dimension on GEOS 3.6 - Support sfc_GEOMETRY inputs if all features are polygonal Changes in version 0.2.1 (2020-03-21) - Fix incorrect results for some polygons that exactly follow boundaries of raster grid cells - Update tests for compatibility with sf >= 0.9.0 Changes in version 0.2.0 (2020-02-26) - Add weighted mean and weighted sum operations to summarize one raster using the values of another (e.g., population-weighted mean temperature) - Support use of named summary options on RasterStack and RasterBrick inputs (reduces verbosity, improves performance) - Fix memory leak in CPP_coverage_fraction Changes in version 0.1.2 (2020-01-14) - Generate zero-row data frame for polygons not intersecting the raster Changes in version 0.1.1 (2019-08-07) - Attempt to revert to static linking against GEOS if dynamic linking fails - Avoid undefined behavior when calling exact_extract on polygon that does not intersect raster. Changes in version 0.1.0 (2019-08-01) - Initial release to CRAN