deploying shiny application error

I want to share the application as a web-page but i got the following error message :Error in runApp(app) : Can't call runApp() from within runApp(). If your application code contains runApp(), please remove it.

here is the code line to run the app
runApp(shinyApp(ui, server), host="0.0.0.0" , port = 3994 ,launch.browser = TRUE)

The error message is very clear. Have you taken its advice and reviewed your script?

There isn't another runApp command line in the code

There's shouldn't be a single one in any application script you may have written.
If there's one there. It's one too many...

You can call runApp from the console as an alternative to pressing the green runApp button in the ide. But runApp should not be in any script that you would deploy

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