Closed jackwasey closed 8 years ago
FWIW, I believe this error is being caused by testthat + Catch; likely it was due to the creation of the r_ostream
object (used so that output would be sent back to R). I think ASAN might have been picky about me inheriting from std::streambuf
vs std::basic_streambuf<char>
, but still need to verify that.
Thanks for picking this up. Will keep a lookout in case it pops up again.
I can't replicate this with the following environment. There are some possible llvm/libc++ bugs relating to this, which may have now been fixed, or the bug was from a dependency, e.g. Catch in testthat, or Rcpp. Either way, currently nothing to fix, since I can't replicate with most recent versions of R and clang.
Original report from CRAN below, in case it disappears: