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

2007-06-11 Thread Henrik Bengtsson
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 homals and > > that solved the various warnings in both ca

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. Thom

[Rd] cannot wrap lmekin function

2007-06-11 Thread Qiong Yang
Hi, I had a problem with the lmekin() in Kinship package: lmekin() can not be wrapped into another function For example: library(kinship) #creat an example dataset xx<-rnorm(100);yy<-rnorm(100) ;id<-1:100; test.dat<-as.data.frame(cbind(xx,yy,id)) ; rm(xx,yy,id) a<-bdsmatrix(rep(10,10),rep(block

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 desrie

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 on

[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 possib

Re: [Rd] suggested package not found

2007-06-11 Thread Tim Bergsma
Prof Brian Ripley wrote: > Where is 'a' installed? > > You may need to set R_LIBS: R CMD check is not looking in any of your > startup files such as ~/.Renviron. Thanks! That worked. (And in fact, I now see it in "Writing R Extensions"). -Tim > > I don't believe this is a Windows/Unix issue,