Error in file.path when running Shiny apps in showcase mode

When I try to run any Shiny app in showcase - for example

shiny::runExample("01_hello")

I get an error

Warning: Error in file.path: cannot coerce type 'closure' to vector of type 'character'
  [No stack trace available]

My setup:

  • Shiny 1.4.0.2
  • RStudio 1.3.959
  • macOS 10.14.6

Any ideas how to debug?

im afraid this is a bug in shiny

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

Thanks for the link. I noticed that the fix has already been merged but it's not yet on CRAN. So I installed Shiny based on the GitHub code with

remotes::install_github("rstudio/shiny")

and it works!