lidR
Airborne LiDAR Data Manipulation and Visualization for Forestry Applications
Description
Airborne LiDAR (Light Detection and Ranging) interface for data manipulation and visualization. Read/write 'las' and 'laz' files, computation of metrics in area based approach, point filtering, artificial point reduction, classification from geographic data, normalization, individual tree segmentation and other manipulations.
Downloads
5.2K
Last 30 days
1723rd
16.1K
Last 90 days
75.2K
Last year
Trend: -6.9% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | ERROR |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | ERROR |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (7 non-OK)
tests
Running ‘testthat.R’ [297s/460s]
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
...[truncated]...
py.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:124:3'): PTD works ─────────────────────────
Expected `ans` to equal `class`.
Differences:
3/3 mismatches (average diff: 10.7)
[1] 48972 - 48988 == -16
[2] 24375 - 24364 == 11
[3] 56 - 51 == 5
── Failure ('test-classify_ground.R:130:3'): PTD works ─────────────────────────
Expected `ans` to equal `class`.
Differences:
3/3 mismatches (average diff: 18.7)
[1] 67296 - 67278 == 18
[2] 4730 - 4758 == -28
[3] 1377 - 1367 == 10
[ FAIL 2 | WARN 0 | SKIP 46 | PASS 1303 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [38s/38s]
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
...[truncated]...
py.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:124:3'): PTD works ─────────────────────────
Expected `ans` to equal `class`.
Differences:
3/3 mismatches (average diff: 10.7)
[1] 48972 - 48988 == -16
[2] 24375 - 24364 == 11
[3] 56 - 51 == 5
── Failure ('test-classify_ground.R:130:3'): PTD works ─────────────────────────
Expected `ans` to equal `class`.
Differences:
3/3 mismatches (average diff: 18.7)
[1] 67296 - 67278 == 18
[2] 4730 - 4758 == -28
[3] 1377 - 1367 == 10
[ FAIL 2 | WARN 0 | SKIP 46 | PASS 1303 ]
Error:
! Test failures.
Execution halted
installed package size
installed size is 14.1Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 10.2Mb
package dependencies
Package suggested but not available for checking: ‘EBImage’
installed package size
installed size is 13.8Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 9.9Mb
installed package size
installed size is 5.6Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 1.8Mb
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/lidR.Rcheck/00install.out’ for details.
Additional Issues
Check History
ERROR 8 OK · 3 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Apr 3, 2026
tests
Running ‘testthat.R’ [4m/12m]
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
...[truncated]...
ans` to equal `class`.
Differences:
3/3 mismatches (average diff: 18.7)
[1] 67296 - 67278 == 18
[2] 4730 - 4758 == -28
[3] 1377 - 1367 == 10
[ FAIL 2 | WARN 0 | SKIP 46 | PASS 1303 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [46s/46s]
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
...[truncated]...
ans` to equal `class`.
Differences:
3/3 mismatches (average diff: 18.7)
[1] 67296 - 67278 == 18
[2] 4730 - 4758 == -28
[3] 1377 - 1367 == 10
[ FAIL 2 | WARN 0 | SKIP 46 | PASS 1303 ]
Error:
! Test failures.
Execution halted
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/lidR.Rcheck/00install.out’ for details.
package dependencies
Package suggested but not available for checking: ‘EBImage’
installed package size
installed size is 13.8Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 9.9Mb
installed package size
installed size is 5.6Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 1.8Mb
NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
compiled code
File ‘lidR/libs/lidR.so’: Found non-API call to R: ‘ATTRIB’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
package dependencies
Package suggested but not available for checking: ‘EBImage’
installed package size
installed size is 13.8Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 9.9Mb
installed package size
installed size is 5.6Mb
sub-directories of 1Mb or more:
R 1.1Mb
doc 1.0Mb
extdata 1.2Mb
libs 1.8Mb