CRAN Package Check Results for Package bslib

Last updated on 2025-12-06 00:48:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.0 7.40 139.80 147.20 OK
r-devel-linux-x86_64-debian-gcc 0.9.0 6.35 88.62 94.97 ERROR
r-devel-linux-x86_64-fedora-clang 0.9.0 16.00 206.36 222.36 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 17.00 205.92 222.92 OK
r-devel-windows-x86_64 0.9.0 19.00 136.00 155.00 OK
r-patched-linux-x86_64 0.9.0 10.43 126.56 136.99 OK
r-release-linux-x86_64 0.9.0 7.61 128.96 136.57 OK
r-release-macos-arm64 0.9.0 OK
r-release-macos-x86_64 0.9.0 10.00 128.00 138.00 OK
r-release-windows-x86_64 0.9.0 20.00 131.00 151.00 OK
r-oldrel-macos-arm64 0.9.0 NOTE
r-oldrel-macos-x86_64 0.9.0 7.00 98.00 105.00 NOTE
r-oldrel-windows-x86_64 0.9.0 22.00 159.00 181.00 NOTE

Check Details

Version: 0.9.0
Check: examples
Result: ERROR Running examples in ‘bslib-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: run_with_themer > ### Title: Theme customization UI > ### Aliases: run_with_themer bs_themer > > ### ** Examples > > library(shiny) Error in library(shiny) : there is no package called ‘shiny’ Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.0
Check: tests
Result: ERROR Running ‘testthat.R’ [41s/21s] 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 Saving _problems/test-layout-8.R Saving _problems/test-page-107.R Saving _problems/test-page-110.R Saving _problems/test-page-113.R Saving _problems/test-page-116.R Saving _problems/test-page-119.R Saving _problems/test-page-122.R Saving _problems/test-navs-legacy-75.R [ FAIL 11 | WARN 0 | SKIP 41 | PASS 497 ] ══ Skipped tests (41) ══════════════════════════════════════════════════════════ • On CRAN (31): '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:50:1', 'test-layout.R:85:1', 'test-layout.R:101:1', 'test-layout.R:128:1', 'test-layout.R:134:1', 'test-value-box.R:55:1', 'test-value-box.R:105:1' • {shiny} is not installed (1): 'test-page.R:8:3' • {shiny} is not installed. (8): 'test-page.R:37:3', 'test-page.R:85:5', 'test-navs-legacy.R:2:3', 'test-navs-legacy.R:19:3', 'test-navs-legacy.R:51:3', 'test-sidebar.R:33:3', 'test-sidebar.R:74:5', 'test-sidebar.R:125:3' • {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") ── Error ('test-layout.R:6:3'): layout_columns() with col_widths ─────────────── Error in `loadNamespace(x)`: there is no package called 'shiny' Backtrace: ▆ 1. ├─testthat::expect_snapshot(layout_columns(col_widths = 6, !!!children)) at test-layout.R:6:3 2. │ └─testthat:::expect_snapshot_(...) 3. │ ├─testthat:::with_is_snapshotting(...) 4. │ └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 5. │ └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler) 6. │ ├─base::withRestarts(...) 7. │ │ └─base (local) withRestartList(expr, restarts) 8. │ │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 9. │ │ │ └─base (local) doWithOneRestart(return(expr), restart) 10. │ │ └─base (local) withRestartList(expr, restarts[-nr]) 11. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 12. │ │ └─base (local) doWithOneRestart(return(expr), restart) 13. │ ├─evaluate:::with_handlers(...) 14. │ │ ├─base::eval(call) 15. │ │ │ └─base::eval(call) 16. │ │ └─base::withCallingHandlers(...) 17. │ └─watcher$print_value(ev$value, ev$visible, envir) 18. │ ├─base::withVisible(handle_value(handler, value, visible, envir)) 19. │ └─evaluate:::handle_value(handler, value, visible, envir) 20. │ ├─handler$value(value) 21. │ └─testthat:::testthat_print.default(value) 22. │ ├─base::print(x) 23. │ └─bslib:::print.bslib_fragment(x) 24. │ └─attr(x, "bslib_page")(x) 25. │ └─bslib:::as_page(...) 26. └─base::loadNamespace(x) 27. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 28. └─base (local) withOneRestart(expr, restarts[[1L]]) 29. └─base (local) doWithOneRestart(return(expr), restart) ── Failure ('test-page.R:105:3'): page_*() functions can handle trailing commas ── Expected `page("foo", )` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'shiny' ── Failure ('test-page.R:108:3'): page_*() functions can handle trailing commas ── Expected `page_fluid("foo", )` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'shiny' ── Failure ('test-page.R:111:3'): page_*() functions can handle trailing commas ── Expected `page_fixed("foo", )` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'shiny' ── Failure ('test-page.R:114:3'): page_*() functions can handle trailing commas ── Expected `page_fillable("foo", )` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'shiny' ── Failure ('test-page.R:117:3'): page_*() functions can handle trailing commas ── Expected `page_sidebar("foo", )` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'shiny' ── Failure ('test-page.R:120:3'): page_*() functions can handle trailing commas ── Expected `page_navbar(nav_panel("foo", "bar"), )` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'shiny' ── Error ('test-navs-legacy.R:73:3'): navbar markup snapshots ────────────────── Error in `loadNamespace(name)`: there is no package called 'shiny' Backtrace: ▆ 1. ├─bslib (local) show_navbar_markup(navs_bar_(theme = bs_theme(version = 3))) 2. └─bslib:::navs_bar_(theme = bs_theme(version = 3)) at test-navs-legacy.R:67:3 3. └─bslib:::navbarPage_(...) 4. └─bslib:::buildTabset(..., ulClass = ulClass, id = id, selected = selected) 5. └─bslib:::p_randomInt(1000, 10000) 6. └─utils::getFromNamespace("p_randomInt", "shiny") 7. └─base::asNamespace(ns) 8. └─base::getNamespace(ns) 9. ├─.Internal(getRegisteredNamespace(name)) %||% ... 10. └─base::loadNamespace(name) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 11 | WARN 0 | SKIP 41 | PASS 497 ] Deleting unused snapshots: 'page/card.html' and 'page/modern-page.html' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.0
Check: installed package size
Result: NOTE installed size is 12.5Mb sub-directories of 1Mb or more: components 1.0Mb fonts 2.4Mb lib 5.3Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64