Running ‘testthat.R’ [16s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(happign)
  Please make sure you have an internet connection.
  Use happign::get_last_news() to display latest geoservice news.
  > 
  > test_check("happign")
  Linking to GEOS 3.12.0, GDAL 3.7.3, PROJ 9.3.0; sf_use_s2() is TRUE
  terra 1.7.55
  
  Attaching package: 'terra'
  
  The following objects are masked from 'package:testthat':
  
      compare, describe
  
  Layer file2180df74eaf84c in dataset /tmp/RtmpH0YNPl/file2180df74eaf84c.shp already exists:
  use either append=TRUE to append to layer or append=FALSE to overwrite layer
  Use happign::get_last_news() to display latest geoservice news.
  Please make sure you have an internet connection.
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 64 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test-get_apicarto_codes_postaux.R:7:7',
    'test-get_apicarto_gpu.R:39:7', 'test-get_apicarto_rpg.R:6:7',
    'test-get_location_info.R:3:7', 'test-get_location_info.R:13:7',
    'test-get_location_info.R:25:7', 'test-get_location_info.R:39:7',
    'test-get_location_info.R:54:7', 'test-get_location_info.R:66:7',
    'test-get_wfs.R:33:4', 'test-get_wfs.R:74:7', 'test-get_wfs.R:99:7',
    'test-get_wfs.R:116:7', 'test-get_wms_raster.R:10:7',
    'test-get_wms_raster.R:25:4', 'test-get_wms_raster.R:41:4',
    'test-get_wms_raster.R:56:4', 'test-get_wms_raster.R:69:4',
    'test-get_wms_raster.R:82:4', 'test-get_wms_raster.R:95:4',
    'test-hit_api.R:18:7', 'test-utils.R:3:4', 'test-utils.R:18:4',
    'test-utils.R:90:7'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-hit_api.R:13:4'): build_req works ──────────────────────────────
  Error in `req_url_query(req_url_path(req_options(request("https://apicarto.ign.fr"), 
      ssl_verifypeer = 0), path), !!!params)`: All components of `...` must be named.
  Backtrace:
       ▆
    1. ├─testthat::expect_error(build_req(path, "test"), "All components of ... must be named") at test-hit_api.R:13:4
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─happign:::build_req(path, "test")
    8.   └─httr2::req_url_query(...)
    9.     └─httr2:::multi_dots(..., .multi = .multi)
   10.       └─cli::cli_abort(...)
   11.         └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 64 ]
  Error: Test failures
  Execution halted