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
|
# layer() checks its input
Can't create layer without a geom.
---
Can't create layer without a stat.
---
Can't create layer without a position.
---
`mapping` must be created by `aes()`.
---
`mapping` must be created by `aes()`.
i Did you use `%>%` or `|>` instead of `+`?
---
Can't find geom called "test".
---
`x` must be either a string or a <geom> object, not an environment.
# invalid aesthetics throws errors
Problem while computing aesthetics.
i Error occurred in the 1st layer.
Caused by error in `compute_aesthetics()`:
! Aesthetics are not valid data columns.
x The following aesthetics are invalid:
x `fill = data`
i Did you mistype the name of a data column or forget to add `after_stat()`?
---
Problem while mapping stat to aesthetics.
i Error occurred in the 1st layer.
Caused by error in `map_statistic()`:
! Aesthetics must be valid computed stats.
x The following aesthetics are invalid:
x `fill = after_stat(data)`
i Did you map your stat in the wrong layer?
# function aesthetics are wrapped with after_stat()
Problem while computing aesthetics.
i Error occurred in the 1st layer.
Caused by error in `compute_aesthetics()`:
! Aesthetics are not valid data columns.
x The following aesthetics are invalid:
x `colour = NULL`
x `fill = NULL`
i Did you mistype the name of a data column or forget to add `after_stat()`?
# computed stats are in appropriate layer
Problem while mapping stat to aesthetics.
i Error occurred in the 1st layer.
Caused by error in `map_statistic()`:
! Aesthetics must be valid computed stats.
x The following aesthetics are invalid:
x `colour = NULL`
x `fill = NULL`
i Did you map your stat in the wrong layer?
# layer reports the error with correct index etc
Problem while setting up geom.
i Error occurred in the 1st layer.
Caused by error in `compute_geom_1()`:
! `geom_linerange()` requires the following missing aesthetics: ymax or xmin and xmax.
---
Problem while converting geom to grob.
i Error occurred in the 2nd layer.
Caused by error in `draw_group()`:
! Can only draw one boxplot per group.
i Did you forget `aes(group = ...)`?
# layer warns for constant aesthetics
All aesthetics have length 1, but the data has 32 rows.
i Please consider using `annotate()` or provide this layer with data containing a single row.
# layer_data returns a data.frame
`layer_data()` must return a <data.frame>.
|