R Under development (unstable) (2025-11-06 r88990 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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") 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)` File Forest_floor:D:\temp\2025_11_07_14_30_16_22304\RtmpMfMvA2/test_forest/Forest_floor.txt File AGB:D:\temp\2025_11_07_14_30_16_22304\RtmpMfMvA2/test_forest/AGB.txt Forest Floor segmentation: 1.77 sec elapsed Percorso del file Forest_floor: D:\temp\2025_11_07_14_30_16_22304\RtmpMfMvA2/test_forest/Forest_floor.txt Percorso del file AGB: D:\temp\2025_11_07_14_30_16_22304\RtmpMfMvA2/test_forest/AGB.txt Stage 1: Forest floor segmentation Forest floor saved to: D:/temp/2025_11_07_14_30_16_22304/RtmpMfMvA2/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_11_07_14_30_16_22304/RtmpMfMvA2/test_forest_seg/test_forest_dim3_th1_Wood_eps2_mpts6.txt Stage 3: Separating foliage from wood Foliage points saved to: D:/temp/2025_11_07_14_30_16_22304/RtmpMfMvA2/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... Calculating DBH... Filtering trees by point count... Calculating crown base height... Tree metrics report saved to: D:/temp/2025_11_07_14_30_16_22304/RtmpMfMvA2/test_forest_seg/test_forest_dim3_th1_tree_report.csv Calculating plot-level statistics... Running canopy analysis... Interpolating missing terrain elevations... Interpolation completed. Warning: Height interval increased to 3 units Plot report saved to: D:/temp/2025_11_07_14_30_16_22304/RtmpMfMvA2/test_forest_seg/test_forest_dim3_th1_plot_report.csv metrics: 167.8 sec elapsed Generated reports: 1. Individual tree report: D:/temp/2025_11_07_14_30_16_22304/RtmpMfMvA2/test_forest_seg/test_forest_dim3_th1_tree_report.csv 2. Study area summary report: D:/temp/2025_11_07_14_30_16_22304/RtmpMfMvA2/test_forest_seg/test_forest_dim3_th1_plot_report.csv Total time: 173.53 sec elapsed ======================================== 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_11_07_14_30_16_22304\RtmpMfMvA2\file100acf2b1f7b 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.02 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 0 | WARN 2 | SKIP 0 | PASS 159 ] [ FAIL 0 | WARN 2 | SKIP 0 | PASS 159 ] > > proc.time() user system elapsed 140.23 53.29 191.79