Hello everyone,

I got flagged for the _ZSt4cout warning below on a recent CRAN submission of an 
R package which depends on RcppArmadillo.

* checking compiled code ... NOTE
File
‘/data/smith/R/packages/incoming/SpatialTools.Rcheck/SpatialTools/libs/SpatialTools.so’:
   Found ‘_ZSt4cout’, possibly from ‘std::cout’ (C++)

Compiled code should not call functions which might terminate R nor
write to stdout/stderr instead of to the console.  The detected symbols
are linked into the code but might come from libraries and not actually
be called.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.

The warning isn't new, but I'd never been flagged on it before.  It seems to 
have been discussed here:  
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-November/003133.html

I was just wondering if this had been resolved or if work continues to resolve 
it?

Thanks,

Joshua

--
Joshua French, Ph.D.
Assistant Professor
Department of Mathematical and Statistical Sciences
University of Colorado Denver
joshua.fre...@ucdenver.edu
http://math.ucdenver.edu/~jfrench/
Ph:  303-556-6265  Fax:  303-556-8550

_______________________________________________
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

Reply via email to