[Rd] declaring dependencies of shiny app in inst/

2015-08-26 Thread Jombart, Thibaut
Dear all, I have a package implementing a shiny app, putting the R code of the app (server.R and ui.R) in inst/... and then having a simple function merely starting the app with something along the lines of: runApp(system.file(inst/...)) However, the app itself uses functions from packages

Re: [Rd] declaring dependencies of shiny app in inst/

2015-08-26 Thread Jombart, Thibaut
Hi there thanks for the answer. But are their better ways / best practices? You'll have to ask questions like these on a Shiny forum. Done. New thread there: https://goo.gl/17hsAa On a related topic: are there plans of formally incorporating shiny apps in the structure of a R package, so

Re: [Rd] declaring dependencies of shiny app in inst/

2015-08-26 Thread Duncan Murdoch
On 26/08/2015 8:00 AM, Jombart, Thibaut wrote: Hi there thanks for the answer. But are their better ways / best practices? You'll have to ask questions like these on a Shiny forum. Done. New thread there: https://goo.gl/17hsAa On a related topic: are there plans of formally

Re: [Rd] declaring dependencies of shiny app in inst/

2015-08-26 Thread Duncan Murdoch
On 26/08/2015 6:43 AM, Jombart, Thibaut wrote: Dear all, I have a package implementing a shiny app, putting the R code of the app (server.R and ui.R) in inst/... and then having a simple function merely starting the app with something along the lines of: runApp(system.file(inst/...))