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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: species_model
> ### Title: R6 class for creating a 'species_model' object.
> ### Aliases: species_model
> 
> ### ** Examples
> 
> 
> ## ------------------------------------------------
> ## Method `species_model$print`
> ## ------------------------------------------------
> 
> workflow <- startWorkflow(Species = 'Fraxinus excelsior',
+                           Projection = '+proj=longlat +ellps=WGS84',
+                           Save = FALSE,
+                           saveOptions = list(projectName = 'example'))
Initializing workflow for integrated species distribution model:

Studied species: Fraxinus excelsior 
Countries not specified. You can add a sampling region with the `.$addArea` function.
This function creates an object with "slot" functions to help you customize the ISDM for your workflow. These may be accessed by using the "$" after the name of the object created with this function.

The following slot functions are availble with this object: 
 Name            Description                  
 --------------- ---------------              
 plot            -> Plot data                 
 addStructured   -> Add structured data       
 addMesh         -> Create an inla.mesh object
 addGBIF         -> Add data from GBIF        
 addArea         -> Specify sampling region   
 addCovariates   -> Add spatial covariates    
 crossValidation -> Specify CV method         
 modelOptions    -> Add INLA model options    
 specifySpatial  -> Specify spatial effects   
 biasFields      -> Add bias field            
 workflowOutput  -> Output of workflow        
 obtainMeta      -> Summary of metadata       

The workflow may then be estimated using the "sdmWorkflow" function.

> 
> workflow$print()
intSDM reproducible workflow summary:

Research area: No research area provided: please add one using `.$addArea`.

Datasets added: No species have been added to the workflow. Please add structured datasets using `.$addStructured` and data from GBIF using `.$addGBIF`.

Environmental covariates added: No covariates have been added to the workflow. Please add covariates using `.$addCovariates`.

Model formula: No Cross-validation specified. Please specify using `.$crossValidation`.

No Output has been specified. Please specify using `.$workflowOutput`.> 
> ## ------------------------------------------------
> ## Method `species_model$plot`
> ## ------------------------------------------------
> 
> workflow <- startWorkflow(Species = 'Fraxinus excelsior',
+                           Projection = '+proj=longlat +ellps=WGS84',
+                           Save = FALSE,
+                           saveOptions = list(projectName = 'example'))
Initializing workflow for integrated species distribution model:

Studied species: Fraxinus excelsior 
Countries not specified. You can add a sampling region with the `.$addArea` function.
This function creates an object with "slot" functions to help you customize the ISDM for your workflow. These may be accessed by using the "$" after the name of the object created with this function.

The following slot functions are availble with this object: 
 Name            Description                  
 --------------- ---------------              
 plot            -> Plot data                 
 addStructured   -> Add structured data       
 addMesh         -> Create an inla.mesh object
 addGBIF         -> Add data from GBIF        
 addArea         -> Specify sampling region   
 addCovariates   -> Add spatial covariates    
 crossValidation -> Specify CV method         
 modelOptions    -> Add INLA model options    
 specifySpatial  -> Specify spatial effects   
 biasFields      -> Add bias field            
 workflowOutput  -> Output of workflow        
 obtainMeta      -> Summary of metadata       

The workflow may then be estimated using the "sdmWorkflow" function.

> 
> #Add boundary
> workflow$addArea(countryName = 'Germany')

url 
  https://gisco-services.ec.europa.eu/distribution/v2/countries/geojson/CNTR_RG_20M_2020_4326.geojson  not reachable.

Please download manually.  If you think this is a bug please consider opening an issue on  https://github.com/ropengov/giscoR/issues
Returning `NULL`
Error in obtainArea(name = countryName, projection = private$Projection,  : 
  At least one name provided not a valid country.
Calls: <Anonymous> -> obtainArea
Execution halted