[R-pkg-devel] Possible open-source license incompatibilities within R packages
Ben Bolker
bbo|ker @end|ng |rom gm@||@com
Sun Sep 14 14:36:06 CEST 2025
I will go ahead and ask the upstream developers if they're willing to
change their licenses from GPL-2 to "GPL >= 2", but honestly I think
this is probably an overreaction. I suspect there are *many* packages
on CRAN that have the same kind of license incompatibility, especially
those relying on stable packages that are so old (pre-2007, e.g.
numDeriv) that they were released before GPL-3 existed (and the
package maintainers never saw the need to go back and change the
license).
On Sun, Sep 14, 2025 at 3:22 AM Ilmari Tamminen
<ilmari.tamminen using icloud.com> wrote:
>
> Thank you Henrik, I read the "bug" report. The precedent you described seems quite significant, and unfortunate of course, although dealt outside the courts. If no substantial counter arguments appear, such as a stance from the free software foundation or judicial decision that would falsify how your package was treated, I think I don't dare to use the lme4 package as such. Thus, I might need to make my own version and remove the GPL2 dependencies somehow. But there is the risk of breaking the code, as I am not a specialised lme4 developer. However, I have already tested that my mixed-model fittings do work after doing the following in a fresh R session:
>
> library(lme4)
> remove.packages(c("numDeriv", "minqa", "rbibutils"), c("/usr/local/lib/R/site-library"))
>
> I understand the burden this would cause, but for me and maybe other lme4 users as well the easiest way would be to solve the assumed issues in more coordinated manner. By asking the dependency authors to update their licenses, or remove the dependencies from the official distribution of the lme4. But honestly I am still unsure is this an over reaction, or was the apex package treated incorrectly. Unfortunate uncertainties and delays for my project anyhow.
>
> Best regards
> Ilmari
>
> > Hi all,
> >
> > Just adding my experience to this thread as a cautionary example against the notion that it should be no problem to release a package under GPL-3 if it only calls functions from packages released under GPL-2.
> >
> > Up to 2017, my afex package (which depended on several GPL-2 packages) was released under GPL-3. However, then an over-eager debian user reported this as a violation of the GPL, see here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800891
> > As a consequence, Debian suspended hosting the corresponding binary package (r-cran-afex) until I changed my license to GPL (≥ 2).
> >
> > I in principle agree with both Duncan and Hadley position, but if someone more powerful (in this case the Debian package admin) has other opinions there was not much I could do.
> >
> > Best,
> > Henrik
>
More information about the R-package-devel
mailing list