Skip to content

Commit 966ef85

Browse files
authored
v0.10.0 (#1272)
* Increment version number to 0.10.0 * chore: revdepcheck * chore: revdepcheck report * `yarn build` (GitHub Actions) * Resave distributed files (GitHub Action) * Resave data (GitHub Action) * chore: staticimports::import() no changes, but `air` doesn't reformat generated files (I think) * Resave data (GitHub Action) * fix(yarn build): Copy css once, use `dest` for logging * `yarn build` (GitHub Actions) * chore: update CRAN comments * chore: fix link in NEWS * Resave data (GitHub Action) * ci: one more run * chore: revdepchecks * chore: move brand.yml to Imports * Revert "chore: move brand.yml to Imports" This reverts commit 68d3bda. * update CRAN comments * chore: PKbioanalysis was fixed already --------- Co-authored-by: gadenbuie <[email protected]>
1 parent 762240c commit 966ef85

File tree

16 files changed

+146
-140
lines changed

16 files changed

+146
-140
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: bslib
22
Title: Custom 'Bootstrap' 'Sass' Themes for 'shiny' and 'rmarkdown'
3-
Version: 0.9.0.9002
3+
Version: 0.10.0
44
Authors@R: c(
55
person("Carson", "Sievert", , "[email protected]", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-4958-2844")),

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# bslib (development version)
1+
# bslib 0.10.0
22

33
## Breaking changes
44

5-
* bslib now uses the `{brand.yml}` package for reading [brand.yml](https://posit-dev.github.io/brand.yml) files. This change improves compatibility with other tools that use brand.yml files, such as Quarto. The `{brand.yml}` package must be installed for `_brand.yml` files to be automatically discovered. (#1227)
5+
* bslib now uses the `{brand.yml}` package for reading [brand.yml](https://posit-dev.github.io/brand-yml/) files. This change improves compatibility with other tools that use brand.yml files, such as Quarto. The `{brand.yml}` package must be installed for `_brand.yml` files to be automatically discovered. (#1227)
66

77
## New features
88

R/staticimports.R

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ get_package_version <- function(pkg) {
2929
}
3030

3131
is_installed <- function(pkg, version = NULL) {
32-
installed <- isNamespaceLoaded(pkg) ||
33-
nzchar(system_file_cached(package = pkg))
32+
installed <- isNamespaceLoaded(pkg) || nzchar(system_file_cached(package = pkg))
3433

3534
if (is.null(version)) {
3635
return(installed)
@@ -39,9 +38,7 @@ is_installed <- function(pkg, version = NULL) {
3938
if (!is.character(version) && !inherits(version, "numeric_version")) {
4039
# Avoid https://bugs.r-project.org/show_bug.cgi?id=18548
4140
alert <- if (identical(Sys.getenv("TESTTHAT"), "true")) stop else warning
42-
alert(
43-
"`version` must be a character string or a `package_version` or `numeric_version` object."
44-
)
41+
alert("`version` must be a character string or a `package_version` or `numeric_version` object.")
4542

4643
version <- numeric_version(sprintf("%0.9g", version))
4744
}
@@ -70,13 +67,12 @@ read_utf8 <- function(file) {
7067
}
7168

7269
register_upgrade_message <- function(pkg, version, error = FALSE) {
70+
7371
msg <- sprintf(
7472
"This version of '%s' is designed to work with '%s' >= %s.
7573
Please upgrade via install.packages('%s').",
7674
environmentName(environment(register_upgrade_message)),
77-
pkg,
78-
version,
79-
pkg
75+
pkg, version, pkg
8076
)
8177

8278
cond <- if (error) stop else packageStartupMessage
@@ -103,7 +99,7 @@ register_upgrade_message <- function(pkg, version, error = FALSE) {
10399
# Also, to keep the implementation simple, it doesn't support specification of
104100
# lib.loc or mustWork.
105101
system_file <- function(..., package = "base") {
106-
if (!devtools_loaded(package)) {
102+
if (!devtools_loaded(package)) {
107103
return(system_file_cached(..., package = package))
108104
}
109105

R/sysdata.rda

120 Bytes
Binary file not shown.

cran-comments.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1-
21
## revdepcheck results
32

4-
We checked 95 reverse dependencies (94 from CRAN + 1 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
3+
We checked 141 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
54

6-
* We saw 0 new problems
7-
* We failed to check 1 packages
5+
* We saw 3 new problems
6+
* We failed to check 0 packages
87

98
Issues with CRAN packages are summarised below.
109

11-
### Failed to check
10+
### New problems
11+
12+
This version of bslib uses the new `brand.yml` package for brand themes. Unlike the previous implementation, brand.yml provides more detailed validation of brand themes, but this has led to one package failing tests.
13+
14+
* OmopViewer: Submitted a patch to fix this on 2026-01-21, awaiting maintainer response. https://github.com/OHDSI/OmopViewer/pull/355
15+
16+
This version of bslib introduces a new function `show_toast()`, which conflicts with a function of the same name in the shinyWidgets package. Several packages on CRAN fully import both the bslib and shinyWidgets namespaces, leading to warnings during installation about the function name conflict.
17+
18+
* qrlabelr: Submitted a patch to fix this on 2025-12-19, awaiting maintainer response. https://github.com/awkena/qrlabelr/pull/4
1219

13-
* Certara.VPCResults (installation error)
20+
* tfrmtbuilder: Submitted a patch to fix this on 2025-12-19, awaiting maintainer response. https://github.com/GSK-Biostatistics/tfrmtbuilder/pull/91
1421

inst/components/dist/code-editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/code-editor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/components.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/components.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/web-components.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)