|
3 | 3 | `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`, not a <uneval> object.
|
4 | 4 | i Did you accidentally pass `aes()` to the `data` argument?
|
5 | 5 |
|
| 6 | +# fortify.default can handle healthy data-frame-like objects |
| 7 | + |
| 8 | + Code |
| 9 | + fortify(X) |
| 10 | + Condition |
| 11 | + Error in `fortify()`: |
| 12 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 13 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 14 | + ! `dim(data)` must return an <integer> of length 2. |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | + Code |
| 19 | + fortify(array(1:60, 5:3)) |
| 20 | + Condition |
| 21 | + Error in `fortify()`: |
| 22 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 23 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 24 | + ! `dim(data)` must return an <integer> of length 2. |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | + Code |
| 29 | + fortify(cbind(X, Y, Z, deparse.level = 0)) |
| 30 | + Condition |
| 31 | + Error in `fortify()`: |
| 32 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 33 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 34 | + ! `colnames(data)` must return a <character> of length `ncol(data)`. |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | + Code |
| 39 | + fortify(object) |
| 40 | + Condition |
| 41 | + Error in `fortify()`: |
| 42 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 43 | + Caused by error in `dim.foo()`: |
| 44 | + ! oops! |
| 45 | + |
| 46 | +--- |
| 47 | + |
| 48 | + Code |
| 49 | + fortify(object) |
| 50 | + Condition |
| 51 | + Error in `fortify()`: |
| 52 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 53 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 54 | + ! `dim(data)` must return an <integer> of length 2. |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | + Code |
| 59 | + fortify(object) |
| 60 | + Condition |
| 61 | + Error in `fortify()`: |
| 62 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 63 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 64 | + ! `dim(data)` must return an <integer> of length 2. |
| 65 | + |
| 66 | +--- |
| 67 | + |
| 68 | + Code |
| 69 | + fortify(object) |
| 70 | + Condition |
| 71 | + Error in `fortify()`: |
| 72 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 73 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 74 | + ! `dim(data)` can't have `NA`s or negative values. |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | + Code |
| 79 | + fortify(object) |
| 80 | + Condition |
| 81 | + Error in `fortify()`: |
| 82 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 83 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 84 | + ! `dim(data)` can't have `NA`s or negative values. |
| 85 | + |
| 86 | +--- |
| 87 | + |
| 88 | + Code |
| 89 | + fortify(object) |
| 90 | + Condition |
| 91 | + Error in `fortify()`: |
| 92 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 93 | + Caused by error in `dimnames(x)[[2L]]`: |
| 94 | + ! subscript out of bounds |
| 95 | + |
| 96 | +--- |
| 97 | + |
| 98 | + Code |
| 99 | + fortify(object) |
| 100 | + Condition |
| 101 | + Error in `fortify()`: |
| 102 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 103 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 104 | + ! `colnames(data)` must return a <character> of length `ncol(data)`. |
| 105 | + |
| 106 | +--- |
| 107 | + |
| 108 | + Code |
| 109 | + fortify(object) |
| 110 | + Condition |
| 111 | + Error in `fortify()`: |
| 112 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 113 | + Caused by error in `.prevalidate_data_frame_like_object()`: |
| 114 | + ! `colnames(data)` must return a <character> of length `ncol(data)`. |
| 115 | + |
| 116 | +--- |
| 117 | + |
| 118 | + Code |
| 119 | + fortify(object) |
| 120 | + Condition |
| 121 | + Error in `fortify()`: |
| 122 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 123 | + Caused by error in `as.data.frame.foo()`: |
| 124 | + ! oops! |
| 125 | + |
| 126 | +--- |
| 127 | + |
| 128 | + Code |
| 129 | + fortify(object) |
| 130 | + Condition |
| 131 | + Error in `fortify()`: |
| 132 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 133 | + Caused by error in `.postvalidate_data_frame_like_object()`: |
| 134 | + ! `as.data.frame(data)` must return a <data.frame>. |
| 135 | + |
| 136 | +--- |
| 137 | + |
| 138 | + Code |
| 139 | + fortify(object) |
| 140 | + Condition |
| 141 | + Error in `fortify()`: |
| 142 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 143 | + Caused by error in `.postvalidate_data_frame_like_object()`: |
| 144 | + ! `as.data.frame(data)` must preserve dimensions. |
| 145 | + |
| 146 | +--- |
| 147 | + |
| 148 | + Code |
| 149 | + fortify(object) |
| 150 | + Condition |
| 151 | + Error in `fortify()`: |
| 152 | + ! `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`. |
| 153 | + Caused by error in `.postvalidate_data_frame_like_object()`: |
| 154 | + ! `as.data.frame(data)` must preserve column names. |
| 155 | + |
0 commit comments