Running ‘testthat.R’ [292s/381s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(lidR)
  > test_check("lidR")
  Tests using raster: terra 
  Tests using future: TRUE 
  Tests using OpenMP thread: 1 
  Tests using rlas: 1.8.6 
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  Saving _problems/test-classify_ground-126.R
  Saving _problems/test-classify_ground-132.R
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  Chunk 1 of 1 (100%): state ✓
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  
                                                                                  
  [ FAIL 2 | WARN 0 | SKIP 46 | PASS 1303 ]
  
  ══ Skipped tests (46) ══════════════════════════════════════════════════════════
  • On CRAN (41): 'test-apply_automerge.R:99:3', 'test-apply_automerge.R:163:3',
    'test-apply_automerge.R:183:3', 'test-apply_automerge.R:196:3',
    'test-apply_automerge.R:217:3', 'test-apply_automerge.R:229:3',
    'test-apply_automerge.R:263:3', 'test-apply_automerge.R:274:3',
    'test-apply_automerge.R:320:3', 'test-apply_automerge.R:335:3',
    'test-apply_autoread.R:3:3', 'test-apply_generic.R:22:3',
    'test-apply_generic.R:108:3', 'test-catalog_laxindex.R:4:3',
    'test-classify_ground.R:62:3', 'test-classify_poi.R:21:3',
    'test-concaveman.R:15:3', 'test-concaveman.R:64:3',
    'test-fullwaveform.R:2:3', 'test-generic_local_maximum.R:2:3',
    'test-metrics_crowns.R:31:3', 'test-metrics_crowns.R:112:3',
    'test-metrics_crowns.R:122:3', 'test-plot.R:7:3', 'test-plot.R:15:3',
    'test-plot.R:49:3', 'test-plot.R:73:3', 'test-plot.R:79:3',
    'test-plot.R:86:3', 'test-plot.R:93:3', 'test-plot.R:100:3',
    'test-plot.R:107:3', 'test-plot.R:118:3', 'test-projection.R:82:3',
    'test-projection.R:107:3', 'test-rasterize_canopy.R:66:3',
    'test-rasterize_terrain.R:145:3', 'test-segment_snags.R:27:2',
    'test-segment_trees.R:73:3', 'test-track_sensor.R:45:3',
    'test-voxelize_points.R:15:3'
  • Point metrics disable (1): 'test-segment_shape.R:51:3'
  • Point metrics disabled (1): 'test-metrics_points.R:9:1'
  • empty test (3): , ,
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-classify_ground.R:126:3'): PTD works ─────────────────────────
  Expected `ans` to equal `class`.
  Differences:
  3/3 mismatches (average diff: 7.33)
  [1] 48956 - 48967 == -11
  [2] 24390 - 24383 ==   7
  [3]    57 -    53 ==   4
  ── Failure ('test-classify_ground.R:132:3'): PTD works ─────────────────────────
  Expected `ans` to equal `class`.
  Differences:
  3/3 mismatches (average diff: 20)
  [1] 67299 - 67271 ==  28
  [2]  4728 -  4758 == -30
  [3]  1376 -  1374 ==   2
  
  [ FAIL 2 | WARN 0 | SKIP 46 | PASS 1303 ]
  Error:
  ! Test failures.
  Execution halted