Running ‘testthat.R’ [3m/14m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(giscoR)
  > 
  > test_check("giscoR")
  [1] "Language not supported, switching to English. Consider contributing"
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.geojson.zip
  Extracting files: CNTR_RG_60M_2016_3035.geojson
  CNTR_RG_60M_2016_3857.geojson
  CNTR_RG_60M_2016_4326.geojson
  CNTR_LB_2016_3035.geojson
  CNTR_LB_2016_3857.geojson
  CNTR_LB_2016_4326.geojson
  CNTR_BN_60M_2016_3035.geojson
  CNTR_BN_60M_2016_3035_COASTL.geojson
  CNTR_BN_60M_2016_3035_INLAND.geojson
  CNTR_BN_60M_2016_3857.geojson
  CNTR_BN_60M_2016_3857_COASTL.geojson
  CNTR_BN_60M_2016_3857_INLAND.geojson
  CNTR_BN_60M_2016_4326.geojson
  CNTR_BN_60M_2016_4326_COASTL.geojson
  CNTR_BN_60M_2016_4326_INLAND.geojson
  
  Some files of /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.geojson.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.json.zip
  Extracting files: CNTR_RG_60M_2016_3035.json
  CNTR_RG_60M_2016_3857.json
  CNTR_RG_60M_2016_4326.json
  CNTR_LB_2016_3035.json
  CNTR_LB_2016_3857.json
  CNTR_LB_2016_4326.json
  CNTR_BN_60M_2016_3035.json
  CNTR_BN_60M_2016_3035_COASTL.json
  CNTR_BN_60M_2016_3035_INLAND.json
  CNTR_BN_60M_2016_3857.json
  CNTR_BN_60M_2016_3857_COASTL.json
  CNTR_BN_60M_2016_3857_INLAND.json
  CNTR_BN_60M_2016_4326.json
  CNTR_BN_60M_2016_4326_COASTL.json
  CNTR_BN_60M_2016_4326_INLAND.json
  
  Some files of /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.json.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.shp.zip
  Extracting files: CNTR_RG_60M_2016_3035.shp.zip
  CNTR_RG_60M_2016_3857.shp.zip
  CNTR_RG_60M_2016_4326.shp.zip
  CNTR_LB_2016_3035.shp.zip
  CNTR_LB_2016_3857.shp.zip
  CNTR_LB_2016_4326.shp.zip
  CNTR_BN_60M_2016_3035.shp.zip
  CNTR_BN_60M_2016_3035_COASTL.shp.zip
  CNTR_BN_60M_2016_3035_INLAND.shp.zip
  CNTR_BN_60M_2016_3857.shp.zip
  CNTR_BN_60M_2016_3857_COASTL.shp.zip
  CNTR_BN_60M_2016_3857_INLAND.shp.zip
  CNTR_BN_60M_2016_4326.shp.zip
  CNTR_BN_60M_2016_4326_COASTL.shp.zip
  CNTR_BN_60M_2016_4326_INLAND.shp.zip
  
  Some files of /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  Extracting recursively files CNTR_RG_60M_2016_3035.shp.zip
  CNTR_RG_60M_2016_3857.shp.zip
  CNTR_RG_60M_2016_4326.shp.zip
  CNTR_LB_2016_3035.shp.zip
  CNTR_LB_2016_3857.shp.zip
  CNTR_LB_2016_4326.shp.zip
  CNTR_BN_60M_2016_3035.shp.zip
  CNTR_BN_60M_2016_3035_COASTL.shp.zip
  CNTR_BN_60M_2016_3035_INLAND.shp.zip
  CNTR_BN_60M_2016_3857.shp.zip
  CNTR_BN_60M_2016_3857_COASTL.shp.zip
  CNTR_BN_60M_2016_3857_INLAND.shp.zip
  CNTR_BN_60M_2016_4326.shp.zip
  CNTR_BN_60M_2016_4326_COASTL.shp.zip
  CNTR_BN_60M_2016_4326_INLAND.shp.zip
  
  
  Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.shp.zip
  Extracting files: CNTR_RG_60M_2016_3035.shp.zip
  CNTR_RG_60M_2016_3857.shp.zip
  CNTR_RG_60M_2016_4326.shp.zip
  CNTR_LB_2016_3035.shp.zip
  CNTR_LB_2016_3857.shp.zip
  CNTR_LB_2016_4326.shp.zip
  CNTR_BN_60M_2016_3035.shp.zip
  CNTR_BN_60M_2016_3035_COASTL.shp.zip
  CNTR_BN_60M_2016_3035_INLAND.shp.zip
  CNTR_BN_60M_2016_3857.shp.zip
  CNTR_BN_60M_2016_3857_COASTL.shp.zip
  CNTR_BN_60M_2016_3857_INLAND.shp.zip
  CNTR_BN_60M_2016_4326.shp.zip
  CNTR_BN_60M_2016_4326_COASTL.shp.zip
  CNTR_BN_60M_2016_4326_INLAND.shp.zip
  
  Some files of /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  Extracting recursively files CNTR_RG_60M_2016_3035.shp.zip
  CNTR_RG_60M_2016_3857.shp.zip
  CNTR_RG_60M_2016_4326.shp.zip
  CNTR_LB_2016_3035.shp.zip
  CNTR_LB_2016_3857.shp.zip
  CNTR_LB_2016_4326.shp.zip
  CNTR_BN_60M_2016_3035.shp.zip
  CNTR_BN_60M_2016_3035_COASTL.shp.zip
  CNTR_BN_60M_2016_3035_INLAND.shp.zip
  CNTR_BN_60M_2016_3857.shp.zip
  CNTR_BN_60M_2016_3857_COASTL.shp.zip
  CNTR_BN_60M_2016_3857_INLAND.shp.zip
  CNTR_BN_60M_2016_4326.shp.zip
  CNTR_BN_60M_2016_4326_COASTL.shp.zip
  CNTR_BN_60M_2016_4326_INLAND.shp.zip
  
  
  Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.geojson.zip
  Extracting files: CNTR_RG_60M_2016_3035.geojson
  CNTR_RG_60M_2016_3857.geojson
  CNTR_RG_60M_2016_4326.geojson
  CNTR_LB_2016_3035.geojson
  CNTR_LB_2016_3857.geojson
  CNTR_LB_2016_4326.geojson
  CNTR_BN_60M_2016_3035.geojson
  CNTR_BN_60M_2016_3035_COASTL.geojson
  CNTR_BN_60M_2016_3035_INLAND.geojson
  CNTR_BN_60M_2016_3857.geojson
  CNTR_BN_60M_2016_3857_COASTL.geojson
  CNTR_BN_60M_2016_3857_INLAND.geojson
  CNTR_BN_60M_2016_4326.geojson
  CNTR_BN_60M_2016_4326_COASTL.geojson
  CNTR_BN_60M_2016_4326_INLAND.geojson
  
  Some files of /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/ref-countries-2016-60m.geojson.zip may have not been extracted. Please check folder /tmp/RtmpZPaixd/working_dir/RtmprwaW8A
  
  Loaded from gisco_coastallines dataset. Use update_cache = TRUE to load the shapefile from the .geojson file
  
  Cache dir is /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/COAS_RG_60M_2016_4326.geojson
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/COAS_RG_60M_2016_4326.geojson
  284.4 Kb
  File loaded
  Encoding characters
  
  Cache dir is /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR
  
  
  Updating cached file
  
  Downloading from https://gisco-services.ec.europa.eu/distribution/v2/coas/geojson/COAS_RG_60M_2016_4326.geojson
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/coas/geojson/COAS_RG_60M_2016_4326.geojson'
  Content type 'unknown' length 291264 bytes (284 KB)
  ==================================================
  downloaded 284 KB
  
  Download succesful on 
  
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/COAS_RG_60M_2016_4326.geojson
  
  
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/COAS_RG_60M_2016_4326.geojson
  284.4 Kb
  File loaded
  Encoding characters
  
  Cache dir is /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/grid_100km_surf.gpkg
  432 Kb
  Reading layer `type' from data source 
    `/tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/grid_100km_surf.gpkg' 
    using driver `GPKG'
  Simple feature collection with 1025 features and 18 fields
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -2800000 ymin: -2900000 xmax: 8800000 ymax: 5500000
  CRS:           3035
  Downloading from https://gisco-services.ec.europa.eu/grid/grid_100km_point.gpkg
  
  trying URL 'https://gisco-services.ec.europa.eu/grid/grid_100km_point.gpkg'
  Content type 'unknown' length 364544 bytes (356 KB)
  ==================================================
  downloaded 356 KB
  
  Download succesful on 
  
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/grid_100km_point.gpkg
  
  
  356 Kb
  Reading layer `type' from data source 
    `/tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/grid_100km_point.gpkg' 
    using driver `GPKG'
  Simple feature collection with 1025 features and 18 fields
  Geometry type: POINT
  Dimension:     XY
  Bounding box:  xmin: -2750000 ymin: -2850000 xmax: 8750000 ymax: 5450000
  CRS:           3035
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/all.gpkg
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/all.gpkg
  4.1 Mb
  Reading layer `type' from data source 
    `/tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/all.gpkg' using driver `GPKG'
  Simple feature collection with 15181 features and 25 fields
  Geometry type: POINT
  Dimension:     XY
  Bounding box:  xmin: -61.7822 ymin: -21.37958 xmax: 55.71 ymax: 70.67371
  CRS:           4326
  File loaded
  Encoding characters
  
  Updating cached file
  
  Downloading from https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_4326_LEVL_0.geojson
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/nuts/geojson/NUTS_RG_60M_2016_4326_LEVL_0.geojson'
  Content type 'unknown' length 61593 bytes (60 KB)
  ==================================================
  downloaded 60 KB
  
  Download succesful on 
  
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/NUTS_RG_60M_2016_4326_LEVL_0.geojson
  
  
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/NUTS_RG_60M_2016_4326_LEVL_0.geojson
  60.1 Kb
  File loaded
  Encoding characters
  
  url 
   https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/xt-region-20m-4326-2016.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
  
   Skipping unit = xt
   Not found
  
   Skipping unit = xt
   Corrupted file
  Downloading from https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/ES4-region-20m-4326-2016.geojson
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/ES4-region-20m-4326-2016.geojson'
  Content type 'unknown' length 4552 bytes
  ==================================================
  downloaded 4552 bytes
  
  Download succesful on 
  
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/ES4-region-20m-4326-2016.geojson
  
  
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/ES4-region-20m-4326-2016.geojson
  4.4 Kb
  File loaded
  Encoding characters
  
   Skipping unit = ES345
   Not found
  
  url 
   https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/FFRE3-region-20m-4326-2016.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
  
   Skipping unit = FFRE3
   Not found
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/urau/csv/URAU_AT_2011_2014.csv'
  Content type 'text/csv' length 52304 bytes (51 KB)
  ==================================================
  downloaded 51 KB
  
  Load database succesfully
  Downloading from https://gisco-services.ec.europa.eu/distribution/v2/countries/distribution/DK-region-20m-4326-2016.geojson
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/countries/distribution/DK-region-20m-4326-2016.geojson'
  Content type 'unknown' length 4615 bytes
  ==================================================
  downloaded 4615 bytes
  
  Download succesful on 
  
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/DK-cntry-region-20m-4326-2016.geojson
  
  
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/DK-cntry-region-20m-4326-2016.geojson
  4.5 Kb
  File loaded
  Encoding characters
  
  Cache dir is /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR
  
  
  File already cached
  /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/ES-cntry-region-20m-4326-2016.geojson
  Reading from local file /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR/ES-cntry-region-20m-4326-2016.geojson
  8.1 Kb
  File loaded
  Encoding characters
  
  Cache dir is /tmp/RtmpZPaixd/working_dir/RtmprwaW8A/giscoR
  
  Downloading from https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/XXXXX-region-20m-4326-2016.geojson
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/XXXXX-region-20m-4326-2016.geojson'
  
  url 
   https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/XXXXX-region-20m-4326-2016.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
  
   Skipping unit = XXXXX
   Not found
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-gisco_get_coastallines.R:33:3): Coastal download online ─────────
  Error: Evaluation error: IllegalArgumentException: Points of LinearRing do not form a closed linestring.
  Backtrace:
      █
   1. └─giscoR::gisco_get_coastallines(resolution = "60", epsg = "3035") test-gisco_get_coastallines.R:33:2
   2.   └─giscoR:::gsc_api_load(namefileload, epsg, ext, cache, verbose)
   3.     ├─sf::st_make_valid(data_sf)
   4.     └─sf:::st_make_valid.sf(data_sf)
   5.       ├─sf::st_set_geometry(x, st_make_valid(st_geometry(x)))
   6.       ├─sf::st_make_valid(st_geometry(x))
   7.       └─sf:::st_make_valid.sfc(st_geometry(x))
   8.         ├─sf::st_sfc(CPL_geos_make_valid(x), crs = crs)
   9.         └─sf:::CPL_geos_make_valid(x)
  ── Error (test-gisco_get_nuts.R:58:3): NUTS online ─────────────────────────────
  Error: Evaluation error: IllegalArgumentException: Points of LinearRing do not form a closed linestring.
  Backtrace:
      █
   1. └─giscoR::gisco_get_nuts(resolution = "60", epsg = "3035") test-gisco_get_nuts.R:58:2
   2.   └─giscoR:::gsc_api_load(namefileload, epsg, ext, cache, verbose)
   3.     ├─sf::st_make_valid(data_sf)
   4.     └─sf:::st_make_valid.sf(data_sf)
   5.       ├─sf::st_set_geometry(x, st_make_valid(st_geometry(x)))
   6.       ├─sf::st_make_valid(st_geometry(x))
   7.       └─sf:::st_make_valid.sfc(st_geometry(x))
   8.         ├─sf::st_sfc(CPL_geos_make_valid(x), crs = crs)
   9.         └─sf:::CPL_geos_make_valid(x)
  ── Error (test-gisco_get_urbanaudit.R:58:3): Urban Audit online ────────────────
  Error: Evaluation error: IllegalArgumentException: Points of LinearRing do not form a closed linestring.
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test-gisco_get_urbanaudit.R:58:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─giscoR::gisco_get_urban_audit(...)
   10.   └─giscoR:::gsc_api_load(namefileload, epsg, ext, cache, verbose)
   11.     ├─sf::st_make_valid(data_sf)
   12.     └─sf:::st_make_valid.sf(data_sf)
   13.       ├─sf::st_set_geometry(x, st_make_valid(st_geometry(x)))
   14.       ├─sf::st_make_valid(st_geometry(x))
   15.       └─sf:::st_make_valid.sfc(st_geometry(x))
   16.         ├─sf::st_sfc(CPL_geos_make_valid(x), crs = crs)
   17.         └─sf:::CPL_geos_make_valid(x)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 167 ]
  Error: Test failures
  Execution halted