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

dplyr 1.0.0 breaks pkgattrs::write_pkg_api function #4

Open
IndrajeetPatil opened this issue Mar 3, 2020 · 0 comments
Open

dplyr 1.0.0 breaks pkgattrs::write_pkg_api function #4

IndrajeetPatil opened this issue Mar 3, 2020 · 0 comments

Comments

@IndrajeetPatil
Copy link

This is the traceback I see and the breakage has to do with this issue: tidyverse/dplyr#4895

> rlang::last_error()
<error/rlang_error>
`summarise()` argument `lines` errored.
i `lines` is `n()`.
i The error occured in group 1: fn_name = "bartlett_message", subtype = "blank".
x could not find function "n"

Backtrace:
  1. pkgattrs::write_pkg_api(getwd(), filename = "API")
  2. pkgattrs::pkg_api(...)
  3. pkgattrs::pkgattrs(...)
  4. base::seq(nrow(pkg_locations))
 12. purrr::map_df(...)
 13. purrr::map(.x, .f, ...)
 14. pkgattrs:::.f(.x[[i]], ...)
  8. pkgattrs:::get_fn_lines_info(...)
  8. dplyr::group_by(., fn_name, subtype)
 15. dplyr::summarize(., lines = n())
 26. dplyr:::summarise_cols(.data, ...)
 27. base::tryCatch(...)
 28. base:::tryCatchList(expr, classes, parentenv, handlers)
 29. base:::tryCatchOne(...)
 30. value[[3L]](cond)
 31. dplyr:::stop_eval_tidy(e, index = i, dots = dots, fn = "summarise")
 32. dplyr:::stop_dplyr(index, dots, fn, "errored", x = conditionMessage(e))
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