Spatial neighbourhood in R

library(sf)
library(spdep)
library(ggplot2)