Re: [Rd] match()/%in% with language objects?

2015-08-26 Thread William Dunlap
Did you support Ben's wish to allow 'symbol' (aka 'name') objects as well, or even more general language objects (as by the subject's wording) ? Do you mean should match treat match(quote(foo), list(as.name(bar), as.name(foo))) # error the same as match(list(quote(foo)),

Re: [Rd] sprintf error: only 100 arguments allowed

2015-08-26 Thread Hervé Pagès
Wouldn't it make sense to have this in the man page? The 8192-byte limitation for 'fmt' is mentioned but not this one. Thanks, H. On 08/25/2015 02:08 AM, Prof Brian Ripley wrote: From the sources: #define MAXNARGS 100 /* ^^^ not entirely arbitrary, but strongly linked to

Re: [Rd] Issues with libcurl + HTTP status codes (eg. 403, 404)

2015-08-26 Thread Jeroen Ooms
On Tue, Aug 25, 2015 at 10:33 PM, Martin Morgan mtmor...@fredhutch.org wrote: actually I don't know that it does -- it addresses the symptom but I think there should be an error from libcurl on the 403 / 404 rather than from read.dcf on error page... Indeed, the only correct behavior is to

Re: [Bioc-devel] Dependencies in Bioconductor dockers

2015-08-26 Thread Kasper Daniel Hansen
This might be especially nice if we use the docker containers for R CMD check. On Wed, Aug 26, 2015 at 10:56 PM, Laurent Gatto lg...@cam.ac.uk wrote: Dear all, As far as I can see, the Suggests dependencies of a package are not included in the docker containers. Would you consider adding

Re: [Rd] sprintf error: only 100 arguments allowed

2015-08-26 Thread Martin Bel
Thanks for the help Hervé, sprintf2 does the job! Brillant! I see Brian, thanks. I imagined it was there for a reason, but had to check. I guess you don't pass more than 100 arguments to sprintf every day. ;) Best. Martín 2015-08-26 14:26 GMT-03:00 Hervé Pagès hpa...@fredhutch.org: Wouldn't

Re: [Rd] match()/%in% with language objects?

2015-08-26 Thread Martin Maechler
William Dunlap wdun...@tibco.com on Tue, 25 Aug 2015 09:47:23 -0700 writes: match(x,table) and x%in%table work when x and table are lists of language objects or expressions. E.g., expression(quote(1+2), quote(log2(16))) %in% expression(3, quote(1+2), c(4L,5L,6L,7L))

[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: [R-pkg-devel] R CMD check for a package which depends on not installed other package

2015-08-26 Thread Uwe Ligges
On 26.08.2015 12:23, Rainer M Krug wrote: Hi I am working on two packages, where one (EnergyBalance) contains general functions and the second package (EnergyBalancePaper) contains the data and the analysis of this specific day=ta using the general functions ion the package EnergyBalance.

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/...))

Re: [Rd] Issues with libcurl + HTTP status codes (eg. 403, 404)

2015-08-26 Thread Duncan Murdoch
On 26/08/2015 6:04 PM, Jeroen Ooms wrote: On Tue, Aug 25, 2015 at 10:33 PM, Martin Morgan mtmor...@fredhutch.org wrote: actually I don't know that it does -- it addresses the symptom but I think there should be an error from libcurl on the 403 / 404 rather than from read.dcf on error