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

Show call in error #1418

Closed
hadley opened this issue Jul 21, 2021 · 1 comment · Fixed by #1419
Closed

Show call in error #1418

hadley opened this issue Jul 21, 2021 · 1 comment · Fixed by #1419

Comments

@hadley
Copy link
Member

hadley commented Jul 21, 2021

In testthat:

Error: unused argument (paths[[1]])
Backtrace:
 1. testthat::expect_equal(...) test-utils.R:20:2
 2. testthat:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance)
 3. testthat:::waldo_compare(...)
 4. waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
 5. waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts) /Users/hadley/Documents/r-lib/waldo/R/compare.R:149:2
 6. waldo::compare_proxy(x, paths[[1]]) /Users/hadley/Documents/r-lib/waldo/R/compare.R:155:4

When called directly:

Error in compare_proxy.spec_tbl_df(x, paths[[1]]) : unused argument (paths[[1]])
@hadley
Copy link
Member Author

hadley commented Jul 21, 2021

Just needs a simple fix to exp_message().

hadley added a commit that referenced this issue Jul 21, 2021
hadley added a commit that referenced this issue Aug 5, 2021
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

Successfully merging a pull request may close this issue.

1 participant