Skip to content

R6 method chaining #2813

@b-rhodes

Description

@b-rhodes

Is there a way to get the linter to recognize R6 method chaining and not complain?

https://adv-r.hadley.nz/r6.html#method-chaining

When I try to lay out code like this:

x$
  add(10)$
  add(10)$
  sum

It complains about incorrect numbers of indents.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions