[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 Stephen Martin Pederson
tions(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 an S4 object class defined in a Bioconductor package which contains > multiple slots, some of which are tibbles, whilst others are vectors. If I >