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

> ### Name: usmap_transform
> ### Title: Convert coordinate date frame to usmap projection
> ### Aliases: usmap_transform usmap_transform.data.frame
> 
> ### ** Examples
> 
> data <- data.frame(
+   lon = c(-74.01, -95.36, -118.24, -87.65, -134.42, -157.86),
+   lat = c(40.71, 29.76, 34.05, 41.85, 58.30, 21.31),
+   pop = c(8398748, 2325502, 3990456, 2705994, 32113, 347397)
+ )
> 
> # Transform data
> transformed_data <- usmap_transform(data)
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: 'elide' is not an exported object from 'namespace:maptools'
Execution halted