Description
Calculates 3D lacunarity from voxel data. It is designed for use with point clouds generated from Light Detection And Ranging (LiDAR) scans in order to measure the spatial heterogeneity of 3-dimensional structures such as forest stands. It provides fast 'C++' functions to efficiently bin point cloud data into voxels and calculate lacunarity using different variants of the gliding-box algorithm originated by Allain & Cloitre (1991) <doi:10.1103/PhysRevA.44.3552>.
Downloads
247
Last 30 days
20089th
556
Last 90 days
2.6K
Last year
Trend: +83% (30d vs prior 30d)
24
Last 30 days
115
Last 90 days
419
Last year
Trend: -40% (30d vs prior 30d)
4
Last 7 days
22
Last 30 days
2
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (6 non-OK)
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Check History
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 10, 2026
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
Rd cross-references
Unknown package ‘lidR’ in Rd xrefs
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
examples
Running massageExamples to create ‘lacunr-Ex.R’ failed Error in file(out, "wt") : cannot open the connection Calls: <Anonymous> -> Rd2ex -> file In addition: Warning message: In file(out, "wt") : cannot open file '/tmp/Rtmp7mcKn5/file23faa3946e5fc/lacunarity.R': No space left on device Execution halted NONE
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/lacunr.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
3,001
Files
50
Compiled share
11.9%
Has compiled src
Yes
Language breakdown
API
Exported functions
7
Internal functions
9
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.27
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
20%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
2.10
System requirements
–
C++ standard
–
License
GPL (>= 3)
License flags
SPDX valid, OSI approved
History
Versions
2
First release
2024-06-04
Latest release
2025-08-27
Avg cadence
449 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.