PhilipMostert / PointedSDMs

Wrapper function for 'inlabru' for modeling species distribution models from disparate datasets.
23 stars 2 forks source link

Error in specifySpatial in vignette #1

Closed sjbonner closed 2 years ago

sjbonner commented 2 years ago

I encounter the following error from the chuck in lines 222-227 when trying to build the vignette:

> spatial_data$specifySpatial(shared_spatial = TRUE, ##Change shared_spatial term name?
+                             prior.sigma = c(5, 0.01),
+                             prior.range = c(1, 0.01))
Error in spatial_data$specifySpatial(shared_spatial = TRUE, prior.sigma = c(5,  : 
  At least one of sharedSpatial, dataset, species or mark needs to be provided.
PhilipMostert commented 2 years ago

Thanks! The argument name changed to sharedSpatial, so this is a typo.