As the title says cropField is not working as it has in the past. The data points are not being clipped by the boundary but instead appears to be clipped by an invisible box that contains the boundary shape (see attached image from plot viewing pane). In addition, a warning message appears in the console when the command is executed. The warning is as follows:
Warning messages:
1: GEOS support is provided by the sf and terra packages among others
2: In RGEOSBinTopoFunc(spgeom1, spgeom2, byid, id, drop_lower_td, unaryUnion_if_byid_false, :
spgeom1 and spgeom2 have different proj4 strings
I initially thought the issue may have been caused by the data I was using but when the issue still occurs when using the example data provided on GitHub. I have included screenshots of the code I executed (copied from the tutorial) and the outputs that show the problem. I also recently got a new computer and updated to the newest version of R (4.2.2) and RStudio (RStudio 2022.12.0+353) so I'm not sure if that is causing this problem or not.
Any help would be appreciated!

