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
907b087
... +1 ...
e1753fb
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
110 | 110 | ## add GL error columns, if missing |
|
111 | 111 | if((ncol(d) != 10 & !inherits(d, "sf")) | (ncol(d) != 9 & inherits(d, "sf"))) { |
|
112 | 112 | d <- d %>% |
|
113 | - | mutate(lonerr = NA, laterr = NA) |
|
113 | + | mutate(lonerr = ifelse(lc == "GL", 5, NA), |
|
114 | + | laterr = ifelse(lc == "GL", 5, NA)) |
|
114 | 115 | } |
|
115 | - | ||
116 | + | ||
116 | 117 | ## convert dates to POSIXt |
|
117 | 118 | ## order records by time, |
|
118 | 119 | ## flag any duplicate date records, |
127 | 128 | mutate(obs.type = ifelse(lc %in% c(3,2,1,0,"A","B","Z") & (is.na(smaj) | is.na(smin) |is.na(eor)), "LS", obs.type)) %>% |
|
128 | 129 | mutate(obs.type = ifelse(lc == "G" & (is.na(smaj) | is.na(smin) |is.na(eor)), "GPS", obs.type)) %>% |
|
129 | 130 | mutate(obs.type = ifelse(lc == "GL" & (is.na(smaj) | is.na(smin) |is.na(eor)) & (!is.na(lonerr) & !is.na(laterr)), "GLS", obs.type)) |
|
130 | - | ||
131 | + | ||
131 | 132 | ||
132 | 133 | ## if any records with smaj/smin = 0 then set to NA and obs.type to "LS" |
|
133 | 134 | ## convert error ellipse smaj & smin from m to km and eor from deg to rad |
Files | Coverage |
---|---|
Project Totals (26 files) | 79.45% |
e1753fb
a8bb684
907b087