ThinkR-open / golem

A Framework for Building Robust Shiny Apps
https://thinkr-open.github.io/golem/
Other
885 stars 130 forks source link

[FR] Fix broken tests in `test-with_opt.R` #1119

Open ilyaZar opened 7 months ago

ilyaZar commented 7 months ago

The tests in tests/test-with_opt.R are defunct as the run_app() function is not properly sourced in a dummy-golem.

One can add a call to devtools::load_all() inside the test so the dummy golem has run_app() in its workspace. The test should run in non-interactive mode then.

Can be fixed via #1120