strange error when running devtools::test()