Skip to content

Commit 06bb819

Browse files
authored
Switch license to MIT and add license files (#958)
* Switch license to MIT and add license files Changed the package license from GPL-3 to MIT in DESCRIPTION, added LICENSE and LICENSE.md files, and updated .Rbuildignore to exclude LICENSE.md. This aligns the project with the MIT license and provides the required documentation. * `usethis::use_tidy_description()` (GitHub Actions) * Update license note to reflect MIT License Changed the license reference from GPL-3 to MIT License and clarified the description of bundled third-party components in LICENSE.note.
1 parent 947ea17 commit 06bb819

File tree

5 files changed

+33
-9
lines changed

5 files changed

+33
-9
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@
3535
^_dev$
3636
^vignettes/articles$
3737
^pkgdown$
38+
^LICENSE\.md$

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Description: Create and customize interactive maps using the 'Leaflet'
4343
JavaScript library and the 'htmlwidgets' package. These maps can be
4444
used directly from the R console, from 'RStudio', in Shiny
4545
applications and R Markdown documents.
46-
License: GPL-3
46+
License: MIT + file LICENSE
4747
URL: https://rstudio.github.io/leaflet/,
4848
https://github.com/rstudio/leaflet
4949
BugReports: https://github.com/rstudio/leaflet/issues
@@ -59,8 +59,8 @@ Imports:
5959
methods,
6060
png,
6161
raster (>= 3.6.3),
62-
rlang,
6362
RColorBrewer,
63+
rlang,
6464
scales (>= 1.0.0),
6565
sf (>= 0.9-6),
6666
stats,
@@ -78,9 +78,9 @@ Suggests:
7878
sp,
7979
terra,
8080
testthat (>= 3.0.0)
81-
Config/testthat/edition: 3
8281
Config/Needs/website: dplyr, ncdf4, rnaturalearth, tidyverse/tidytemplate
82+
Config/testthat/edition: 3
8383
Encoding: UTF-8
8484
LazyData: true
85-
RoxygenNote: 7.3.2
8685
Roxygen: list(markdown = TRUE)
86+
RoxygenNote: 7.3.2

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2025
2+
COPYRIGHT HOLDER: leaflet 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 leaflet 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.

LICENSE.note

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
The leaflet package as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC
2-
LICENSE version 3).
1+
The leaflet package as a whole is distributed under the MIT License (see the
2+
top-level LICENSE file).
33

4-
The leaflet package includes 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):
4+
The leaflet package bundles certain third-party open source software
5+
components. The following is a list of these components (full copies of their
6+
license agreements are included below):
77

88
- Leaflet (JavaScript library), https://github.com/Leaflet/Leaflet
99
- leaflet-measure, https://github.com/ljagis/leaflet-measure

0 commit comments

Comments
 (0)