-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Description
Prework
- Read and agree to the code of conduct and contributing guidelines.
- If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Description
Most test are skipped on CI but locally a failed test is still frustrating ☺
Absolute paths beginning with "/" won't work on windows.
Using "~" might also be problematic on windows without any path normalisation.
Reproducible example
split_path <- fs::path_split(tempfile(fileext = ".html")) %>% unlist()
setwd(file.path(paste0("/", paste(split_path[2:3], collapse = "/"))))
Expected result
Same tests, but compatible with windows environments. Applying normalizePath to a "~" temp dir would interfere with the test cases (change them) because of tilde-expansion
Session info
windows