Showing 2 of 7 files from the diff.

@@ -211,9 +211,9 @@
Loading
211 211
      params[[name]] <- list(desc=paramMat[1,6], type=apiType, required=required, isArray=isArray)
212 212
    }
213 213
214 -
    tagMat <- stri_match(line, regex="^#['\\*]\\s*@tag\\s+(\\S.+)\\s*")
214 +
    tagMat <- stri_match(line, regex="^#['\\*]\\s*@tag\\s+(\"[^\"]+\"|'[^']+'|\\S+)\\s*")
215 215
    if (!is.na(tagMat[1,1])){
216 -
      t <- stri_trim_both(tagMat[1,2])
216 +
      t <- stri_trim_both(tagMat[1,2], pattern = "[[\\P{Wspace}]-[\"']]")
217 217
      if (is.na(t) || t == ""){
218 218
        stopOnLine(lineNum, line, "No tag specified.")
219 219
      }
@@ -245,8 +245,8 @@
Loading
245 245
    assets = assets,
246 246
    params = rev(params),
247 247
    comments = comments,
248 -
    responses = responses,
249 -
    tags = tags,
248 +
    responses = rev(responses),
249 +
    tags = rev(tags),
250 250
    routerModifier = routerModifier
251 251
  )
252 252
}

@@ -48,8 +48,8 @@
Loading
48 48
           fields$info$version <- def
49 49
         },
50 50
         apiTag={
51 -
           tagMat <- stri_match(def, regex="^\\s*(\\w+)\\s+(\\S.+)\\s*$")
52 -
           name <- tagMat[1,2]
51 +
           tagMat <- stri_match(def, regex="^\\s*(\"[^\"]+\"|'[^']+'|\\S+)\\s+(\\S.+)\\s*$")
52 +
           name <- stri_trim_both(tagMat[1,2], pattern = "[[\\P{Wspace}]-[\"']]")
53 53
           description <- tagMat[1,3]
54 54
           if(!is.null(fields$tags) && name %in% unlist(lapply(fields$tags, "[[", "name"))) {
55 55
             stop("Error: '", argument, "' - ","Duplicate tag definition specified.")
Files Coverage
R 80.23%
Project Totals (35 files) 80.23%

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