test_that("t-values with a weird minus sign and a space do not result in errors", {
txt1 <- " t(553) = − 4.46, p < .0001" # this is an em dash or something
expect_output(statcheck(txt1, messages = FALSE), "did not find any results")
})
not sure why I decided why these cases should be ignored. seems reasonable to include them.
see this test:
weird encoding in minus sign followed by space
test_that("t-values with a weird minus sign and a space do not result in errors", { txt1 <- " t(553) = − 4.46, p < .0001" # this is an em dash or something
})
not sure why I decided why these cases should be ignored. seems reasonable to include them.