Running ‘testthat.R’ [6s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rgugik)
  > 
  > test_check("rgugik")
  trying URL 'https://integracja.gugik.gov.pl/PRG/pobierz.php?teryt=241203&adresy'
  Content type 'application/octet-stream' length 38202 bytes (37 KB)
  ==================================================
  downloaded 37 KB
  
  trying URL 'https://integracja.gugik.gov.pl/PRG/pobierz.php?teryt=241203&adresy'
  Content type 'application/octet-stream' length 38202 bytes (37 KB)
  ==================================================
  downloaded 37 KB
  
  trying URL 'http://opendata.geoportal.gov.pl/bdoo/PL.PZGiK.201.16.zip'
  Content type 'application/octet-stream' length 6118998 bytes (5.8 MB)
  ==================================================
  downloaded 5.8 MB
  
  [1] "Polygon area: 5268.5 m^2"
  [1] "Resolution: 3 m"
  [1] "Polygon area: 5268.5 m^2"
  [1] "Resolution: 3 m"
  trying URL 'https://integracja.gugik.gov.pl/Budynki3D/pobierz.php?plik=powiaty/lod1/2264_gml.zip'
  Content type 'application/octet-stream' length 2488449 bytes (2.4 MB)
  ==================================================
  downloaded 2.4 MB
  
  trying URL 'https://integracja.gugik.gov.pl/Budynki3D/pobierz.php?plik=powiaty/lod1/2264_gml.zip'
  Content type 'application/octet-stream' length 2488449 bytes (2.4 MB)
  ==================================================
  downloaded 2.4 MB
  
  trying URL 'ftp://91.223.135.109/nmt/opolskie_grid100.zip'
  Content type 'unknown' length 3833582 bytes (3.7 MB)
  ==================================================
  0/1
  1/1
  1/1
  trying URL 'https://opendata.geoportal.gov.pl/ortofotomapa/41/41_3756_N-33-130-D-b-2-3.tif'
  Content type 'application/octet-stream' length 2137288 bytes (2.0 MB)
  ==================================================
  downloaded 2.0 MB
  
  1/1
  trying URL 'https://opendata.geoportal.gov.pl/NumDaneWys/NMT/73556/73556_1002897_N-33-130-D-b-2-3.asc'
  Content type 'application/octet-stream' length 1227329 bytes (1.2 MB)
  ==================================================
  downloaded 1.2 MB
  
  trying URL 'https://opendata.geoportal.gov.pl/bdot10k/22/2264_GML.zip'
  Content type 'application/octet-stream' length 23361 bytes (22 KB)
  ==================================================
  downloaded 22 KB
  
  trying URL 'https://opendata.geoportal.gov.pl/bdot10k/22/2264_GML.zip'
  Content type 'application/octet-stream' length 23361 bytes (22 KB)
  ==================================================
  downloaded 22 KB
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-topodb_download.R:15:3): check file size ──────────────────────
  file_size > 1 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-topodb_download.R:37:3): check number of files ────────────────
  file_number == 89L is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 90 ]
  Error: Test failures
  Execution halted