Skip to content

matchArg types and their conversion seem unintuitive #6

@d-callan

Description

@d-callan

From veupathUtils created by d-callan: VEuPathDB/veupathUtils#1

we built this to serve a need in veupathdb/plot.data originally. but in a more generalized context like this one, it may make sense to expand the handled types beyond character and logical? seems slightly arbitrary. also, the support of multiple types means its possible to pass choices like c(1, 'a', as.Date('2021-12-25'), FALSE) which we should decide what wed like to do about.. base R will just convert those all to character but is that clear to a user of matchArg?

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