Skip to content
Merged
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: 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")),
Expand Down
26 changes: 14 additions & 12 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# 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
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

Expand Down
116 changes: 104 additions & 12 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -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
> <https://cran.r-project.org/web/checks/check_results_shinytest2.html>.
>
> 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

Expand All @@ -16,14 +115,7 @@ Larger features / bug fixes for the package.

## 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
100 changes: 8 additions & 92 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -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 |? | | | |

10 changes: 2 additions & 8 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -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)
Loading
Loading