Running ‘testthat.R’ [51s/82s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bslib)
  
  Attaching package: 'bslib'
  
  The following object is masked from 'package:utils':
  
      page
  
  > 
  > test_check("bslib")
  tagQueryFindDescendants_() - Unknown Type! This has not happened before:
   NULL
  tagQueryFindDescendants_() - Unknown Type! This has not happened before:
   NULL
  
   Downloaded 170 bytes...
   Downloaded 180 bytes...
   [8%] Downloaded 5503 bytes...
   [13%] Downloaded 8259 bytes...
   [17%] Downloaded 11015 bytes...
   [22%] Downloaded 13771 bytes...
   [26%] Downloaded 16518 bytes...
   [31%] Downloaded 19274 bytes...
   [35%] Downloaded 22030 bytes...
   [38%] Downloaded 23408 bytes...
   [42%] Downloaded 26164 bytes...
   [47%] Downloaded 28920 bytes...
   [51%] Downloaded 31676 bytes...
   [53%] Downloaded 32768 bytes...
   [55%] Downloaded 34137 bytes...
   [60%] Downloaded 36893 bytes...
   [64%] Downloaded 39649 bytes...
   [68%] Downloaded 42405 bytes...
   [71%] Downloaded 43783 bytes...
   [75%] Downloaded 46539 bytes...
   [80%] Downloaded 49286 bytes...
   [82%] Downloaded 50664 bytes...
   [84%] Downloaded 52042 bytes...
   [89%] Downloaded 54798 bytes...
   [93%] Downloaded 57554 bytes...
   [95%] Downloaded 58932 bytes...
   [98%] Downloaded 60310 bytes...
   [100%] Downloaded 61488 bytes...
  
   Downloaded 180 bytes...
   Downloaded 190 bytes...
   [3%] Downloaded 1369 bytes...
   [6%] Downloaded 2747 bytes...
   [12%] Downloaded 5503 bytes...
   [21%] Downloaded 9637 bytes...
   [31%] Downloaded 13771 bytes...
   [34%] Downloaded 15149 bytes...
   [40%] Downloaded 17896 bytes...
   [50%] Downloaded 22030 bytes...
   [59%] Downloaded 26164 bytes...
   [69%] Downloaded 30298 bytes...
   [77%] Downloaded 34137 bytes...
   [87%] Downloaded 38271 bytes...
   [96%] Downloaded 42405 bytes...
   [100%] Downloaded 43861 bytes...
  [ FAIL 5 | WARN 0 | SKIP 24 | PASS 424 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test-bs-theme-preset-builtin.R:5:5',
    'test-bs-theme-preset.R:7:5', 'test-bs-theme-preset.R:14:5',
    'test-bs-theme-preset.R:34:5', 'test-fill.R:31:3', 'test-fill.R:48:3',
    'test-fill.R:65:3', 'test-fill.R:96:3', 'test-fill.R:115:3',
    'test-fill.R:148:3', 'test-fill.R:160:3', 'test-fill.R:216:3',
    'test-fill.R:248:3', 'test-fill.R:261:3', 'test-layout.R:2:3',
    'test-layout.R:50:3', 'test-layout.R:68:3', 'test-layout.R:128:3',
    'test-layout.R:134:3', 'test-page.R:68:3', 'test-zzz-precompile.R:18:3',
    'test-zzzz-bs-sass.R:4:3', 'test-zzzz-bs-sass.R:25:3',
    'test-zzzz-bs-sass.R:50:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fill.R:174:3'): as_fillable_container() with a nested tag on inner tag ──
  Error in `.f(.x[[i]], ...)`: Unknown type in tagQueryFindDescendants_()
  Backtrace:
       ▆
    1. └─bslib::as_fillable_container(tag_nested(), css_selector = ".inner") at test-fill.R:174:2
    2.   └─htmltools::tagAppendAttributes(...)
    3.     └─tagQuery(tag)$find(.cssSelector)
    4.       ├─htmltools (local) newTagQuery(tagQueryFindAll(selected_, cssSelector))
    5.       │ └─htmltools:::tagQuery_(pseudoRoot, selected)
    6.       │   └─htmltools (local) setSelected(selected_)
    7.       │     └─selected %||% list()
    8.       └─htmltools:::tagQueryFindAll(selected_, cssSelector)
    9.         └─htmltools:::walk(...)
   10.           └─htmltools (local) .f(.x[[i]], ...)
   11.             └─htmltools:::tagQueryFindDescendants(curEls, selector)
   12.               └─htmltools:::tagQueryWalk(...)
   13.                 └─htmltools (local) func(els, fn)
   14.                   └─htmltools (local) .f(.x[[i]], ...)
   15.                     └─htmltools:::tagQueryWalk(...)
   16.                       └─htmltools (local) func(els, fn)
   17.                         └─htmltools (local) .f(.x[[i]], ...)
   18.                           └─htmltools:::tagQueryFindDescendants_(child, selector, foundStack$push)
   19.                             └─htmltools:::walk(el, tagQueryFindDescendants_, fn = fn, selector = selector)
   20.                               └─htmltools (local) .f(.x[[i]], ...)
  ── Error ('test-fill.R:279:3'): as_fill_carrier() with a nested tag on inner tag ──
  Error in `.f(.x[[i]], ...)`: Unknown type in tagQueryFindDescendants_()
  Backtrace:
       ▆
    1. └─bslib::as_fill_carrier(tag_nested(), css_selector = ".inner") at test-fill.R:279:2
    2.   └─htmltools::tagAppendAttributes(...)
    3.     └─tagQuery(tag)$find(.cssSelector)
    4.       ├─htmltools (local) newTagQuery(tagQueryFindAll(selected_, cssSelector))
    5.       │ └─htmltools:::tagQuery_(pseudoRoot, selected)
    6.       │   └─htmltools (local) setSelected(selected_)
    7.       │     └─selected %||% list()
    8.       └─htmltools:::tagQueryFindAll(selected_, cssSelector)
    9.         └─htmltools:::walk(...)
   10.           └─htmltools (local) .f(.x[[i]], ...)
   11.             └─htmltools:::tagQueryFindDescendants(curEls, selector)
   12.               └─htmltools:::tagQueryWalk(...)
   13.                 └─htmltools (local) func(els, fn)
   14.                   └─htmltools (local) .f(.x[[i]], ...)
   15.                     └─htmltools:::tagQueryWalk(...)
   16.                       └─htmltools (local) func(els, fn)
   17.                         └─htmltools (local) .f(.x[[i]], ...)
   18.                           └─htmltools:::tagQueryFindDescendants_(child, selector, foundStack$push)
   19.                             └─htmltools:::walk(el, tagQueryFindDescendants_, fn = fn, selector = selector)
   20.                               └─htmltools (local) .f(.x[[i]], ...)
  ── Error ('test-page.R:9:3'): page_navbar() ────────────────────────────────────
  `renderTags(page_navbar(title = div(h1("foo"), h2("bar"))))$head` threw an unexpected error.
  Message: Unknown type in tagQueryFindDescendants_()
  Class:   simpleError/error/condition
  ── Error ('test-page.R:18:3'): page_navbar() ───────────────────────────────────
  `renderTags(page_navbar(title = "foo", window_title = "bar"))$head` threw an unexpected error.
  Message: Unknown type in tagQueryFindDescendants_()
  Class:   simpleError/error/condition
  ── Failure ('test-page.R:28:3'): page_navbar() ─────────────────────────────────
  Snapshot of code has changed:
  old vs new
    Code
  -   renderTags(page_navbar(title = div(h1("foo"), h2("bar"))))$head
  +   renderTags(page_sidebar(title = "foo"))$head
    Output
  -     <title>foo bar</title>
  +     <title>foo</title>
  
  * Run `testthat::snapshot_accept('page')` to accept the change.
  * Run `testthat::snapshot_review('page')` to interactively review the change.
  
  [ FAIL 5 | WARN 0 | SKIP 24 | PASS 424 ]
  Deleting unused snapshots:
  • zzzz-bs-sass/bs4-imports
  • zzzz-bs-sass/bs5-imports
  Error: Test failures
  Execution halted