R: fix a test case that is architecture-dependent.