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

2020-07-10 Thread Stephen Martin Pederson
AM To: Stephen Martin Pederson ; r-devel@r-project.org Subject: Re: [Rd] Strange behaviour of methods::slot() when returning a tibble 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 op

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

[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