[R] Errors checking a library

2004-11-18 Thread michael watson (IAH-C)
Hi I am writing an R library. The documentation for one of my functions includes an example that I *know* works - simply cut and paste into R on either Windows and Linux and it works perfectly, no errors or warnings, nothing, nyet. However, when I run R CMD check on the library, I get an error.

Re: [R] Errors checking a library

2004-11-18 Thread Uwe Ligges
michael watson (IAH-C) wrote: Hi I am writing an R library. The documentation for one of my functions includes an example that I *know* works - simply cut and paste into R on either Windows and Linux and it works perfectly, no errors or warnings, nothing, nyet. However, when I run R CMD check on

Re: [R] Errors checking a library

2004-11-18 Thread Roger Bivand
On Thu, 18 Nov 2004, michael watson (IAH-C) wrote: Hi I am writing an R library. The documentation for one of my functions includes an example that I *know* works - simply cut and paste into R on either Windows and Linux and it works perfectly, no errors or warnings, nothing, nyet.

Re: [R] Errors checking a library

2004-11-18 Thread Peter Dalgaard
michael watson (IAH-C) [EMAIL PROTECTED] writes: I am writing an R library. A whole library? Shouldn't you try a package first? The documentation for one of my functions includes an example that I *know* works - simply cut and paste into R on either Windows and Linux and it works