[Rd] setGeneric() gives "must supply skeleton" when checking package

2013-02-03 Thread Tim Bergsma
ms to suggest that no function skeleton is needed when creating a generic for a function defined in some other package. I found one or two previous related posts, but no obvious resolution. Comments appreciated, Tim Bergsma, PhD [[alternative HTML version deleted]] __

Re: [Rd] setGeneric() gives "must supply skeleton" when checking package

2013-02-05 Thread Tim Bergsma
Martin, I added "importFrom(reshape, cast)" to NAMESPACE; package now survives R CMD check. Thanks for your help! -Tim On Sun, Feb 3, 2013 at 12:36 PM, Martin Morgan wrote: > On 02/02/2013 02:34 PM, Tim Bergsma wrote: > >> r-devel, >> >> In a development ve

[Rd] foreign: write.xport

2013-05-02 Thread Tim Bergsma
I see in the archives significant discussion about SAS, CDISC formats etc. for FDA, but no direct suggestion of adding a write.xport method to the foreign package. Are there significant barriers to doing so? [[alternative HTML version deleted]] ___

[Rd] degraded performance with rank()

2009-05-30 Thread Tim Bergsma
Hi. I'm maintaining a package that creates an object that is essentially a classed version of numeric. I updated recently from 2.7.1 to 2.9.0, and merges involving my class suddenly took a huge performance hit. I've traced the problem to something near rank(). From NEWS, it seems rank() etc. cha

Re: [Rd] how to properly extend s3 data.frames with s4 classes?

2007-01-26 Thread Tim Bergsma
Dear Ulf Martin, Thank you for your thoughtful analysis regarding the use of S3 data frames in S4. I asked the same question (in a more rudimentary manner) on the r-help list on 30 Nov 2006 and 04 Dec 2006. There were no replies. If you find a solution, please post. Best Regards, Tim

[Rd] suggested package not found

2007-06-08 Thread Tim Bergsma
I normally work in Windows, but make my packages under Unix. My package 'b' suggests my package 'a'. R CMD check fails for 'b', even though 'a' is installed: "Packages required but not available: b". What do I have to do to make 'a' available, besides R CMD INSTALL 'a'? I'm not spotting the

Re: [Rd] suggested package not found

2007-06-09 Thread Tim Bergsma
Duncan, Yes, that was a typo on line three. Sorry. $version.string [1] "Version 2.3.1 (2006-06-01)". Thanks, Tim. Duncan Murdoch wrote: > On 08/06/2007 4:01 PM, Tim Bergsma wrote: >> I normally work in Windows, but make my packages under Unix. My >> package '

Re: [Rd] suggested package not found

2007-06-11 Thread Tim Bergsma
#x27;t believe this is a Windows/Unix issue, but rather one of the > local R environment. > > On Sat, 9 Jun 2007, Tim Bergsma wrote: > >> Duncan, >> >> Yes, that was a typo on line three. Sorry. >> >> $version.string >> [1] "Version 2.3.1 (2006

[Rd] prevent reassignment of function names

2006-04-06 Thread Tim Bergsma
Hi. I'm trying to find a systematic way to prevent assignment to names of existing functions. I've tried reassigning to the assignment operator, with mixed results. The function definition for "<-" below works as hoped for the demonstrated assignments to a and c. However, for the assignment