impact-initiatives-hppu / humind

Calculate Usual Humanitarian Composite Indicators
https://impact-initiatives-hppu.github.io/humind/
Other
1 stars 1 forks source link

[Error] 8 1 | value_to_sl: add_access_to_phone_coverage handles undefined coverage responses #132

Open github-actions[bot] opened 6 days ago

github-actions[bot] commented 6 days ago

Context: 8 1 | value_to_sl Type: Error Description: add_access_to_phone_coverage handles undefined coverage responses Tested Function: 8 1 | value_to_sl Test File: 'test-add_access_to_phone_best.R Failed at Line: 51

Details: <purrr_error_indexed/rlang_error/error/condition> Error in purrr::map_lgl(dplyr::select(df, dplyr::all_of(cols)), function(x) { !all(stats::na.omit(unique(x)) %in% set) }): ℹ In index: 1. ℹ With name: etc_access_to_phone_best. Caused by error in add_access_to_phone_coverage(): ! object 'accss_to_basic_phone' not found Backtrace: ▆

  1. ├─humind::add_access_to_phone_coverage(result) at test-add_access_to_phone_best.R:51:3
  2. │ └─humind:::are_values_in_set(...)
  3. │ └─purrr::map_lgl(...)
  4. │ └─purrr:::map_("logical", .x, .f, ..., .progress = .progress)
  5. │ ├─purrr:::with_indexed_errors(...)
  6. │ │ └─base::withCallingHandlers(...)
  7. │ ├─purrr:::call_with_cleanup(...)
  8. │ └─humind (local) .f(.x[[i]], ...)
  9. │ └─stats::na.omit(unique(x)) %in% set
    1. └─base::.handleSimpleError(...)
    2. └─purrr (local) h(simpleError(msg, call))
    3. └─cli::cli_abort(...)
    4. └─rlang::abort(...)
github-actions[bot] commented 4 days ago

Related open issues for the same function:

321

320

319

318

317

166

165

164

163

162

161

160

159

158

157

156

155

154

153

152

151

150

149

148

147

146

145

144

143

142

141

140

139

138

137

136

135

134

133

131

130

129

128

127

github-actions[bot] commented 2 days ago

Related open issues for the same function:

321

320

319

318

317

166

165

164

163

162

161

160

159

158

157

156

155

154

153

152

151

150

149

148

147

146

145

144

143

142

141

140

139

138

137

136

135

134

133

131

130

129

128

127

github-actions[bot] commented 2 days ago

Related open issues for the same function:

321

320

319

318

317

166

165

164

163

162

161

160

159

158

157

156

155

154

153

152

151

150

149

148

147

146

145

144

143

142

141

140

139

138

137

136

135

134

133

131

130

129

128

127

github-actions[bot] commented 2 days ago

Related open issues for the same function:

321

320

319

318

317

166

165

164

163

162

161

160

159

158

157

156

155

154

153

152

151

150

149

148

147

146

145

144

143

142

141

140

139

138

137

136

135

134

133

131

130

129

128

127