`expect_no_error()` loses traceback
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start at the expect_no_error() entry point and reproduce the failure shown from test-dbplyr.R:57. Check how the simpleError is reported and preserve the traceback in the failure output; done when the example's error includes a useful traceback without losing the existing message.
Written by the indexing model from the issue text.
Description
e.g.
Failure ([test-dbplyr.R:57:3](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html#)): joins, semi_joins, and set ops work
Expected `dplyr::collect(dplyr::semi_join(db1, db2, by = "x"))` not to throw any errors.
Actually got a <simpleError> with message:
no applicable method for 'table_path_components' applied to an object of class "c('Pool', 'R6')"
Having the traceback is very useful.
- Dominant language
- R
- Stars
- 939
- Forks
- 346
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from r-lib/testthat
-
Documentation for expect_error argument 'regexp' says it accepts a character vector but it does not Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·