tests/testthat/_snaps/join-SpatVector.md

Test errors

Code
  inner_join(df1, df1)
Condition
  Error in `error_spat_join()`:
  ! `y` should not be <SpatVector>. For spatial joins use `terra::intersect()`
Code
  left_join(df1, df1)
Condition
  Error in `error_spat_join()`:
  ! `y` should not be <SpatVector>. For spatial joins use `terra::intersect()`
Code
  right_join(df1, df1)
Condition
  Error in `error_spat_join()`:
  ! `y` should not be <SpatVector>. For spatial joins use `terra::intersect()`
Code
  semi_join(df1, sf::st_as_sf(df1))
Condition
  Error in `error_spat_join()`:
  ! `y` should not be <sf/data.frame>. For spatial joins use `terra::intersect()`
Code
  anti_join(df1, df1)
Condition
  Error in `error_spat_join()`:
  ! `y` should not be <SpatVector>. For spatial joins use `terra::intersect()`


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.