Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"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 opened this issue Dec 11, 2023 · 0 comments

Comments

@pdbailey0
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant