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] 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] Snippets from other packages/ License

2013-03-14 Thread Hadley Wickham
> If you wish to fork the original code and include the code directly in > your package, then your package will also need to be GPL>=3, you will need > to list the authors of that code as Contributors in your DESCRIPTION file, > and I would strongly recommend that you place this code in a separate

Re: [Rd] Snippets from other packages/ License

2013-03-14 Thread Brian G. Peterson
On 03/14/2013 03:34 AM, Felix Schönbrodt wrote: 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 credit the original authors. What

[Rd] Snippets from other packages/ License

2013-03-14 Thread Felix Schönbrodt
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 credit the original authors. What would be the best way to do that? Where