Skip to content

Introduce teal_data class #1244

Introduce teal_data class

Introduce teal_data class #1244

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Unit Tests Summary failed Oct 23, 2023 in 0s

3 errors, 176 pass in 14s

    1 files  ±0    17 suites  ±0   14s ⏱️ -3s
179 tests ±0  176 ✔️ ±0  0 💤 ±0  0 ±0  3 🔥 ±0 
348 runs  ±0  345 ✔️ ±0  0 💤 ±0  0 ±0  3 🔥 ±0 

Results for commit 2f11384. ± Comparison against earlier commit fc83084.

Annotations

Check failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

srv_teal_with_splash_creates_reactiveVal_returning_teal_data (module_teal_with_splash) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `new_teal_data(data = lapply(data$get_datasets(), function(x) x$get_raw_data()),  ('test-module_teal_with_splash.R:11:3')
Error in `new_teal_data(data = lapply(data$get_datasets(), function(x) x$get_raw_data()), 
    code = data$get_code(), keys = data$get_join_keys())`: could not find function "new_teal_data"
Backtrace:
     ▆
  1. └─shiny::testServer(...) at test-module_teal_with_splash.R:11:2
  2.   ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
  3.   │ ├─shiny::isolate(...)
  4.   │ │ ├─shiny::..stacktraceoff..(...)
  5.   │ │ └─ctx$run(...)
  6.   │ │   ├─promises::with_promise_domain(...)
  7.   │ │   │ └─domain$wrapSync(expr)
  8.   │ │   ├─shiny::withReactiveDomain(...)
  9.   │ │   │ └─promises::with_promise_domain(...)
 10.   │ │   │   └─domain$wrapSync(expr)
 11.   │ │   │     └─base::force(expr)
 12.   │ │   └─env$runWith(self, func)
 13.   │ │     └─shiny (local) contextFunc()
 14.   │ │       └─shiny::..stacktraceon..(expr)
 15.   │ ├─shiny::withReactiveDomain(...)
 16.   │ │ └─promises::with_promise_domain(...)
 17.   │ │   └─domain$wrapSync(expr)
 18.   │ │     └─base::force(expr)
 19.   │ └─withr::with_options(...)
 20.   │   └─base::force(code)
 21.   ├─rlang::exec(app, !!!args)
 22.   └─teal (local) `<fn>`(id = "test", data = `<TealData>`, modules = `<tel_mdls>`)
 23.     └─shiny::moduleServer(...)
 24.       ├─session$setReturned(callModule(module, id, session = session))
 25.       └─shiny::callModule(module, id, session = session)
 26.         ├─shiny::withReactiveDomain(...)
 27.         │ └─promises::with_promise_domain(...)
 28.         │   └─domain$wrapSync(expr)
 29.         │     └─base::force(expr)
 30.         └─teal::module(...)

Check failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs with error: srv_teal_with_splash_creates_raw_data_based_on_DDL_returns_pulled_data_when_loaded (module_teal_with_splash)

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `new_teal_data(data = lapply(data$get_datasets(), function(x) x$get_raw_data()),  ('test-module_teal_with_splash.R:53:7')
Error in `new_teal_data(data = lapply(data$get_datasets(), function(x) x$get_raw_data()), 
    code = data$get_code(), keys = data$get_join_keys())`: could not find function "new_teal_data"
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-module_teal_with_splash.R:43:2
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   └─env$runWith(self, func)
 13. │ │ │     └─shiny (local) contextFunc()
 14. │ │ │       └─shiny::..stacktraceon..(expr)
 15. │ │ ├─shiny::withReactiveDomain(...)
 16. │ │ │ └─promises::with_promise_domain(...)
 17. │ │ │   └─domain$wrapSync(expr)
 18. │ │ │     └─base::force(expr)
 19. │ │ └─withr::with_options(...)
 20. │ │   └─base::force(code)
 21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 22. ├─testthat::expect_is(raw_data(), "teal_data") at test-module_teal_with_splash.R:53:6
 23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
 24. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 25. └─shiny (local) raw_data()

Check failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

srv_teal_with_splash_gets_observe_event_from_srv_teal (module_teal_with_splash) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `new_teal_data(data = lapply(data$get_datasets(), function(x) x$get_raw_data()),  ('test-module_teal_with_splash.R:60:3')
Error in `new_teal_data(data = lapply(data$get_datasets(), function(x) x$get_raw_data()), 
    code = data$get_code(), keys = data$get_join_keys())`: could not find function "new_teal_data"
Backtrace:
     ▆
  1. └─shiny::testServer(...) at test-module_teal_with_splash.R:60:2
  2.   ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
  3.   │ ├─shiny::isolate(...)
  4.   │ │ ├─shiny::..stacktraceoff..(...)
  5.   │ │ └─ctx$run(...)
  6.   │ │   ├─promises::with_promise_domain(...)
  7.   │ │   │ └─domain$wrapSync(expr)
  8.   │ │   ├─shiny::withReactiveDomain(...)
  9.   │ │   │ └─promises::with_promise_domain(...)
 10.   │ │   │   └─domain$wrapSync(expr)
 11.   │ │   │     └─base::force(expr)
 12.   │ │   └─env$runWith(self, func)
 13.   │ │     └─shiny (local) contextFunc()
 14.   │ │       └─shiny::..stacktraceon..(expr)
 15.   │ ├─shiny::withReactiveDomain(...)
 16.   │ │ └─promises::with_promise_domain(...)
 17.   │ │   └─domain$wrapSync(expr)
 18.   │ │     └─base::force(expr)
 19.   │ └─withr::with_options(...)
 20.   │   └─base::force(code)
 21.   ├─rlang::exec(app, !!!args)
 22.   └─teal (local) `<fn>`(id = "test", data = `<TealData>`, modules = `<tel_mdls>`)
 23.     └─shiny::moduleServer(...)
 24.       ├─session$setReturned(callModule(module, id, session = session))
 25.       └─shiny::callModule(module, id, session = session)
 26.         ├─shiny::withReactiveDomain(...)
 27.         │ └─promises::with_promise_domain(...)
 28.         │   └─domain$wrapSync(expr)
 29.         │     └─base::force(expr)
 30.         └─teal::module(...)