In Chapter 20 of Mastering Shiny, there is the very good idea to organise a large and long term Shiny app as a package. It has simplified my code (no more
source()) and simplified my workflow. My directory structure now resembles this :
├── data ├── R └── www
However, I run into the issue of not knowing how to organise properly my static resources (videos, pictures..). A
shinyApp() call inside the
R directory does not seem to be able to give access to the
www directory in the parent folder, so all the
src = "img.png" do not work, and other
includeMarkdown("text.md") create connection errors (
cannot open the connection). The paths to
data do work, on the other hand.
Has anyone found a solution to this?