Re: [Rd] lapply and vapply Primitive Documentation

2020-07-10 Thread Martin Maechler
> Cole Miller > on Thu, 9 Jul 2020 20:38:10 -0400 writes: > The documentation of ?lapply includes: >> lapply and vapply are primitive functions. > However, both evaluate to FALSE in `is.primitive()`: > is.primitive(vapply) #FALSE > is.primitive(lapply) #

Re: [Rd] lapply and vapply Primitive Documentation

2020-07-10 Thread Martin Morgan
Was hoping for an almost record old bug fix (older than some R users!), but apparently the documentation bug is only a decade old (maybe only older than some precious R users) https://github.com/wch/r-source/blame/2118f1d0ff70c1ebd06148b6cb7659efe5ff4d99/src/library/base/man/lapply.Rd#L116 (

[Rd] Strange behaviour of methods::slot() when returning a tibble

2020-07-10 Thread Stephen Martin Pederson
I have an S4 object class defined in a Bioconductor package which contains multiple slots, some of which are tibbles, whilst others are vectors. If I call slot(object, name) where 'name' is an slot that contains a vector, everything works as expected. However, when I call slot(object, name) whe

Re: [Rd] Strange behaviour of methods::slot() when returning a tibble

2020-07-10 Thread Duncan Murdoch
I don't get any warning (but am using slightly different versions of everything than you are). You can find where that message is coming from by running options(warn=2) first, which will convert it to an error. Duncan Murdoch On 10/07/2020 11:54 a.m., Stephen Martin Pederson wrote: I have a

Re: [Rd] Strange behaviour of methods::slot() when returning a tibble

2020-07-10 Thread Stephen Martin Pederson
Thanks Duncan. Much appreciated & I can now see it's ellipsis::check_dots_empty() causing the trouble. I'll take the question to the github issues page for that package. All the best, Steve From: Duncan Murdoch Sent: Saturday, 11 July 2020 1:38 AM To: Stephen M

[Rd] Compilation error for R 4.0.2

2020-07-10 Thread Wim R. Cardoen
Hello, I experienced a compiler error when I tried to compile the latest version of R i.e. R4.0.2 making iosupport.d from iosupport.c making lapack.d from lapack.c making list.d from list.c making localecharset.d from localecharset.c grep.c(74): catastrophic error: cannot open source file "pcre2.h