CRAN Package Check Results for Package lidR

Last updated on 2025-12-03 05:50:12 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.2.2 140.80 539.09 679.89 OK
r-devel-linux-x86_64-debian-gcc 4.2.2 99.03 337.10 436.13 OK
r-devel-linux-x86_64-fedora-clang 4.2.2 205.00 925.98 1130.98 OK
r-devel-linux-x86_64-fedora-gcc 4.2.2 529.00 711.55 1240.55 OK
r-devel-windows-x86_64 4.2.2 175.00 482.00 657.00 OK
r-patched-linux-x86_64 4.2.2 148.15 513.51 661.66 OK
r-release-linux-x86_64 4.2.2 146.76 513.05 659.81 OK
r-release-macos-arm64 4.2.2 OK
r-release-macos-x86_64 4.2.2 86.00 530.00 616.00 OK
r-release-windows-x86_64 4.2.2 154.00 482.00 636.00 OK
r-oldrel-macos-arm64 4.2.2 NOTE
r-oldrel-macos-x86_64 4.2.2 83.00 605.00 688.00 NOTE
r-oldrel-windows-x86_64 4.2.2 190.00 630.00 820.00 ERROR

Check Details

Version: 4.2.2
Check: installed package size
Result: NOTE installed size is 15.3Mb sub-directories of 1Mb or more: R 2.0Mb doc 1.0Mb extdata 1.2Mb libs 10.5Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 4.2.2
Check: tests
Result: ERROR Running 'testthat.R' [178s] 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.2 Saving _problems/test-apply_generic-85.R Saving _problems/test-apply_independent-19.R Saving _problems/test-apply_restart-21.R OGR: Unsupported geometry type OGR: Unsupported geometry type Saving _problems/test-metrics_pixels-163.R Saving _problems/test-metrics_pixels-225.R Chunk 1 of 1 (100%): state ✓ Saving _problems/test-rasterize_canopy-103.R Saving _problems/test-rasterize_canopy-121.R Saving _problems/test-rasterize_density-16.R Saving _problems/test-rasterize_terrain-129.R [ FAIL 9 | WARN 17 | SKIP 46 | PASS 1269 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Error ('test-apply_generic.R:85:3'): catalog_apply fixes chunk alignment even by file ── Error: [rast] empty srs Backtrace: ▆ 1. └─lidR::catalog_sapply(ctg, test, res = res, align = sta) at test-apply_generic.R:85:3 2. └─lidR::catalog_apply(ctg, FUN, ..., .options = .options) 3. └─lidR::engine_apply(...) 4. ├─terra::rast(res) 5. └─terra::rast(res) 6. └─terra (local) .local(x, ...) 7. ├─terra::unwrap(x) 8. └─terra::unwrap(x) 9. └─terra (local) .local(x, ...) 10. ├─base::eval(parse(text = x@definition)) 11. │ └─base::eval(parse(text = x@definition)) 12. ├─terra::rast(...) 13. └─terra::rast(...) 14. └─terra (local) .local(x = x, ...) 15. └─terra:::new_rast(...) 16. └─terra:::messages(r, "rast") 17. └─terra:::error(f, x@pntr$getError()) ── Error ('test-apply_independent.R:19:3'): opt_independent_files built several DTMs without error ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::rasterize_terrain(ctg, 1, tin()) at test-apply_independent.R:19:3 2. └─lidR:::rasterize_terrain.LAScatalog(ctg, 1, tin()) 3. └─lidR::catalog_apply(...) 4. └─lidR::engine_apply(...) 5. ├─terra::rast(res) 6. └─terra::rast(res) 7. └─terra (local) .local(x, ...) 8. ├─terra::unwrap(x) 9. └─terra::unwrap(x) 10. └─terra (local) .local(x, ...) 11. ├─base::eval(parse(text = x@definition)) 12. │ └─base::eval(parse(text = x@definition)) 13. ├─terra::rast(...) 14. └─terra::rast(...) 15. └─terra (local) .local(x = x, ...) 16. └─terra:::new_rast(...) 17. └─terra:::messages(r, "rast") 18. └─terra:::error(f, x@pntr$getError()) ── Error ('test-apply_restart.R:21:3'): catalog engine returns a valid output ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::pixel_metrics(ctg, ~mean(Z), 20) at test-apply_restart.R:21:3 2. └─lidR:::pixel_metrics.LAScatalog(ctg, ~mean(Z), 20) 3. └─lidR::catalog_apply(...) 4. └─lidR::engine_apply(...) 5. ├─terra::rast(res) 6. └─terra::rast(res) 7. └─terra (local) .local(x, ...) 8. ├─terra::unwrap(x) 9. └─terra::unwrap(x) 10. └─terra (local) .local(x, ...) 11. ├─base::eval(parse(text = x@definition)) 12. │ └─base::eval(parse(text = x@definition)) 13. ├─terra::rast(...) 14. └─terra::rast(...) 15. └─terra (local) .local(x = x, ...) 16. └─terra:::new_rast(...) 17. └─terra:::messages(r, "rast") 18. └─terra:::error(f, x@pntr$getError()) ── Error ('test-metrics_pixels.R:163:3'): pixel_metric returns the same both with LAScatalog and LAS ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::pixel_metrics(ctg, f1, 20) at test-metrics_pixels.R:163:3 2. └─lidR:::pixel_metrics.LAScatalog(ctg, f1, 20) 3. └─lidR::catalog_apply(...) 4. └─lidR::engine_apply(...) 5. ├─terra::rast(res) 6. └─terra::rast(res) 7. └─terra (local) .local(x, ...) 8. ├─terra::unwrap(x) 9. └─terra::unwrap(x) 10. └─terra (local) .local(x, ...) 11. ├─base::eval(parse(text = x@definition)) 12. │ └─base::eval(parse(text = x@definition)) 13. ├─terra::rast(...) 14. └─terra::rast(...) 15. └─terra (local) .local(x = x, ...) 16. └─terra:::new_rast(...) 17. └─terra:::messages(r, "rast") 18. └─terra:::error(f, x@pntr$getError()) ── Failure ('test-metrics_pixels.R:225:3'): predefined metric set work both with a LAS and LAScatalog ── `pixel_metrics(ctg, .stdmetrics_z)` threw an error. Message: [rast] empty srs Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(pixel_metrics(ctg, .stdmetrics_z), NA) at test-metrics_pixels.R:225:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─lidR::pixel_metrics(ctg, .stdmetrics_z) 7. └─lidR:::pixel_metrics.LAScatalog(ctg, .stdmetrics_z) 8. └─lidR::catalog_apply(...) 9. └─lidR::engine_apply(...) 10. ├─terra::rast(res) 11. └─terra::rast(res) 12. └─terra (local) .local(x, ...) 13. ├─terra::unwrap(x) 14. └─terra::unwrap(x) 15. └─terra (local) .local(x, ...) 16. ├─base::eval(parse(text = x@definition)) 17. │ └─base::eval(parse(text = x@definition)) 18. ├─terra::rast(...) 19. └─terra::rast(...) 20. └─terra (local) .local(x = x, ...) 21. └─terra:::new_rast(...) 22. └─terra:::messages(r, "rast") 23. └─terra:::error(f, x@pntr$getError()) ── Error ('test-rasterize_canopy.R:103:3'): rasterize_canopy tin works both with LAS and LAScatalog ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::rasterize_canopy(ctg, 1, f) at test-rasterize_canopy.R:103:3 2. └─lidR:::rasterize_canopy.LAScatalog(ctg, 1, f) 3. └─lidR::catalog_apply(...) 4. └─lidR::engine_apply(...) 5. ├─terra::rast(res) 6. └─terra::rast(res) 7. └─terra (local) .local(x, ...) 8. ├─terra::unwrap(x) 9. └─terra::unwrap(x) 10. └─terra (local) .local(x, ...) 11. ├─base::eval(parse(text = x@definition)) 12. │ └─base::eval(parse(text = x@definition)) 13. ├─terra::rast(...) 14. └─terra::rast(...) 15. └─terra (local) .local(x = x, ...) 16. └─terra:::new_rast(...) 17. └─terra:::messages(r, "rast") 18. └─terra:::error(f, x@pntr$getError()) ── Error ('test-rasterize_canopy.R:121:3'): rasterize_canopy pit-free works both with LAS and LAScatalog ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::rasterize_canopy(ctg, 1, f) at test-rasterize_canopy.R:121:3 2. └─lidR:::rasterize_canopy.LAScatalog(ctg, 1, f) 3. └─lidR::catalog_apply(...) 4. └─lidR::engine_apply(...) 5. ├─terra::rast(res) 6. └─terra::rast(res) 7. └─terra (local) .local(x, ...) 8. ├─terra::unwrap(x) 9. └─terra::unwrap(x) 10. └─terra (local) .local(x, ...) 11. ├─base::eval(parse(text = x@definition)) 12. │ └─base::eval(parse(text = x@definition)) 13. ├─terra::rast(...) 14. └─terra::rast(...) 15. └─terra (local) .local(x = x, ...) 16. └─terra:::new_rast(...) 17. └─terra:::messages(r, "rast") 18. └─terra:::error(f, x@pntr$getError()) ── Error ('test-rasterize_density.R:16:3'): rasterize_density returns the same both with LAScatalog and LAS ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::rasterize_density(ctg) at test-rasterize_density.R:16:3 2. └─lidR:::rasterize_density.LAScatalog(ctg) 3. └─lidR::catalog_map(las, rasterize_density, res = res, ..., .options = options) 4. └─lidR::catalog_apply(ctg, FUN, ..., .options = .options) 5. └─lidR::engine_apply(...) 6. ├─terra::rast(res) 7. └─terra::rast(res) 8. └─terra (local) .local(x, ...) 9. ├─terra::unwrap(x) 10. └─terra::unwrap(x) 11. └─terra (local) .local(x, ...) 12. ├─base::eval(parse(text = x@definition)) 13. │ └─base::eval(parse(text = x@definition)) 14. ├─terra::rast(...) 15. └─terra::rast(...) 16. └─terra (local) .local(x = x, ...) 17. └─terra:::new_rast(...) 18. └─terra:::messages(r, "rast") 19. └─terra:::error(f, x@pntr$getError()) ── Error ('test-rasterize_terrain.R:129:3'): rasterize_terrain returns the same both with LAScatalog and LAS ── Error: [rast] empty srs Backtrace: ▆ 1. ├─lidR::rasterize_terrain(ctg, 1, tin()) at test-rasterize_terrain.R:129:3 2. └─lidR:::rasterize_terrain.LAScatalog(ctg, 1, tin()) 3. └─lidR::catalog_apply(...) 4. └─lidR::engine_apply(...) 5. ├─terra::rast(res) 6. └─terra::rast(res) 7. └─terra (local) .local(x, ...) 8. ├─terra::unwrap(x) 9. └─terra::unwrap(x) 10. └─terra (local) .local(x, ...) 11. ├─base::eval(parse(text = x@definition)) 12. │ └─base::eval(parse(text = x@definition)) 13. ├─terra::rast(...) 14. └─terra::rast(...) 15. └─terra (local) .local(x = x, ...) 16. └─terra:::new_rast(...) 17. └─terra:::messages(r, "rast") 18. └─terra:::error(f, x@pntr$getError()) [ FAIL 9 | WARN 17 | SKIP 46 | PASS 1269 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.