@@ -2,48 +2,32 @@ titles <- list(
22 # NSE
33
44 # # Overviews
5- topic_data_mask =
6- " What is data-masking and why do I need `{{`?" ,
7- topic_data_mask_programming =
8- " Data mask programming patterns" ,
9- topic_metaprogramming =
10- " Metaprogramming patterns" ,
11- topic_defuse =
12- " Defusing R expressions" ,
13- topic_inject =
14- " Injecting with `!!`, `!!!`, and glue syntax" ,
15- topic_quosure =
16- " What are quosures and when are they needed?" ,
5+ topic_data_mask = " What is data-masking and why do I need `{{`?" ,
6+ topic_data_mask_programming = " Data mask programming patterns" ,
7+ topic_metaprogramming = " Metaprogramming patterns" ,
8+ topic_defuse = " Defusing R expressions" ,
9+ topic_inject = " Injecting with `!!`, `!!!`, and glue syntax" ,
10+ topic_quosure = " What are quosures and when are they needed?" ,
1711
1812 # # Guides
19- topic_data_mask_ambiguity =
20- " The data mask ambiguity" ,
21- topic_double_evaluation =
22- " The double evaluation problem" ,
23- topic_multiple_columns =
24- " Taking multiple columns without `...`" ,
13+ topic_data_mask_ambiguity = " The data mask ambiguity" ,
14+ topic_double_evaluation = " The double evaluation problem" ,
15+ topic_multiple_columns = " Taking multiple columns without `...`" ,
2516
2617 # # Notes
27- topic_embrace_non_args =
28- " Does `{{` work on regular objects?" ,
29- topic_embrace_constants =
30- " Why are strings and other constants enquosed in the empty environment?" ,
31- topic_inject_out_of_context =
32- " What happens if I use injection operators out of context?" ,
18+ topic_embrace_non_args = " Does `{{` work on regular objects?" ,
19+ topic_embrace_constants = " Why are strings and other constants enquosed in the empty environment?" ,
20+ topic_inject_out_of_context = " What happens if I use injection operators out of context?" ,
3321
3422 # Errors
3523
3624 # # Guides
37- topic_error_call =
38- " Including function calls in error messages" ,
39- topic_error_chaining =
40- " Including contextual information with error chains" ,
41- topic_condition_formatting =
42- " Formatting messages with cli" ,
25+ topic_error_call = " Including function calls in error messages" ,
26+ topic_error_chaining = " Including contextual information with error chains" ,
27+ topic_condition_formatting = " Formatting messages with cli" ,
4328
4429 # # Notes
45- topic_condition_customisation =
46- " Customising condition messages"
30+ topic_condition_customisation = " Customising condition messages"
4731)
4832
4933sprintf_topic_link <- function (id , topic = NULL ) {
@@ -71,9 +55,15 @@ sprintf_topic_link <- function(id, topic = NULL) {
7155links <- lapply(names(titles ), sprintf_topic_link )
7256names(links ) <- names(titles )
7357
74- links [[" {{" ]] <- " \\ ifelse{html}{\\ code{\\ link[=embrace-operator]{\\ {\\ {}}}{\\ verb{\\ {\\ {}}"
75- links [[" '{{'" ]] <- " \\ ifelse{html}{\\ code{\\ link[=glue-operators]{\"\\ {\\ {\" }}}{\\ verb{\"\\ {\\ {\" }}"
76- links [[" '{'" ]] <- " \\ ifelse{html}{\\ code{\\ link[=glue-operators]{\"\\ {\" }}}{\\ verb{\"\\ {\" }}"
58+ links [[
59+ " {{"
60+ ]] <- " \\ ifelse{html}{\\ code{\\ link[=embrace-operator]{\\ {\\ {}}}{\\ verb{\\ {\\ {}}"
61+ links [[
62+ " '{{'"
63+ ]] <- " \\ ifelse{html}{\\ code{\\ link[=glue-operators]{\"\\ {\\ {\" }}}{\\ verb{\"\\ {\\ {\" }}"
64+ links [[
65+ " '{'"
66+ ]] <- " \\ ifelse{html}{\\ code{\\ link[=glue-operators]{\"\\ {\" }}}{\\ verb{\"\\ {\" }}"
7767
7868title <- function (id ) {
7969 out <- titles [[id ]]
0 commit comments