Search code examples
rpackagecran

FOSS to non-FOSS licence change CRAN package


I recently decided to commercialize parts of my code in a package I had written for R, after submitting two versions under the LGPL licence to CRAN. On the third update, I changed the licensing from LGPL to CC BY-NC-SA 3.0 to accommodate for this.

However, after submission, I received a message from the guys at CRAN stating that it is not possible to change a free and open source (FOSS) licence to a non-FOSS. After suggesting two alternatives:

  1. Remove all previous versions of the package which had an LGPL licence OR
  2. Change licensing for previous versions to the non-FOSS licence

Both were rejected with the following message:

we cannot remove archived versions with a FOSS license, and we do not accept changes to a non-FOSS license for commercialization reasons.

Could someone shed some more light on why this is not possible on this and any alternatives I could take, if any?

Thanks in advanced!


Solution

  • You cannot retroactively change your license for already published code. Previous releases remain available forever -- that is part of the "contract" between the "publisher" of code (here, you) and its users.

    You are of course free to re-license new versions.

    And CRAN is equally free to refuse to distribute commercial code. Because if you look more carefully, you will note that the 4600+ packages on CRAN are all Open Source and not commercial.