Re: [Bioc-devel] issue with .local() hack used in S4 methods

2023-05-19 Thread Martin Maechler
> Hervé Pagès > on Fri, 19 May 2023 11:43:50 -0700 writes: > Hi, > Just ran across this: >     foo <- function(x, ..., z=22) z >     setMethod("foo", "character", function(x, y=-5, z=22) y) >     # Creating a generic function from function ‘foo’ in the global

[Bioc-devel] issue with .local() hack used in S4 methods

2023-05-19 Thread Hervé Pagès
Hi, Just ran across this:     foo <- function(x, ..., z=22) z     setMethod("foo", "character", function(x, y=-5, z=22) y)     # Creating a generic function from function ‘foo’ in the global environment Then:     foo("a")     # [1] 22 Should return -5, not 22. That's because the call to .

[Bioc-devel] compilation of a package

2023-05-19 Thread Franck RICHARD
Hello, I have just finished writing a new package for bioconductor that should work with Cuda and c++ code. The problem is that the package requires the installation of many development suites (cuda devtools, Rtools, MSVC compilations tools) under Windows and the compilation time under Window