Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-18 Thread Luke Tierney
On Thu, 14 Jun 2007, Bill Dunlap wrote: On Thu, 14 Jun 2007, Prof Brian Ripley wrote: You may prefer the version now in R-devel: this goes slightly the other way in that it loads all the Suggests/Enhances packages and also a dummy compatibility package for platform differences. Neither this

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-14 Thread Prof Brian Ripley
On Mon, 11 Jun 2007, Seth Falcon wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: It seems that is happens if package tcltk is missing from the Depends: list in the DESCRIPTION file. I just tested with Amelia and homals and that solved the various warnings in both cases. Adding tcltk to

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-14 Thread Bill Dunlap
On Thu, 14 Jun 2007, Prof Brian Ripley wrote: You may prefer the version now in R-devel: this goes slightly the other way in that it loads all the Suggests/Enhances packages and also a dummy compatibility package for platform differences. Neither this nor the previous version can test the

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-12 Thread Jari Oksanen
On Tue, 2007-06-12 at 00:42 +0200, Henrik Bengtsson wrote: On 6/11/07, Seth Falcon [EMAIL PROTECTED] wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: It seems that is happens if package tcltk is missing from the Depends: list in the DESCRIPTION file. I just tested with Amelia and

[Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-11 Thread Thomas Petzoldt
Hello, when testing packages under R version 2.6.0 Under development (unstable), in order to discover future compatibility issues, I recently get numerous possible problem notes for different (own and other contributed) packages containing Tcl/Tk code, e.g.: * checking R code for

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-11 Thread Prof Brian Ripley
It seems that is happens if package tcltk is missing from the Depends: list in the DESCRIPTION file. I just tested with Amelia and homals and that solved the various warnings in both cases. This is not new in pre-2.6.0: you will get the same warnings in 2.5.0 if you turn codestools-checking

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-11 Thread Seth Falcon
Prof Brian Ripley [EMAIL PROTECTED] writes: It seems that is happens if package tcltk is missing from the Depends: list in the DESCRIPTION file. I just tested with Amelia and homals and that solved the various warnings in both cases. Adding tcltk to Depends may not always be the desried

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-11 Thread Thomas Petzoldt
Dear Prof.Ripley, Dear Seth, thank you both, including tcltk in Depends as suggested by Prof. Ripley immediately helped to silence the tcltk NOTEs, but Seth is also right. It is in fact not the ultimate solution for the Suggests case, that I intentionally used like in Seth's code example.