Make sure your extents overlap by converting polygons into a common reference crs.

match_crs(polys, crs_ref)

Arguments

polys

is a spatial polygons objects

crs_ref

is a character string representing the crs

Value

a list of spatial polygons projected in the common crs