Re: [Rd] Questions about imports to a namespace

2012-07-04 Thread Simon Knapp
Thanks Duncan. wrt question 4, I see your point about passing arguments. Maybe R could do with a value "MISSING" or "DEFAULT" for this and other similar purposes. The test for is.na can be frustrating when the argument (when not NA) has length greater than 1 as it produces a warning. But in some

Re: [Rd] Questions about imports to a namespace

2012-07-03 Thread Duncan Murdoch
On 12-07-02 10:53 PM, Simon Knapp wrote: Hi, I am a bit unsure about using imports in packages and have a few questions. I'm sure the answer to some of these is 'it depends', but I'm interested in what others think and 'best practices' when this is the case. 1) If I use an import or importFro