tests/testthat/_snaps/drop-na-Spat.md

Return empty geom when no results

Code
  empty <- drop_na(v)
Message
  ! All geometries dropped.
  Returning empty <SpatVector>
Code
  emptycrs <- drop_na(nocrs)
Message
  ! All geometries dropped.
  Returning empty <SpatVector>

Drop na with SpatRaster

Code
  res <- compare_spatrasters(r, all)
Message
  ! Results of `tidyterra::compare_spatrasters()`: 
  The following attributes are not equal:
  * extent


Try the tidyterra package in your browser

Any scripts or data that you put into this service are public.

tidyterra documentation built on March 11, 2026, 9:08 a.m.