Running ‘testthat.R’ [6s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library('testthat')
  > library('hddtools')
  Loading required package: rgdal
  Loading required package: sp
  rgdal: version: 1.5-19, (SVN revision 1092)
  Geospatial Data Abstraction Library extensions to R successfully loaded
  Loaded GDAL runtime: GDAL 3.2.1, released 2020/12/29
  Path to GDAL shared files: /usr/share/gdal
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
  Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
  PROJ CDN enabled: FALSE
  Linking to sp version:1.4-5
  To mute warnings of possible GDAL/OSR exportToProj4() degradation,
  use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
  > 
  > test_check('hddtools')
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (4)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-Data60UK.R:27:3): Test tsData60UK function ────────────────────
  URL 'http://nrfaapps.ceh.ac.uk/datauk60/data/rq39015.txt': status was 'Couldn't connect to server'
  Backtrace:
   1. hddtools::tsData60UK(id = 39015) test-Data60UK.R:27:2
   2. utils::read.table(file_url)
   3. base::file(file, "rt")
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Data60UK.R:8:3): Test catalogueData60UK ───────────────────────
  `x` not equal to `expected`.
  1 element mismatch
  ── Error (test-Data60UK.R:18:3): Test catalogueData60UK bounding box ───────────
  Error: failed to load external entity "http://nrfaapps.ceh.ac.uk/datauk60/data.html"
  
  Backtrace:
      █
   1. ├─hddtools::catalogueData60UK(areaBox) test-Data60UK.R:18:2
   2. │ ├─XML::readHTMLTable(file_url)
   3. │ └─XML::readHTMLTable(file_url)
   4. │   └─XML:::.local(...)
   5. │     └─XML::htmlParse(doc, encoding = encoding)
   6. └─(function (msg, code, domain, line, col, level, filename, class = "XMLError") ...
  ── Error (test-Data60UK.R:27:3): Test tsData60UK function ──────────────────────
  Error: cannot open the connection to 'http://nrfaapps.ceh.ac.uk/datauk60/data/rq39015.txt'
  Backtrace:
      █
   1. └─hddtools::tsData60UK(id = 39015) test-Data60UK.R:27:2
   2.   └─utils::read.table(file_url)
   3.     └─base::file(file, "rt")
  
  [ FAIL 3 | WARN 1 | SKIP 4 | PASS 6 ]
  Error: Test failures
  Execution halted