I've got a package that has a shiny app included. I would like to include a link in the app to open the vignette. I'd prefer to have the link directly open the user's version of the vignette (ie...I'd rather not have to maintain a copy of the vignettes online somewhere). I'm not sure the package will ever go to CRAN, so I don't want to depend on a CRAN link either (and the shiny app will only ever be run locally). I've tried this is the ui code:
When copy the link location and paste it in the browser (ie, from "Inspect" via Chrome dev tools), it opens (so, the path is correct). There is an error "Not allowed to load local resource:". So, am I just out of luck, or is there a trick to open local files that I'm missing?
it's a bit annoying to have to rebuild the package to check every change in the app, but it will work. I might just bite the bullet and push up the vignettes to a pkgdown site.
The goal is to avoid helpers spending their (volunteer!) time and effort on questions that have already been answered elsewhere. The gist:
Avoid simultaneous cross-posting. Pick the best outlet for your question and allow a reasonable amount of time (days, not hours) to get a response before seeking more help elsewhere.
If you wind up sequentially cross-posting between this site and another site, clearly state that you have cross-posted and include a link to the other post
If your question gets answered somewhere else, say so here as soon as possible (thanks very much for doing this part!)