dfe-analytical-services / dfe-analytical-services/analysts-guide

shinytest2 / chromote guidance out of date

Open
#170 1 comment 0 reactions 0 assignees View on GitHub
r-shiny dashboards
Dominant language
R
Stars
6
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Chrome underwent some major changes this year around headless mode, so setting up chromote has completely changed. We should make the following changes to the Analysts Guide:

- you need at least [chromote v0.5.0](https://github.com/rstudio/chromote/releases/tag/v0.5.0)
- run `chromote::local_chrome_version(binary = "chrome-headless-shell", quiet = FALSE)` before running shinytest2 the first time

We can remove the old troubleshooting guidance recommending adding CHROMOTE_CHROME=... to the .Renviron file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.