st_coordinates()
sf
inla()
Some more spatial operations are shown in https://r.geocompx.org/geometry-operations#fig:venn-clip.