Re: [Rd] Snippets from other packages/ License

2013-03-15 Thread Felix Schönbrodt
Thanks Brian and Hadley, these all seem to be reasonable approaches! (For the current package I think I'll depend on the other one, but it's good to know how to proceed for future situations …). Felix Am 14.03.2013 um 16:52 schrieb Hadley Wickham : >> If you wish to fork the original code and

Re: [Rd] removing union class

2013-03-15 Thread Martin Maechler
> Renaud Gaujoux > on Wed, 13 Mar 2013 13:10:44 +0200 writes: > Hi, > I get the following error when trying to remove a union class: >> setClassUnion('a', c('matrix', 'numeric')) >> removeClass('a') >> sessionInfo() > R version 2.15.3 (2013-03-01) > Platfo

Re: [Rd] Snippets from other packages/ License

2013-03-15 Thread Barry Rowlingson
On Thu, Mar 14, 2013 at 8:34 AM, Felix Schönbrodt wrote: > Hello, > > I want to use a function from another package (which is GPL>=3), about 20 > lines of code, in my own package. > I somewhat hesitate to depend on the entire package just for this single > function, but of course I want to credi

Re: [Rd] removing union class

2013-03-15 Thread Martin Maechler
> Martin Maechler > on Fri, 15 Mar 2013 11:39:18 +0100 writes: > Renaud Gaujoux > on Wed, 13 Mar 2013 13:10:44 +0200 writes: >> Hi, >> I get the following error when trying to remove a union class: >>> setClassUnion('a', c('matrix', 'numeric')) >>> remov

Re: [Rd] S4 generic not exported correctly / incorrect dispatch?

2013-03-15 Thread Martin Maechler
> Martin Morgan > on Wed, 13 Mar 2013 12:43:59 -0700 writes: > In this post > https://stat.ethz.ch/pipermail/bioc-devel/2013-March/004152.html > a package author reports that S4 dispatch fails. I can reproduce this with a > PkgA (attached; 'intervals' is a relativel

Re: [Rd] Registering method for "t.test"

2013-03-15 Thread Lukas Lehnert
Thanks for the response, Thomas. I both exported the function and created a new S3-method in the namespace file. By removing the function from the export command, the problem was fixed... Thanks for the help Lukas Am Freitag, 15. März 2013, 13:04:29 schrieb Thomas Lumley: > On Thu, Mar 14, 20

Re: [Rd] S4 generic not exported correctly / incorrect dispatch?

2013-03-15 Thread Martin Morgan
On 03/15/2013 04:42 AM, Martin Maechler wrote: Martin Morgan on Wed, 13 Mar 2013 12:43:59 -0700 writes: > In this post > https://stat.ethz.ch/pipermail/bioc-devel/2013-March/004152.html > a package author reports that S4 dispatch fails. I can reproduce this with a >

Re: [Rd] Failed to locate 'weave' output file / vignette product does not have a known filename extension

2013-03-15 Thread Henrik Bengtsson
Hi. I can reproduce 2 out of the 3 cases on R version 3.0.0 alpha (2013-03-12 r62224) [Platform: x86_64-w64-mingw32/x64 (64-bit)]. The error does not appear to be in the R vignette machinery but rather in the vignettes themselves (or the packages they're using). Comments below. On Wed, Mar 13,

[Rd] numerics from a factor

2013-03-15 Thread Terry Therneau
A problem has been pointed out by a French user of the survival package and I'm looking for a pointer. > options(OutDec= ",") > fit <- survfit(Surv(1:6 /2) ~ 1) > fit$time [1] NA 1 NA 2 NA 3 A year or two ago some test cases that broke survfit were presented to me. The heart of the problem

[Rd] the case of building R snapshot without svn nor network connection.

2013-03-15 Thread Hin-Tak Leung
The decision to actively discourage non-subsersion usage of snapshot build is already made (r62183). So I am just here to register a differing opinion. - it is not about subversion vs other-version-control-tools. There are two parts of R's dev build process which requires an active network conne

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-15 Thread Simon Urbanek
On Mar 15, 2013, at 7:29 PM, Hin-Tak Leung wrote: > The decision to actively discourage non-subsersion usage of snapshot build is > already made (r62183). So I am just here to register a differing opinion. > > - it is not about subversion vs other-version-control-tools. There are two > parts of

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-15 Thread Hin-Tak Leung
I'll quantify the first part - R is perhaps the only public software project hosted on a subversion repository for which the result of 'svn export ...' does not build. Not only that it does not build, but make it a feature that it does not build. Very few other projects actively try to go in th