Running ‘testthat.R’
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(shiny.emptystate)
  > library(shinytest2)
  > 
  > test_check("shiny.emptystate")
  tagQueryFindDescendants_() - Unknown Type! This has not happened before:
   NULL
  tagQueryFindDescendants_() - Unknown Type! This has not happened before:
   NULL
  tagQueryFindDescendants_() - Unknown Type! This has not happened before:
   NULL
  [ FAIL 3 | WARN 0 | SKIP 4 | PASS 15 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-component.R:13:5', 'test-empty_state.R:35:5',
    'test-empty_state.R:48:5', 'test-empty_state.R:55:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-component.R:19:5'): empty_state_component(): should include the title in the created element ──
  Error in `.f(.x[[i]], ...)`: Unknown type in tagQueryFindDescendants_()
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test-component.R:19:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─shiny.emptystate:::extract_content(empty_state_title, ".empty-state-title")
    5.   └─htmltools::tagQuery(html_tag)$find(selector) at tests/testthat/helper.R:2:2
    6.     ├─htmltools (local) newTagQuery(tagQueryFindAll(selected_, cssSelector))
    7.     │ └─htmltools:::tagQuery_(pseudoRoot, selected)
    8.     │   └─htmltools (local) setSelected(selected_)
    9.     │     └─selected %||% list()
   10.     └─htmltools:::tagQueryFindAll(selected_, cssSelector)
   11.       └─htmltools:::walk(...)
   12.         └─htmltools (local) .f(.x[[i]], ...)
   13.           └─htmltools:::tagQueryFindDescendants(curEls, selector)
   14.             └─htmltools:::tagQueryWalk(...)
   15.               └─htmltools (local) func(els, fn)
   16.                 └─htmltools (local) .f(.x[[i]], ...)
   17.                   └─htmltools:::tagQueryWalk(...)
   18.                     └─htmltools (local) func(els, fn)
   19.                       └─htmltools (local) .f(.x[[i]], ...)
   20.                         └─htmltools:::tagQueryFindDescendants_(child, selector, foundStack$push)
   21.                           └─htmltools:::walk(...)
   22.                             └─htmltools (local) .f(.x[[i]], ...)
  ── Error ('test-component.R:26:5'): empty_state_component(): should include the subtitle in the created element ──
  Error in `.f(.x[[i]], ...)`: Unknown type in tagQueryFindDescendants_()
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test-component.R:26:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─shiny.emptystate:::extract_content(empty_state_subtitle, ".empty-state-subtitle")
    5.   └─htmltools::tagQuery(html_tag)$find(selector) at tests/testthat/helper.R:2:2
    6.     ├─htmltools (local) newTagQuery(tagQueryFindAll(selected_, cssSelector))
    7.     │ └─htmltools:::tagQuery_(pseudoRoot, selected)
    8.     │   └─htmltools (local) setSelected(selected_)
    9.     │     └─selected %||% list()
   10.     └─htmltools:::tagQueryFindAll(selected_, cssSelector)
   11.       └─htmltools:::walk(...)
   12.         └─htmltools (local) .f(.x[[i]], ...)
   13.           └─htmltools:::tagQueryFindDescendants(curEls, selector)
   14.             └─htmltools:::tagQueryWalk(...)
   15.               └─htmltools (local) func(els, fn)
   16.                 └─htmltools (local) .f(.x[[i]], ...)
   17.                   └─htmltools:::tagQueryWalk(...)
   18.                     └─htmltools (local) func(els, fn)
   19.                       └─htmltools (local) .f(.x[[i]], ...)
   20.                         └─htmltools:::tagQueryFindDescendants_(child, selector, foundStack$push)
   21.                           └─htmltools:::walk(...)
   22.                             └─htmltools (local) .f(.x[[i]], ...)
  ── Error ('test-component.R:34:5'): empty_state_component(): should include the provided content ──
  Error in `.f(.x[[i]], ...)`: Unknown type in tagQueryFindDescendants_()
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test-component.R:34:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─shiny.emptystate:::extract_content(component, ".empty-state-card")
    5.   └─htmltools::tagQuery(html_tag)$find(selector) at tests/testthat/helper.R:2:2
    6.     ├─htmltools (local) newTagQuery(tagQueryFindAll(selected_, cssSelector))
    7.     │ └─htmltools:::tagQuery_(pseudoRoot, selected)
    8.     │   └─htmltools (local) setSelected(selected_)
    9.     │     └─selected %||% list()
   10.     └─htmltools:::tagQueryFindAll(selected_, cssSelector)
   11.       └─htmltools:::walk(...)
   12.         └─htmltools (local) .f(.x[[i]], ...)
   13.           └─htmltools:::tagQueryFindDescendants(curEls, selector)
   14.             └─htmltools:::tagQueryWalk(...)
   15.               └─htmltools (local) func(els, fn)
   16.                 └─htmltools (local) .f(.x[[i]], ...)
   17.                   └─htmltools:::tagQueryWalk(...)
   18.                     └─htmltools (local) func(els, fn)
   19.                       └─htmltools (local) .f(.x[[i]], ...)
   20.                         └─htmltools:::tagQueryFindDescendants_(child, selector, foundStack$push)
   21.                           └─htmltools:::walk(...)
   22.                             └─htmltools (local) .f(.x[[i]], ...)
  
  [ FAIL 3 | WARN 0 | SKIP 4 | PASS 15 ]
  Error: Test failures
  Execution halted