Introduce teal_data class #276
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Unit Tests Summary
failed
Oct 9, 2023 in 0s
2 errors, 363 pass in 17s
Annotations
Check failure on line 0 in cdisc_data
github-actions / Unit Tests Summary
cdisc_data_returns_teal_data_object_for_objects_different_than_old_api (cdisc_data) with error
teal.data.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE ('test-cdisc_data.R:42:3')
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE
Backtrace:
▆
1. ├─testthat::expect_s4_class(...) at test-cdisc_data.R:42:2
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─teal.data::teal_data(adsl = adsl_raw, check = TRUE)
5. ├─teal.data::new_teal_data(data = data_objects, code = code, keys = join_keys)
6. └─teal.data::new_teal_data(data = data_objects, code = code, keys = join_keys)
7. └─methods::new(...)
8. ├─methods::initialize(value, ...)
9. └─methods::initialize(value, ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(as(object, superClass)))
12. │ └─base::isTRUE(x)
13. ├─teal.code (local) validityMethod(as(object, superClass))
14. └─methods::as(object, superClass)
15. └─teal.data (local) asMethod(object)
16. └─methods::`slot<-`(`*tmp*`, what, value = `<chr>`)
17. └─methods::checkSlotAssignment(object, name, value)
Check failure on line 0 in teal_data
github-actions / Unit Tests Summary
teal_data_throws_error_if_it_receives_undesired_objects (teal_data) with error
teal.data.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE ('test-teal_data.R:45:3')
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE
Backtrace:
▆
1. ├─testthat::expect_s4_class(...) at test-teal_data.R:45:2
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─teal.data::teal_data(df1 = df1, check = TRUE)
5. ├─teal.data::new_teal_data(data = data_objects, code = code, keys = join_keys)
6. └─teal.data::new_teal_data(data = data_objects, code = code, keys = join_keys)
7. └─methods::new(...)
8. ├─methods::initialize(value, ...)
9. └─methods::initialize(value, ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(as(object, superClass)))
12. │ └─base::isTRUE(x)
13. ├─teal.code (local) validityMethod(as(object, superClass))
14. └─methods::as(object, superClass)
15. └─teal.data (local) asMethod(object)
16. └─methods::`slot<-`(`*tmp*`, what, value = slot(from, what))
17. └─methods::checkSlotAssignment(object, name, value)
Loading