Skip to content
Prev 2315 / 12125 Next

[R-pkg-devel] Licensing of an R package

On 19/01/2018 3:31 AM, Chris Brien wrote:
From your 2nd paragraph, you can license your package any way you like. 
  You own the copyright to all of it.

You can use GPL if you feel like it.  The license you choose doesn't 
limit anything *you* do, it grants rights to other people to do things 
with your code.  Without those rights, it would be a copyright violation 
for them to make copies of your package.  With them, they are allowed to 
make and distribute copies provided they follow the terms of the license.

If you choose GPL, then other people (like CRAN) can redistribute your 
package under the terms of the GPL.  That should be enough for CRAN, but 
they might not accept your package since they can't test it (unless they 
have the rights to use "bar").

Nobody (not even the company who owns the rights to "bar") can link your 
package to "bar" and redistribute the combination, because that would 
violate the GPL, and you never gave them the right to do that.  You 
can't do it unless that company gives you permission, and apparently 
they haven't.

Duncan Murdoch