I am navigating licensing, and this is very confusing.
I produced a lot of R code to analyze data for a research article that will be published on a peer-reviewed journal.
Reading here License for R scripts, I can understand that I would need to pay attention to the license type of the packages I used before choosing a license for my code.
Now, I have a few issues as the R packages I used have all different types of licenses.
For example:
> packageDescription("ggplot2", fields="License")
[1] "MIT + file LICENSE"
> packageDescription("glmmTMB", fields="License")
[1] "AGPL-3"
> packageDescription("RColorBrewer", fields="License")
[1] "Apache License 2.0"
The list is quite long and I also have "GPL (>= 2.0)"
and "GPL-3"
.
So, I am now very confused on how should I license my code, as I am aware that not in all cases the different licenses are compatible with each other. For example, GPL v2 is not always compliant with GPL v3 and vice-versa.
Is there a way I can understand this and avoid of making mistakes?
Edit
Sadly I also have used packages with GPL V2.