ThinkR-open/golem

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

ilyaZar opened this issue · 1 comments

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

thanks a lot