Problems with news in 'NEWS.md':
No news entries found.
Running examples in 'stppSim-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class "character" is not valid for slot 'proj4string' in an object of class "Spatial"; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘stppSim-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class “character” is not valid for slot ‘proj4string’ in an object of class “Spatial”; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Imports includes 23 non-default packages.
Importing from so many packages makes the package vulnerable to any of
them becoming unavailable.  Move as many as possible to Suggests and
use conditionally.
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘stppSim-Ex.R’ failed
The error most likely occurred in:

> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class “character” is not valid for slot ‘proj4string’ in an object of class “Spatial”; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘stppSim-Ex.R’ failed
The error most likely occurred in:

> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class “character” is not valid for slot ‘proj4string’ in an object of class “Spatial”; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Problems with news in 'NEWS.md':
No news entries found.
Running examples in 'stppSim-Ex.R' failed
The error most likely occurred in:

> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class "character" is not valid for slot 'proj4string' in an object of class "Spatial"; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Running examples in ‘stppSim-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class “character” is not valid for slot ‘proj4string’ in an object of class “Spatial”; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Running examples in ‘stppSim-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class “character” is not valid for slot ‘proj4string’ in an object of class “Spatial”; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Running examples in 'stppSim-Ex.R' failed
The error most likely occurred in:

> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class "character" is not valid for slot 'proj4string' in an object of class "Spatial"; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted
Running examples in 'stppSim-Ex.R' failed
The error most likely occurred in:

> ### Name: artif_spo
> ### Title: Artificial spatial origins
> ### Aliases: artif_spo
> 
> ### ** Examples
> 
> #load boundary of Camden
> load(file = system.file("extdata", "camden.rda",
+ package="stppSim"))
> boundary = camden$boundary # get boundary
> landuse <- camden$landuse
> spo <- artif_spo(poly = boundary, n_origin = 50,
+ restriction_feat = landuse, n_foci=5, foci_separation = 0,
+ mfocal = NULL, conc_type = "dispersed", p_ratio=20)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class "character" is not valid for slot 'proj4string' in an object of class "Spatial"; is(value, "CRS") is not TRUE
Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
Execution halted