Commit 528ff79
Rename *_of() API to trailing-underscore convention with helper wrappers; move padding to g2() (#10)
* Update docs to use new renamed API functions (helpers preferred)
Replace all old function names in examples/, vignettes/, and NEWS.md:
- scale_of() -> scale_x(), scale_y(), scale_color(), scale_size()
- axis_of() -> axis_x(), axis_y()
- legend_of() -> legend_color()
- slider_of() -> slider_x(), slider_y()
- scrollbar_of() -> scrollbar_x(), scrollbar_y()
- transform_of() -> transform_()
- theme_of() -> theme_()
- title_of() -> title_()
- tooltip_of() -> tooltip_()
- labels_of() -> labels_()
- padding_of() -> padding arg in g2()
Also regenerated NAMESPACE and man pages via roxygen2.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: yihui-bot <264330240+yihui-bot@users.noreply.github.com>
* Rename *_of() functions, add padding/margin/inset to g2(), add helper wrappers, merge main branch, update all docs/tests/examples
Agent-Logs-Url: https://github.com/yihui/gglite/sessions/74c49215-645d-42b9-8c58-c1408c38e3e0
Co-authored-by: yihui-bot <264330240+yihui-bot@users.noreply.github.com>
* Rename mark→mark_, coordinate→coord_, use @nord for internal funcs, prefer helpers in docs
Agent-Logs-Url: https://github.com/yihui/gglite/sessions/66d0fe75-a9b6-48e8-94fd-1b793b63b454
Co-authored-by: yihui-bot <264330240+yihui-bot@users.noreply.github.com>
* Restore roxygen comments for @nord internal functions
Agent-Logs-Url: https://github.com/yihui/gglite/sessions/e8cabf8c-646f-46e5-a92c-b06e9720fd48
Co-authored-by: yihui-bot <264330240+yihui-bot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yihui-bot <264330240+yihui-bot@users.noreply.github.com>1 parent 77a7604 commit 528ff79
File tree
71 files changed
+1061
-536
lines changed- .github
- R
- examples
- man
- tests/testit
- vignettes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
71 files changed
+1061
-536
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
232 | 232 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | | - | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | | - | |
60 | 66 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
64 | 80 | | |
| 81 | + | |
65 | 82 | | |
66 | 83 | | |
67 | 84 | | |
68 | 85 | | |
69 | 86 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
74 | 90 | | |
75 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 1 | | |
24 | 2 | | |
25 | 3 | | |
| |||
34 | 12 | | |
35 | 13 | | |
36 | 14 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
40 | 18 | | |
41 | 19 | | |
42 | 20 | | |
| |||
46 | 24 | | |
47 | 25 | | |
48 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
63 | | - | |
64 | | - | |
| 61 | + | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
74 | 112 | | |
75 | 113 | | |
76 | 114 | | |
| |||
81 | 119 | | |
82 | 120 | | |
83 | 121 | | |
84 | | - | |
85 | | - | |
| 122 | + | |
| 123 | + | |
86 | 124 | | |
87 | 125 | | |
88 | 126 | | |
| |||
105 | 143 | | |
106 | 144 | | |
107 | 145 | | |
108 | | - | |
109 | | - | |
| 146 | + | |
| 147 | + | |
110 | 148 | | |
111 | 149 | | |
112 | 150 | | |
| |||
130 | 168 | | |
131 | 169 | | |
132 | 170 | | |
133 | | - | |
134 | | - | |
| 171 | + | |
| 172 | + | |
135 | 173 | | |
136 | 174 | | |
137 | 175 | | |
| |||
168 | 206 | | |
169 | 207 | | |
170 | 208 | | |
171 | | - | |
172 | | - | |
| 209 | + | |
| 210 | + | |
173 | 211 | | |
174 | 212 | | |
175 | 213 | | |
176 | 214 | | |
177 | 215 | | |
178 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
179 | 237 | | |
180 | 238 | | |
181 | 239 | | |
| |||
187 | 245 | | |
188 | 246 | | |
189 | 247 | | |
190 | | - | |
191 | | - | |
| 248 | + | |
| 249 | + | |
192 | 250 | | |
193 | 251 | | |
194 | 252 | | |
195 | 253 | | |
196 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
0 commit comments