I'm a teacher and new to shiny. I love the idea of creating shiny apps, deploying them to the web, and having my students access them in class as in-class activities. I deployed my first app for class via 
shinyapps.io https://aswoboda.shinyapps.io/BasketSimulator/BinarySim.Rmdand everything looked great when I started class. I had my students click on the url to access the site to play around with the app and it kept crashing with an "Application unexpectedly exited. Diagnostic information has been dumped to the JavaScript error console." error. I don't know where to look for the JavaScript error console and, to be honest, I'm not sure I'd be able to decipher it anyway…
I looked around a bit and noticed the idea of configuring the app to be a bigger instance. I tried to 
follow these instructions to and increase the instance size, but after the command:
shinyapps::configureApp("BasketSimulator", size="medium")
I get the following error message…
Error in lint(appDir) : Cancelling deployment: invalid project layout.
The project should have one of the following layouts:
1. 'shiny.R' and 'ui.R' in the application base directory,
2. 'shiny.R' and 'www/index.html' in the application base directory,
3. An R Markdown (.Rmd) document.
First, is changing the instance size a solution to the problem of the app crashing with multiple users? 
If so, can anyone point me to resources to help me figure out how do to configure the app size, given my problems with the configureApp command?
I don't really understand the "Error in lint(appDir)" message above.  I think my app *is* an .Rmd file that a) sources an .R script which defines a shinyApp function, and b) calls the function. Thus, my .Rmd file is basically…
```{r, echo=FALSE}
source("myscript.R")
myfunction()
```
In my 
shinyapp.io dashboard the app name is listed as "BasketSimulator", but am I missing something simple about the name of my app?
Thanks,
Aaron
PS. I just updated to shinyApps version 0.3.58 and have redeployed my app and still get the same behavior...