-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
Description
Please consider passing pipe_consistency_linter in cases where magrittr pipe handles passing object as a non-first argument in a more readable way:
private$hosts <- new_host |>
private$check_for_duplicate_hosts() %>%
append(private$hosts, .)
Using magrittr as an exception looks neater than the approach below:
private$hosts <- new_host |>
private$check_for_duplicate_hosts() |>
(\(x) append(private$hosts, x))()