r-lib / R6

Encapsulated object-oriented programming for R
https://R6.r-lib.org
Other
412 stars 57 forks source link

licensing #287

Open ghost opened 5 months ago

ghost commented 5 months ago

Hi.

Thanks for the great package.

I am wondering whether I can use it in a commercial closed source project.

The R code I am developing will be distributed to companies in a byte-compiled package against a license fee.

I understand that developing and distributing closed-source packages is in principle possible but one has to check the licensing of packages used in the project(e.g. ok with MIT, not ok with GPL3 etc).

Looking at your license ......... it says nothing except that you own the copyright. Can you please clarify your position on using R6 in the above described commercial closed-source context.

Thanks

wch commented 5 months ago

R6 is MIT licensed. This is set in a line in the DESCRIPTION file: https://github.com/r-lib/R6/blob/507867875fdeaffbe7f7038291256b798f6bb042/DESCRIPTION#L14

The reason it's done this way instead of with a LICENSE file is because CRAN wants it that way -- for some reason they do not allow standard LICENSE files to be part of the package.

More information about it here: https://r-pkgs.org/license.html#key-files