Running ‘testthat.R’ [25s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bslib)
  > 
  > test_check("bslib")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-fonts.R:67:3): Lists are collapsed into quoted strings ──────────
  Error: bs_global_get_variables failed; expected selector was not found
  Backtrace:
      █
   1. └─bslib:::expect_font_defaults(list("foo-bar"), "foo-bar") test-fonts.R:67:2
   2.   ├─testthat::expect_equal(...) test-fonts.R:6:2
   3.   │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.   │   └─rlang::eval_bare(expr, quo_get_env(quo))
   5.   ├─base::unname(bs_get_variables(code, "font-family-monospace"))
   6.   └─bslib::bs_get_variables(code, "font-family-monospace")
  ── Error (test-fonts.R:77:3): Single font objects set defaults and add dependencies ──
  Error: bs_global_get_variables failed; expected selector was not found
  Backtrace:
      █
   1. └─bslib:::expect_font_defaults(cl, "\"Crimson Pro\"") test-fonts.R:77:2
   2.   ├─testthat::expect_equal(...) test-fonts.R:4:2
   3.   │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.   │   └─rlang::eval_bare(expr, quo_get_env(quo))
   5.   ├─base::unname(bs_get_variables(base, "font-family-base"))
   6.   └─bslib::bs_get_variables(base, "font-family-base")
  ── Failure (test-remove.R:12:3): Can remove rules ──────────────────────────────
  bs_size(b) > bs_size(c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error (test-theme-base-colors.R:93:3): bs4 accent colors ────────────────────
  Error: bs_global_get_variables failed; expected selector was not found
  Backtrace:
      █
   1. ├─testthat::expect_identical(...) test-theme-base-colors.R:93:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─bslib::bs_get_variables(theme, varnames)
  ── Error (test-theme-base-colors.R:135:3): bs_theme_fonts ──────────────────────
  Error: bs_global_get_variables failed; expected selector was not found
  Backtrace:
      █
   1. └─base::lapply(...) test-theme-base-colors.R:135:2
   2.   └─bslib:::FUN(X[[i]], ...)
   3.     ├─testthat::expect_identical(...) test-theme-base-colors.R:139:6
   4.     │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   5.     │   └─rlang::eval_bare(expr, quo_get_env(quo))
   6.     └─bslib::bs_get_variables(theme, "font-family-base")
  ── Failure (test-theme-base-colors.R:253:5): bs_get_contrast() works as expected ──
  bs_get_contrast(yb, "input-bg") not equal to c(`input-bg` = "#0000FF").
  Lengths differ: 0 is not 1
  ── Failure (test-theme-base-colors.R:258:5): bs_get_contrast() works as expected ──
  bs_get_contrast(yb, "input-bg") not equal to c(`input-bg` = "#FFFF00").
  Lengths differ: 0 is not 1
  
  [ FAIL 7 | WARN 80 | SKIP 3 | PASS 152 ]
  Error: Test failures
  Execution halted