I was running reverse dependency checks for the validate package, and found two errors. It turned out to have nothing to do with validate introducing new errors, but the fact that my pc is partly in a non-english locale. In particular:
══ testthat results ═══════════════════════════════════════════════════════════
FAILURE (test_Extfromdt.R:70:3): Factor levels have correct order
FAILURE (test_Extfromdt.R:74:3): Factor levels have correct order
This is because you extract weekdays, which you presume to be in English.
Hi there,
I was running reverse dependency checks for the validate package, and found two errors. It turned out to have nothing to do with validate introducing new errors, but the fact that my pc is partly in a non-english locale. In particular:
This is because you extract weekdays, which you presume to be in English.
You can make the tests locale-independent, for example by generating the weekdays as follows:
It would make tests more robust, also in case you start using other packages.
In any case, thank you for your trust in
validate
.Kind regards, Mark