Fix potential tt at path issue #972
GitHub Actions / Unit Tests Summary
failed
Nov 29, 2023 in 0s
1 errors, 194 pass in 1m 26s
Annotations
Check failure on line 0 in Accessing_and_subsetting_tables
github-actions / Unit Tests Summary
1 out of 2 runs with error: make_row_df_make_col_df_give_paths_which_all_work (Accessing_and_subsetting_tables)
rtables.Rcheck/tests/testthat/junit-result.xmlโ[took 0s]
Raw output
Error in `if (obj_name(tt) == path[1]) { ('test-subset-access.R:165:33')
Error in `if (obj_name(tt) == path[1]) {
path <- path[-1]
}`: missing value where TRUE/FALSE needed
Backtrace:
โ
1. โโbase::lapply(...) at test-subset-access.R:165:3
2. โโrtables (local) FUN(X[[i]], ...)
3. โโbase::unname(cell_values(tab, pth)) at test-subset-access.R:165:33
4. โโrtables::cell_values(tab, pth)
5. โโrtables::cell_values(tab, pth)
6. โโrtables:::.inner_cell_value(...)
7. โโrtables::tt_at_path(tt, rowpath)
8. โโrtables::tt_at_path(tt, rowpath)
Loading