Skip to content

warning: In xtfrm.data.frame(x) : cannot xtfrm data frames #8

@rickhelmus

Description

@rickhelmus

Hello,

As of R 4.1 the following warning is issued from filterIso:

In xtfrm.data.frame(x) : cannot xtfrm data frames

I believe that the latest R is more strict, and that it is actually not supported to sort a data.frame like this.

A possible fix could be:

    isodfSorted <- do.call(rbind,lapply(seq_len(nrow(isodfSorted)),
        function(x) { sort(unlist(isodfSorted[x,])) }
    ))

But I'd rather check before applying this, since I am not 100% sure what this code should do in the first place :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions