impact-initiatives-hppu / humind

Compose MSNA Indicators
https://impact-initiatives-hppu.github.io/humind/
MIT License
2 stars 3 forks source link

[Error] 8 1 | value_to_sl: add_dummy_from_dummies works with na_to_zero = TRUE #140

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 3 months ago

Context: 8 1 | value_to_sl Type: Error Description: add_dummy_from_dummies works with na_to_zero = TRUE Tested Function: 8 1 | value_to_sl Test File: 'test-add_dummy_from_dummies.R Failed at Line: 22

Details: Error: Failed to evaluate glue component {dummy_name} Caused by error: ! object 'dummy1' not found Backtrace: ▆

  1. ├─humind::add_dummy_from_dummies(df, dummy1, dummy2, dummy3, na_to_zero = TRUE) at test-add_dummy_from_dummies.R:22:3
  2. │ ├─dplyr::mutate(...)
  3. │ ├─dplyr:::mutate.data.frame(...)
  4. │ │ ├─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  5. │ │ │ └─base::force(dots)
  6. │ │ └─dplyr:::dplyr_quosures(...)
  7. │ │ └─rlang::quos(..., .ignore_empty = "all")
  8. │ └─rlang (local) <fn>("{dummy_name}")
  9. │ ├─rlang:::unstructure(glue::glue(out, .envir = env))
    1. │ └─glue::glue(out, .envir = env)
    2. │ └─glue::glue_data(...)
    3. ├─glue (local) <fn>("dummy_name")
    4. │ ├─.transformer(expr, env) %||% .null
    5. │ └─glue (local) .transformer(expr, env)
    6. │ ├─glue:::with_glue_error(...)
    7. │ │ └─base::withCallingHandlers(...)
    8. │ └─base::eval(expr, envir)
    9. │ └─base::eval(expr, envir)
    10. └─base::.handleSimpleError(...)
    11. └─glue (local) h(simpleError(msg, call))
    12. └─rlang::abort(message, parent = cnd, call = NULL)
github-actions[bot] commented 3 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 3 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 3 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 3 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 2 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 2 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 2 months 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

139

138

137

136

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 2 months 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

139

138

137

135

134

133

132

131

130

129

128

127

github-actions[bot] commented 2 months 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

139

138

137

135

134

133

132

131

130

129

128

127