ThinkR-open / golem

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

`run_dev()` fails when returning invisibly [BUG] #1090

Closed ilyaZar closed 11 months ago

ilyaZar commented 11 months ago

Describe the bug The last line of the current run_dev() has an invisible return value image I mean

return(invisible(file))

This causes golem::run_dev() to fail in a fresh golem like so

image

Meaning there is no pop-up of the App in a new webbrowser.

To Reproduce Steps to reproduce the behavior:

  1. create a fresh golem
  2. call golem::run_dev() to the screen
  3. not tested in vscode but RStudio

Expected behavior Removing the last line return(invisible(file)) fixes this i.e. do image

This produces in RStudio the usual messages and a running golem skeleton: image

Can be fixed via #1091

VincentGuyader commented 11 months ago

thanks a lot