CRAN Package Check Results for Maintainer ‘Elliott Smeds <elliott.alfred93 at gmail.com>’

Last updated on 2025-12-28 05:50:24 CET.

Package ERROR OK
lacunr 1 12

Package lacunr

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.2
Check: tests
Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(lacunr) > > test_check("lacunr") Saving _problems/test-bounding_box-36.R Saving _problems/test-bounding_box-57.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 67 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bounding_box.R:36:3'): invalid 'lasmetrics3d' throws error ───── Error in ``[.data.table`(by, , `:=`(GRP, .GRP), by = c("Xgrid", "Ygrid", "Zgrid"))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─lidR::voxel_metrics(las, ~list(N = length(Z)), res = c(1, 2)) at test-bounding_box.R:36:3 2. ├─by[, `:=`(GRP, .GRP), by = c("Xgrid", "Ygrid", "Zgrid")] 3. └─data.table:::`[.data.table`(...) ── Error ('test-bounding_box.R:57:3'): 'lasmetrics3d' gives accurate output ──── Error in ``[.data.table`(by, , `:=`(GRP, .GRP), by = c("Xgrid", "Ygrid", "Zgrid"))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─lidR::voxel_metrics(las, ~list(N = length(Z)), 1) at test-bounding_box.R:57:3 2. ├─by[, `:=`(GRP, .GRP), by = c("Xgrid", "Ygrid", "Zgrid")] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 67 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'lacunr-tutorial.Rmd' using rmarkdown Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH Warning in hook_png(..., cmd = "pngquant", post_process = function(x) { : cannot find pngquant; please install and put it in PATH --- finished re-building 'lacunr-tutorial.Rmd' --- re-building 'quick-start.Rmd' using rmarkdown --- finished re-building 'quick-start.Rmd' --- re-building 'working-with-lidR.Rmd' using rmarkdown Quitting from working-with-lidR.Rmd:55-60 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 3/3 in VECTOR_ELT --- Backtrace: ▆ 1. └─lidR::voxel_metrics(las_glassfire, ~list(N = length(Z)), res = 1) 2. ├─by[, `:=`(GRP, .GRP), by = c("Xgrid", "Ygrid", "Zgrid")] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'working-with-lidR.Rmd' failed with diagnostics: attempt access index 3/3 in VECTOR_ELT --- failed re-building 'working-with-lidR.Rmd' SUMMARY: processing the following file failed: 'working-with-lidR.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.