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
c61eb01
... +0 ...
97c2ee1
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
335 | 335 | "&p=", partners, |
|
336 | 336 | "&rg=", trade_direction, |
|
337 | 337 | "&cc=", commod_codes, |
|
338 | - | "&fmt=", "json", |
|
339 | - | "&head=", "H" |
|
338 | + | "&head=", "H", |
|
339 | + | "&fmt=", "json" |
|
340 | 340 | ) |
|
341 | 341 | ||
342 | 342 | ## If token within global options is not NULL, append the token str to the |
391 | 391 | if (httr::http_type(res) != "application/json") { |
|
392 | 392 | stop( |
|
393 | 393 | sprintf( |
|
394 | - | "API did not return json. Instead, %s data was returned", |
|
395 | - | httr::http_type(res) |
|
394 | + | "API did not return json. Instead, %s data was returned. Return data:\n%s", |
|
395 | + | httr::http_type(res), |
|
396 | + | httr::content(res, "text", encoding = "UTF-8") |
|
396 | 397 | ), call. = FALSE |
|
397 | 398 | ) |
|
398 | 399 | } |
547 | 548 | #' |
|
548 | 549 | #' @noRd |
|
549 | 550 | codes_as_ints <- function(char_vect) { |
|
550 | - | if (any(tolower(char_vect) %in% c("all", "total"))) { |
|
551 | + | if (any(tolower(char_vect) %in% c("all", "total", "ag1", "ag2", "ag3", "ag4", "ag5"))) { |
|
551 | 552 | return(TRUE) |
|
552 | 553 | } |
|
553 | 554 | as_ints <- suppressWarnings(as.integer(char_vect)) |
Files | Coverage |
---|---|
R | -0.16% 77.33% |
Project Totals (9 files) | 77.33% |
97c2ee1
c61eb01