Running ‘tinytest.R’ [15s/50s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("giscoR")
  + }
  
  Running test_download.R...............    0 tests    
  Running test_download.R...............    1 tests [0;32mOK[0m 
  Running test_download.R...............    1 tests [0;32mOK[0m 
  Running test_download.R...............    2 tests [0;32mOK[0m 
  Running test_download.R...............    3 tests [0;32mOK[0m 
  Running test_download.R...............    4 tests [0;32mOK[0m 
  Running test_download.R...............    5 tests [0;32mOK[0m 
  
  Running test_gisco_attributions.R.....    0 tests    
  Running test_gisco_attributions.R.....    1 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    2 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    3 tests [0;32mOK[0m [1] "This language is not supported, switching to English. Consider contributing"
  
  Running test_gisco_attributions.R.....    4 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    5 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    6 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    7 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    8 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....    9 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....   10 tests [0;32mOK[0m 
  Running test_gisco_attributions.R.....   11 tests [0;32mOK[0m 
  
  Running test_gisco_bulk_download.R....    0 tests    
  Running test_gisco_bulk_download.R....    1 tests [0;32mOK[0m 
  Running test_gisco_bulk_download.R....    2 tests [0;32mOK[0m 
  Running test_gisco_bulk_download.R....    3 tests [0;32mOK[0m 
  Running test_gisco_bulk_download.R....    4 tests [0;32mOK[0m trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/countries/download/ref-countries-2016-60m.json.zip'
  Content type 'application/zip' length 839834 bytes (820 KB)
  ==================================================
  downloaded 820 KB
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/countries/download/ref-countries-2016-60m.shp.zip'
  Content type 'application/zip' length 1319048 bytes (1.3 MB)
  ==================================================
  downloaded 1.3 MB
  
  Some files of /tmp/RtmpBqIF8p/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  Some files of /tmp/RtmpBqIF8p/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  
  File already cached
  /tmp/RtmpBqIF8p/gisco/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/RtmpBqIF8p/gisco/ref-countries-2016-60m.geojson.zip may have not been extracted. Please check folder /tmp/RtmpBqIF8p/gisco
  
  
  Running test_gisco_bulk_download.R....   13 tests [0;32mOK[0m 
  
  Running test_gisco_get_airports.R.....    0 tests    
  Running test_gisco_get_airports.R.....    1 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    2 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    3 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    4 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    5 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    6 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    7 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    8 tests [0;32mOK[0m 
  Running test_gisco_get_airports.R.....    9 tests [0;32mOK[0m 
  
  Running test_gisco_get_coastallines.R.    0 tests    
  Running test_gisco_get_coastallines.R.    1 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    2 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    3 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    4 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    5 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    6 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    7 tests [0;32mOK[0m 
  Running test_gisco_get_coastallines.R.    8 tests [0;32mOK[0m File :
  /tmp/RtmpBqIF8p/gisco/COAS_RG_03M_2016_4326.geojson
  may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
  [Auto] Selecting spatialtype = 'RG'
  
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  
  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 291203 bytes (284 KB)
  ==================================================
  downloaded 284 KB
  
  Download succesful on 
  
  /tmp/RtmpBqIF8p/gisco/COAS_RG_60M_2016_4326.geojson
  
  
  Reading from local file /tmp/RtmpBqIF8p/gisco/COAS_RG_60M_2016_4326.geojson
  284.4 Kb
  File loaded
  Encoding characters
  
  Running test_gisco_get_coastallines.R.   16 tests [0;31m1 fails[0m 
  
  Running test_gisco_get_communes.R.....    0 tests    
  Running test_gisco_get_communes.R.....    1 tests [0;32mOK[0m 
  Running test_gisco_get_communes.R.....    2 tests [0;32mOK[0m 
  Running test_gisco_get_communes.R.....    3 tests [0;32mOK[0m 
  Running test_gisco_get_communes.R.....    4 tests [0;32mOK[0m 
  Running test_gisco_get_communes.R.....    5 tests [0;32mOK[0m File :
  /tmp/RtmpBqIF8p/gisco/COMM_BN_01M_2016_4326_COASTL.geojson
  may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
  File :
  /tmp/RtmpBqIF8p/gisco/COMM_LB_2016_4326.geojson
  may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
  File :
  /tmp/RtmpBqIF8p/gisco/COMM_BN_01M_2016_4326_COASTL.geojson
  may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
  
  Running test_gisco_get_communes.R.....    8 tests [0;31m3 fails[0m 
  
  Running test_gisco_get_countries.R....    0 tests    
  Running test_gisco_get_countries.R....    1 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    2 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    3 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    4 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    5 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    6 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    7 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    8 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....    9 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   10 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   11 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   12 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   13 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   14 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   15 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   16 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   17 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   18 tests [0;32mOK[0m 
  Running test_gisco_get_countries.R....   19 tests [0;32mOK[0m File :
  /tmp/RtmpBqIF8p/gisco/CNTR_BN_03M_2016_4326_COASTL.geojson
  may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
  
  Running test_gisco_get_countries.R....   28 tests [0;31m1 fails[0m 
  
  Running test_gisco_get_grid.R.........    0 tests    
  Running test_gisco_get_grid.R.........    1 tests [0;32mOK[0m 
  Running test_gisco_get_grid.R.........    2 tests [0;32mOK[0m 
  Running test_gisco_get_grid.R.........    3 tests [0;32mOK[0m File exits on local cache dir
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  
  File already cached
  /tmp/RtmpBqIF8p/gisco/grid_100km_surf.gpkg
  428 Kb
  trying URL 'https://gisco-services.ec.europa.eu/grid/grid_100km_point.gpkg'
  Content type 'unknown' length 356352 bytes (348 KB)
  ==================================================
  downloaded 348 KB
  
  Reading layer `type' from data source `/tmp/RtmpBqIF8p/gisco/grid_100km_point.gpkg' using driver `GPKG'
  Simple feature collection with 1025 features and 17 fields
  geometry type:  POINT
  dimension:      XY
  bbox:           xmin: -2750000 ymin: -2850000 xmax: 8750000 ymax: 5450000
  projected CRS:  ETRS89-extended / LAEA Europe
  
  Running test_gisco_get_grid.R.........    6 tests [0;32mOK[0m 
  
  Running test_gisco_get_healthcare.R...    0 tests    
  
  File couldn't be loaded from 
  
  /tmp/RtmpBqIF8p/gisco/all.gpkg
  
   Please try cache = TRUE
  Reading layer `type' from data source `/tmp/RtmpBqIF8p/gisco/all.gpkg' using driver `GPKG'
  
  Running test_gisco_get_healthcare.R...    2 tests [0;31m1 fails[0m 
  
  Running test_gisco_get_lau.R..........    0 tests    
  Running test_gisco_get_lau.R..........    1 tests [0;32mOK[0m 
  Running test_gisco_get_lau.R..........    2 tests [0;32mOK[0m 
  
  Running test_gisco_get_nuts.R.........    0 tests    
  Running test_gisco_get_nuts.R.........    1 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    2 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    3 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    4 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    5 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    6 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    7 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    8 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........    9 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........   10 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........   11 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........   12 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........   13 tests [0;32mOK[0m 
  Running test_gisco_get_nuts.R.........   14 tests [0;32mOK[0m 
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  
  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 61887 bytes (60 KB)
  ==================================================
  downloaded 60 KB
  
  Download succesful on 
  
  /tmp/RtmpBqIF8p/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
  
  
  Reading from local file /tmp/RtmpBqIF8p/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
  60.4 Kb
  File loaded
  Encoding characters
  
  Running test_gisco_get_nuts.R.........   24 tests [0;32mOK[0m 
  
  Running test_gisco_get_units.R........    0 tests    
  Running test_gisco_get_units.R........    1 tests [0;32mOK[0m 
  Running test_gisco_get_units.R........    2 tests [0;32mOK[0m 
  Running test_gisco_get_units.R........    3 tests [0;32mOK[0m 
  Running test_gisco_get_units.R........    4 tests [0;32mOK[0m 
  Running test_gisco_get_units.R........    5 tests [0;32mOK[0m 
  Running test_gisco_get_units.R........    6 tests [0;32mOK[0m 
  Running test_gisco_get_units.R........    7 tests [0;32mOK[0m 
  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/dieghernan/giscoR/issues
  
   Skipping unit = xt
   Not found
  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
  
  
  url 
   https://gisco-services.ec.europa.eu/distribution/v2/nuts/distribution/ES345-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/dieghernan/giscoR/issues
  
   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/dieghernan/giscoR/issues
  
   Skipping unit = FFRE3
   Not found
  [Auto] Selecting resolution = '100'
  
  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
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  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/RtmpBqIF8p/gisco/DK-cntry-region-20m-4326-2016.geojson
  
  
  Reading from local file /tmp/RtmpBqIF8p/gisco/DK-cntry-region-20m-4326-2016.geojson
  4.5 Kb
  File loaded
  Encoding characters
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  
  File already cached
  /tmp/RtmpBqIF8p/gisco/ES-cntry-region-20m-4326-2016.geojson
  Reading from local file /tmp/RtmpBqIF8p/gisco/ES-cntry-region-20m-4326-2016.geojson
  8.1 Kb
  File loaded
  Encoding characters
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  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/dieghernan/giscoR/issues
  
   Skipping unit = XXXXX
   Not found
  
  Running test_gisco_get_units.R........   28 tests [0;32mOK[0m 
  
  Running test_gisco_get_urban_audit.R..    0 tests    
  Running test_gisco_get_urban_audit.R..    1 tests [0;32mOK[0m 
  Running test_gisco_get_urban_audit.R..    2 tests [0;32mOK[0m 
  Running test_gisco_get_urban_audit.R..    3 tests [0;32mOK[0m 
  Running test_gisco_get_urban_audit.R..    4 tests [0;32mOK[0m 
  Running test_gisco_get_urban_audit.R..    5 tests [0;32mOK[0m [Auto] Selecting resolution = 'NA'
  
  
  Cache dir is /tmp/RtmpBqIF8p/gisco
  
  Downloading from https://gisco-services.ec.europa.eu/distribution/v2/urau/geojson/URAU_LB_2018_3857.geojson
  
  trying URL 'https://gisco-services.ec.europa.eu/distribution/v2/urau/geojson/URAU_LB_2018_3857.geojson'
  Content type 'unknown' length 528901 bytes (516 KB)
  ==================================================
  downloaded 516 KB
  
  Download succesful on 
  
  /tmp/RtmpBqIF8p/gisco/URAU_LB_2018_3857.geojson
  
  
  Reading from local file /tmp/RtmpBqIF8p/gisco/URAU_LB_2018_3857.geojson
  516.5 Kb
  File loaded
  Encoding characters
  
  Running test_gisco_get_urban_audit.R..   12 tests [0;32mOK[0m 
  Error: ----- FAILED[xcpt]: test_gisco_get_coastallines.R<15--34>
   call| expect_silent(current = gisco_get_coastallines(resolution = 3))
   diff| Execution was not silent. An error was thrown with message
   diff| '
   diff| Execution halted'
  ----- FAILED[xcpt]: test_gisco_get_communes.R<11--15>
   call| expect_silent(current = gisco_get_communes(spatialtype = "COASTL"))
   diff| Execution was not silent. An error was thrown with message
   diff| '
   diff| Execution halted'
  ----- FAILED[xcpt]: test_gisco_get_communes.R<11--15>
   call| expect_silent(current = gisco_get_communes(spatialtype = "LB", 
   call| country = "LU"))
   diff| Execution was not silent. An error was thrown with message
   diff| '
   diff| Execution halted'
  ----- FAILED[xcpt]: test_gisco_get_communes.R<11--15>
   call| expect_silent(current = gisco_get_communes(spatialtype = "COASTL"))
   diff| Execution was not silent. An error was thrown with message
   diff| '
   diff| Execution halted'
  ----- FAILED[xcpt]: test_gisco_get_countries.R<32--54>
   
  Execution halted