mario
mario copied to clipboard
change tests to be fault tolerant on windows
correct <- purrr::map2_lgl(correct_path, json_path,
~all.equal(readLines(.x), readLines(.y)) %>%
isTRUE())
map2(correct, json_path, ~ if_else fromJson is type error and on windows and
error message says blah blah then change to TRUE else return original value)
- or figure out why it's not working on windows (but the execution env is never windows so who cares?)
- or just remove windows from the CI