Running examples in ‘ecocomDP-Ex.R’ failed
The error most likely occurred in:

> ### Name: plot_sites
> ### Title: Plot sites on US map
> ### Aliases: plot_sites
> 
> ### ** Examples
> 
> ## Not run: 
> ##D # Read a dataset of interest
> ##D dataset <- read_data("edi.193.5")
> ##D 
> ##D # Plot the dataset
> ##D plot_sites(dataset)
> ##D 
> ##D # Flatten dataset then plot
> ##D dataset %>% 
> ##D   flatten_data() %>% 
> ##D   plot_sites()
> ## End(Not run)
> 
> # Plot the example dataset
> plot_sites(ants_L1)
The legacy packages maptools, rgdal, and rgeos, underpinning this package
will retire shortly. Please refer to R-spatial evolution reports on
https://r-spatial.org/r/2023/05/15/evolution4.html for details.
This package is now running under evolution status 0 
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: FALSE
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.4.3, released 2022/04/22
Path to GDAL shared files: /usr/local/clang/share/gdal
GDAL binary built with GEOS: TRUE 
Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
Path to PROJ shared files: /data/gannet/ripley/.local/share/proj:/usr/local/share/proj:/usr/local/share/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.6-1
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
Error in usmap::usmap_transform(cleaned, input_names = c("longitude",  : 
  `sf` must be installed to use `usmap_transform`.
         Use: install.packages("sf") and try again.
Calls: plot_sites
Execution halted