Hello,

If you want to determine where the warning is generated, I think it's easiest 
to run R with options(warn=2).
In that case all warnings are converted to errors, and you have more debugging 
tools, e.g. you can run traceback() to see the calling stack, or use 
options(error=recover).
Hope you can catch it.


Best regards, 
Emil Bode

is an institute of the Dutch Academy KNAW <http://knaw.nl/nl> and funding 
organisation NWO <http://www.nwo.nl/>. 

On 15/08/2018, 02:57, "R-devel on behalf of Ronald Barry" 
<r-devel-boun...@r-project.org on behalf of rpba...@alaska.edu> wrote:

    Greetings,
      My R package has been showing warnings of the form:
    
    `validspamobject()` is deprecated. Use `validate_spam()` directly
    
    None of my code uses the function validspamobject, so it must be a problem
    in another package I'm calling, possibly spam or spdep.  Has this problem
    occurred with other people?  It doesn't have any deleterious effect, but
    it's annoying.  In particular, how do I determine which package is causing
    this warning?  Thanks.
    
    Ron B.
    
        [[alternative HTML version deleted]]
    
    ______________________________________________
    R-devel@r-project.org mailing list
    https://stat.ethz.ch/mailman/listinfo/r-devel
    

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to