Skip to content

Commit 9a30585

Browse files
authored
Switch license to MIT and update license files (#1175)
* Switch license to MIT and update license files Changed the package license from GPL-3 to MIT in DESCRIPTION, replaced the LICENSE file with a stub, added a full MIT LICENSE.md, and updated .Rbuildignore to exclude LICENSE.md. This aligns the package with the MIT license and clarifies licensing for users and contributors. * Add license notice for bundled third-party components Introduces a LICENSE.note file listing third-party open source components bundled with the package and their respective license agreements. This improves transparency and compliance with license requirements for included dependencies.
1 parent 14c33d9 commit 9a30585

File tree

5 files changed

+325
-304
lines changed

5 files changed

+325
-304
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
^NEWS.md$
88
^README\.md$
99
^cran-comments\.md$
10+
^LICENSE\.md$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Description: Data objects in R can be rendered as HTML tables using the
2727
'DT' is an abbreviation of 'DataTables'.
2828
URL: https://github.com/rstudio/DT
2929
BugReports: https://github.com/rstudio/DT/issues
30-
License: GPL-3 | file LICENSE
30+
License: MIT + file LICENSE
3131
Imports:
3232
htmltools (>= 0.3.6),
3333
htmlwidgets (>= 1.3),

LICENSE

Lines changed: 2 additions & 303 deletions
Original file line numberDiff line numberDiff line change
@@ -1,303 +1,2 @@
1-
The DT package as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC
2-
LICENSE version 3).
3-
4-
The DT package inludes other open source software components. The following
5-
is a list of these components (full copies of the license agreements used by
6-
these components are included below):
7-
8-
- jQuery, https://github.com/jquery/jquery
9-
- DataTables, https://github.com/DataTables/DataTables
10-
- selectize.js, https://github.com/brianreavis/selectize.js
11-
- noUiSlider, https://github.com/leongersen/noUiSlider/
12-
- jquery.highlight.js, https://github.com/bartaz/sandbox.js
13-
14-
15-
jQuery license
16-
----------------------------------------------------------------------
17-
18-
Copyright jQuery Foundation and other contributors, https://jquery.org/
19-
20-
Permission is hereby granted, free of charge, to any person obtaining
21-
a copy of this software and associated documentation files (the
22-
"Software"), to deal in the Software without restriction, including
23-
without limitation the rights to use, copy, modify, merge, publish,
24-
distribute, sublicense, and/or sell copies of the Software, and to
25-
permit persons to whom the Software is furnished to do so, subject to
26-
the following conditions:
27-
28-
The above copyright notice and this permission notice shall be
29-
included in all copies or substantial portions of the Software.
30-
31-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
35-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
36-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
37-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38-
39-
40-
41-
selectize.js license
42-
----------------------------------------------------------------------
43-
44-
Apache License
45-
Version 2.0, January 2004
46-
http://www.apache.org/licenses/
47-
48-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
49-
50-
1. Definitions.
51-
52-
"License" shall mean the terms and conditions for use, reproduction,
53-
and distribution as defined by Sections 1 through 9 of this document.
54-
55-
"Licensor" shall mean the copyright owner or entity authorized by
56-
the copyright owner that is granting the License.
57-
58-
"Legal Entity" shall mean the union of the acting entity and all
59-
other entities that control, are controlled by, or are under common
60-
control with that entity. For the purposes of this definition,
61-
"control" means (i) the power, direct or indirect, to cause the
62-
direction or management of such entity, whether by contract or
63-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
64-
outstanding shares, or (iii) beneficial ownership of such entity.
65-
66-
"You" (or "Your") shall mean an individual or Legal Entity
67-
exercising permissions granted by this License.
68-
69-
"Source" form shall mean the preferred form for making modifications,
70-
including but not limited to software source code, documentation
71-
source, and configuration files.
72-
73-
"Object" form shall mean any form resulting from mechanical
74-
transformation or translation of a Source form, including but
75-
not limited to compiled object code, generated documentation,
76-
and conversions to other media types.
77-
78-
"Work" shall mean the work of authorship, whether in Source or
79-
Object form, made available under the License, as indicated by a
80-
copyright notice that is included in or attached to the work
81-
(an example is provided in the Appendix below).
82-
83-
"Derivative Works" shall mean any work, whether in Source or Object
84-
form, that is based on (or derived from) the Work and for which the
85-
editorial revisions, annotations, elaborations, or other modifications
86-
represent, as a whole, an original work of authorship. For the purposes
87-
of this License, Derivative Works shall not include works that remain
88-
separable from, or merely link (or bind by name) to the interfaces of,
89-
the Work and Derivative Works thereof.
90-
91-
"Contribution" shall mean any work of authorship, including
92-
the original version of the Work and any modifications or additions
93-
to that Work or Derivative Works thereof, that is intentionally
94-
submitted to Licensor for inclusion in the Work by the copyright owner
95-
or by an individual or Legal Entity authorized to submit on behalf of
96-
the copyright owner. For the purposes of this definition, "submitted"
97-
means any form of electronic, verbal, or written communication sent
98-
to the Licensor or its representatives, including but not limited to
99-
communication on electronic mailing lists, source code control systems,
100-
and issue tracking systems that are managed by, or on behalf of, the
101-
Licensor for the purpose of discussing and improving the Work, but
102-
excluding communication that is conspicuously marked or otherwise
103-
designated in writing by the copyright owner as "Not a Contribution."
104-
105-
"Contributor" shall mean Licensor and any individual or Legal Entity
106-
on behalf of whom a Contribution has been received by Licensor and
107-
subsequently incorporated within the Work.
108-
109-
2. Grant of Copyright License. Subject to the terms and conditions of
110-
this License, each Contributor hereby grants to You a perpetual,
111-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
112-
copyright license to reproduce, prepare Derivative Works of,
113-
publicly display, publicly perform, sublicense, and distribute the
114-
Work and such Derivative Works in Source or Object form.
115-
116-
3. Grant of Patent License. Subject to the terms and conditions of
117-
this License, each Contributor hereby grants to You a perpetual,
118-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
119-
(except as stated in this section) patent license to make, have made,
120-
use, offer to sell, sell, import, and otherwise transfer the Work,
121-
where such license applies only to those patent claims licensable
122-
by such Contributor that are necessarily infringed by their
123-
Contribution(s) alone or by combination of their Contribution(s)
124-
with the Work to which such Contribution(s) was submitted. If You
125-
institute patent litigation against any entity (including a
126-
cross-claim or counterclaim in a lawsuit) alleging that the Work
127-
or a Contribution incorporated within the Work constitutes direct
128-
or contributory patent infringement, then any patent licenses
129-
granted to You under this License for that Work shall terminate
130-
as of the date such litigation is filed.
131-
132-
4. Redistribution. You may reproduce and distribute copies of the
133-
Work or Derivative Works thereof in any medium, with or without
134-
modifications, and in Source or Object form, provided that You
135-
meet the following conditions:
136-
137-
(a) You must give any other recipients of the Work or
138-
Derivative Works a copy of this License; and
139-
140-
(b) You must cause any modified files to carry prominent notices
141-
stating that You changed the files; and
142-
143-
(c) You must retain, in the Source form of any Derivative Works
144-
that You distribute, all copyright, patent, trademark, and
145-
attribution notices from the Source form of the Work,
146-
excluding those notices that do not pertain to any part of
147-
the Derivative Works; and
148-
149-
(d) If the Work includes a "NOTICE" text file as part of its
150-
distribution, then any Derivative Works that You distribute must
151-
include a readable copy of the attribution notices contained
152-
within such NOTICE file, excluding those notices that do not
153-
pertain to any part of the Derivative Works, in at least one
154-
of the following places: within a NOTICE text file distributed
155-
as part of the Derivative Works; within the Source form or
156-
documentation, if provided along with the Derivative Works; or,
157-
within a display generated by the Derivative Works, if and
158-
wherever such third-party notices normally appear. The contents
159-
of the NOTICE file are for informational purposes only and
160-
do not modify the License. You may add Your own attribution
161-
notices within Derivative Works that You distribute, alongside
162-
or as an addendum to the NOTICE text from the Work, provided
163-
that such additional attribution notices cannot be construed
164-
as modifying the License.
165-
166-
You may add Your own copyright statement to Your modifications and
167-
may provide additional or different license terms and conditions
168-
for use, reproduction, or distribution of Your modifications, or
169-
for any such Derivative Works as a whole, provided Your use,
170-
reproduction, and distribution of the Work otherwise complies with
171-
the conditions stated in this License.
172-
173-
5. Submission of Contributions. Unless You explicitly state otherwise,
174-
any Contribution intentionally submitted for inclusion in the Work
175-
by You to the Licensor shall be under the terms and conditions of
176-
this License, without any additional terms or conditions.
177-
Notwithstanding the above, nothing herein shall supersede or modify
178-
the terms of any separate license agreement you may have executed
179-
with Licensor regarding such Contributions.
180-
181-
6. Trademarks. This License does not grant permission to use the trade
182-
names, trademarks, service marks, or product names of the Licensor,
183-
except as required for reasonable and customary use in describing the
184-
origin of the Work and reproducing the content of the NOTICE file.
185-
186-
7. Disclaimer of Warranty. Unless required by applicable law or
187-
agreed to in writing, Licensor provides the Work (and each
188-
Contributor provides its Contributions) on an "AS IS" BASIS,
189-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
190-
implied, including, without limitation, any warranties or conditions
191-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
192-
PARTICULAR PURPOSE. You are solely responsible for determining the
193-
appropriateness of using or redistributing the Work and assume any
194-
risks associated with Your exercise of permissions under this License.
195-
196-
8. Limitation of Liability. In no event and under no legal theory,
197-
whether in tort (including negligence), contract, or otherwise,
198-
unless required by applicable law (such as deliberate and grossly
199-
negligent acts) or agreed to in writing, shall any Contributor be
200-
liable to You for damages, including any direct, indirect, special,
201-
incidental, or consequential damages of any character arising as a
202-
result of this License or out of the use or inability to use the
203-
Work (including but not limited to damages for loss of goodwill,
204-
work stoppage, computer failure or malfunction, or any and all
205-
other commercial damages or losses), even if such Contributor
206-
has been advised of the possibility of such damages.
207-
208-
9. Accepting Warranty or Additional Liability. While redistributing
209-
the Work or Derivative Works thereof, You may choose to offer,
210-
and charge a fee for, acceptance of support, warranty, indemnity,
211-
or other liability obligations and/or rights consistent with this
212-
License. However, in accepting such obligations, You may act only
213-
on Your own behalf and on Your sole responsibility, not on behalf
214-
of any other Contributor, and only if You agree to indemnify,
215-
defend, and hold each Contributor harmless for any liability
216-
incurred by, or claims asserted against, such Contributor by reason
217-
of your accepting any such warranty or additional liability.
218-
219-
END OF TERMS AND CONDITIONS
220-
221-
APPENDIX: How to apply the Apache License to your work.
222-
223-
To apply the Apache License to your work, attach the following
224-
boilerplate notice, with the fields enclosed by brackets "[]"
225-
replaced with your own identifying information. (Don't include
226-
the brackets!) The text should be enclosed in the appropriate
227-
comment syntax for the file format. We also recommend that a
228-
file or class name and description of purpose be included on the
229-
same "printed page" as the copyright notice for easier
230-
identification within third-party archives.
231-
232-
Copyright 2013 Brian Reavis
233-
234-
Licensed under the Apache License, Version 2.0 (the "License");
235-
you may not use this file except in compliance with the License.
236-
You may obtain a copy of the License at
237-
238-
http://www.apache.org/licenses/LICENSE-2.0
239-
240-
Unless required by applicable law or agreed to in writing, software
241-
distributed under the License is distributed on an "AS IS" BASIS,
242-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
243-
See the License for the specific language governing permissions and
244-
limitations under the License.
245-
246-
247-
DataTables license
248-
----------------------------------------------------------------------
249-
250-
Copyright (c) 2008-2013 SpryMedia Limited
251-
http://datatables.net
252-
253-
Permission is hereby granted, free of charge, to any person obtaining a copy
254-
of this software and associated documentation files (the "Software"), to deal
255-
in the Software without restriction, including without limitation the rights
256-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
257-
copies of the Software, and to permit persons to whom the Software is
258-
furnished to do so, subject to the following conditions:
259-
260-
The above copyright notice and this permission notice shall be included in
261-
all copies or substantial portions of the Software.
262-
263-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
264-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
265-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
266-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
267-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
268-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
269-
THE SOFTWARE.
270-
271-
272-
noUiSlider license
273-
----------------------------------------------------------------------
274-
275-
Copyright Leon Gersen and contributors
276-
277-
Originally licensed under WTFPL. Re-licensed under GPL-3 in DT.
278-
279-
280-
jquery.highlight.js license
281-
----------------------------------------------------------------------
282-
283-
The MIT License (MIT)
284-
285-
Copyright (c) 2010 Bartek Szopka
286-
287-
Permission is hereby granted, free of charge, to any person obtaining a copy
288-
of this software and associated documentation files (the "Software"), to deal
289-
in the Software without restriction, including without limitation the rights
290-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
291-
copies of the Software, and to permit persons to whom the Software is
292-
furnished to do so, subject to the following conditions:
293-
294-
The above copyright notice and this permission notice shall be included in
295-
all copies or substantial portions of the Software.
296-
297-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
298-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
299-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
300-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
301-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
302-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
303-
THE SOFTWARE.
1+
YEAR: 2025
2+
COPYRIGHT HOLDER: DT authors

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2025 DT authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)