You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Thanks for this package, I've been appreciating it.
I ran
covr::package_coverage()
and got anError: 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 ofTRUE
the temp file I was just told to go look at gets deleted. A more user friendly error might test ifclean
isTRUE
, 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 causedpackage_coverage
to tell me to look at the error file so I don't have to run the whole command again.The text was updated successfully, but these errors were encountered: