File: facet-.md

package info (click to toggle)
r-cran-ggplot2 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,944 kB
  • sloc: sh: 15; makefile: 5
file content (55 lines) | stat: -rw-r--r-- 1,456 bytes parent folder | download
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
# facet_grid() fails if passed both a formula and a vars()

    `rows` must be `NULL` or a `vars()` list if `cols` is a `vars()` list.

# can't pass formulas to `cols`

    `cols` must be a `vars()` specification or `NULL`, not a <formula> object.

# facet gives clear error if 

    Faceting variables can only appear in `rows` or `cols`, not both.
    i Duplicated variables: "x"

---

    `rows` must be `NULL` or a `vars()` list if `cols` is a `vars()` list.
    i Did you use `%>%` or `|>` instead of `+`?

---

    A grid facet specification can't have more than two dimensions.

---

    `cols` must be a `vars()` specification or `NULL`, not the string "free".

# at least one layer must contain all facet variables in combine_vars()

    At least one layer must contain all faceting variables: `letter`
    x Plot is missing `letter`
    Layer is missing `letter`

# combine_vars() generates the correct combinations

    At least one layer must contain all faceting variables: `b` and `c`
    x Plot is missing `c`
    x Layer 1 is missing `b`

---

    Faceting variables must have at least one value.

# validate_facets() provide meaningful errors

    Please use `vars()` to supply facet variables.

---

    Please use `vars()` to supply facet variables.
    i Did you use `%>%` or `|>` instead of `+`?

# check_layout() throws meaningful errors

    Facet layout has a bad format. It must contain columns `PANEL`, `SCALE_X`, and `SCALE_Y`.