When plotting a SpatVector using ggplot2, if I define a projection using coord_sf(), it adds these lines that I think come from the data wrapping around the plot extent. Best way to fix?
library(ggplot2)
library(tidyterra)
library(terra)
library(rnaturalearth)
coast <- rnaturalearth::ne_coastline(returnclass = "sv")
ggplot() +
geom_spatvector(data = coast) +
theme_minimal()
ggplot() +
geom_spatvector(data = coast) +
coord_sf(crs = "+proj=robin",) + # Robinson projection
theme_minimal()


ne_coastlinedon't have the problem.