Skip to content

Package doesn't import %||% operator from purrr #763

@wzbillings

Description

@wzbillings

When I try to use skimr::skim(some_dataframe) in skimr 2.2.1 on R 4.3.3, I get this error.

Error in `purrr::map()`: ℹ In index: 13. Caused by error in `new_skim_type %||% skim_type`: ! could not find function "%||%" 

This is easily fixable by attaching the purrr operator, e.g. library(purrr, include.only = "%||%"), but it's a bit strange that this is necessary and that attaching skimr to the namespace (library(skimr)) doesn't fix this.

Not a big deal, just some unexpected behavior.

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