Skip to content

Fix potential tt at path issue #972

Fix potential tt at path issue

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

โŸโ€„โ€ˆโŸโ€„โŸโ€„1 filesโ€„โ€ƒโŸโ€„โ€ˆโŸโ€„24 suitesโ€„โ€ƒโ€‚1m 26s โฑ๏ธ
โŸโ€„โ€ˆ195 testsโ€ƒโŸโ€„โ€ˆ194 โœ”๏ธโ€ƒ0 ๐Ÿ’คโ€ƒ0 โŒโ€ƒ1 ๐Ÿ”ฅ
1โ€ˆ487 runsโ€†โ€ƒ1โ€ˆ486 โœ”๏ธโ€ƒ0 ๐Ÿ’คโ€ƒ0 โŒโ€ƒ1 ๐Ÿ”ฅ

Results for commit 0f2b7a4.

Annotations

Check failure on line 0 in Accessing_and_subsetting_tables

See this annotation in the file changed.

@github-actions 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)