Skip to content

Report more on failure #570

Open
Open
@hadley

Description

@hadley

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions