You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- "Permissive": Relaxed. Can be freely copied, modified, published (under the
78
59
same license).
79
60
- "Copyleft": Stricter. Same rights need to be preserved in derivative works.
61
+
- Helpful tool: <https://choosealicense.com/>
80
62
- R itself is licensed under GPL, but packages can choose, e.g.:
81
63
-`usethis::use_mit_license()` for permissive MIT
82
64
-`usethis::use_gpl_license()` for copyleft GPL
@@ -91,12 +73,19 @@ reference:
91
73
- e.g. cannot copy/paste code from a GPL package and publish in an MIT package
92
74
-`LICENSE` file optionally can contain further restrictions of the license
93
75
76
+
## Licensing (cont'd)
77
+
78
+
- You don't have to include a license with your code
79
+
- But: if no license is included, your work is under your exclusive copyright by default
80
+
- This means that nobody else can copy, distribute, modify it
81
+
- Once the work has other contributors (each being a copyright holder for their contributions), that _nobody_ starts including you
82
+
- The consequence is that you cannot copy, distribute, modify other people's contributions to your project
83
+
- Even if unlicensed code is published in a public repository, as a user, you generally don't have the permission from the creators of the software to use, modify, or share the software
84
+
94
85
## Open Sourcing
95
86
96
-
- The easiest way to "open source" your R package is to make the GitHub
97
-
repository public
98
-
- This allows for easy open source contributions from other developers via pull
99
-
requests
87
+
- The easiest way to "open source" your R package is to make the GitHub/code repository public
88
+
- This allows for easy open source contributions from other developers via pull requests
100
89
- Please check with your organization first:
101
90
- Are they ok to publish the software?
102
91
- What is the appropriate copyright holder?
@@ -137,7 +126,7 @@ reference:
137
126
- Citations in author-year style, followed by `<doi:...>`
138
127
- Reducing run time of tests, checks, examples, vignettes is important
139
128
- Need to provide cross-platform portable code:
140
-
CRAN runs checks on Windows, Mac, several Linux OS
129
+
CRAN runs checks on Windows, Mac, and several Linux distributions
141
130
142
131
## CRAN (cont'd)
143
132
@@ -153,7 +142,7 @@ package took 5 weeks and 6 submission attempts; painful experiences:
153
142
- Your local Windows test system may be much faster than the CRAN system
154
143
(e.g., 5 times)
155
144
- Don't use "R Package for" in your package title
156
-
- The description of the package must be provided with a doi reference
145
+
- The description of the package must be provided with a DOI reference
157
146
158
147
## CRAN (cont'd) {.scrollable}
159
148
@@ -181,7 +170,6 @@ Example message informing about the rejection of the last
0 commit comments