Closed YupingLu closed 7 years ago
left shift error can be fixed with 1U << ((bit) & XBM) (change int 1 to unsigned int). devtools::check(check_dir = ".") works, but devtools::check() still fails. Why???
I finally find the bug. I used C's strcpy function in the code. The char array I defined is too short to store the temp filename which is longer than regular file.
Check Details
Version: 1.0.0 Check: examples Result: ERROR Running examples in ‘biclique-Ex.R’ failed The error most likely occurred in:
clang-UBSAN
gcc-UBSAN
I have spent two days on this without any clue. Sigh :(