|
53 | 53 | validate_factor_truth_factor_estimate("1", 1)
|
54 | 54 | Condition
|
55 | 55 | Error:
|
56 |
| - ! `truth` should be a factor, not a a string. |
| 56 | + ! `truth` should be a factor, not a string. |
57 | 57 |
|
58 | 58 | ---
|
59 | 59 |
|
|
62 | 62 | levels = c("a", "b")))
|
63 | 63 | Condition
|
64 | 64 | Error:
|
65 |
| - ! `truth` should be a factor, not a a character vector. |
| 65 | + ! `truth` should be a factor, not a character vector. |
66 | 66 |
|
67 | 67 | ---
|
68 | 68 |
|
|
71 | 71 | "b")), c("a", "b", "a"))
|
72 | 72 | Condition
|
73 | 73 | Error:
|
74 |
| - ! `estimate` should be a factor, not a a character vector. |
| 74 | + ! `estimate` should be a factor, not a character vector. |
75 | 75 |
|
76 | 76 | ---
|
77 | 77 |
|
|
108 | 108 | validate_factor_truth_matrix_estimate(c("a", "b", "a"), 1:3, estimator = "binary")
|
109 | 109 | Condition
|
110 | 110 | Error:
|
111 |
| - ! `truth` should be a factor, not a a character vector. |
| 111 | + ! `truth` should be a factor, not a character vector. |
112 | 112 |
|
113 | 113 | ---
|
114 | 114 |
|
|
144 | 144 | estimator = "non binary")
|
145 | 145 | Condition
|
146 | 146 | Error:
|
147 |
| - ! `truth` should be a factor, not a a character vector. |
| 147 | + ! `truth` should be a factor, not a character vector. |
148 | 148 |
|
149 | 149 | ---
|
150 | 150 |
|
|
179 | 179 | validate_ordered_truth_matrix_estimate(c("a", "b", "a"), 1:3, estimator = "binary")
|
180 | 180 | Condition
|
181 | 181 | Error:
|
182 |
| - ! `truth` should be a ordered factor, not a a character vector. |
| 182 | + ! `truth` should be a ordered factor, not a character vector. |
183 | 183 |
|
184 | 184 | ---
|
185 | 185 |
|
|
215 | 215 | estimator = "non binary")
|
216 | 216 | Condition
|
217 | 217 | Error:
|
218 |
| - ! `truth` should be a ordered factor, not a a character vector. |
| 218 | + ! `truth` should be a ordered factor, not a character vector. |
219 | 219 |
|
220 | 220 | ---
|
221 | 221 |
|
|
276 | 276 | validate_surv_truth_list_estimate("1", 1)
|
277 | 277 | Condition
|
278 | 278 | Error:
|
279 |
| - ! `truth` should be a Surv object, not a a string. |
| 279 | + ! `truth` should be a Surv object, not a string. |
280 | 280 |
|
281 | 281 | ---
|
282 | 282 |
|
|
309 | 309 | .pred_time))
|
310 | 310 | Condition
|
311 | 311 | Error:
|
312 |
| - ! `estimate` should be a list, not a a character vector. |
| 312 | + ! `estimate` should be a list, not a character vector. |
313 | 313 |
|
314 | 314 | ---
|
315 | 315 |
|
|
318 | 318 | .pred_time)
|
319 | 319 | Condition
|
320 | 320 | Error:
|
321 |
| - ! `estimate` should be a list, not a a double vector. |
| 321 | + ! `estimate` should be a list, not a double vector. |
322 | 322 |
|
323 | 323 | ---
|
324 | 324 |
|
|
0 commit comments