Skip to content

Consider dot-prefixing all parameter names in functions where we take in user-controlled named ... #162

Closed
@brookslogan

Description

@brookslogan

Arose from this discussion. When the user can specify desired output columns or arguments to their own functions in ..., there is the danger of partial [see clarification below; this can be the source of problems, but not our current problems] argument name matching assigning args the user meant to be part of ... to one of our built-in parameters, and getting incorrect output or cryptic errors. Ryan has already encountered this once. The approach of dplyr and purrr is to put a dot prefix on all their built-in parameters, as users typically won't use dots as the first character in their own column or function parameter names. We should consider doing the same in epi_slide, epix_slide, and any other similar functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1medium priorityop-semanticsOperational semantics; many potentially breaking changes here

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions