[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

[Rd] conflicting imports despite using importFrom in NAMESPACE

2013-06-05 Thread Jombart, Thibaut
Dear all, It is my understanding that using 'importFrom' in the NAMESPACE of a package allows to avoid conflicts between different packages defining objects with identical names. However, I can still see conflicts while loading the package using 'library'. Here is a toy example, with a

Re: [Rd] conflicting imports despite using importFrom in NAMESPACE

2013-06-05 Thread Jombart, Thibaut
explicitly using ':::'. Best Thibaut From: Martin Morgan [mtmor...@fhcrc.org] Sent: 05 June 2013 20:19 To: peter dalgaard Cc: Jombart, Thibaut; r-devel@r-project.org Subject: Re: [Rd] conflicting imports despite using importFrom in NAMESPACE On 06/05/2013 11:59 AM

Re: [Rd] S4 method defined but not used

2010-05-24 Thread Jombart, Thibaut
Dear Martin, thanks for giving it a try. I forgot to mention I had removed the .RData, and started R without using the .Rprofile. R --vanilla did not help. However, I made another try on another computer with the same packages, R version, and OS, and I fail to reproduce this error. Best

[Rd] S4 method defined but not used

2010-05-21 Thread Jombart, Thibaut
Dear R developers, I am having a slightly weird issue with a S4 method defined in my package adegenet 1.2-4, with R 2.11.0. As far as I know, the problem is new, and the code implementing the method has not changed for more than a year and worked well so far. The problem is the following. I

[Rd] Sweave in PNG: driver online

2010-02-19 Thread Jombart, Thibaut
Dear R addicts, Back in 2006, I posted the proposition for a tweak of the Sweave driver so that PNG figures can be produced instead of eps/pdf : https://stat.ethz.ch/pipermail/r-help/2006-March/102122.html The amount of code modified is tiny (it was designed to induce minimal changes to the