Skip to content

use standard order #3

Description

@yannickwurm

some examples use gsub(pattern = '', replacement = "", x = "")
We should in general use x first - thus those examples should be reversed.

The situation where x can justifiably be last is when pattern and repl are unchanged and x is the only thing that changes. Having x at the end in such situations would increase legibility...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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