Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(reactable)
  > 
  > test_check("reactable")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-shiny.R:23:3): updateReactable ────────────────────────────────
  `updateReactable("id", data = list(), session = session)` threw an error with unexpected message.
  Expected match: "`data` must be a data frame or matrix"
  Actual message: "there is no package called 'shiny'"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-shiny.R:23:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reactable::updateReactable("id", data = list(), session = session)
    7. │ └─session$ns(outputId)
    8. └─base::loadNamespace(x) test-shiny.R:14:4
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  ── Failure (test-shiny.R:25:3): updateReactable ────────────────────────────────
  `updateReactable("id", selected = TRUE, session = session)` threw an error with unexpected message.
  Expected match: "`selected` must be numeric"
  Actual message: "there is no package called 'shiny'"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-shiny.R:25:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reactable::updateReactable("id", selected = TRUE, session = session)
    7. │ └─session$ns(outputId)
    8. └─base::loadNamespace(x) test-shiny.R:14:4
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  ── Failure (test-shiny.R:27:3): updateReactable ────────────────────────────────
  `updateReactable("id", expanded = 123, session = session)` threw an error with unexpected message.
  Expected match: "`expanded` must be TRUE or FALSE"
  Actual message: "there is no package called 'shiny'"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-shiny.R:27:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reactable::updateReactable("id", expanded = 123, session = session)
    7. │ └─session$ns(outputId)
    8. └─base::loadNamespace(x) test-shiny.R:14:4
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  ── Failure (test-shiny.R:29:3): updateReactable ────────────────────────────────
  `updateReactable("id", page = TRUE, session = session)` threw an error with unexpected message.
  Expected match: "`page` must be a single, positive integer"
  Actual message: "there is no package called 'shiny'"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-shiny.R:29:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reactable::updateReactable("id", page = TRUE, session = session)
    7. │ └─session$ns(outputId)
    8. └─base::loadNamespace(x) test-shiny.R:14:4
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  ── Failure (test-shiny.R:31:3): updateReactable ────────────────────────────────
  `updateReactable("id", page = c(1, 3), session = session)` threw an error with unexpected message.
  Expected match: "`page` must be a single, positive integer"
  Actual message: "there is no package called 'shiny'"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-shiny.R:31:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reactable::updateReactable("id", page = c(1, 3), session = session)
    7. │ └─session$ns(outputId)
    8. └─base::loadNamespace(x) test-shiny.R:14:4
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  ── Failure (test-shiny.R:33:3): updateReactable ────────────────────────────────
  `updateReactable("id", page = 0, session = session)` threw an error with unexpected message.
  Expected match: "`page` must be a single, positive integer"
  Actual message: "there is no package called 'shiny'"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-shiny.R:33:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reactable::updateReactable("id", page = 0, session = session)
    7. │ └─session$ns(outputId)
    8. └─base::loadNamespace(x) test-shiny.R:14:4
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test-shiny.R:37:3): updateReactable ──────────────────────────────────
  Error: there is no package called 'shiny'
  Backtrace:
      █
   1. ├─reactable::updateReactable("id", session = session) test-shiny.R:37:2
   2. │ └─session$ns(outputId)
   3. └─base::loadNamespace(x) test-shiny.R:14:4
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base:::withOneRestart(expr, restarts[[1L]])
   6.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test-shiny.R:104:3): getReactableState ───────────────────────────────
  Error: there is no package called 'shiny'
  Backtrace:
      █
   1. ├─reactable::updateReactable("id", session = session) test-shiny.R:104:2
   2. │ └─session$ns(outputId)
   3. └─base::loadNamespace(x) test-shiny.R:14:4
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base:::withOneRestart(expr, restarts[[1L]])
   6.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 551 ]
  Error: Test failures
  Execution halted