Last updated on 2020-11-21 12:50:44 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.0 | 6.00 | 61.36 | 67.36 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.2.0 | 4.62 | 44.29 | 48.91 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.2.0 | 103.49 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 97.49 | NOTE | |||
r-devel-windows-ix86+x86_64 | 0.2.0 | 10.00 | 55.00 | 65.00 | OK | |
r-patched-linux-x86_64 | 0.2.0 | 6.00 | 60.26 | 66.26 | ERROR | |
r-patched-solaris-x86 | 0.2.0 | 139.60 | NOTE | |||
r-release-linux-x86_64 | 0.2.0 | 5.65 | 59.41 | 65.06 | ERROR | |
r-release-macos-x86_64 | 0.2.0 | NOTE | ||||
r-release-windows-ix86+x86_64 | 0.2.0 | 8.00 | 56.00 | 64.00 | OK | |
r-oldrel-macos-x86_64 | 0.2.0 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.2.0 | 5.00 | 49.00 | 54.00 | OK |
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in 'giscoR-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gisco_get_healthcare
> ### Title: Get the healthcare services in Europe.
> ### Aliases: gisco_get_healthcare
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 7.2.0
>
> if (gisco_check_access()) {
+ HospitalBENELUX <- gisco_get_healthcare(country = c("BE", "NL", "LU"))
+ BENELUX <- gisco_get_countries(country = c("BE", "NL", "LU"))
+ plot(st_geometry(BENELUX))
+ plot(
+ st_geometry(HospitalBENELUX),
+ pch = 20,
+ col = "steelblue1",
+ add = TRUE
+ )
+ title(main = "Hospitals in Benelux",
+ sub = gisco_attributions(),
+ line = 1)
+ }
File couldn't be loaded from
/tmp/RtmppNlNxI/gisco/all.gpkg
Please try cache = TRUE
Error in gsc_api_load(namefileload, epsg, ext, cache, verbose) :
Execution halted
Calls: gisco_get_healthcare -> gsc_api_load
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.0
Check: tests
Result: ERROR
Running 'tinytest.R' [16s/51s]
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 <1b>[0;32mOK<1b>[0m
Running test_download.R............... 1 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 2 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 3 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 4 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 0 tests
Running test_gisco_attributions.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 3 tests <1b>[0;32mOK<1b>[0m [1] "This language is not supported, switching to English. Consider contributing"
Running test_gisco_attributions.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 0 tests
Running test_gisco_bulk_download.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 4 tests <1b>[0;32mOK<1b>[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/Rtmp8azxCt/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Some files of /tmp/Rtmp8azxCt/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Cache dir is /tmp/Rtmp8azxCt/gisco
File already cached
/tmp/Rtmp8azxCt/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/Rtmp8azxCt/gisco/ref-countries-2016-60m.geojson.zip may have not been extracted. Please check folder /tmp/Rtmp8azxCt/gisco
Running test_gisco_bulk_download.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 0 tests
Running test_gisco_get_airports.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 0 tests
Running test_gisco_get_coastallines.R. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 8 tests <1b>[0;32mOK<1b>[0m File :
/tmp/Rtmp8azxCt/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/Rtmp8azxCt/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/Rtmp8azxCt/gisco/COAS_RG_60M_2016_4326.geojson
Reading from local file /tmp/Rtmp8azxCt/gisco/COAS_RG_60M_2016_4326.geojson
284.4 Kb
File loaded
Encoding characters
Running test_gisco_get_coastallines.R. 16 tests <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_communes.R..... 0 tests
Running test_gisco_get_communes.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 5 tests <1b>[0;32mOK<1b>[0m File :
/tmp/Rtmp8azxCt/gisco/COMM_BN_01M_2016_4326_COASTL.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/tmp/Rtmp8azxCt/gisco/COMM_LB_2016_4326.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/tmp/Rtmp8azxCt/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 <1b>[0;31m3 fails<1b>[0m
Running test_gisco_get_countries.R.... 0 tests
Running test_gisco_get_countries.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 14 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 15 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 16 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 17 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 18 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 19 tests <1b>[0;32mOK<1b>[0m File :
/tmp/Rtmp8azxCt/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 <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_grid.R......... 0 tests
Running test_gisco_get_grid.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 3 tests <1b>[0;32mOK<1b>[0m File exits on local cache dir
Cache dir is /tmp/Rtmp8azxCt/gisco
File already cached
/tmp/Rtmp8azxCt/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/Rtmp8azxCt/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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_healthcare.R... 0 tests
File couldn't be loaded from
/tmp/Rtmp8azxCt/gisco/all.gpkg
Please try cache = TRUE
Reading layer `type' from data source `/tmp/Rtmp8azxCt/gisco/all.gpkg' using driver `GPKG'
Running test_gisco_get_healthcare.R... 2 tests <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_lau.R.......... 0 tests
Running test_gisco_get_lau.R.......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_lau.R.......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 0 tests
Running test_gisco_get_nuts.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 14 tests <1b>[0;32mOK<1b>[0m
Cache dir is /tmp/Rtmp8azxCt/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/Rtmp8azxCt/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
Reading from local file /tmp/Rtmp8azxCt/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
60.4 Kb
File loaded
Encoding characters
Running test_gisco_get_nuts.R......... 24 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 0 tests
Running test_gisco_get_units.R........ 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 7 tests <1b>[0;32mOK<1b>[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/Rtmp8azxCt/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/Rtmp8azxCt/gisco/DK-cntry-region-20m-4326-2016.geojson
Reading from local file /tmp/Rtmp8azxCt/gisco/DK-cntry-region-20m-4326-2016.geojson
4.5 Kb
File loaded
Encoding characters
Cache dir is /tmp/Rtmp8azxCt/gisco
File already cached
/tmp/Rtmp8azxCt/gisco/ES-cntry-region-20m-4326-2016.geojson
Reading from local file /tmp/Rtmp8azxCt/gisco/ES-cntry-region-20m-4326-2016.geojson
8.1 Kb
File loaded
Encoding characters
Cache dir is /tmp/Rtmp8azxCt/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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 0 tests
Running test_gisco_get_urban_audit.R.. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 5 tests <1b>[0;32mOK<1b>[0m [Auto] Selecting resolution = 'NA'
Cache dir is /tmp/Rtmp8azxCt/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/Rtmp8azxCt/gisco/URAU_LB_2018_3857.geojson
Reading from local file /tmp/Rtmp8azxCt/gisco/URAU_LB_2018_3857.geojson
516.5 Kb
File loaded
Encoding characters
Running test_gisco_get_urban_audit.R.. 12 tests <1b>[0;32mOK<1b>[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>
c
In addition: Warning messages:
1: In sprintf(longfmt, result, file, fst, lst, indent(call, with = " call| "), :
one argument not used by format '----- %s: %s<%s--%s>
%s
%s'
2: In sprintf(longfmt, result, file, fst, lst, indent(call, with = " call| "), :
one argument not used by format '----- %s: %s<%s--%s>
%s
%s'
3: In sprintf(longfmt, result, file, fst, lst, indent(call, with = " call| "), :
one argument not used by format '----- %s: %s<%s--%s>
%s
%s'
4: In sprintf(longfmt, result, file, fst, lst, indent(call, with = " call| "), :
one argument not used by format '----- %s: %s<%s--%s>
%s
%s'
5: In sprintf(longfmt, result, file, fst, lst, indent(call, with = " call| "), :
one argument not used by format '----- %s: %s<%s--%s>
%s
%s'
6: In sprintf(longfmt, result, file, fst, lst, indent(call, with = " call| "), :
one argument not used by format '----- %s: %s<%s--%s>
%s
%s'
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘giscoR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gisco_get_healthcare
> ### Title: Get the healthcare services in Europe.
> ### Aliases: gisco_get_healthcare
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 7.2.0
>
> if (gisco_check_access()) {
+ HospitalBENELUX <- gisco_get_healthcare(country = c("BE", "NL", "LU"))
+ BENELUX <- gisco_get_countries(country = c("BE", "NL", "LU"))
+ plot(st_geometry(BENELUX))
+ plot(
+ st_geometry(HospitalBENELUX),
+ pch = 20,
+ col = "steelblue1",
+ add = TRUE
+ )
+ title(main = "Hospitals in Benelux",
+ sub = gisco_attributions(),
+ line = 1)
+ }
File couldn't be loaded from
/home/hornik/tmp/scratch/RtmpQwuSkr/gisco/all.gpkg
Please try cache = TRUE
Error in gsc_api_load(namefileload, epsg, ext, cache, verbose) :
Execution halted
Calls: gisco_get_healthcare -> gsc_api_load
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [8s/31s]
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 <1b>[0;32mOK<1b>[0m
Running test_download.R............... 1 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 2 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 3 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 4 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 0 tests
Running test_gisco_attributions.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 3 tests <1b>[0;32mOK<1b>[0m [1] "This language is not supported, switching to English. Consider contributing"
Running test_gisco_attributions.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 0 tests
Running test_gisco_bulk_download.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 4 tests <1b>[0;32mOK<1b>[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 /home/hornik/tmp/scratch/RtmpPeGFN5/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Some files of /home/hornik/tmp/scratch/RtmpPeGFN5/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Cache dir is /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
File already cached
/home/hornik/tmp/scratch/RtmpPeGFN5/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 /home/hornik/tmp/scratch/RtmpPeGFN5/gisco/ref-countries-2016-60m.geojson.zip may have not been extracted. Please check folder /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
Running test_gisco_bulk_download.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 0 tests
Running test_gisco_get_airports.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 0 tests
Running test_gisco_get_coastallines.R. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 8 tests <1b>[0;32mOK<1b>[0m File :
/home/hornik/tmp/scratch/RtmpPeGFN5/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 /home/hornik/tmp/scratch/RtmpPeGFN5/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
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/COAS_RG_60M_2016_4326.geojson
Reading from local file /home/hornik/tmp/scratch/RtmpPeGFN5/gisco/COAS_RG_60M_2016_4326.geojson
284.4 Kb
File loaded
Encoding characters
Running test_gisco_get_coastallines.R. 16 tests <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_communes.R..... 0 tests
Running test_gisco_get_communes.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 5 tests <1b>[0;32mOK<1b>[0m File :
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/COMM_BN_01M_2016_4326_COASTL.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/COMM_LB_2016_4326.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/home/hornik/tmp/scratch/RtmpPeGFN5/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 <1b>[0;31m3 fails<1b>[0m
Running test_gisco_get_countries.R.... 0 tests
Running test_gisco_get_countries.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 14 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 15 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 16 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 17 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 18 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 19 tests <1b>[0;32mOK<1b>[0m File :
/home/hornik/tmp/scratch/RtmpPeGFN5/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 <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_grid.R......... 0 tests
Running test_gisco_get_grid.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 3 tests <1b>[0;32mOK<1b>[0m File exits on local cache dir
Cache dir is /home/hornik/tmp/scratch/RtmpPeGFN5/gisco
File already cached
/home/hornik/tmp/scratch/RtmpPeGFN5/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 `/home/hornik/tmp/scratch/RtmpPeGFN5/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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_healthcare.R... 0 tests
File couldn't be loaded from
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/all.gpkg
Please try cache = TRUE
Reading layer `type' from data source `/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/all.gpkg' using driver `GPKG'
Running test_gisco_get_healthcare.R... 2 tests <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_lau.R.......... 0 tests
Running test_gisco_get_lau.R.......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_lau.R.......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 0 tests
Running test_gisco_get_nuts.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 14 tests <1b>[0;32mOK<1b>[0m
Cache dir is /home/hornik/tmp/scratch/RtmpPeGFN5/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
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
Reading from local file /home/hornik/tmp/scratch/RtmpPeGFN5/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
60.4 Kb
File loaded
Encoding characters
File :
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/NUTS_BN_60M_2016_4326.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/home/hornik/tmp/scratch/RtmpPeGFN5/gisco/NUTS_RG_60M_2016_3857.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
Error in gsc_api_load(namefileload, epsg, ext, cache, verbose) :
Execution halted
Calls: <Anonymous> ... FUN -> eval -> eval -> gisco_get_nuts -> gsc_api_load
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: data for non-ASCII characters
Result: NOTE
Note: found 1178 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘giscoR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gisco_get_healthcare
> ### Title: Get the healthcare services in Europe.
> ### Aliases: gisco_get_healthcare
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 7.2.0
>
> if (gisco_check_access()) {
+ HospitalBENELUX <- gisco_get_healthcare(country = c("BE", "NL", "LU"))
+ BENELUX <- gisco_get_countries(country = c("BE", "NL", "LU"))
+ plot(st_geometry(BENELUX))
+ plot(
+ st_geometry(HospitalBENELUX),
+ pch = 20,
+ col = "steelblue1",
+ add = TRUE
+ )
+ title(main = "Hospitals in Benelux",
+ sub = gisco_attributions(),
+ line = 1)
+ }
File couldn't be loaded from
/tmp/Rtmp6Znrpd/gisco/all.gpkg
Please try cache = TRUE
Error in gsc_api_load(namefileload, epsg, ext, cache, verbose) :
Execution halted
Calls: gisco_get_healthcare -> gsc_api_load
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [15s/59s]
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 <1b>[0;32mOK<1b>[0m
Running test_download.R............... 1 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 2 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 3 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 4 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 0 tests
Running test_gisco_attributions.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 3 tests <1b>[0;32mOK<1b>[0m [1] "This language is not supported, switching to English. Consider contributing"
Running test_gisco_attributions.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 0 tests
Running test_gisco_bulk_download.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 4 tests <1b>[0;32mOK<1b>[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/Rtmpe2SEF5/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_RG_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_RG_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_RG_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_LB_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_LB_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_LB_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_3035.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_3035_COASTL.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_3035_INLAND.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_3857.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_3857_COASTL.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_3857_INLAND.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_4326.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_4326_COASTL.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of CNTR_BN_60M_2016_4326_INLAND.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Some files of /tmp/Rtmpe2SEF5/gisco/ref-countries-2016-60m.shp.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Cache dir is /tmp/Rtmpe2SEF5/gisco
File already cached
/tmp/Rtmpe2SEF5/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/Rtmpe2SEF5/gisco/ref-countries-2016-60m.geojson.zip may have not been extracted. Please check folder /tmp/Rtmpe2SEF5/gisco
Running test_gisco_bulk_download.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 0 tests
Running test_gisco_get_airports.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 0 tests
Running test_gisco_get_coastallines.R. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 8 tests <1b>[0;32mOK<1b>[0m File :
/tmp/Rtmpe2SEF5/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/Rtmpe2SEF5/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/Rtmpe2SEF5/gisco/COAS_RG_60M_2016_4326.geojson
Reading from local file /tmp/Rtmpe2SEF5/gisco/COAS_RG_60M_2016_4326.geojson
284.4 Kb
File loaded
Encoding characters
Running test_gisco_get_coastallines.R. 16 tests <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_communes.R..... 0 tests
Running test_gisco_get_communes.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 5 tests <1b>[0;32mOK<1b>[0m File :
/tmp/Rtmpe2SEF5/gisco/COMM_BN_01M_2016_4326_COASTL.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/tmp/Rtmpe2SEF5/gisco/COMM_LB_2016_4326.geojson
may be corrupt. Please try again using cache = TRUE and update_cache = TRUE
File :
/tmp/Rtmpe2SEF5/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 <1b>[0;31m3 fails<1b>[0m
Running test_gisco_get_countries.R.... 0 tests
Running test_gisco_get_countries.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 14 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 15 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 16 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 17 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 18 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 19 tests <1b>[0;32mOK<1b>[0m File :
/tmp/Rtmpe2SEF5/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 <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_grid.R......... 0 tests
Running test_gisco_get_grid.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 3 tests <1b>[0;32mOK<1b>[0m File exits on local cache dir
Cache dir is /tmp/Rtmpe2SEF5/gisco
File already cached
/tmp/Rtmpe2SEF5/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/Rtmpe2SEF5/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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_healthcare.R... 0 tests
File couldn't be loaded from
/tmp/Rtmpe2SEF5/gisco/all.gpkg
Please try cache = TRUE
Reading layer `type' from data source `/tmp/Rtmpe2SEF5/gisco/all.gpkg' using driver `GPKG'
Running test_gisco_get_healthcare.R... 2 tests <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_lau.R.......... 0 tests
Running test_gisco_get_lau.R.......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_lau.R.......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 0 tests
Running test_gisco_get_nuts.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 14 tests <1b>[0;32mOK<1b>[0m
Cache dir is /tmp/Rtmpe2SEF5/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/Rtmpe2SEF5/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
Reading from local file /tmp/Rtmpe2SEF5/gisco/NUTS_RG_60M_2016_4326_LEVL_0.geojson
60.4 Kb
File loaded
Encoding characters
Running test_gisco_get_nuts.R......... 24 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 0 tests
Running test_gisco_get_units.R........ 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 7 tests <1b>[0;32mOK<1b>[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/Rtmpe2SEF5/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/Rtmpe2SEF5/gisco/DK-cntry-region-20m-4326-2016.geojson
Reading from local file /tmp/Rtmpe2SEF5/gisco/DK-cntry-region-20m-4326-2016.geojson
4.5 Kb
File loaded
Encoding characters
Cache dir is /tmp/Rtmpe2SEF5/gisco
File already cached
/tmp/Rtmpe2SEF5/gisco/ES-cntry-region-20m-4326-2016.geojson
Reading from local file /tmp/Rtmpe2SEF5/gisco/ES-cntry-region-20m-4326-2016.geojson
8.1 Kb
File loaded
Encoding characters
Cache dir is /tmp/Rtmpe2SEF5/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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 0 tests
Running test_gisco_get_urban_audit.R.. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 5 tests <1b>[0;32mOK<1b>[0m [Auto] Selecting resolution = 'NA'
Cache dir is /tmp/Rtmpe2SEF5/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/Rtmpe2SEF5/gisco/URAU_LB_2018_3857.geojson
Reading from local file /tmp/Rtmpe2SEF5/gisco/URAU_LB_2018_3857.geojson
516.5 Kb
File loaded
Encoding characters
Running test_gisco_get_urban_audit.R.. 12 tests <1b>[0;32mOK<1b>[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
Flavor: r-patched-linux-x86_64
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘giscoR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gisco_get_healthcare
> ### Title: Get the healthcare services in Europe.
> ### Aliases: gisco_get_healthcare
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 7.2.0
>
> if (gisco_check_access()) {
+ HospitalBENELUX <- gisco_get_healthcare(country = c("BE", "NL", "LU"))
+ BENELUX <- gisco_get_countries(country = c("BE", "NL", "LU"))
+ plot(st_geometry(BENELUX))
+ plot(
+ st_geometry(HospitalBENELUX),
+ pch = 20,
+ col = "steelblue1",
+ add = TRUE
+ )
+ title(main = "Hospitals in Benelux",
+ sub = gisco_attributions(),
+ line = 1)
+ }
File couldn't be loaded from
/tmp/RtmpJgibAO/gisco/all.gpkg
Please try cache = TRUE
Error in gsc_api_load(namefileload, epsg, ext, cache, verbose) :
Execution halted
Calls: gisco_get_healthcare -> gsc_api_load
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
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 <1b>[0;32mOK<1b>[0m
Running test_download.R............... 1 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 2 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 3 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 4 tests <1b>[0;32mOK<1b>[0m
Running test_download.R............... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 0 tests
Running test_gisco_attributions.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 3 tests <1b>[0;32mOK<1b>[0m [1] "This language is not supported, switching to English. Consider contributing"
Running test_gisco_attributions.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_attributions.R..... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 0 tests
Running test_gisco_bulk_download.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_bulk_download.R.... 4 tests <1b>[0;32mOK<1b>[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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 0 tests
Running test_gisco_get_airports.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_airports.R..... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 0 tests
Running test_gisco_get_coastallines.R. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_coastallines.R. 8 tests <1b>[0;32mOK<1b>[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 <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_communes.R..... 0 tests
Running test_gisco_get_communes.R..... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_communes.R..... 5 tests <1b>[0;32mOK<1b>[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 <1b>[0;31m3 fails<1b>[0m
Running test_gisco_get_countries.R.... 0 tests
Running test_gisco_get_countries.R.... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 14 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 15 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 16 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 17 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 18 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_countries.R.... 19 tests <1b>[0;32mOK<1b>[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 <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_grid.R......... 0 tests
Running test_gisco_get_grid.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_grid.R......... 3 tests <1b>[0;32mOK<1b>[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 <1b>[0;32mOK<1b>[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 <1b>[0;31m1 fails<1b>[0m
Running test_gisco_get_lau.R.......... 0 tests
Running test_gisco_get_lau.R.......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_lau.R.......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 0 tests
Running test_gisco_get_nuts.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 7 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 8 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 9 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 10 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 11 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 12 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 13 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_nuts.R......... 14 tests <1b>[0;32mOK<1b>[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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 0 tests
Running test_gisco_get_units.R........ 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 5 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 6 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_units.R........ 7 tests <1b>[0;32mOK<1b>[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 <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 0 tests
Running test_gisco_get_urban_audit.R.. 1 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 2 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 3 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 4 tests <1b>[0;32mOK<1b>[0m
Running test_gisco_get_urban_audit.R.. 5 tests <1b>[0;32mOK<1b>[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 <1b>[0;32mOK<1b>[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
Flavor: r-release-linux-x86_64