Re: [Rd] Thanks for help with validspamobject

2018-08-26 Thread Ronald Barry
good practice to close the connection in code, but I don't see any function in sqldf to do so. Is there a way to nicely close the connection, or should I just ignore the warning? Operating system is Mac OSX 13.16 High Sierra, R Studio version 1.1.146, R version 3.5.0. Thanks for any

Re: [Rd] validspamobject?

2018-08-18 Thread Ronald Barry
27; on one of them, which would seem to invite possible bad code)? Thanks for any information. Ron Barry On Tue, Aug 14, 2018 at 4:56 PM, Ronald Barry wrote: > Greetings, > My R package has been showing warnings of the form: > > `validspamobject()` is deprecated. Use `validate_spam

[Rd] Thanks for help with validspamobject

2018-08-16 Thread Ronald Barry
Hi, Thanks for all your help. The problem with an error involving validspamobject() has been resolved, as a new version of spdep (0.7-7) was just released and it seems to have stopped using the deprecated function. Ron B. [[alternative HTML version deleted]] __

[Rd] validspamobject?

2018-08-14 Thread Ronald Barry
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 oth

[Rd] What to do re 'replacing previous import' errors

2017-05-20 Thread Ronald Barry
After looking at a few discussions of this problem online, I can't seem to find a good solution. When running a CHECK on a package I'm working on (which passed all tests a few years ago), I get the following 'significant warning': Warning: replacing previous import ‘spam::tail’ by ‘utils::tail’ w

[Rd] Style question

2014-05-28 Thread Ronald Barry
Greetings, When using a 'foreign' function (from another package, say function 'whatever' from package 'foo'), you can of course just require the package and then just have whatever(...) in your code. However, I would like to use the foo::whatever(...) form instead, just for documentation pu

[Rd] Comment on build and INSTALL

2011-05-31 Thread Ronald Barry
Greetings, I have noticed two possible small glitches with build and INSTALL. First, when I run R CMD build latticeDensity, I get the following message: *excluding invalid files from 'latticeDensity' Subdirectory R contains invalid file names:

[Rd] Demo and 00Index problems

2011-02-19 Thread Ronald Barry
Greetings, I am sure I'm missing the obvious, but my 00Index file in the demo subdirectory is not recognized by R CMD check (the demo runs fine, but I get a WARNING from R CMD check about a lack of demo/00Index file. When I invoke demo() in R I see the name but not description of the demo). Is

[Rd] .Rdata file in data subdirectory won't load

2010-11-28 Thread Ronald Barry
' added to the 'export' in the NAMESPACE, with no effect. > library(latticeDensity) > data(polygon1) Warning message: In data(polygon1) : data set 'polygon1' not found > file.choose() [1] "C:\\Documents and Settings\\Ronald Barry\\My Documents\\latticeDensi