-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorsnapshot 📷
Description
testthat::expect_snapshot_value results in the error below when running the Github-Actions in the repository of the DQAgui R package, however, only for the runners macOS-latest(release) and ubuntu-latest(devel) (windows-latest(release) and ubuntu-latest(release) are both passing without this error).
This error is difficult to debug, as it is not reproducible running devtools:test() on my local machine.
Error in `trace_back(top = getOption("testthat_topenv"), bottom = trace_env)`: Can't find `bottom` on the call tree.
Backtrace:
▆
1. ├─shiny::testServer(...) at test-shinyapp.R:32: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 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_snapshot_value(...) at test-shinyapp.R:59:4
23. └─testthat:::expect_snapshot_helper(...)
24. └─testthat::expect(...)
25. └─rlang::trace_back(top = getOption("testthat_topenv"), bottom = trace_env)
26. └─rlang:::trace_find_bottom(bottom, frames)
27. └─rlang::abort(msg, call = call)
Does anyone have an idea, why this error occurs and maybe even how to fix it?
Thanks in advance, Lorenz
epruesse, LDSamson, IndrajeetPatil, MichaelChirico and olivroy
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorsnapshot 📷