Hoping for some wisdom and guidance about licensing an R package I created.
My package, knitrProgressBar, rips out the
dplyr::progress_estimated
internal function into essentially it's own
package (to avoid some dependencies and do some custom things with it), and then adds some code for decision logic.
I would like to properly license my package (using the MIT license), and give proper attribution so that others don't have issues using it (and it can be released via CRAN).
dplyr
is licensed under MIT, with RStudio as the copyright holder, and
various individuals listed as authors under Authors at R.
I understand I would list myself as the "creator" in the Authors at R field for knitrProgressBar
, but I'm not sure who should be listed as authors and copyright holders, and how this information needs to be incorporated into the LICENSE file.
Guidance would be very much appreciated.
We recommend one of two Creative Commons licenses: If you want to make the data as freely available as possible, you use the CC0 license with use_cc0_license() . This is a permissive license that's equivalent to the MIT license (but applies to data, not code).
R packages contain code, data, and documentation in a standardised collection format that can be installed by users of R, typically via a centralised software repository such as CRAN (the Comprehensive R Archive Network).
While it might technically possible to copyright libraries, R is an "open" community in that the language is not only open source, but the vast majority of libraries and tools fall under some sort of open philosophy license like Apache, GNU, MIT, etc.
It is the opinion of the R Core Team that one can use R for commercial purposes (e.g., in business or in consulting). The GPL , like all Open Source licenses, permits all and any use of the package. It only restricts distribution of R or of other programs containing code from R.
I finally got an answer somewhere else, and am posting it here so that others can benefit.
The way to do this is:
dplyr
GitHub repo) in the filedplyr
package as contributors (ctb
in Authors@R), with a comment that they are authors on the dplyr
codecph
), with a comment that they are the copyright holders of the dplry
codeSo this should look like:
Authors@R: c(
person("Robert", "Flight", email = "email", role = c("aut", "cre")),
person("Hadley", "Wickham", role = c("ctb"), comment = "Author of included dplyr fragments"),
person("Romain", "Francois", role = "ctb", comment = "Author of included dplyr fragments"),
person("Lionel", "Henry", role = "ctb", comment = "Author of included dplyr fragments"),
person("Kirill", "Müller", role = "ctb", comment = "Author of included dplyr fragments"),
person("RStudio", role = "cph", comment = "Copyright holder of included dplyr fragments")
)
And then have the noted license text in the file with the code from dplyr
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With