Hi list, I run into run-time errors when using rhub::check_with_sanitizers(), which can be reproduced like this:
$ docker run -it --rm rhub/rocker-gcc-san bash root@c56cfa20e903:/# RDscript -e "install.packages('Rcpp')" [...] root@c56cfa20e903:/# cat > foo.cpp #include <Rcpp.h> // [[Rcpp::depends(Matrix)]] // [[Rcpp::export]] int foo() { return 0; } root@c56cfa20e903:/# RDscript -e "Rcpp::sourceCpp('foo.cpp')" attributes.cpp:168:11: runtime error: load of value 104, which is not a valid value for type 'bool' attributes.cpp:168:11: runtime error: load of value 2, which is not a valid value for type 'bool' There is no error if I omit Rcpp::depends: root@c56cfa20e903:/# cat > bar.cpp #include <Rcpp.h> // [[Rcpp::export]] int foo() { return 0; } root@c56cfa20e903:/# RDscript -e "Rcpp::sourceCpp('bar.cpp')" root@c56cfa20e903:/# These errors do not occur in the tests run by CRAN (or they are filtered out there). Does anyone have an idea where this might come from and how it could be fixed? Thanks Ralf -- Ralf Stubner Senior Software Engineer / Trainer daqana GmbH Dortustraße 48 14467 Potsdam T: +49 331 23 61 93 11 F: +49 331 23 61 93 90 M: +49 162 20 91 196 Mail: ralf.stub...@daqana.com Sitz: Potsdam Register: AG Potsdam HRB 27966 Ust.-IdNr.: DE300072622 Geschäftsführer: Dr.-Ing. Stefan Knirsch, Prof. Dr. Dr. Karl-Kuno Kunze
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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