Running examples in 'epm-Ex.R' failed
The error most likely occurred in:

> ### Name: createEPMgrid
> ### Title: Create epmGrid object
> ### Aliases: createEPMgrid
> 
> ### ** Examples
> 
> library(sf)
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
> # example dataset: a list of 24 chipmunk distributions as polygons
> head(tamiasPolyList)
$Tamias_palmeri
Simple feature collection with 1 feature and 25 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -1668441 ymin: -271770.2 xmax: -1652429 ymax: -247715.5
Projected CRS: +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
      id_no          binomial presence origin seasonal          compiler year
27584 21355 Neotamias palmeri        1      1        1 NatureServe, 2005 2008
               citation source dist_comm island subspecies subpop
27584 NatureServe, 2005   <NA>      <NA>   <NA>       <NA>   <NA>
                 legend tax_comm kingdom_na phylum_nam class_name order_name
27584 Extant (resident)     <NA>   ANIMALIA   CHORDATA   MAMMALIA   RODENTIA
      family_nam genus_name        friendly_n code shape_Leng shape_Area
27584  SCIURIDAE  Neotamias Neotamias palmeri   EN  0.6501889  0.0305048
                            geometry
27584 MULTIPOLYGON (((-1656341 -2...

$Tamias_durangae
Simple feature collection with 1 feature and 25 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -1081875 ymin: -1894562 xmax: -406954.1 ymax: -1517963
Projected CRS: +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
      id_no           binomial presence origin seasonal
27586 21357 Neotamias durangae        1      1        1
                                    compiler year
27586 IUCN SSC Small Mammal Specialist Group 2016
                                    citation source dist_comm island subspecies
27586 IUCN SSC Small Mammal Specialist Group   <NA>      <NA>   <NA>       <NA>
      subpop            legend tax_comm kingdom_na phylum_nam class_name
27586   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA   MAMMALIA
      order_name family_nam genus_name         friendly_n code shape_Leng
27586   RODENTIA  SCIURIDAE  Neotamias Neotamias durangae   LC   12.21217
      shape_Area                       geometry
27586   4.204359 MULTIPOLYGON (((-878461.6 -...

$Tamias_merriami
Simple feature collection with 1 feature and 25 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -2185819 ymin: -692394.4 xmax: -1781347 ymax: 101831.3
Projected CRS: +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
      id_no           binomial presence origin seasonal compiler year
27587 21358 Neotamias merriami        1      1        1     IUCN 2008
                                                   citation source dist_comm
27587 IUCN (International Union for Conservation of Nature)   <NA>      <NA>
      island subspecies subpop            legend tax_comm kingdom_na phylum_nam
27587   <NA>       <NA>   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA
      class_name order_name family_nam genus_name         friendly_n code
27587   MAMMALIA   RODENTIA  SCIURIDAE  Neotamias Neotamias merriami   LC
      shape_Leng shape_Area                       geometry
27587   33.06301   7.189469 MULTIPOLYGON (((-2032446 -4...

$Tamias_obscurus
Simple feature collection with 5 features and 25 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -1839449 ymin: -1310201 xmax: -1617199 ymax: -455874.5
Projected CRS: +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
      id_no           binomial presence origin seasonal compiler year
27588 21359 Neotamias obscurus        1      1        1     IUCN 2008
27589 21359 Neotamias obscurus        1      1        1     IUCN 2008
27590 21359 Neotamias obscurus        1      1        1     IUCN 2008
27591 21359 Neotamias obscurus        1      1        1     IUCN 2008
27592 21359 Neotamias obscurus        1      1        1     IUCN 2008
                                                   citation source dist_comm
27588 IUCN (International Union for Conservation of Nature)   <NA>      <NA>
27589 IUCN (International Union for Conservation of Nature)   <NA>      <NA>
27590 IUCN (International Union for Conservation of Nature)   <NA>      <NA>
27591 IUCN (International Union for Conservation of Nature)   <NA>      <NA>
27592 IUCN (International Union for Conservation of Nature)   <NA>      <NA>
      island subspecies subpop            legend tax_comm kingdom_na phylum_nam
27588   <NA>       <NA>   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA
27589   <NA>       <NA>   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA
27590   <NA>       <NA>   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA
27591   <NA>       <NA>   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA
27592   <NA>       <NA>   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA
      class_name order_name family_nam genus_name         friendly_n code
27588   MAMMALIA   RODENTIA  SCIURIDAE  Neotamias Neotamias obscurus   LC
27589   MAMMALIA   RODENTIA  SCIURIDAE  Neotamias Neotamias obscurus   LC
27590   MAMMALIA   RODENTIA  SCIURIDAE  Neotamias Neotamias obscurus   LC
27591   MAMMALIA   RODENTIA  SCIURIDAE  Neotamias Neotamias obscurus   LC
27592   MAMMALIA   RODENTIA  SCIURIDAE  Neotamias Neotamias obscurus   LC
      shape_Leng shape_Area                       geometry
27588  0.6572651 0.03156048 MULTIPOLYGON (((-1624113 -1...
27589  2.3175727 0.26639085 MULTIPOLYGON (((-1784800 -9...
27590  3.4834022 0.45883203 MULTIPOLYGON (((-1721175 -5...
27591  2.0586340 0.25718994 MULTIPOLYGON (((-1780583 -5...
27592  2.2694217 0.28235760 MULTIPOLYGON (((-1804265 -7...

$Tamias_canipes
Simple feature collection with 1 feature and 25 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -881559.2 ymin: -999833.7 xmax: -769796.8 ymax: -637625.2
Projected CRS: +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
      id_no          binomial presence origin seasonal
27617 21364 Neotamias canipes        1      1        1
                                    compiler year
27617 IUCN SSC Small Mammal Specialist Group 2016
                                    citation source dist_comm island subspecies
27617 IUCN SSC Small Mammal Specialist Group   <NA>      <NA>   <NA>       <NA>
      subpop            legend tax_comm kingdom_na phylum_nam class_name
27617   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA   MAMMALIA
      order_name family_nam genus_name        friendly_n code shape_Leng
27617   RODENTIA  SCIURIDAE  Neotamias Neotamias canipes   LC   7.228842
      shape_Area                       geometry
27617   1.818301 MULTIPOLYGON (((-794972.4 -...

$Tamias_alpinus
Simple feature collection with 1 feature and 25 fields
Geometry type: MULTIPOLYGON
Dimension:     XY
Bounding box:  xmin: -1935939 ymin: -248343.2 xmax: -1860891 ymax: -8966.931
Projected CRS: +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
      id_no          binomial presence origin seasonal
39609 42568 Neotamias alpinus        1      1        1
                                    compiler year
39609 IUCN SSC Small Mammal Specialist Group 2016
                                    citation source dist_comm island subspecies
39609 IUCN SSC Small Mammal Specialist Group   <NA>      <NA>   <NA>       <NA>
      subpop            legend tax_comm kingdom_na phylum_nam class_name
39609   <NA> Extant (resident)     <NA>   ANIMALIA   CHORDATA   MAMMALIA
      order_name family_nam genus_name        friendly_n code shape_Leng
39609   RODENTIA  SCIURIDAE  Neotamias Neotamias alpinus   LC   5.310433
      shape_Area                       geometry
39609  0.8974398 MULTIPOLYGON (((-1864353 -2...

> 
> # hexagonal grid
> # square grid
> tamiasEPM2 <- createEPMgrid(tamiasPolyList, resolution = 50000,
+ 	cellType = 'square', method = 'centroid')