For example, vim will not indent correctly the following code:
flights <- flights %>%
group_by(year, month, day) %>%
select(arr_delay, dep_delay) %>%
summarise(
arr = mean(arr_delay, na.rm = TRUE),
dep = mean(dep_delay, na.rm = TRUE)
) %>%
filter(arr > 30 | dep > 30)
Is there a way to fix this?
I'm using the Vim-R-Plugin, the related issue is here.