[Rcpp-devel] _ZSt4cout warning

French, Joshua JOSHUA.FRENCH at UCDENVER.EDU
Mon Feb 13 18:32:57 CET 2012


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.French at ucdenver.edu
http://math.ucdenver.edu/~jfrench/
Ph:  303-556-6265  Fax:  303-556-8550

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120213/a05ab383/attachment.html>


More information about the Rcpp-devel mailing list