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 |
---|---|
emf.R | 72.73% |
fit_mpm.R | 46.30% |
fit_ssm.R | 67.21% |
fmap.R | 62.23% |
grab.R | 90.29% |
join.R | 100.00% |
mpm_control.R | 91.18% |
mpmf.R | 88.60% |
osar.r | 62.30% |
plot.fG_mpm.R | 87.01% |
plot.fG_osar.R | 90.20% |
plot.fG_sim.R | 49.43% |
plot.fG_simfit.R | 100.00% |
plot.fG_ssm.R | 89.42% |
prefilter.R | 0.14% 79.73% |
rtnorm.R | 100.00% |
sfilter.R | 86.02% |
sim.R | 91.14% |
simfit.R | 66.12% |
ssm_control.R | 91.43% |
wrap_lon.r | 100.00% |
Folder Totals (21 files) | 79.35% |
Project Totals (26 files) | 79.45% |
e1753fb
a8bb684
907b087