Skip to content
Draft

v0.10.0 #1272

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: bslib
Title: Custom 'Bootstrap' 'Sass' Themes for 'shiny' and 'rmarkdown'
Version: 0.9.0.9002
Version: 0.10.0
Authors@R: c(
person("Carson", "Sievert", , "carson@posit.co", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-4958-2844")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bslib (development version)
# bslib 0.10.0

## New features

Expand Down
14 changes: 5 additions & 9 deletions R/staticimports.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ get_package_version <- function(pkg) {
}

is_installed <- function(pkg, version = NULL) {
installed <- isNamespaceLoaded(pkg) ||
nzchar(system_file_cached(package = pkg))
installed <- isNamespaceLoaded(pkg) || nzchar(system_file_cached(package = pkg))

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

version <- numeric_version(sprintf("%0.9g", version))
}
Expand Down Expand Up @@ -70,13 +67,12 @@ read_utf8 <- function(file) {
}

register_upgrade_message <- function(pkg, version, error = FALSE) {

msg <- sprintf(
"This version of '%s' is designed to work with '%s' >= %s.
Please upgrade via install.packages('%s').",
environmentName(environment(register_upgrade_message)),
pkg,
version,
pkg
pkg, version, pkg
)

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

Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/components/dist/components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inst/components/dist/components.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/components/dist/web-components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inst/components/dist/web-components.min.js

Large diffs are not rendered by default.

Binary file modified inst/fonts/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3-UBGEe.woff2
Binary file not shown.
Binary file modified inst/fonts/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3GUBGEe.woff2
Binary file not shown.
Binary file modified inst/fonts/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3OUBGEe.woff2
Binary file not shown.
Binary file modified inst/fonts/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMawCUBGEe.woff2
Binary file not shown.
11 changes: 6 additions & 5 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Revdeps

## Failed to check (2)
## New problems (3)

|package |version |error |warning |note |
|:------------------|:-------|:-----|:-------|:----|
|Certara.VPCResults |3.0.2 |1 | | |
|ordinalsimr |? | | | |
|package |version |error |warning |note |
|:-------------|:-------|:-----|:-------|:----|
|[PKbioanalysis](problems.md#pkbioanalysis)|0.3.0 | |__+1__ | |
|[qrlabelr](problems.md#qrlabelr)|0.2.0 | |__+1__ |1 |
|[tfrmtbuilder](problems.md#tfrmtbuilder)|0.1.0 | |__+1__ | |

19 changes: 14 additions & 5 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
## revdepcheck results

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

* We saw 0 new problems
* We failed to check 1 packages
* We saw 3 new problems
* We failed to check 0 packages

Issues with CRAN packages are summarised below.

### Failed to check
### New problems
(This reports the first line of each new failure)

* PKbioanalysis
checking whether package ‘PKbioanalysis’ can be installed ... WARNING

* qrlabelr
checking whether package ‘qrlabelr’ can be installed ... WARNING

* tfrmtbuilder
checking whether package ‘tfrmtbuilder’ can be installed ... WARNING

* Certara.VPCResults (NA)
96 changes: 1 addition & 95 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -1,95 +1 @@
# Certara.VPCResults

<details>

* Version: 3.0.2
* GitHub: NA
* Source code: https://github.com/cran/Certara.VPCResults
* Date/Publication: 2024-12-02 15:30:02 UTC
* Number of recursive dependencies: 141

Run `revdepcheck::cloud_details(, "Certara.VPCResults")` for more info

</details>

## In both

* checking whether package ‘Certara.VPCResults’ can be installed ... ERROR
```
Installation failed.
See ‘/tmp/workdir/Certara.VPCResults/new/Certara.VPCResults.Rcheck/00install.out’ for details.
```

## Installation

### Devel

```
* installing *source* package ‘Certara.VPCResults’ ...
** package ‘Certara.VPCResults’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘Matrix’ 1.5-4.1 is already loaded, but >= 1.6.0 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package ‘Certara.VPCResults’
* removing ‘/tmp/workdir/Certara.VPCResults/new/Certara.VPCResults.Rcheck/Certara.VPCResults’


```
### CRAN

```
* installing *source* package ‘Certara.VPCResults’ ...
** package ‘Certara.VPCResults’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘Matrix’ 1.5-4.1 is already loaded, but >= 1.6.0 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package ‘Certara.VPCResults’
* removing ‘/tmp/workdir/Certara.VPCResults/old/Certara.VPCResults.Rcheck/Certara.VPCResults’


```
# ordinalsimr

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/ordinalsimr
* Number of recursive dependencies: 121

Run `revdepcheck::cloud_details(, "ordinalsimr")` for more info

</details>

## Error before installation

### Devel

```






```
### CRAN

```






```
*Wow, no problems at all. :)*
62 changes: 61 additions & 1 deletion revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1 +1,61 @@
*Wow, no problems at all. :)*
# PKbioanalysis (0.3.0)

* GitHub: <https://github.com/OmarAshkar/PKbioanalysis>
* Email: <mailto:omar.i.elashkar@gmail.com>
* GitHub mirror: <https://github.com/cran/PKbioanalysis>

Run `revdepcheck::cloud_details(, "PKbioanalysis")` for more info

## Newly broken

* checking whether package ‘PKbioanalysis’ can be installed ... WARNING
```
Found the following significant warnings:
Warning: replacing previous import ‘bslib::show_toast’ by ‘shinyWidgets::show_toast’ when loading ‘PKbioanalysis’
See ‘/tmp/workdir/PKbioanalysis/new/PKbioanalysis.Rcheck/00install.out’ for details.
```

# qrlabelr (0.2.0)

* GitHub: <https://github.com/awkena/qrlabelr>
* Email: <mailto:alex.kena24@gmail.com>
* GitHub mirror: <https://github.com/cran/qrlabelr>

Run `revdepcheck::cloud_details(, "qrlabelr")` for more info

## Newly broken

* checking whether package ‘qrlabelr’ can be installed ... WARNING
```
Found the following significant warnings:
Warning: replacing previous import ‘bslib::show_toast’ by ‘shinyWidgets::show_toast’ when loading ‘qrlabelr’
See ‘/tmp/workdir/qrlabelr/new/qrlabelr.Rcheck/00install.out’ for details.
```

## In both

* checking DESCRIPTION meta-information ... NOTE
```
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
‘all_new_functions.R’
```

# tfrmtbuilder (0.1.0)

* GitHub: <https://github.com/GSK-Biostatistics/tfrmtbuilder>
* Email: <mailto:becca.z.krouse@gsk.com>
* GitHub mirror: <https://github.com/cran/tfrmtbuilder>

Run `revdepcheck::cloud_details(, "tfrmtbuilder")` for more info

## Newly broken

* checking whether package ‘tfrmtbuilder’ can be installed ... WARNING
```
Found the following significant warnings:
Warning: replacing previous import ‘bslib::show_toast’ by ‘shinyWidgets::show_toast’ when loading ‘tfrmtbuilder’
See ‘/tmp/workdir/tfrmtbuilder/new/tfrmtbuilder.Rcheck/00install.out’ for details.
```

Loading