forked from r-lib/rlang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_pkgdown.yml
340 lines (290 loc) · 6.99 KB
/
_pkgdown.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
url: https://rlang.r-lib.org
development:
mode: auto
template:
package: tidytemplate
bootstrap: 5
includes:
in_header: |
<script defer data-domain="rlang.r-lib.org,all.tidyverse.org" src="https://plausible.io/js/plausible.js"></script>
navbar:
structure:
left: [reference, tidyeval, metaprog, errors, news]
components:
tidyeval:
text: Tidy evaluation
menu:
- text: Overviews
- text: What is data-masking and why do I need `{{`?
href: reference/topic-data-mask.html
- text: Data mask programming patterns
href: reference/topic-data-mask-programming.html
- text: ---
- text: Guides
- text: The data mask ambiguity
href: reference/topic-data-mask-ambiguity.html
- text: The double evaluation problem
href: reference/topic-double-evaluation.html
- text: ---
- text: Notes
- text: What happens if I use injection operators out of context?
href: reference/topic-inject-out-of-context.html
- text: Does `{{` work on regular objects?
href: reference/topic-embrace-non-args.html
metaprog:
text: Metaprogramming
menu:
- text: Overviews
- text: Defusing R expressions
href: reference/topic-defuse.html
- text: Injecting with `!!`, `!!!`, and glue syntax
href: reference/topic-inject.html
- text: Metaprogramming patterns
href: reference/topic-metaprogramming.html
- text: What are quosures and when are they needed?
href: reference/topic-quosure.html
- text: ---
- text: Guides
- text: Taking multiple columns without `...`
href: reference/topic-multiple-columns.html
- text: ---
- text: Notes
- text: Why are strings and other constants enquosed in the empty environment?
href: reference/topic-embrace-constants.html
errors:
text: Conditions
menu:
- text: Guides
- text: Including function calls in error messages
href: reference/topic-error-call.html
- text: Including contextual information with error chains
href: reference/topic-error-chaining.html
- text: Formatting messages with cli
href: reference/topic-condition-formatting.html
- text: ---
- text: Notes
- text: Customising condition messages
href: reference/topic-condition-customisation.html
news:
releases:
- text: "Version 0.4.3"
href: https://www.tidyverse.org/blog/2020/02/glue-strings-and-tidy-eval/
- text: "Version 0.4.0"
href: https://www.tidyverse.org/articles/2019/06/rlang-0-4-0/
- text: "Version 0.3.1"
href: https://www.tidyverse.org/articles/2019/01/rlang-0-3-1/
- text: "Version 0.3.0"
href: https://www.tidyverse.org/articles/2018/10/rlang-0-3-0/
- text: "Version 0.2.0"
href: https://www.tidyverse.org/articles/2018/03/rlang-0.2.0/
reference:
# NSE
- title: Tidy evaluation
desc: >
The programmable data-masking framework developed for the
tidyverse.
- subtitle: Tools
contents:
- embrace-operator
- glue-operators
- .data
- subtitle: Metaprogramming tools
contents:
- injection-operator
- splice-operator
- qq_show
- englue
- expr
- enquo
- sym
- as_label
- as_name
- subtitle: Advanced tools
contents:
- defusing-advanced
- eval_tidy
- new_data_mask
- title: Function arguments
- subtitle: Check arguments
contents:
- arg_match
- check_exclusive
- check_required
- missing_arg
- subtitle: Check dots
contents:
- check_dots_empty
- check_dots_used
- check_dots_unnamed
- subtitle: Collect dynamic dots
desc: >
Collect arguments contained in `...` with `!!!` and
name-injection support.
contents:
- dyn-dots
- list2
- pairlist2
- splice
- title: Error handling
- subtitle: Signal errors and other conditions
contents:
- abort
- cnd_signal
- local_use_cli
- subtitle: Handle errors
contents:
- global_handle
- global_entrace
- global_prompt_install
- try_fetch
- caller_arg
- local_error_call
- args_error_context
- catch_cnd
- subtitle: Backtraces
contents:
- last_error
- last_warnings
- global_entrace
- rlang_backtrace_on_error
- trace_back
- subtitle: Conditions
contents:
- rlang_error
- cnd_message
- format_error_bullets
- cnd_inherits
- title: Session
- subtitle: State
contents:
- is_installed
- is_interactive
- local_options
- on_load
- faq-options
- subtitle: Search path and namespaces
contents:
- search_envs
- empty_env
- is_namespace
- ns_env
- env_name
- title: Defused expressions
contents:
- parse_expr
- expr_print
- is_expression
- exprs_auto_name
- subtitle: Evaluate
contents:
- eval_tidy
- eval_bare
- exec
- inject
- subtitle: Symbols
contents:
- sym
- syms
- is_symbol
- as_string
- subtitle: Calls
contents:
- call2
- is_call
- starts_with("call_")
- subtitle: Quosures
contents:
- new_quosure
- new_quosures
- quosure-tools
- quo_squash
- subtitle: Formulas
contents:
- starts_with("f_")
- new_formula
- is_formula
- is_bare_formula
- title: Objects
contents:
- hash
- subtitle: Environments
contents:
- env
- env_print
- env_parent
- env_depth
- get_env
- env_clone
- env_inherits
- is_environment
- as_environment
- caller_env
- env_browse
- env_is_user_facing
- subtitle: Stack
contents:
- caller_env
- caller_call
- caller_fn
- current_env
- current_call
- current_fn
- frame_call
- frame_fn
- subtitle: Environment bindings
contents:
- env_bind
- env_unbind
- env_poke
- env_cache
- local_bindings
- env_has
- env_get
- env_names
- subtitle: Functions
contents:
- new_function
- as_function
- is_function
- fn_fmls
- fn_body
- fn_env
- as_closure
- subtitle: S3
contents:
- inherits_any
- zap
- as_bytes
- new_box
- as_box
- done
- subtitle: Attributes
contents:
- set_names
- names2
- has_name
- is_named
- zap_srcref
- subtitle: Vectors
contents:
- lgl
- list2
- rep_along
- seq2
- subtitle: Type predicates
contents:
- is_list
- is_scalar_list
- is_bare_list
- is_empty
- is_integerish
- is_true
- subtitle: Weak references
contents:
- matches("weakref")
- matches("wref")
- subtitle: Operators
contents:
- "`%||%`"
- "`%|%`"
- "`%@%`"