Skip to content
Prev 45350 / 63421 Next

Snippets from other packages/ License

On 03/14/2013 03:34 AM, Felix Sch?nbrodt wrote:
You could use 'Imports' if you will always use that code for your package.

You could use 'Suggests' with appropriate tests to see if it is
available if you only need it occasionally, or for only one function.

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 .R file in your package, with a separate Copyright 
and License comment block in that separate file stating the origins and 
license for this code snippet.

That should satisfy both the spirit and the letter of the GPL.

Cheers,

Brian