Closed Yunuuuu closed 1 year ago
Another good catch, thanks! You can add yourself as a contributor in DESCRIPTION if you like, eg person("firstname", "secondname", role=c("ctb"))
Thanks @Alanocallaghan
Can you provide an example of code where this bug would occur? Just so I can write a test case.
because factor always subset the head elements, we just test this by indexing someone other than the heading elements
It'll be okay after merging this commit but failure in the present code. I just modified the existing test code, can this make sense ? or should I add a new test section ?
Thanks, that's perfect! I copied this code to #182 as I ended up patching subset2index rather than handling it on the scater end. Thanks again for the great contributions, really appreciated
As
features
is a factor, so.subset2index
function will always return the first rows of theobject