CRAN Package Check Results for Package BIOMASS

Last updated on 2025-12-20 09:49:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.4-1 31.01 363.49 394.50 OK
r-devel-linux-x86_64-debian-gcc 2.2.4-1 16.62 196.83 213.45 ERROR
r-devel-linux-x86_64-fedora-clang 2.2.4-1 53.00 493.64 546.64 ERROR
r-devel-linux-x86_64-fedora-gcc 2.2.4-1 50.00 490.26 540.26 ERROR
r-devel-windows-x86_64 2.2.4-1 29.00 266.00 295.00 OK --no-vignettes
r-patched-linux-x86_64 2.2.4-1 27.58 335.80 363.38 OK
r-release-linux-x86_64 2.2.4-1 30.43 331.00 361.43 OK
r-release-macos-arm64 2.2.4-1 OK
r-release-macos-x86_64 2.2.4-1 21.00 448.00 469.00 OK
r-release-windows-x86_64 2.2.4-1 30.00 240.00 270.00 OK --no-vignettes
r-oldrel-macos-arm64 2.2.4-1 OK
r-oldrel-macos-x86_64 2.2.4-1 19.00 407.00 426.00 OK
r-oldrel-windows-x86_64 2.2.4-1 40.00 310.00 350.00 OK --no-vignettes

Check Details

Version: 2.2.4-1
Check: examples
Result: ERROR Running examples in ‘BIOMASS-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: check_plot_coord > ### Title: Check coordinates of plot corners and trees > ### Aliases: check_plot_coord > > ### ** Examples > > # One plot with repeated measurements of each corner > data("NouraguesPlot201") > check_plot201 <- check_plot_coord( + corner_data = NouraguesPlot201, + proj_coord = c("Xutm","Yutm"), rel_coord = c("Xfield","Yfield"), + trust_GPS_corners = TRUE, draw_plot = FALSE) Error in `[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", : attempt access index 9/9 in VECTOR_ELT Calls: check_plot_coord ... [.data.table -> check_corner_fct -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.2.4-1
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BIOMASS) For more information on using BIOMASS, visit https://umr-amap.github.io/BIOMASS Using temporary cache It is recommended to use a permanent cache to avoid to re-download files on each session. See function createCache() or BIOMASS.cache option. > > test_check("BIOMASS") Saving _problems/test-AGBmonteCarlo-289.R Saving _problems/test-check_coord_plot-85.R Saving _problems/test-check_coord_plot-96.R Saving _problems/test-dividePlot-7.R Saving _problems/test-retrieveH-77.R Saving _problems/test-small_function-242.R Saving _problems/test-subplot_summary-7.R [ FAIL 7 | WARN 0 | SKIP 17 | PASS 359 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-AGBmonteCarlo.R:153:3', 'test-check_coord_plot.R:106:3', 'test-check_coord_plot.R:124:3', 'test-computeAGB.R:43:3', 'test-correctTaxo.R:5:3', 'test-modelHD.R:120:3', 'test-retrieveH.R:36:3', 'test-small_function.R:22:3', 'test-small_function.R:38:3', 'test-small_function.R:102:3', 'test-small_function.R:112:3', 'test-small_function.R:124:3', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:162:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-AGBmonteCarlo.R:289:3'): With the plot value ─────────────────── Error in ``[.data.table`(data, , `:=`(H, predictHeight(D, model = model[[unique(plot)]], err)), by = plot)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::AGBmonteCarlo(...) at test-AGBmonteCarlo.R:289:3 2. └─base::apply(...) 3. └─BIOMASS (local) FUN(newX[, i], ...) 4. └─BIOMASS::predictHeight(x, model = HDmodel, err = TRUE, plot = plot) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-check_coord_plot.R:85:3'): check_plot_coord in long lat ──────── Error in ``[.data.table`(coord, , `:=`(c("X", "Y"), proj4::project(.(long, lat), proj = unique(.BY))), by = codeUTM)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─BIOMASS::check_plot_coord(...) at test-check_coord_plot.R:85:3 2. │ ├─corner_dt[, latlong2UTM_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 3. │ └─data.table:::`[.data.table`(...) 4. └─BIOMASS (local) latlong2UTM_fct(.SD) 5. └─BIOMASS::latlong2UTM(dat[, c("long", "lat")]) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-check_coord_plot.R:94:3'): check_plot_coord, trust_GPS_corners ── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-check_coord_plot.R:94:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─BIOMASS::check_plot_coord(...) 7. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 8. │ └─data.table:::`[.data.table`(...) 9. └─BIOMASS (local) check_corner_fct(.SD) 10. ├─...[] 11. └─data.table:::`[.data.table`(...) ── Error ('test-dividePlot.R:7:1'): (code run outside of `test_that()`) ──────── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-dividePlot.R:7:1 2. │ └─base::withCallingHandlers(...) 3. ├─BIOMASS::check_plot_coord(...) 4. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 5. │ └─data.table:::`[.data.table`(...) 6. └─BIOMASS (local) check_corner_fct(.SD) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-retrieveH.R:77:3'): With the plot ────────────────────────────── Error in ``[.data.table`(data, , `:=`(H, predictHeight(D, model = model[[unique(plot)]], err)), by = plot)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::retrieveH(D, model, plot = NouraguesHD$plotId) at test-retrieveH.R:77:3 2. └─BIOMASS::predictHeight(D, model, plot = plot) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-small_function.R:242:3'): lat long to UTM ────────────────────── Error in ``[.data.table`(coord, , `:=`(c("X", "Y"), proj4::project(.(long, lat), proj = unique(.BY))), by = codeUTM)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::latlong2UTM(coord) at test-small_function.R:242:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-subplot_summary.R:7:1'): (code run outside of `test_that()`) ─── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-subplot_summary.R:7:1 2. │ └─base::withCallingHandlers(...) 3. ├─BIOMASS::check_plot_coord(...) 4. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 5. │ └─data.table:::`[.data.table`(...) 6. └─BIOMASS (local) check_corner_fct(.SD) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 7 | WARN 0 | SKIP 17 | PASS 359 ] Deleting unused snapshots: 'subplot_summary/subplot-summary-multiple-metrics-204.svg', 'subplot_summary/subplot-summary-multiple-plot-201.svg', 'subplot_summary/subplot-summary-multiple-plot-204.svg', 'subplot_summary/subplot-summary-proj-coords.svg', 'subplot_summary/subplot-summary-quantile.svg', and 'subplot_summary/subplot-summary-rel-coords.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.2.4-1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Vignette_BIOMASS.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘Vignette_BIOMASS.Rmd’ --- re-building ‘Vignette_spatialized_trees_and_forest_stand_metrics.Rmd’ using rmarkdown Quitting from Vignette_spatialized_trees_and_forest_stand_metrics.Rmd:105-113 [check_plot_trust_GPS] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 3/3 in VECTOR_ELT --- Backtrace: ▆ 1. ├─BIOMASS::check_plot_coord(...) 2. │ ├─corner_dt[, latlong2UTM_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 3. │ └─data.table:::`[.data.table`(...) 4. └─BIOMASS (local) latlong2UTM_fct(.SD) 5. └─BIOMASS::latlong2UTM(dat[, c("long", "lat")]) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Vignette_spatialized_trees_and_forest_stand_metrics.Rmd' failed with diagnostics: attempt access index 3/3 in VECTOR_ELT --- failed re-building ‘Vignette_spatialized_trees_and_forest_stand_metrics.Rmd’ SUMMARY: processing the following file failed: ‘Vignette_spatialized_trees_and_forest_stand_metrics.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.2.4-1
Check: examples
Result: ERROR Running examples in ‘BIOMASS-Ex.R’ failed The error most likely occurred in: > ### Name: check_plot_coord > ### Title: Check coordinates of plot corners and trees > ### Aliases: check_plot_coord > > ### ** Examples > > # One plot with repeated measurements of each corner > data("NouraguesPlot201") > check_plot201 <- check_plot_coord( + corner_data = NouraguesPlot201, + proj_coord = c("Xutm","Yutm"), rel_coord = c("Xfield","Yfield"), + trust_GPS_corners = TRUE, draw_plot = FALSE) Error in `[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", : attempt access index 9/9 in VECTOR_ELT Calls: check_plot_coord ... [.data.table -> check_corner_fct -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.2.4-1
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/42s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BIOMASS) For more information on using BIOMASS, visit https://umr-amap.github.io/BIOMASS Using temporary cache It is recommended to use a permanent cache to avoid to re-download files on each session. See function createCache() or BIOMASS.cache option. > > test_check("BIOMASS") Saving _problems/test-AGBmonteCarlo-289.R Saving _problems/test-check_coord_plot-85.R Saving _problems/test-check_coord_plot-96.R Saving _problems/test-dividePlot-7.R Saving _problems/test-retrieveH-77.R Saving _problems/test-small_function-242.R Saving _problems/test-subplot_summary-7.R [ FAIL 7 | WARN 0 | SKIP 17 | PASS 359 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-AGBmonteCarlo.R:153:3', 'test-check_coord_plot.R:106:3', 'test-check_coord_plot.R:124:3', 'test-computeAGB.R:43:3', 'test-correctTaxo.R:5:3', 'test-modelHD.R:120:3', 'test-retrieveH.R:36:3', 'test-small_function.R:22:3', 'test-small_function.R:38:3', 'test-small_function.R:102:3', 'test-small_function.R:112:3', 'test-small_function.R:124:3', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:162:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-AGBmonteCarlo.R:289:3'): With the plot value ─────────────────── Error in ``[.data.table`(data, , `:=`(H, predictHeight(D, model = model[[unique(plot)]], err)), by = plot)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::AGBmonteCarlo(...) at test-AGBmonteCarlo.R:289:3 2. └─base::apply(...) 3. └─BIOMASS (local) FUN(newX[, i], ...) 4. └─BIOMASS::predictHeight(x, model = HDmodel, err = TRUE, plot = plot) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-check_coord_plot.R:85:3'): check_plot_coord in long lat ──────── Error in ``[.data.table`(coord, , `:=`(c("X", "Y"), proj4::project(.(long, lat), proj = unique(.BY))), by = codeUTM)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─BIOMASS::check_plot_coord(...) at test-check_coord_plot.R:85:3 2. │ ├─corner_dt[, latlong2UTM_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 3. │ └─data.table:::`[.data.table`(...) 4. └─BIOMASS (local) latlong2UTM_fct(.SD) 5. └─BIOMASS::latlong2UTM(dat[, c("long", "lat")]) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-check_coord_plot.R:94:3'): check_plot_coord, trust_GPS_corners ── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-check_coord_plot.R:94:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─BIOMASS::check_plot_coord(...) 7. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 8. │ └─data.table:::`[.data.table`(...) 9. └─BIOMASS (local) check_corner_fct(.SD) 10. ├─...[] 11. └─data.table:::`[.data.table`(...) ── Error ('test-dividePlot.R:7:1'): (code run outside of `test_that()`) ──────── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-dividePlot.R:7:1 2. │ └─base::withCallingHandlers(...) 3. ├─BIOMASS::check_plot_coord(...) 4. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 5. │ └─data.table:::`[.data.table`(...) 6. └─BIOMASS (local) check_corner_fct(.SD) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-retrieveH.R:77:3'): With the plot ────────────────────────────── Error in ``[.data.table`(data, , `:=`(H, predictHeight(D, model = model[[unique(plot)]], err)), by = plot)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::retrieveH(D, model, plot = NouraguesHD$plotId) at test-retrieveH.R:77:3 2. └─BIOMASS::predictHeight(D, model, plot = plot) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-small_function.R:242:3'): lat long to UTM ────────────────────── Error in ``[.data.table`(coord, , `:=`(c("X", "Y"), proj4::project(.(long, lat), proj = unique(.BY))), by = codeUTM)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::latlong2UTM(coord) at test-small_function.R:242:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-subplot_summary.R:7:1'): (code run outside of `test_that()`) ─── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-subplot_summary.R:7:1 2. │ └─base::withCallingHandlers(...) 3. ├─BIOMASS::check_plot_coord(...) 4. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 5. │ └─data.table:::`[.data.table`(...) 6. └─BIOMASS (local) check_corner_fct(.SD) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 7 | WARN 0 | SKIP 17 | PASS 359 ] Deleting unused snapshots: 'subplot_summary/subplot-summary-multiple-metrics-204.svg', 'subplot_summary/subplot-summary-multiple-plot-201.svg', 'subplot_summary/subplot-summary-multiple-plot-204.svg', 'subplot_summary/subplot-summary-proj-coords.svg', 'subplot_summary/subplot-summary-quantile.svg', and 'subplot_summary/subplot-summary-rel-coords.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.2.4-1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Vignette_BIOMASS.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘Vignette_BIOMASS.Rmd’ --- re-building ‘Vignette_spatialized_trees_and_forest_stand_metrics.Rmd’ using rmarkdown Quitting from Vignette_spatialized_trees_and_forest_stand_metrics.Rmd:105-113 [check_plot_trust_GPS] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 3/3 in VECTOR_ELT --- Backtrace: ▆ 1. ├─BIOMASS::check_plot_coord(...) 2. │ ├─corner_dt[, latlong2UTM_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 3. │ └─data.table:::`[.data.table`(...) 4. └─BIOMASS (local) latlong2UTM_fct(.SD) 5. └─BIOMASS::latlong2UTM(dat[, c("long", "lat")]) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Vignette_spatialized_trees_and_forest_stand_metrics.Rmd' failed with diagnostics: attempt access index 3/3 in VECTOR_ELT --- failed re-building ‘Vignette_spatialized_trees_and_forest_stand_metrics.Rmd’ SUMMARY: processing the following file failed: ‘Vignette_spatialized_trees_and_forest_stand_metrics.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.2.4-1
Check: tests
Result: ERROR Running ‘testthat.R’ [34s/40s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BIOMASS) For more information on using BIOMASS, visit https://umr-amap.github.io/BIOMASS Using temporary cache It is recommended to use a permanent cache to avoid to re-download files on each session. See function createCache() or BIOMASS.cache option. > > test_check("BIOMASS") Saving _problems/test-AGBmonteCarlo-289.R Saving _problems/test-check_coord_plot-85.R Saving _problems/test-check_coord_plot-96.R Saving _problems/test-dividePlot-7.R Saving _problems/test-retrieveH-77.R Saving _problems/test-small_function-242.R Saving _problems/test-subplot_summary-7.R [ FAIL 7 | WARN 0 | SKIP 17 | PASS 359 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-AGBmonteCarlo.R:153:3', 'test-check_coord_plot.R:106:3', 'test-check_coord_plot.R:124:3', 'test-computeAGB.R:43:3', 'test-correctTaxo.R:5:3', 'test-modelHD.R:120:3', 'test-retrieveH.R:36:3', 'test-small_function.R:22:3', 'test-small_function.R:38:3', 'test-small_function.R:102:3', 'test-small_function.R:112:3', 'test-small_function.R:124:3', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:140:5', 'test-small_function.R:162:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-AGBmonteCarlo.R:289:3'): With the plot value ─────────────────── Error in ``[.data.table`(data, , `:=`(H, predictHeight(D, model = model[[unique(plot)]], err)), by = plot)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::AGBmonteCarlo(...) at test-AGBmonteCarlo.R:289:3 2. └─base::apply(...) 3. └─BIOMASS (local) FUN(newX[, i], ...) 4. └─BIOMASS::predictHeight(x, model = HDmodel, err = TRUE, plot = plot) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-check_coord_plot.R:85:3'): check_plot_coord in long lat ──────── Error in ``[.data.table`(coord, , `:=`(c("X", "Y"), proj4::project(.(long, lat), proj = unique(.BY))), by = codeUTM)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─BIOMASS::check_plot_coord(...) at test-check_coord_plot.R:85:3 2. │ ├─corner_dt[, latlong2UTM_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 3. │ └─data.table:::`[.data.table`(...) 4. └─BIOMASS (local) latlong2UTM_fct(.SD) 5. └─BIOMASS::latlong2UTM(dat[, c("long", "lat")]) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-check_coord_plot.R:94:3'): check_plot_coord, trust_GPS_corners ── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-check_coord_plot.R:94:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─BIOMASS::check_plot_coord(...) 7. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 8. │ └─data.table:::`[.data.table`(...) 9. └─BIOMASS (local) check_corner_fct(.SD) 10. ├─...[] 11. └─data.table:::`[.data.table`(...) ── Error ('test-dividePlot.R:7:1'): (code run outside of `test_that()`) ──────── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-dividePlot.R:7:1 2. │ └─base::withCallingHandlers(...) 3. ├─BIOMASS::check_plot_coord(...) 4. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 5. │ └─data.table:::`[.data.table`(...) 6. └─BIOMASS (local) check_corner_fct(.SD) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-retrieveH.R:77:3'): With the plot ────────────────────────────── Error in ``[.data.table`(data, , `:=`(H, predictHeight(D, model = model[[unique(plot)]], err)), by = plot)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::retrieveH(D, model, plot = NouraguesHD$plotId) at test-retrieveH.R:77:3 2. └─BIOMASS::predictHeight(D, model, plot = plot) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-small_function.R:242:3'): lat long to UTM ────────────────────── Error in ``[.data.table`(coord, , `:=`(c("X", "Y"), proj4::project(.(long, lat), proj = unique(.BY))), by = codeUTM)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─BIOMASS::latlong2UTM(coord) at test-small_function.R:242:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-subplot_summary.R:7:1'): (code run outside of `test_that()`) ─── Error in ``[.data.table`(corner_dat, , `:=`(c("x_proj_mean", "y_proj_mean", "row_number"), list(mean(x_proj), mean(y_proj), .I)), by = list(x_rel, y_rel))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-subplot_summary.R:7:1 2. │ └─base::withCallingHandlers(...) 3. ├─BIOMASS::check_plot_coord(...) 4. │ ├─corner_dt[, check_corner_fct(.SD), by = plot_ID, .SDcols = colnames(corner_dt)] 5. │ └─data.table:::`[.data.table`(...) 6. └─BIOMASS (local) check_corner_fct(.SD) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 7 | WARN 0 | SKIP 17 | PASS 359 ] Deleting unused snapshots: 'subplot_summary/subplot-summary-multiple-metrics-204.svg', 'subplot_summary/subplot-summary-multiple-plot-201.svg', 'subplot_summary/subplot-summary-multiple-plot-204.svg', 'subplot_summary/subplot-summary-proj-coords.svg', 'subplot_summary/subplot-summary-quantile.svg', and 'subplot_summary/subplot-summary-rel-coords.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc