Re: [Rd] r76237 broken?

2019-03-14 Thread Ben Bolker
PS there's also a "shQoute(tf2)" on line 1063 that will presumably also cause trouble at some point ... On 2019-03-14 3:57 p.m., Ben Bolker wrote: > It looks like the most recent SVN commit changed line 1068 of > src/library/tools/R/admin.R to include a call to "shQuotee" (sic), which > is

[Bioc-devel] GitHub Pages Vignettes

2019-03-14 Thread Dario Strbenac
Good day, On the Bioconductor website, scde has no vignettes listed in the Documentation section. Looking at the contents of the package, there is a vignettes directory with four vignettes in it. They each have output: md_document and are hosted on GitHub.io. The vignettes also are not

Re: [Rd] as.data.frame.table() does not recognize default.stringsAsFactors()

2019-03-14 Thread Martin Maechler
> peter dalgaard > on Thu, 14 Mar 2019 16:18:55 +0100 writes: > I have no recollection of the original rationale for as.data.frame.table, but I actually think it is fine as it is: > The classifying _factors_ of a crosstable should be factors unless very specifically

[Rd] selectMethod() can fail to find methods in situations of multiple dispatch

2019-03-14 Thread Pages, Herve
Here is an example: setGeneric("foo", function(x, y) standardGeneric("foo")) setMethod("foo", c("numeric", "ANY"), function(x, y) cat("I'm the foo#numeric#ANY method\n") ) Dispatch works as expected but selectMethod() fails to find the method: > foo(1, TRUE) I'm the

Re: [Rd] as.data.frame.table() does not recognize default.stringsAsFactors()

2019-03-14 Thread peter dalgaard
I have no recollection of the original rationale for as.data.frame.table, but I actually think it is fine as it is: The classifying _factors_ of a crosstable should be factors unless very specifically directed otherwise and that should not depend on the setting of an option that controls the

[Rd] as.data.frame.table() does not recognize default.stringsAsFactors()

2019-03-14 Thread Mychaleckyj, Josyf C (jcm6t)
Reporting a possible inconsistency or bug in handling stringsAsFactors in as.data.frame.table() Here is a simple test > options()$stringsAsFactors [1] TRUE > x<-c("a","b","c","a","b") > d<-as.data.frame(table(x)) > d x Freq 1 a2 2 b2 3 c1 > class(d$x) [1] "factor" >

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-14 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- To follow up on the great answers regarding R-hub,- to use R-hub Linux Docker images you can use this brand-new rhub function  https://r-hub.github.io/rhub/reference/local_check_linux.html (untested on Windows)- here's WIP R-hub docs entry about choosing a platform to

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-14 Thread David Hugh-Jones
Thank you! Got it. This should be close enough to CRAN, and there’s a Docker image available too. On Thu, 14 Mar 2019 at 00:40, Duncan Murdoch wrote: > On 13/03/2019 8:34 p.m., David Hugh-Jones wrote: > > > > Hi guys > > > > That might be it. But there was no error until the latest release - >