From 72cc8f0ff325380cea5b989d9f04927c957d6b83 Mon Sep 17 00:00:00 2001 From: E Nelson Date: Wed, 25 Feb 2026 12:27:02 -0500 Subject: [PATCH 1/5] Increment version number to 0.5.1 --- DESCRIPTION | 2 +- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index a2115f10..9c31732d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: shinytest2 Title: Testing for Shiny Applications -Version: 0.5.0.9000 +Version: 0.5.1 Authors@R: c( person("Barret", "Schloerke", , "barret@posit.co", role = c("cre", "aut"), comment = c(ORCID = "0000-0001-9986-114X")), diff --git a/NEWS.md b/NEWS.md index d91b7d0a..a35ca68b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# shinytest2 (development version) +# shinytest2 0.5.1 * Expanded documentation for `local_app_support()`, `with_app_support()`, and `load_app_support()` to clarify when each function is needed. Added detailed From 6031d7f4a4db73aa843faa8c0156c130f1031992 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Wed, 25 Feb 2026 12:34:59 -0500 Subject: [PATCH 2/5] docs(news): polish v0.5.1 release notes - Organized bullets into sections (new features, bug fixes and minor improvements) - Improved wording with positive framing and present tense - Moved function names closer to beginning of bullets - Ensured all bullets are complete sentences --- NEWS.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/NEWS.md b/NEWS.md index a35ca68b..8c671569 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,20 +1,22 @@ # shinytest2 0.5.1 -* Expanded documentation for `local_app_support()`, `with_app_support()`, and - `load_app_support()` to clarify when each function is needed. Added detailed - examples and a decision tree to the use-package vignette to help users choose - the right approach (#438). +## New features -* `record_test()` no longer prints a debug message when recording tests in a - package directory (#437). +* `local_app_support()`, `with_app_support()`, and `load_app_support()` + documentation has been expanded to clarify when each function is needed. The + use-package vignette now includes detailed examples and a decision tree to + help users choose the right approach (#438). -* Added alt text to all vignette images for improved accessibility (#435). +## Bug fixes and minor improvements -## Bug fixes +* All vignette images now include alt text for improved accessibility (#435). + +* `record_test()` no longer prints a debug message when recording tests in a + package directory (#437). -* Fixed `record_test(app=)` to properly handle function apps. Previously, - passing a function would error with "object of type 'closure' is not - subsettable" when determining the test file name (#439). +* `record_test(app=)` now properly handles function apps. Previously, passing + a function would error with "object of type 'closure' is not subsettable" + when determining the test file name (#439). # shinytest2 0.5.0 From bffe2ce6620f17aac8d49de1c6a2f71b6960f490 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Wed, 25 Feb 2026 12:36:25 -0500 Subject: [PATCH 3/5] `urlchecker::url_check()` --- vignettes/shinytest2.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/shinytest2.Rmd b/vignettes/shinytest2.Rmd index a90d32db..f3355c26 100644 --- a/vignettes/shinytest2.Rmd +++ b/vignettes/shinytest2.Rmd @@ -276,7 +276,7 @@ The saved test can be moved to a different testing file, e.g. `tests/testthat/te ## Interactive R Markdown documents -`{shinytest2}` can be used with [interactive R Markdown documents](https://bookdown.org/yihui/rmarkdown/shiny-documents.html) that use `runtime: shiny` or `server: shiny` (sometimes also referred to as Shiny documents). +`{shinytest2}` can be used with [interactive R Markdown documents](https://yihui.org/rmarkdown/shiny-documents.html) that use `runtime: shiny` or `server: shiny` (sometimes also referred to as Shiny documents). This includes those that use the [flexdashboard](https://pkgs.rstudio.com/flexdashboard/) package. Shiny documents have some differences compared to regular Shiny applications, and so the tests are slightly different. From 93d2b986284be73ade52b533b4670751ad1b86ca Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Wed, 25 Feb 2026 12:39:55 -0500 Subject: [PATCH 4/5] Update cran-comments.md --- cran-comments.md | 105 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 102 insertions(+), 3 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index d97e7945..e561eca4 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,10 +1,109 @@ ## CRAN comments -#### 2026-01-11 +#### 2026-02-16 -Critical bug reported from testthat v3.3.0 update. +> Dear maintainer, +> +> Please see the problems shown on +> . +> +> Please correct before 2026-03-02 to safely retain your package on CRAN. +> +> The CRAN Team -Larger features / bug fixes for the package. +--------- + +> Chrome is not a SytemRequiremnts and in any case the menual says +> externel programs should be used condiitonally. +> +> -- +> Brian D. Ripley + +-------- + +> ``` +> Check Details +> Version: 0.5.0 +> Check: tests +> Result: ERROR +> Running ‘testthat.R’ [23s/97s] +> Running the tests in ‘tests/testthat.R’ failed. +> Complete output: +> > library(testthat) +> > library(shinytest2) +> > +> > test_check("shinytest2") +> shinytest requires PhantomJS to record and run tests. +> * To install it, run shinytest::installDependencies() +> * If it is installed, please check it is available on the PATH +> Saving _problems/test-not-testing-31.R +> [ FAIL 1 | WARN 0 | SKIP 68 | PASS 293 ] +> +> ══ Skipped tests (68) ══════════════════════════════════════════════════════════ +> • App test folder has been ignored (25): 'test-app-files.R:2:3', +> 'test-app-files.R:16:3', 'test-app-files.R:27:3', +> 'test-app-hello-click.R:2:3', 'test-app-hello-execute-js.R:2:3', +> 'test-app-hello-init-args.R:2:3', 'test-app-hello-variant.R:3:3', +> 'test-app-hello.R:13:3', 'test-app-hello.R:37:3', 'test-app-quarto.R:2:3', +> 'test-app-rmd.R:2:3', 'test-app-rmd.R:17:3', 'test-app-rmd.R:32:3', +> 'test-app-rprofile.R:2:3', 'test-app-wait-get-value.R:2:3', +> 'test-app-wait-get-value.R:55:3', 'test-app-wait-get-value.R:66:3', +> 'test-app-wait.R:3:3', 'test-app-wait.R:14:3', 'test-app-widgets.R:4:3', +> 'test-test-app.R:2:3', 'test-test-app.R:16:3', 'test-test-app.R:33:3', +> 'test-test-app.R:47:3', 'test-test-app.R:59:3' +> • Local app test folder has been ignored (1): 'test-local-apps.R:1:1' +> • On CRAN (38): 'test-app-bookmark.R:25:3', 'test-app-download.R:73:3', +> 'test-app-download.R:106:3', 'test-app-duplicate-ids.R:15:3', +> 'test-app-duplicate-ids.R:38:3', 'test-app-duplicate-ids.R:61:3', +> 'test-app-duplicate-ids.R:86:3', 'test-app-eval-js.R:24:3', +> 'test-app-eval-js.R:45:3', 'test-app-expect-file-transform.R:26:3', +> 'test-app-export.R:35:3', 'test-app-export.R:66:3', +> 'test-app-export.R:135:3', 'test-app-image.R:39:3', 'test-app-image.R:64:3', +> 'test-app-image.R:76:3', 'test-app-image.R:89:3', 'test-app-image.R:110:3', +> 'test-app-image.R:122:3', 'test-app-logs.R:136:3', 'test-app-logs.R:181:3', +> 'test-app-plotly.R:33:3', 'test-app-screenshot-size.R:5:3', +> 'test-app-screenshot-size.R:117:3', 'test-app-shiny.R:27:3', +> 'test-app-shiny.R:39:3', 'test-app-stop.R:17:3', 'test-app-stop.R:26:3', +> 'test-app-timeout.R:12:1', 'test-app-update.R:43:3', +> 'test-app-update.R:56:3', 'test-app-upload.R:24:3', +> 'test-migration-migrate.R:3:1', 'test-not-testing.R:33:3', +> 'test-save-app.R:62:3', 'test-save-app.R:82:3', 'test-shinytest2.R:1:1', +> 'test-spelling.R:2:3' +> • Only run on CI (3): 'test-save-app.R:6:3', 'test-save-app.R:24:3', +> 'test-save-app.R:38:3' +> • Test packages folders have been ignored (1): 'test-pkgs.R:3:3' +> +> ══ Failed tests ════════════════════════════════════════════════════════════════ +> ── Failure ('test-not-testing.R:31:3'): Running an app not in testing mode has 404 handled when getting values ── +> Expected `!is.null(app_url)` to be TRUE. +> Differences: +> `actual`: FALSE +> `expected`: TRUE +> +> +> [ FAIL 1 | WARN 0 | SKIP 68 | PASS 293 ] +> Deleting unused snapshots: 'app-bookmark/001.json', 'app-bookmark/001_.png', +> 'app-download/001-download-link.txt', 'app-download/002-download-button.txt', +> 'app-download/003-download-link.csv', 'app-download/004-download-button.csv', +> 'app-download/005-bear.png', 'app-download/006-bear.png', +> 'app-download/007-my_custom_name.txt', +> 'app-expect-file-transform/001-download-button.txt', +> 'app-expect-file-transform/002.json', 'app-expect-file-transform/002_.png', +> 'app-export/cars-points-10-export.svg', 'app-export/cars-points-10.svg', +> 'app-export/cars-points-20-export.svg', 'app-export/cars-points-20.svg', +> 'app-files/kgs-001.json', 'app-files/kgs-001_.png', …, +> 'mac/app-hello/003_.png', and 'mac/app-hello/manual-screenshot.png' +> Error: +> ! Test failures. +> `google-chrome`, `chromium-browser` and `chrome` were not found. Try setting the `CHROMOTE_CHROME` environment variable to the executable of a Chromium-based browser, such as Google Chrome, Chromium or Brave or adding one of these executables to your PATH. +> Error in initialize(...) : Invalid path to Chrome +> Execution halted +> ``` + + +#### 2026-02-25 + +Fixed broken test from CRAN request. - Barret From db912d406ade5b63eb22c603767b7fd5de0c00a1 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Wed, 25 Feb 2026 13:57:50 -0500 Subject: [PATCH 5/5] Run revdep cloud check --- cran-comments.md | 11 +-- revdep/README.md | 100 ++------------------- revdep/cran.md | 10 +-- revdep/failures.md | 217 ++++++++++++++++++++++++++++++++++++--------- 4 files changed, 186 insertions(+), 152 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index e561eca4..3fbb6adc 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -115,14 +115,7 @@ Fixed broken test from CRAN request. ## revdepcheck results -We checked 76 reverse dependencies (69 from CRAN + 7 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. +We checked 78 reverse dependencies (71 from CRAN + 7 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems - * We failed to check 2 packages - -Issues with CRAN packages are summarised below. - -### Failed to check - -* blockr.dag (NA) -* shiny.destroy (NA) + * We failed to check 0 packages diff --git a/revdep/README.md b/revdep/README.md index cfd16dfd..9af55a36 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,98 +1,14 @@ -# Platform - -|field |value | -|:--------|:----------------------------------------| -|version |R version 4.5.2 (2025-10-31) | -|os |macOS Tahoe 26.2 | -|system |aarch64, darwin20 | -|ui |X11 | -|language |(EN) | -|collate |C.UTF-8 | -|ctype |C.UTF-8 | -|tz |America/New_York | -|date |2026-01-09 | -|pandoc |3.1 @ /opt/homebrew/bin/pandoc | -|quarto |1.8.25 @ /Applications/quarto/bin/quarto | - -# Dependencies - -|package |old |new |Δ | -|:-----------|:--------|:--------|:--| -|shinytest2 |0.4.1 |0.5.0 |* | -|AsioHeaders |1.30.2-1 |1.30.2-1 | | -|askpass |1.2.1 |1.2.1 | | -|backports |1.5.0 |1.5.0 | | -|base64enc |0.1-3 |0.1-3 | | -|brio |1.1.5 |1.1.5 | | -|bslib |0.9.0 |0.9.0 | | -|cachem |1.1.0 |1.1.0 | | -|callr |3.7.6 |3.7.6 | | -|checkmate |2.3.3 |2.3.3 | | -|chromote |0.5.1 |0.5.1 | | -|cli |3.6.5 |3.6.5 | | -|commonmark |2.0.0 |2.0.0 | | -|cpp11 |0.5.2 |0.5.2 | | -|crayon |1.5.3 |1.5.3 | | -|curl |7.0.0 |7.0.0 | | -|desc |1.4.3 |1.4.3 | | -|diffobj |0.3.6 |0.3.6 | | -|digest |0.6.39 |0.6.39 | | -|evaluate |1.0.5 |1.0.5 | | -|fastmap |1.2.0 |1.2.0 | | -|fontawesome |0.5.3 |0.5.3 | | -|fs |1.6.6 |1.6.6 | | -|globals |0.18.0 |0.18.0 | | -|glue |1.8.0 |1.8.0 | | -|highr |0.11 |0.11 | | -|htmltools |0.5.9 |0.5.9 | | -|httpuv |1.6.16 |1.6.16 | | -|httr |1.4.7 |NA |* | -|httr2 |NA |1.2.2 |* | -|jquerylib |0.1.4 |0.1.4 | | -|jsonlite |2.0.0 |2.0.0 | | -|knitr |1.51 |1.51 | | -|later |1.4.4 |1.4.5 |* | -|lifecycle |1.0.4 |1.0.5 |* | -|magrittr |2.0.4 |2.0.4 | | -|memoise |2.0.1 |2.0.1 | | -|mime |0.13 |0.13 | | -|openssl |2.3.4 |2.3.4 | | -|otel |0.2.0 |0.2.0 | | -|pingr |2.0.5 |2.0.5 | | -|pkgbuild |1.4.8 |1.4.8 | | -|pkgload |1.4.1 |1.4.1 | | -|praise |1.0.0 |1.0.0 | | -|processx |3.8.6 |3.8.6 | | -|promises |1.5.0 |1.5.0 | | -|ps |1.9.1 |1.9.1 | | -|R6 |2.6.1 |2.6.1 | | -|rappdirs |0.3.3 |0.3.3 | | -|Rcpp |1.1.0 |1.1.0 | | -|rlang |1.1.6 |1.1.6 | | -|rmarkdown |2.30 |2.30 | | -|rprojroot |2.1.1 |2.1.1 | | -|sass |0.4.10 |0.4.10 | | -|shiny |1.12.1 |1.12.1 | | -|sourcetools |0.1.7-1 |0.1.7-1 | | -|sys |3.4.3 |3.4.3 | | -|testthat |3.3.1 |3.3.1 | | -|tinytex |0.58 |0.58 | | -|vctrs |NA |0.6.5 |* | -|waldo |0.6.2 |0.6.2 | | -|websocket |1.4.4 |1.4.4 | | -|withr |3.0.2 |3.0.2 | | -|xfun |0.55 |0.55 | | -|xtable |1.8-4 |1.8-4 | | -|yaml |2.3.12 |2.3.12 | | -|zip |2.3.3 |2.3.3 | | - # Revdeps -## Failed to check (3) +## Failed to check (7) |package |version |error |warning |note | |:-------------|:-------|:-----|:-------|:----| -|blockr.dag |0.1.0 |1 | | | -|scRNAseqApp |1.10.0 |1 | | | -|shiny.destroy |0.1.0 |1 | |1 | +|BiocHubsShiny |? | | | | +|igvShiny |? | | | | +|MSstatsShiny |? | | | | +|Pedixplorer |? | | | | +|RFLOMICS |? | | | | +|scRNAseqApp |? | | | | +|shinyDSP |? | | | | diff --git a/revdep/cran.md b/revdep/cran.md index db00f507..e71d76dd 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,13 +1,7 @@ ## revdepcheck results -We checked 76 reverse dependencies (69 from CRAN + 7 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. +We checked 78 reverse dependencies (71 from CRAN + 7 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems - * We failed to check 2 packages + * We failed to check 0 packages -Issues with CRAN packages are summarised below. - -### Failed to check - -* blockr.dag (NA) -* shiny.destroy (NA) diff --git a/revdep/failures.md b/revdep/failures.md index e278b03d..5e5a9c18 100644 --- a/revdep/failures.md +++ b/revdep/failures.md @@ -1,65 +1,196 @@ -# blockr.dag +# BiocHubsShiny (NA) -
+* : -* Version: 0.1.0 -* GitHub: NA -* Source code: https://github.com/cran/blockr.dag -* Date/Publication: 2025-12-18 13:50:02 UTC -* Number of recursive dependencies: 98 +Run `revdepcheck::cloud_details(, "BiocHubsShiny")` for more info -Run `revdepcheck::revdep_details(, "blockr.dag")` for more info +## Error before installation -
+### Devel -## In both +``` -* R CMD check timed out - -# scRNAseqApp -
-* Version: 1.10.0 -* GitHub: https://github.com/jianhong/scRNAseqApp -* Source code: https://github.com/cran/scRNAseqApp -* Date/Publication: 2025-10-29 -* Number of recursive dependencies: 244 -Run `revdepcheck::revdep_details(, "scRNAseqApp")` for more info -
+``` +### CRAN -## In both +``` -* R CMD check timed out - -# shiny.destroy -
-* Version: 0.1.0 -* GitHub: NA -* Source code: https://github.com/cran/shiny.destroy -* Date/Publication: 2024-09-17 12:30:02 UTC -* Number of recursive dependencies: 71 -Run `revdepcheck::revdep_details(, "shiny.destroy")` for more info -
+``` +# igvShiny (NA) -## In both +* : -* R CMD check timed out - +Run `revdepcheck::cloud_details(, "igvShiny")` for more info -* checking DESCRIPTION meta-information ... NOTE - ``` - Missing dependency on R >= 4.1.0 because package code uses the pipe - |> or function shorthand \(...) syntax added in R 4.1.0. - File(s) using such syntax: - ‘destroyModule.R’ ‘makeModule.R’ - ``` +## Error before installation +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# MSstatsShiny (NA) + +* : + +Run `revdepcheck::cloud_details(, "MSstatsShiny")` for more info + +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# Pedixplorer (NA) + +* : + +Run `revdepcheck::cloud_details(, "Pedixplorer")` for more info + +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# RFLOMICS (NA) + +* : + +Run `revdepcheck::cloud_details(, "RFLOMICS")` for more info + +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# scRNAseqApp (NA) + +* : + +Run `revdepcheck::cloud_details(, "scRNAseqApp")` for more info + +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# shinyDSP (NA) + +* : + +Run `revdepcheck::cloud_details(, "shinyDSP")` for more info + +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +```