Skip to content

Reuse of Makevars.in and configure script in glmmTMB #7204

@gavinsimpson

Description

@gavinsimpson

Dear data.table developers,

Having recently moved to using MacOS X, I am trying to enable OpenMP support out-of-the-box on that OS for CRAN's binaries for various packages that I make frequent use of.

You have already solved this problem through a lot of hard work, trial and error, and testing. When I started looking into enabling OpenMP support in CRAN's MacOS X binaries for other packages, I came across data.table's Makevars.in and configure script solution. Testing these locally with (small) modifications where needed, I was able to get this working for the glmmTMB and mgcv packages.

I recently proposed to add this code to glmmTMB, to get some testing to see if this worked more broadly: glmmTMB/glmmTMB#1214 I have not yet approached Simon Wood, mgcv's maintainer, about adding similar files to mgcv.

As it seems to be working in glmmTMB, I wanted to reach out to you to i) inform you that this process is ongoing and that there is an intention to reuse your code in a package with a very different licence to that of R data.table, ii) ask if you had any specific concerns that you would like addressed, iii) enquire as to how you would like to see your efforts in developing these scripts acknowledged.

As I understand the MPL-2, it is allowed for glmmTMB (AGPL-3) to include the modified Makevars.in, configure, and cleanup (unmodified) files/scripts so long as (from answer to Q9 in the FAQ):

To see the complete set of requirements, read the license. However, generally:

  • You must inform the recipients that the source code is made available to them
    under the terms of the MPL (Section 3.1), including any Modifications (as
    defined in Section 1.10) that you have created.

  • You must make the grants described in Section 2 of the license.

  • You must respect the restrictions on removing or altering notices in the source
    code (Section 3.4).

I am conscious of the various licensing discussions that you have had and wish to respect the decisions you have reached as well as the spirit of those discussions. If you have any comments or questions on the above, please let me know. If you'd rather respond off list, I am at ucfagls AT gmail DOT com.

Thanks in advance

Gavin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions