Running ‘testthat.R’ [44s/23s]
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")
  Starting 2 test processes.
  Saving _problems/test-bs-theme-preset-brand-66.R
  Saving _problems/test-bs-theme-preset-brand-83.R
  Saving _problems/test-bs-theme-preset-brand-86.R
  [ FAIL 3 | WARN 0 | SKIP 36 | PASS 530 ]
  
  ══ Skipped tests (36) ══════════════════════════════════════════════════════════
  • On CRAN (35): 'test-zzzz-bs-sass.R:4:3', 'test-zzzz-bs-sass.R:26:1',
    'test-zzzz-bs-sass.R:41:1', 'test-zzz-precompile.R:17:3',
    'test-rmd-skeletons.R:20:3', 'test-bs-theme-preset-builtin.R:4:3',
    'test-bs-theme-preset.R:6:3', 'test-bs-theme-preset.R:13:3',
    'test-bs-theme-preset.R:33:3', 'test-card.R:1:1', 'test-card.R:43:1',
    'test-fill.R:3:1', 'test-fill.R:19:1', 'test-fill.R:42:1',
    'test-fill.R:57:1', 'test-fill.R:75:1', 'test-fill.R:91:1',
    'test-fill.R:121:1', 'test-fill.R:136:1', 'test-fill.R:171:1',
    'test-fill.R:183:1', 'test-fill.R:212:1', 'test-fill.R:224:1',
    'test-navbar_options.R:10:1', 'test-layout.R:1:1', 'test-layout.R:50:1',
    'test-layout.R:85:1', 'test-layout.R:101:1', 'test-layout.R:128:1',
    'test-layout.R:134:1', 'test-navs-legacy.R:72:1', 'test-page.R:36:1',
    'test-page.R:81:1', 'test-value-box.R:55:1', 'test-value-box.R:105:1'
  • {yaml} is not installed. (1): 'test-bs-theme-preset-brand.R:185:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-bs-theme-preset-brand.R:66:5'): brand_resolve() / finds _brand.yml or reads from brand path ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `read_brand_yml(NULL)`: The package "yaml" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(brand_resolve(TRUE), brand_resolve(NULL)) at test-bs-theme-preset-brand.R:66:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─bslib:::brand_resolve(TRUE)
   5. └─bslib:::brand_resolve.logical(TRUE)
   6.   └─bslib:::read_brand_yml(NULL)
   7.     └─rlang::check_installed("yaml")
  ── Failure ('test-bs-theme-preset-brand.R:83:5'): brand_resolve() / takes a list or a brand_yml object ──
  Expected `direct_is_valid` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Error ('test-bs-theme-preset-brand.R:86:5'): brand_resolve() / takes a list or a brand_yml object ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `read_brand_yml(brand)`: The package "yaml" is required.
  Backtrace:
      ▆
   1. ├─bslib:::brand_resolve("_brand.yml") at test-bs-theme-preset-brand.R:86:5
   2. └─bslib:::brand_resolve.character("_brand.yml")
   3.   └─bslib:::read_brand_yml(brand)
   4.     └─rlang::check_installed("yaml")
  
  [ FAIL 3 | WARN 0 | SKIP 36 | PASS 530 ]
  Error:
  ! Test failures.
  Execution halted