Showing 1 of 1 files from the diff.

@@ -304,7 +304,12 @@
Loading
304 304
        stopOnLine(lineNum, file[lineNum], e)
305 305
      })
306 306
      if (is.function(func)) {
307 -
        func(pr)
307 +
        assign("__plump_block_check__", TRUE, envir = envir)
308 +
        on.exit(rm("__plump_block_check__", envir = envir), add = TRUE)
309 +
        fpr <- func(pr)
310 +
        if (inherits(fpr, "Plumber") && !isTRUE(fpr$environment[["__plump_block_check__"]])) {
311 +
          stopOnLine(lineNum, file[lineNum], "Plumber object returned is not the same as the one in argument.")
312 +
        }
308 313
        return()
309 314
      }
310 315
    }
Files Coverage
R 80.38%
Project Totals (35 files) 80.38%

No yaml found.

Create your codecov.yml to customize your Codecov experience

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