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
When running the covr in the callr subprocess on Windows, covr::package_coverage unexpectedly breaks if install_path has double backslashes (valid WINDOWS path) \\ instead of the single forward slashes /. That's due to the path normalization which happens after creating the directory:
Swapping these two lines will make the internal normalize_path function first replace all the \\ with / so the function can proceed as expected. I'm not sure why exactly this is an issue in a subprocess, but the change looks reasonable either way.
The text was updated successfully, but these errors were encountered:
When running the
covr
in thecallr
subprocess on Windows,covr::package_coverage
unexpectedly breaks ifinstall_path
has double backslashes (valid WINDOWS path)\\
instead of the single forward slashes/
. That's due to the path normalization which happens after creating the directory:covr/R/covr.R
Lines 413 to 415 in ca4241d
Swapping these two lines will make the internal
normalize_path
function first replace all the\\
with/
so the function can proceed as expected. I'm not sure why exactly this is an issue in a subprocess, but the change looks reasonable either way.The text was updated successfully, but these errors were encountered: