-
Notifications
You must be signed in to change notification settings - Fork 0
/
_pkgdown.yml
145 lines (126 loc) · 3.48 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
url: https://yjunechoe.github.io/ggtrace/
home:
title: ggtrace
description: A functional interface to ggplot2 internals
authors:
June Choe:
href: https://yjunechoe.github.io
template:
bootstrap: 5
bootswatch: flatly
bslib:
base_font: {google: "Atkinson Hyperlegible"}
reference:
- title: Sub-layer stages
desc: >
Take a snapshot of a layer's data in the sub-layer pipeline
contents:
- layer_before_stat
- layer_after_stat
- layer_before_geom
- layer_after_scale
- title: Workflow functions
desc: >
These high-level functions take a ggplot object and a function or ggproto method,
allowing interactions with the ggplot's build pipeline as it is evaluated. Functions
grouped into three "workflows": Inspect, Capture, and Highjack.
contents:
- with_ggtrace
- subtitle: Inspect workflow
desc: >
Return values from or information about a method's execution state for inspection
contents:
- ggtrace_inspect_n
- ggtrace_inspect_which
- ggtrace_inspect_vars
- ggtrace_inspect_args
- ggtrace_inspect_return
- ggtrace_inspect_on_error
- subtitle: Capture workflow
desc: >
Record a method's execution state, returning it as a function or environment
contents:
- ggtrace_capture_fn
- ggtrace_capture_env
- subtitle: Highjack workflow
desc: >
Manipulate a method's behavior as it runs and return the modified graphical output
contents:
- ggtrace_highjack_args
- ggtrace_highjack_return
- title: Contextualize errors at the layer and sub-layer level
desc: >
Return information about the (sub-)layer ggproto method that errors while rendering
contents:
- last_layer_errorcontext
- last_sublayer_errorcontext
- title: Extending base::trace()
desc: >
The low-level function `ggtrace()` extends `base::trace()` by managing the **state** of
injected expressions (traces), which allows for contiguity across multiple traces and
the inspection of evaluated expressions logged to the tracedump, via `last_ggtrace()` and
`global_ggtrace()`. Unlike the high-level workflow functions, `ggtrace()` relies on the
"side effect" of functions and methods being traced, which can be restored with `gguntrace()`.
- subtitle: Trace
desc: >
Lower-level functions for finer control over injecting expressions with trace
contents:
- ggtrace
- ggedit
- gguntrace
- subtitle: Tracedumps
desc: >
Log and interact with the output of expressions injected with trace
contents:
- last_ggtrace
- global_ggtrace
- title: Helpers
desc: Helpers for working with ggtrace
contents:
- get_method
- get_method_inheritance
- ggbody
- ggformals
- is_traced
- title: Misc
desc: Extending other debugging tools for use with ggplot internals
contents:
- ggdebug
articles:
- title: Usage
navbar: Usage
contents:
- getting-started
- overview
# - showcase-ggplot_build
# - showcase-aes_evaluation
# - title: Workflows (WIP)
# navbar: Workflows (WIP)
# contents:
# - title: Case Studies
# navbar: Case Studies
# contents:
# - casestudy-after_scale
# - casestudy-ggxmean
- title: Miscellaneous
navbar: Miscellaneous
contents:
- FAQ
# - comparisons
# - technical-details
navbar:
structure:
right: [paper, reference, news, articles, github]
left: []
components:
paper:
text: Paper
href: https://yjunechoe.github.io/static/papers/Choe_2022_SublayerGG.pdf
figures:
dev: ragg::agg_png
dpi: 150
dev.args: []
fig.ext: png
fig.height: ~
fig.retina: 2
bg: "white"