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


dieghernan/tidyterra documentation built on Feb. 20, 2025, 4:18 p.m.