Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addin to change expression to piped expression #31

Open
moodymudskipper opened this issue Dec 16, 2020 · 0 comments
Open

addin to change expression to piped expression #31

moodymudskipper opened this issue Dec 16, 2020 · 0 comments

Comments

@moodymudskipper
Copy link
Owner

so dim(head(iris, 2)) will be changed to :

iris %.% {
  head(., 2)
  dim()
}

I often start to nest function calls until I realize that a pipeline would be better, then it's some work to reformat it, we could do it very easily.

It wouldn't work both ways, because of special features of {nakedpipe}. The work that we did to translate to magrittr could be leveraged here in principle but it's a can of worms and not that useful so I'd rather not create technical debt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant