Hegghammer / daiR
Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -304,8 +304,16 @@
Loading
304 304
                       token = dai_token(),
305 305
                       verbose = FALSE) {
306 306
307 +
  if (!(inherits(response, "response"))) {
308 +
    stop("Input is not a valid HTTP response. Is it from dai_async() ?")
309 +
  }
310 +
307 311
  parsed <- httr::content(response)
308 312
313 +
  if (!("name" %in% names(parsed))) {
314 +
    stop("Input does not contain a processing job id. Is it from dai_async() ?")
315 +
  }
316 +
309 317
  name <- parsed[["name"]]
310 318
311 319
  base_url <- glue::glue("https://{loc}-documentai.googleapis.com/v1/")
Files Coverage
R 66.39%
Project Totals (7 files) 66.39%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading