From 8712e03e795ea653e4fd4e03560a53ddc4df961e Mon Sep 17 00:00:00 2001 From: Karan Gathani Date: Thu, 28 Aug 2025 12:50:22 -0700 Subject: [PATCH 1/3] 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. --- .Rbuildignore | 1 + DESCRIPTION | 2 +- LICENSE | 2 ++ LICENSE.md | 21 +++++++++++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 LICENSE create mode 100644 LICENSE.md diff --git a/.Rbuildignore b/.Rbuildignore index fa6391680..b62186082 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -35,3 +35,4 @@ ^_dev$ ^vignettes/articles$ ^pkgdown$ +^LICENSE\.md$ diff --git a/DESCRIPTION b/DESCRIPTION index 4e3ab6737..5f15ac671 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -43,7 +43,7 @@ Description: Create and customize interactive maps using the 'Leaflet' JavaScript library and the 'htmlwidgets' package. These maps can be used directly from the R console, from 'RStudio', in Shiny applications and R Markdown documents. -License: GPL-3 +License: MIT + file LICENSE URL: https://rstudio.github.io/leaflet/, https://github.com/rstudio/leaflet BugReports: https://github.com/rstudio/leaflet/issues diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..ef3704e80 --- /dev/null +++ b/LICENSE @@ -0,0 +1,2 @@ +YEAR: 2025 +COPYRIGHT HOLDER: leaflet authors diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..4c2ad5a94 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +# MIT License + +Copyright (c) 2025 leaflet authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 8f8686eccc07fd8b6b3add35e94b771e9c7c4287 Mon Sep 17 00:00:00 2001 From: karangattu Date: Thu, 28 Aug 2025 19:55:05 +0000 Subject: [PATCH 2/3] `usethis::use_tidy_description()` (GitHub Actions) --- DESCRIPTION | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5f15ac671..0a7267268 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -59,8 +59,8 @@ Imports: methods, png, raster (>= 3.6.3), - rlang, RColorBrewer, + rlang, scales (>= 1.0.0), sf (>= 0.9-6), stats, @@ -78,9 +78,9 @@ Suggests: sp, terra, testthat (>= 3.0.0) -Config/testthat/edition: 3 Config/Needs/website: dplyr, ncdf4, rnaturalearth, tidyverse/tidytemplate +Config/testthat/edition: 3 Encoding: UTF-8 LazyData: true -RoxygenNote: 7.3.2 Roxygen: list(markdown = TRUE) +RoxygenNote: 7.3.2 From 2eec78a62eee03fb9e6e659a351a5d673ab7e536 Mon Sep 17 00:00:00 2001 From: Karan Gathani Date: Thu, 28 Aug 2025 14:54:00 -0700 Subject: [PATCH 3/3] 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. --- LICENSE.note | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/LICENSE.note b/LICENSE.note index 258f461d8..a57920282 100644 --- a/LICENSE.note +++ b/LICENSE.note @@ -1,9 +1,9 @@ -The leaflet package as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC -LICENSE version 3). +The leaflet package as a whole is distributed under the MIT License (see the +top-level LICENSE file). -The leaflet package includes other open source software components. The following -is a list of these components (full copies of the license agreements used by -these components are included below): +The leaflet package bundles certain third-party open source software +components. The following is a list of these components (full copies of their +license agreements are included below): - Leaflet (JavaScript library), https://github.com/Leaflet/Leaflet - leaflet-measure, https://github.com/ljagis/leaflet-measure