Example: shinyAppDir does not recognize global.R using Rmarkdown to embed a shiny app