[Rd] no visible binding for global variable for data sets in a package

2014-08-26 Thread Michael Friendly
I'm updating the Lahman package of baseball statistics to the 2013 release. In addition to the main data sets, the package also contains several convenience functions that make use of these data sets. These now trigger the notes below from R CMD check run with Win builder, R-devel. How can I

Re: [Rd] `*tmp*`

2014-08-26 Thread luke-tierney
On Thu, 14 Aug 2014, Michael Haupt wrote: Hi Luke, Am 14.08.2014 um 12:08 schrieb luke-tier...@uiowa.edu: This is a consequence of the tricks the interpreter implementation currently plays to do complex assignments. Compiled code works differently: library(compiler) cmpfun(function() { +

Re: [Rd] dubious behaviour of match.arg() with nested functions.

2014-08-26 Thread Joris Meys
Dear all, thank you for the explanations, crystal clear now. I'm also officially an idiot. Functions in files in a package belong to that package and not to some other package that happens to appear in the name of said function. Ah, the merits of inheritance (inheriting a complex code base in this