Skip to content

wblr: handling of argument 'x' is too restrictive #42

@DavidBarke

Description

@DavidBarke

Hello David,

I propose to rewrite the following line

if (!class(x) == "data.frame") {

with

if (!inherits(x, "data.frame)) {

For example, this would enable the use of a tibble as argument x or any other extended data.frame.

Best regards
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions