Skip to content

error occur when one of label is numeric #3

@SewerynGrodny

Description

@SewerynGrodny

hi,

good package. Thanks for work.
I have a problem with surveytoolbox::varl_tb, it occurs when one of label is a number.
It is then silently converted to numeric, and cannot be coerced to character.
I would recommend adding extra ifelse. Something like ifelse(is.numeric(.), as.character(.), .).
Should work fine then.

Best
Seweryn

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