You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider removing dplyr and possibly purrr dependencies? #181
dplyr is a very heavy dependency which makes using styler on CI services such as travis or appveyor problematic.
Doing this would be useful so you could style the package as a CI step and ensure there are no changes as a way to verify that PRs conform to the style. But this will only work well if styler has limited (and light) dependencies.
If you are open to the possibility of removing the dependency I could work on a PR.
I think since I know the project fairly well by now, I can start working on this in about two weeks if @jimhester is ok with that. If I remember correctly, the majority of dplyr calls was already removed with #90, so it should not be too much of work.
Activity
krlmlr commentedon Sep 5, 2017
I think removing dplyr and using compat-purrr.R is a good plan. Happy to review a PR.
lorenzwalthert commentedon Sep 5, 2017
I think since I know the project fairly well by now, I can start working on this in about two weeks if @jimhester is ok with that. If I remember correctly, the majority of dplyr calls was already removed with #90, so it should not be too much of work.
jimhester commentedon Sep 5, 2017
I have a WIP at https://github.com/krlmlr/styler/pull/182.
I also realized that tidyr also has a dplyr dependency, so we would need to remove tidyr as well.
lorenzwalthert commentedon Sep 5, 2017
Yes, that might be tricky. Especially for creating the nested parse data - as the name says - we heavily rely on
tidyr::nest().Remove tidyr dependency
Remove tidyr dependency
jimhester commentedon Sep 5, 2017
tidyr wasn't bad https://github.com/krlmlr/styler/pull/183
jimhester commentedon Sep 6, 2017
dplyr (#182) is complete now as well. Purrr is fairly light these days, we can remove it if we want, but probably not really needed.
Remove tidyr dependency
Remove tidyr dependency
Remove tidyr dependency
Remove tidyr dependency
krlmlr commentedon Sep 15, 2017
Should be good now.