Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More graceful error message (or no error message) when running an app with a call to runApp() in it #1466

Closed
daattali opened this issue Nov 15, 2016 · 1 comment

Comments

@daattali
Copy link
Contributor

daattali commented Nov 15, 2016

Every time I give a shiny lecture, I get a few students trying to place runApp() inside their source code after seeing it happen when they click the "Run App" button in RStudio. The error message you get is

Warning: Error in handlers$add: Key / already in use
Stack trace (innermost first):
    44: handlers$add
    43: handlerManager$addHandler
    42: startApp
    41: runApp
     1: runApp
Error : Key / already in use

Not very informative. It'd be nice to get a better message of maybe even somehow be able to handle the case of having runApp() in the code

@wch
Copy link
Collaborator

wch commented Nov 17, 2016

This is the same as #1358.

@wch wch closed this as completed Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants