Skip to content

"Error: Fialure in [temp file path].Rout.fail" then gets deleted before I can look at the file when default clean=TRUE is set #554

Open
@pdbailey0

Description

@pdbailey0

Thanks for this package, I've been appreciating it.

I ran covr::package_coverage() and got an Error: Failure in (a temp file) that was missing. This error suggests that there is a temp file that I can go see. There was not.

I believe this is because when clean is set to the default of TRUE the temp file I was just told to go look at gets deleted. A more user friendly error might test if clean is TRUE, if it is, say, add 'clean=FALSE' to the call to see the error instead of pointing to a file that then gets deleted.

Even better would be skipping the cleanup in on.exit() if there was an error that caused package_coverage to tell me to look at the error file so I don't have to run the whole command again.

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