Skip to content
Prev 53188 / 63424 Next

non-infectious license for R package?

See inline...
Hi, 

With the usual IANAL caveat and that I am not speaking on behalf of any other parties:

The questions you are posing will require legal advice, so your desire above to not get legal advice is in direct conflict with what you actually need here.

To your comments below, you cannot change existing licenses on software, R or otherwise. That is only something that the copyright holder(s) can do and you are not one of them.

The GPL has a FAQ here:

  https://www.gnu.org/licenses/gpl-faq.en.html <https://www.gnu.org/licenses/gpl-faq.en.html>

that you may find enlightening.

A very general statement, which is that if your compiled code (in whatever language) does not "link" against R's libraries and does not directly contain GPL licensed code (e.g. copying and pasting R Foundation copyrighted source code into yours), that is one way to steer clear of the viral part of the GPL license vis-a-vis R, if you want to, but not the only way and not a guarantee either. There can be nuances, some of which are covered in the FAQ above.

On the other hand, if your compiled code is linking to R's libraries, which you seem to suggest may be the case below, then your code, at least the relevant parts of it, will need to be licensed under a GPL compatible license.

This again is part of the nuance, in terms of the scope of the impact on your code (all or parts) and where legal advice is needed, to steer clear of downstream potential issues that could result in legal and financial liabilities for you.

The issue of linking to third party proprietary libraries is something that you will have to evaluate with respect to their licenses and any limitations that they may impose on your code and it's licensing.

Since you seem to also be suggesting that you may use closed source components in your package, you should be aware, that vis-a-vis CRAN, you would not be able to submit your package for distribution via that channel, since CRAN submissions may not contain pre-compiled binaries or similar and the entire package must conform to a compatible open source license. Thus, if you go down that path, you would have to find other distribution channels for your package, such as a company web site, etc.

None of the above should be construed as legal advice and if you plan to go down the path of offering a commercial service that you would charge clients for, a lawyer is mandatory to provide legal guidance and to assess your business risks. Even if your actual R related package is offered free of charge, while generating revenue through other means, if you should run afoul of software licensing requirements, that can still leave you open to financial liabilities and put your business and even personal assets at risk.

Regards,

Marc Schwartz