Skip to content

Passing character vectors with missing values to str_view() #217

@tomwwagstaff

Description

@tomwwagstaff

When I call str_view on a character vector with missing values, the viewer just returns a screen saying "NA". Try this:

foo<- c("cat", "cot", "hat", "blah", NA)
str_view(foo, pattern = "t$")

Is it possible to have it display as normal with the missing values showing as NA, or to filter out the missing values automatically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions