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

Report more on failure #570

Open
hadley opened this issue Jun 3, 2024 · 1 comment
Open

Report more on failure #570

hadley opened this issue Jun 3, 2024 · 1 comment

Comments

@hadley
Copy link
Member

hadley commented Jun 3, 2024

In dev httr2, I see:

> covr::package_coverage(".")
Error:
! Failure in `/private/tmp/RtmpjTMbDX/R_LIBS975a77c099eb/httr2/httr2-tests/testthat.Rout.fail`
Hide Traceback1. └─covr::package_coverage(".")
 2.   ├─withr::with_libpaths(...)
 3.   │ └─base::force(code)
 4.   ├─withr::with_envvar(...)
 5.   │ └─base::force(code)
 6.   ├─base::withCallingHandlers(...)
 7.   └─covr:::show_failures(out_dir)

And the only way to debug is to set clean = FALSE and then open the reference file (in this case it was because I'd just upgraded R and hadn't installed all the needed deps, but it's painful when it happens on CI).

@latot
Copy link

latot commented Jun 18, 2024

I agree, this would be so helpful, some times there is errors on CI, which are harder to debug due to this.

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

2 participants