Pipes: Spacing

# Strive for space before |>, end line with |>
flights |> 
  filter(!is.na(arr_delay), !is.na(tailnum)) |> 
  count(dest)

# Avoid
flights|>filter(!is.na(arr_delay), !is.na(tailnum))|>count(dest)

Easier to:

  1. add new steps
  2. rearrange existing steps
  3. modify elements within a step
  4. to get a 50,000 ft view by skimming the verbs on the left-hand side