Last updated on 2025-12-28 03:52:14 CET.
| Package | ERROR | OK |
|---|---|---|
| LWFBrook90R | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.6.3
Check: examples
Result: ERROR
Running examples in 'LWFBrook90R-Ex.R' failed
The error most likely occurred in:
> ### Name: process_outputs_LWFB90
> ### Title: Aggregate and group model outputs similar to ancient LWFB90
> ### textfile outputs (.ASC-files)
> ### Aliases: process_outputs_LWFB90
>
> ### ** Examples
>
> data("slb1_soil")
> data("slb1_meteo")
> opts <- set_optionsLWFB90(startdate = as.Date("2002-06-01"), enddate = as.Date("2002-06-05"))
> parms <- set_paramLWFB90()
> soil <- cbind(slb1_soil, hydpar_wessolek_tab(texture = slb1_soil$texture))
>
> outsel <- set_outputLWFB90()
> outsel[,] <- 1L
>
> res <- run_LWFB90(options_b90 = opts,
+ param_b90 = parms,
+ climate = slb1_meteo,
+ soil = soil)
Error in `[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, :
attempt access index 17/17 in VECTOR_ELT
Calls: run_LWFB90 -> soil_to_param -> [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.6.3
Check: tests
Result: ERROR
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(LWFBrook90R)
>
> test_check("LWFBrook90R")
Saving _problems/test-multirun-13.R
Saving _problems/test-options-18.R
Saving _problems/test-runLWFB90-17.R
Saving _problems/test-runLWFB90_errors-26.R
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 9 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• Will fail as long as the source codes differ slightly?! (1):
'test-output_vs_b90exe.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-multirun.R:13:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
Backtrace:
▆
1. └─LWFBrook90R::soil_to_param(soil) at test-multirun.R:13:1
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test-options.R:15:3'): Precipitation correction works ───────────────
Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
Backtrace:
▆
1. └─LWFBrook90R::run_LWFB90(...) at test-options.R:15:3
2. └─LWFBrook90R::soil_to_param(soil, options_b90$imodel)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test-runLWFB90.R:14:1'): (code run outside of `test_that()`) ────────
Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
Backtrace:
▆
1. └─LWFBrook90R::run_LWFB90(...) at test-runLWFB90.R:14:1
2. └─LWFBrook90R::soil_to_param(soil, options_b90$imodel)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test-runLWFB90_errors.R:26:1'): (code run outside of `test_that()`) ──
Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
Backtrace:
▆
1. └─LWFBrook90R::soil_to_param(soil_bad) at test-runLWFB90_errors.R:26:1
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 9 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.6.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'LWFBook90R-1-Intro.Rmd' using rmarkdown
--- finished re-building 'LWFBook90R-1-Intro.Rmd'
--- re-building 'LWFBrook90R-2-Options_Param.Rmd' using rmarkdown
Quitting from LWFBrook90R-2-Options_Param.Rmd:301-325 [unnamed-chunk-10]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 17/17 in VECTOR_ELT
---
Backtrace:
▆
1. └─LWFBrook90R::run_LWFB90(...)
2. └─LWFBrook90R::soil_to_param(soil, options_b90$imodel)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'LWFBrook90R-2-Options_Param.Rmd' failed with diagnostics:
attempt access index 17/17 in VECTOR_ELT
--- failed re-building 'LWFBrook90R-2-Options_Param.Rmd'
--- re-building 'LWFBrook90R-3-Multiruns.Rmd' using rmarkdown
--- finished re-building 'LWFBrook90R-3-Multiruns.Rmd'
--- re-building 'LWFBrook90R-4-Multisite-Runs.Rmd' using rmarkdown
Quitting from LWFBrook90R-4-Multisite-Runs.Rmd:109-117 [unnamed-chunk-8]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 17/17 in VECTOR_ELT
---
Backtrace:
▆
1. └─LWFBrook90R::run_LWFB90(...)
2. └─LWFBrook90R::soil_to_param(soil, options_b90$imodel)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'LWFBrook90R-4-Multisite-Runs.Rmd' failed with diagnostics:
attempt access index 17/17 in VECTOR_ELT
--- failed re-building 'LWFBrook90R-4-Multisite-Runs.Rmd'
SUMMARY: processing the following files failed:
'LWFBrook90R-2-Options_Param.Rmd' 'LWFBrook90R-4-Multisite-Runs.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.