211 [.teal_data
S3 method
#195
GitHub Actions / Unit Tests Summary
failed
Oct 30, 2024 in 0s
2 fail, 166 pass in 1s
1 files 14 suites 1s ⏱️
168 tests 166 ✅ 0 💤 2 ❌
228 runs 226 ✅ 0 💤 2 ❌
Results for commit d3eb395.
Annotations
Check warning on line 0 in extract
github-actions / Unit Tests Summary
_._throws_warning_if_names_is_NULL (extract) failed
teal.data.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`data[NULL]` threw an error with unexpected message. ('test-extract.R:24:3')
`data[NULL]` threw an error with unexpected message.
Expected match: "Assertion on 'names' failed: Must inherit from class 'character'"
Actual message: "Assertion on 'names' failed: Must be of type 'character', not 'NULL'."
Backtrace:
▆
1. ├─testthat::expect_error(data[NULL], "Assertion on 'names' failed: Must inherit from class 'character'") at test-extract.R:24: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. ├─data[NULL]
7. └─teal.data:::`[.teal_data`(data, NULL)
8. └─checkmate::assert_character(names)
9. └─checkmate::makeAssertion(x, res, .var.name, add)
10. └─checkmate:::mstop(...)
Check warning on line 0 in extract
github-actions / Unit Tests Summary
_._thorws_warnings_if_names_is_numeric (extract) failed
teal.data.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`data[1]` threw an error with unexpected message. ('test-extract.R:29:3')
`data[1]` threw an error with unexpected message.
Expected match: "Assertion on 'names' failed: Must inherit from class 'character'"
Actual message: "Assertion on 'names' failed: Must be of type 'character', not 'double'."
Backtrace:
▆
1. ├─testthat::expect_error(data[1], "Assertion on 'names' failed: Must inherit from class 'character'") at test-extract.R:29: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. ├─data[1]
7. └─teal.data:::`[.teal_data`(data, 1)
8. └─checkmate::assert_character(names)
9. └─checkmate::makeAssertion(x, res, .var.name, add)
10. └─checkmate:::mstop(...)
Loading