library(gts)
#> Please note that 'maptools' will be retired during October 2023,
#> plan transition at your earliest convenience (see
#> https://r-spatial.org/r/2023/05/15/evolution4.html and earlier blogs
#> for guidance);some functionality will be moved to 'sp'.
#>  Checking rgeos availability: TRUE
#> 
#> Attaching package: 'gts'
#> The following objects are masked from 'package:stats':
#> 
#>     integrate, sd
#> The following object is masked from 'package:base':
#> 
#>     drop