Running ‘testthat.R’ [27s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(blockr.core)
  > 
  > test_check("blockr.core")
  [INFO][2026-07-07 15:39:10][blockr.core] hello
  [WARN][2026-07-07 15:39:10][blockr.core] oh no
  [INFO][2026-07-07 15:39:10][blockr.core] world
  [INFO][2026-07-07 15:39:10][blockr.core] hello
  [WARN][2026-07-07 15:39:10][blockr.core] oh no
  [INFO][2026-07-07 15:39:10][blockr.core] world
  [ERROR][2026-07-07 15:39:17][blockr.core] is.data.frame(data) is not TRUE
  [WARN][2026-07-07 15:39:28][blockr.core] Please choose a valid block ID.
  [WARN][2026-07-07 15:39:28][blockr.core] Please choose a valid block ID.
  [WARN][2026-07-07 15:39:28][blockr.core] Please choose a unique block ID.
  [WARN][2026-07-07 15:39:28][blockr.core] Please choose a valid block type.
  [WARN][2026-07-07 15:39:28][blockr.core] Please choose at least one block.
  [WARN][2026-07-07 15:39:28][blockr.core] Please choose valid block IDs.
  Saving _problems/test-plugin-code-19.R
  [ERROR][2026-07-07 15:39:32][blockr.core] eval failed
  [ERROR][2026-07-07 15:39:32][blockr.core] eval failed
  [WARN][2026-07-07 15:39:34][blockr.core] No new links can be added. Remove a
  [WARN][2026-07-07 15:39:34][blockr.core]   row first.
  [INFO][2026-07-07 15:39:49][blockr.core] hello
  [WARN][2026-07-07 15:39:49][blockr.core] test1
  [WARN][2026-07-07 15:39:49][blockr.core] test2
  [ERROR][2026-07-07 15:39:49][blockr.core] bye
  [INFO][2026-07-07 15:39:49][blockr.core] hello
  [WARN][2026-07-07 15:39:49][blockr.core] test1
  [WARN][2026-07-07 15:39:49][blockr.core] test2
  [ERROR][2026-07-07 15:39:49][blockr.core] bye
  Saving _problems/test-utils-code-21.R
  [ FAIL 2 | WARN 0 | SKIP 15 | PASS 994 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (15): 'test-block-class.R:136:1', 'test-block-class.R:158:1',
    'test-blocks-class.R:1:1', 'test-board-class.R:1:1',
    'test-board-option.R:1:1', 'test-board-option.R:159:1',
    'test-board-plugins.R:1:1', 'test-link-class.R:1:1',
    'test-links-class.R:1:1', 'test-stack-class.R:1:1',
    'test-stacks-class.R:1:1', 'test-utils-serve.R:3:3',
    'test-utils-serve.R:44:3', 'test-utils-serve.R:70:3',
    'test-utils-serve.R:167:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plugin-code.R:19:7'): generate code ────────────────────────────
  <shiny.destroyed.error/error/condition>
  Error: Can't access reactive `reactiveValues3162`; its module session has been destroyed
  Backtrace:
       ▆
    1. ├─shiny::testServer(...) at test-plugin-code.R:16:3
    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. │ │ │   ├─shiny:::with_otel_span_context(...)
   13. │ │ │   │ └─base::force(expr)
   14. │ │ │   ├─shiny::captureStackTraces(...)
   15. │ │ │   │ └─promises::with_promise_domain(...)
   16. │ │ │   │   └─domain$wrapSync(expr)
   17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
   18. │ │ │   └─env$runWith(self, func)
   19. │ │ │     └─shiny (local) contextFunc()
   20. │ │ │       └─shiny::..stacktraceon..(expr)
   21. │ │ ├─shiny::withReactiveDomain(...)
   22. │ │ │ └─promises::with_promise_domain(...)
   23. │ │ │   └─domain$wrapSync(expr)
   24. │ │ │     └─base::force(expr)
   25. │ │ └─withr::with_options(...)
   26. │ │   └─base::force(code)
   27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
   28. ├─shiny::code() at test-plugin-code.R:19:7
   29. │ ├─shiny::..stacktraceoff..(self$.updateValue())
   30. │ └─self$.updateValue()
   31. │   └─ctx$run(...)
   32. │     ├─promises::with_promise_domain(...)
   33. │     │ └─domain$wrapSync(expr)
   34. │     ├─shiny::withReactiveDomain(...)
   35. │     │ └─promises::with_promise_domain(...)
   36. │     │   └─domain$wrapSync(expr)
   37. │     │     └─base::force(expr)
   38. │     ├─shiny:::with_otel_span_context(...)
   39. │     │ └─base::force(expr)
   40. │     ├─shiny::captureStackTraces(...)
   41. │     │ └─promises::with_promise_domain(...)
   42. │     │   └─domain$wrapSync(expr)
   43. │     │     └─base::withCallingHandlers(expr, error = doCaptureStack)
   44. │     └─env$runWith(self, func)
   45. │       └─shiny (local) contextFunc()
   46. │         ├─base::withCallingHandlers(...)
   47. │         ├─base::withVisible(.func())
   48. │         └─shiny (local) .func()
   49. │           ├─shiny::..stacktraceon..(`<reactive>`(...))
   50. │           └─blockr.core (local) `<reactive>`(...)
   51. │             ├─blockr.core:::export_wrapped_code(...)
   52. │             │ ├─base::do.call(...)
   53. │             │ └─blockr.core::export_code(expressions, board)
   54. │             │   └─blockr.core::board_links(board)
   55. │             │     ├─base::stopifnot(is_board(x))
   56. │             │     └─blockr.core::is_board(x)
   57. │             │       └─blockr.core:::inherits(x, "board")
   58. │             │         └─blockr.core::lgl_ply(c(...), function(y) base::inherits(x, y))
   59. │             │           └─base::vapply(x, fun, logical(length), ..., USE.NAMES = use_names)
   60. │             │             └─blockr.core (local) FUN(X[[i]], ...)
   61. │             │               └─base::inherits(x, y)
   62. │             ├─board$board
   63. │             └─shiny:::`$.reactivevalues`(board, board)
   64. │               └─.subset2(x, "impl")$get(.subset2(x, "ns")(name))
   65. │                 └─base::stop(destroyedReactiveError(.label))
   66. ├─shiny (local) `<fn>`(`<shny.ds.>`)
   67. │ └─base::stop(e)
   68. └─shiny (local) `<fn>`(`<shny.ds.>`)
  ── Error ('test-utils-code.R:18:3'): code generation ───────────────────────────
  <shiny.destroyed.error/error/condition>
  Error: Can't access reactive `reactiveValues4121`; its module session has been destroyed
  Backtrace:
       ▆
    1. ├─blockr.core::export_code(...) at test-utils-code.R:18:3
    2. │ └─blockr.core::board_links(board)
    3. │   ├─base::stopifnot(is_board(x))
    4. │   └─blockr.core::is_board(x)
    5. │     └─blockr.core:::inherits(x, "board")
    6. │       └─blockr.core::lgl_ply(c(...), function(y) base::inherits(x, y))
    7. │         └─base::vapply(x, fun, logical(length), ..., USE.NAMES = use_names)
    8. │           └─blockr.core (local) FUN(X[[i]], ...)
    9. │             └─base::inherits(x, y)
   10. ├─shiny::isolate(board$board)
   11. │ ├─shiny::..stacktraceoff..(...)
   12. │ └─ctx$run(...)
   13. │   ├─promises::with_promise_domain(...)
   14. │   │ └─domain$wrapSync(expr)
   15. │   ├─shiny::withReactiveDomain(...)
   16. │   │ └─promises::with_promise_domain(...)
   17. │   │   └─domain$wrapSync(expr)
   18. │   │     └─base::force(expr)
   19. │   ├─shiny:::with_otel_span_context(...)
   20. │   │ └─base::force(expr)
   21. │   ├─shiny::captureStackTraces(...)
   22. │   │ └─promises::with_promise_domain(...)
   23. │   │   └─domain$wrapSync(expr)
   24. │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
   25. │   └─env$runWith(self, func)
   26. │     └─shiny (local) contextFunc()
   27. │       └─shiny::..stacktraceon..(expr)
   28. ├─board$board
   29. ├─shiny:::`$.reactivevalues`(board, board)
   30. │ └─.subset2(x, "impl")$get(.subset2(x, "ns")(name))
   31. │   └─base::stop(destroyedReactiveError(.label))
   32. └─shiny (local) `<fn>`(`<shny.ds.>`)
  
  [ FAIL 2 | WARN 0 | SKIP 15 | PASS 994 ]
  Deleting unused snapshots: 'utils-serve/board-001.json',
  'utils-serve/board-002.json', 'utils-serve/board-003.json',
  'utils-serve/board-004.json', 'utils-serve/board-005.json',
  'utils-serve/merge-001.json', 'utils-serve/merge-002.json',
  'utils-serve/merge-003.json', 'utils-serve/merge-004.json',
  'utils-serve/merge-005.json', 'utils-serve/merge-006.json',
  'utils-serve/rbind-001.json', 'utils-serve/stack-001.json',
  'utils-serve/stack-002.json', 'utils-serve/stack-003.json', and
  'utils-serve/stack-004.json'
  Error:
  ! Test failures.
  Execution halted