[Rd] License status of CRAN packages

Dirk Eddelbuettel edd at debian.org
Thu Apr 23 21:08:55 CEST 2009


(Subject: renamed as thread hijacked from the ParallelR thread   --Dirk)

On 23 April 2009 at 14:44, Gabor Grothendieck wrote:
| Aside from R there are the add-on packages.
| 
| A frequency table showing the licenses of the CRAN packages indicates
| that the all or almost all packages have some sort of free software license
| with GPL licenses being most common. (A few packages have restrictions
| to noncommercial use and that may conflict with GPL, not sure.)   That is
| not to say that there are no other types of packages but any such packages
| are not on CRAN.

I fear that is not quite the case.  There are quite a few packages like that.

Charles Blundell and I have continued to work on his Google Summer of Code
2008 project of fully automatically creating Debian packages from CRAN
sources.  As this can be seen as redistributing (or at least as making
redistribution easier), we have tried to be careful about the licenses.  We
currently build about 1500 out of 1650 or so 'buildable' packages, but we
stop if we do not explicitly know the licenses (and Charles had e.g. created
several dozen variants of writing out 'GPL' in less clear ways so that we
could include those packages).  Moreover one big show stopper is 'File
license' shown below as applicable for 38 packages You need to explicitly
study all of those 'license' files; some are free and some aren't.  The
trouble is that you cannot tell and you end up labelling packages as 'maybe
not free' even if they are (an example here may be mlbench).

That does not scale.  Ultimately, I fear we need someone to sit down and
classify CRAN sources packages into appropriate buckets of 'freeness' of use,
redistribution etc.  And/or to remap all packages to a smaller, saner set of
licenses (as e.g. those in licenses.db).  Section 1.1.1 of 'R Extensions' is
quite clear about this, but I would like this to go further.  

Given that install.packages() does not check, I am afraid that we are not
going far enough in preventing users from accessing packages that they may
not be able to access and use under the terms of the license file.
Ultimately, this may mean moving some packages to a 'non-free' repository
tree as well.

I'd love to hear comments and concrete suggestions.

Dirk


|          AGPL (>3.0), with attribution as per LICENSE file
|                                                             1
|                                   AGPL 3.0 (with attribution)
|                                                             1
|                                            Apache License 2.0
|                                                             2
|                                                  Artistic-2.0
|                                                             5
|                                              Artistic License
|                                                             2
|                                          Artistic License 2.0
|                                                             1
|                      avas is public domain, ace is on Statlib
|                                                             1
|                                                           BSD
|                                                            16
|                                                        CeCILL
|                                                             1
|                                                      CeCILL-2
|                                                             2
|                             Common Public License Version 1.0
|                                                             2
|        Distribution and use for non-commercial purposes only.
|                                                             1
|                                                  file LICENCE
|                                                             2
|                                                  file LICENSE
|                                                            38
|   Fortran code: ACM, free for non-commercial use, R functions
|                                                             1
|                              free for non-commercial purposes
|                                                             1
|                                       Free for nonprofit use.
|                                                             1
|                       Free. See the LICENCE file for details.
|                                                             1
|                                    GNU General Public License
|                                                             3
|                          GNU General Public License Version 2
|                                                             4
|                                                           GPL
|                                                           222
|                                                         GPL-2
|                                                           316
|                                          GPL-2 | file LICENCE
|                                                             1
|                                          GPL-2 | file LICENSE
|                                                             7
|                                                 GPL-2 | GPL-3
|                                                            13
|   GPL-2.  Contributions from Randall C. Johnson are Copyright
|                                                             1
|   GPL-2; incorporates by permission code of W. Bachman (wrtab
|                                                             1
|                                                         GPL-3
|                                                            38
|                                                  GPL (≥ 2)
|                                                           872
|                                   GPL (≥ 2) | file LICENSE
|                                                             1
|                                                GPL (≥ 2.0)
|                                                             2
|                                                  GPL (≥ 3)
|                                                            34
|                                                GPL (≥ 3.0)
|                                                             1
|                                                    GPL (== 2)
|                                                             1
|                                            GPL | file LICENSE
|                                                             1
|                                                    GPL | LGPL
|                                                             1
|                                                GPL 2 or newer
|                                                             1
|                                GPL AFFERO 3.0 (with citation)
|                                                             1
|      GPL version 2 or newer. Copyright statement for ptolemy:
|                                                             1
|    GPL version 2 or newer. The terms of this license are in a
|                                                             2
| GPL version 2 or newer. This library is Copyright (C) 2007 by
|                                                             1
|                                           GPL2 | file LICENSE
|                                                             1
|                                                          LGPL
|                                                            21
|                                                        LGPL-2
|                                                             3
|                                                      LGPL-2.1
|                                                             6
|                                                        LGPL-3
|                                                            19
|                                                 LGPL (≥ 2)
|                                                             2
|                                               LGPL (≥ 2.0)
|                                                             5
|                                               LGPL (≥ 2.1)
|                                                             9
|                                                           MIT
|                                                             8
|                                    Mozilla Public License 1.1
|                                                             1
|                Original ??, extensions GPL version 2 or newer
|                                                             1
|   R functions: GPL, Fortran code: ACM, free for noncommercial
|                                                             1
|                               S original available at statlib
|                                                             1
|    The caMassClass Software License, Version 1.0 (See COPYING
|                                                             1
|    The software may be distributed free of charge and used by
|                                                             3
| This package was written by Hans Peter Wolf. This software is
|                                                             1
|   This software may be re-distributed freely and used for any
|                                                             3
|              Unclear (Fortran) -- code in Statlib's ./S/adapt
|                                                             1
|                                                     Unlimited
|                                                            18
|                 Unlimited distribution for noncommercial use.
|                                                             1
|                                       Unlimited distribution.
|                                                             1
|                                                           X11
|                                                             7
| 
| ______________________________________________
| R-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Three out of two people have difficulties with fractions.



More information about the R-devel mailing list