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

Implement native pipe #123

Closed
rasmusrhl opened this issue Mar 21, 2023 · 0 comments
Closed

Implement native pipe #123

rasmusrhl opened this issue Mar 21, 2023 · 0 comments

Comments

@rasmusrhl
Copy link

Implementing the native pipe will make assertr easier to use (for users of the native pipe).

Right now the native pipe does not work:


library(assertr) |> suppressPackageStartupMessages()
library(dplyr) |> suppressPackageStartupMessages()

mtcars %>%
  verify(sum(is.na(.$speed)) < 10) |> invisible()

mtcars |>
  verify(sum(is.na(.$speed)) < 10) |> invisible()
#> Error in rlang::eval_tidy(expr, data, parent.frame()): object '.' not found

Thank you for Assertr ☺☺

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