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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in ‘biosurvey-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in ‘biosurvey-Ex.R’ failed
The error most likely occurred in:

> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Unknown error (code 4096)
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in 'biosurvey-Ex.R' failed
The error most likely occurred in:

> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in ‘biosurvey-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in ‘biosurvey-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in 'biosurvey-Ex.R' failed
The error most likely occurred in:

> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Running examples in 'biosurvey-Ex.R' failed
The error most likely occurred in:

> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
> 
> ### ** Examples
> 
> # Data
> data("mx", package = "biosurvey")
> 
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
  NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,  : 
  target crs creation failed: Unknown error (code 4096)
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted