Armadillo 14.0.0 std::cerr regression (original) (raw)
@conradsnicta I am hearing from @kurthornik that the current CRAN version of package hgwrr
exhibits
* checking compiled code ... NOTE
File ‘hgwrr/libs/hgwrr.so’:
Found ‘_ZSt4cerr’, possibly from ‘std::cerr’ (C++)
Object: ‘hlmgwr.o’
Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking examples ... OK
whereas the previous version did not. I can confirm this -- my testing shows this too (but I do not promote such NOTEs to ERRORs so I do not see them all among the 1100+ packages to test). Any idea where this may have regressed because we otherwise have this scheme of dropping in R's output and error streams? A quick grep on my end did not lead me to anything.
(I am aware you now have 14.0.1 out as well but have not caught up; fighting with / working on two other CRAN submissions right now.)