From emil@bode @ending from d@n@@kn@w@nl  Wed Aug 15 10:26:48 2018
From: emil@bode @ending from d@n@@kn@w@nl (Emil Bode)
Date: Wed, 15 Aug 2018 08:26:48 +0000
Subject: [Rd] validspamobject?
In-Reply-To: <CAOVYLHdqrAKUtZ23DH1d6z5PZqLmbWTLjr=9H0+-TFcCPyzbww@mail.gmail.com>
References: <CAOVYLHdqrAKUtZ23DH1d6z5PZqLmbWTLjr=9H0+-TFcCPyzbww@mail.gmail.com>
Message-ID: <9FDDFFF4-C6F1-4A4A-8762-9E40C8785D16@dans.knaw.nl>

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-bounces at r-project.org on behalf of rpbarry at 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 at r-project.org mailing list
    https://stat.ethz.ch/mailman/listinfo/r-devel
    



[Rd] validspamobject?
Emil Bode