You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app is calling a function in app.R from the base directory that originally comes from the R/app.R directory, which is a shinyApp() function call on a UI and server function, respectively. The contents of app.R is:
I am implementing snapshot/screenshot-based testing for a Shiny app that is wrapped in a R package using shinytest2.
The basic layout of the directories in my package is as follows (some files omitted for simplicity);
The app is calling a function in
app.R
from the base directory that originally comes from theR/app.R
directory, which is ashinyApp()
function call on a UI and server function, respectively. The contents ofapp.R
is:The contents of the
test-shinytest2.R
file are as follows:When using
devtools::test()
, this test passes with no problems, but when calling throughdevtools::check()
, the following error occurs:The text was updated successfully, but these errors were encountered: