Skip to content

Adding hugging in fn1(fn2()) style calls #21

@DavisVaughan

Description

@DavisVaughan
abort(glue::glue(
  "Length implied by `dim`, {n_elements}, must match the length of `x`, {n_x}."
))

Formatted as this right now

abort(
  glue::glue(
    "Length implied by `dim`, {n_elements}, must match the length of `x`, {n_x}."
  )
)

But its quite nice with the hug

(Something about enabling this when the only unnamed argument to a function call is another function call, but should respect that leading line break if user wants to expand!)

(quite common across dplyr and elmer)

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