No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
1ccd83e
... +0 ...
5b1bee4
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
128 | 128 | # ### 3.0.0 -- 2022-04-19 |
|
129 | 129 | # |
|
130 | 130 | # * Major rewrite, use rlang compatible error objects. New API. |
|
131 | + | # |
|
132 | + | # ##3 3.0.1 -- 2022-06-17 |
|
133 | + | # |
|
134 | + | # * Remove the `rlang_error` and `rlang_trace` classes, because our new |
|
135 | + | # deparsed `call` column in the trace is not compatible with rlang. |
|
131 | 136 | ||
132 | 137 | err <- local({ |
|
133 | 138 |
174 | 179 | ||
175 | 180 | new_error <- function(..., call. = TRUE, srcref = NULL, domain = NA) { |
|
176 | 181 | cond <- new_cond(..., call. = call., domain = domain, srcref = srcref) |
|
177 | - | class(cond) <- c("rlib_error_3_0", "rlib_error", "rlang_error", "error", "condition") |
|
182 | + | class(cond) <- c("rlib_error_3_0", "rlib_error", "error", "condition") |
|
178 | 183 | cond |
|
179 | 184 | } |
|
180 | 185 |
341 | 346 | name <- native_name(.NAME) |
|
342 | 347 | err <- new_error("Native call to `", name, "` failed", call. = call1) |
|
343 | 348 | cerror <- if (inherits(e, "simpleError")) "c_error" |
|
344 | - | class(err) <- c(cerror, "rlib_error_3_0", "rlib_error", "rlang_error", "error", "condition") |
|
349 | + | class(err) <- c(cerror, "rlib_error_3_0", "rlib_error", "error", "condition") |
|
345 | 350 | throw_error(err, parent = e) |
|
346 | 351 | } |
|
347 | 352 | ) |
375 | 380 | name <- native_name(.NAME) |
|
376 | 381 | err <- new_error("Native call to `", name, "` failed", call. = call1) |
|
377 | 382 | cerror <- if (inherits(e, "simpleError")) "c_error" |
|
378 | - | class(err) <- c(cerror, "rlib_error_3_0", "rlib_error", "rlang_error", "error", "condition") |
|
383 | + | class(err) <- c(cerror, "rlib_error_3_0", "rlib_error", "error", "condition") |
|
379 | 384 | throw_error(err, parent = e) |
|
380 | 385 | } |
|
381 | 386 | ) |
534 | 539 | ) |
|
535 | 540 | trace$call <- calls |
|
536 | 541 | ||
537 | - | class(trace) <- c("rlib_trace_3_0", "rlang_trace", "rlib_trace", "tbl", "data.frame") |
|
542 | + | class(trace) <- c("rlib_trace_3_0", "rlib_trace", "tbl", "data.frame") |
|
538 | 543 | trace |
|
539 | 544 | } |
|
540 | 545 |
Files | Coverage |
---|---|
R | 17.52% |
Project Totals (36 files) | 17.52% |
5b1bee4
1ccd83e