Last updated on 2025-12-26 21:49:09 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.7 | 9.69 | 238.49 | 248.18 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.2.7 | 5.87 | 196.70 | 202.57 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.2.7 | 16.00 | 417.25 | 433.25 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.7 | 17.00 | 292.77 | 309.77 | OK | |
| r-devel-windows-x86_64 | 1.2.7 | 11.00 | 111.00 | 122.00 | ERROR | |
| r-patched-linux-x86_64 | 1.2.7 | 9.12 | 240.94 | 250.06 | OK | |
| r-release-linux-x86_64 | 1.2.7 | 9.07 | 240.31 | 249.38 | OK | |
| r-release-macos-arm64 | 1.2.7 | OK | ||||
| r-release-macos-x86_64 | 1.2.7 | 6.00 | 612.00 | 618.00 | OK | |
| r-release-windows-x86_64 | 1.2.7 | 10.00 | 409.00 | 419.00 | OK | |
| r-oldrel-macos-arm64 | 1.2.7 | OK | ||||
| r-oldrel-macos-x86_64 | 1.2.7 | 6.00 | 534.00 | 540.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.7 | 13.00 | 460.00 | 473.00 | OK |
Version: 1.2.7
Check: tests
Result: ERROR
Running 'testthat.R' [39s]
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(withr)
> library(PiC)
>
> test_check("PiC")
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
Joining with `by = join_by(u, v)`
Joining with `by = join_by(cls)`
Joining with `by = join_by(u, v, w)`
Joining with `by = join_by(u, v, w)`
Joining with `by = join_by(u, v, w)`
Joining with `by = join_by(u, v, w)`
File Forest_floor:D:\temp\2025_12_24_01_50_00_27005\RtmpAPmFxd/test_forest/Forest_floor.txt
File AGB:D:\temp\2025_12_24_01_50_00_27005\RtmpAPmFxd/test_forest/AGB.txt
Forest Floor segmentation: 3.42 sec elapsed
Percorso del file Forest_floor: D:\temp\2025_12_24_01_50_00_27005\RtmpAPmFxd/test_forest/Forest_floor.txt
Percorso del file AGB: D:\temp\2025_12_24_01_50_00_27005\RtmpAPmFxd/test_forest/AGB.txt
Stage 1: Forest floor segmentation
Forest floor saved to: D:/temp/2025_12_24_01_50_00_27005/RtmpAPmFxd/test_forest_seg/test_forest_dim3_th1_Forest_floor_soil_dim_0.1.txt
Stage 2: Wood segmentation
Wood points saved to: D:/temp/2025_12_24_01_50_00_27005/RtmpAPmFxd/test_forest_seg/test_forest_dim3_th1_Wood_eps2_mpts6.txt
Stage 3: Separating foliage from wood
Foliage points saved to: D:/temp/2025_12_24_01_50_00_27005/RtmpAPmFxd/test_forest_seg/test_forest_dim3_th1_AGBnoWOOD_eps2_mpts6.txt
Stage 4: Calculating tree metrics and canopy analysis
Calculating individual tree coordinates...
Calculating tree heights...
Saving _problems/test-Forest_seg-100.R
========================================
SegOne v4.1.1: Single Tree Analysis
Robust error handling + Adaptive density threshold
========================================
--- Analysis Parameters ---
Input points: 251,363
Voxel size: 2 cm (0.02 m)
DBSCAN parameters: eps = 2, minPts = 6
Minimum cluster size: 200 voxels
Shape parameter threshold: 30
Output directory: D:\temp\2025_12_24_01_50_00_27005\RtmpAPmFxd\file44107c565c3b
Stage 1/4: Wood segmentation
Voxelizing point cloud...
Voxels generated: 151,781
Running DBSCAN clustering...
Clusters found: 2 (>200 voxels)
Applying PCA shape filter (R > 30)...
Wood clusters accepted: 1 / 1
Mean shape parameter R: 113.68
Wood points identified: 192,870
Wood clusters detected: 1
Wood file saved: test_tree_dim2_th1_Wood_eps2_mpts6.txt
Stage 2/4: Foliage separation
Performing voxel-based subtraction...
Voxelizing at 0.2 m resolution...
Performing voxel-based subtraction...
Foliage points identified: 56,301
Wood/foliage ratio: 3.43
Stage 3/4: Metrics calculation skipped (calculate_metrics = FALSE)
Stage 4/4: Analysis completed successfully
Total time: 1.7 sec elapsed
========================================
Output Files Generated:
1. Wood points: test_tree_dim2_th1_Wood_eps2_mpts6.txt
-> 192,870 points
2. Foliage points: test_tree_dim2_th1_AGBnoWOOD_eps2_mpts6.txt
-> 56,301 points
========================================
Attaching package: 'shinydashboard'
The following object is masked from 'package:graphics':
box
Loading required package: ggplot2
Attaching package: 'plotly'
The following object is masked from 'package:ggplot2':
last_plot
The following object is masked from 'package:stats':
filter
The following object is masked from 'package:graphics':
layout
Voxelizing time: 0 sec elapsed
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 158 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-Forest_seg.R:88:3'): Forest_seg funziona correttamente con una scena forestale realistica ──
Expected `Forest_seg(...)` not to throw any errors.
Actually got a <simpleError> with message:
attempt access index 3/3 in VECTOR_ELT
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 158 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64