File: geom-.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 (15 lines) | stat: -rw-r--r-- 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# aesthetic checking in geom throws correct errors

    Problem while setting up geom aesthetics.
    i Error occurred in the 1st layer.
    Caused by error in `use_defaults()`:
    ! Aesthetic modifiers returned invalid values
    x The following mappings are invalid
    x `colour = after_scale(data)`
    i Did you map the modifier in the wrong layer?

---

    Aesthetics must be either length 1 or the same as the data (4).
    x Fix the following mappings: `d` and `e`.