We have a small regression in Rcpp 0.12.8: On old compilers such as the g++-4.*, Rcpp::stop(txt) no longer returns the proper error messages. It works with g++-5.* or later, and 'throw std::range_error(txt)' works too.
For those who would rather not alter their error code, or are eg using Travis with that compiler, an interim release Rcpp 0.12.8.2 -- properly tested via the usual complete reverse-depends -- is at the Drat repo http://rcppcore.github.io/drat/ which has instructions. A broader discussion of the issue, demonstrations of it as well as the fix etc pp are at https://github.com/RcppCore/Rcpp/issues/596 Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel