impact-initiatives-hppu / humind

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

[Error] 3 2 | add_access_to_phone_best: add_access_to_phone_coverage correctly categorizes network coverage #170

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 3 months ago

Context: 3 2 | add_access_to_phone_best Type: Error Description: add_access_to_phone_coverage correctly categorizes network coverage Tested Function: 3 2 | add_access_to_phone_best Test File: 'test-add_access_to_phone_best.R Failed at Line: 26

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:26: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 3 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 3 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 3 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 3 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 2 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 2 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 2 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 2 months ago

Related open issues for the same function:

332

171

github-actions[bot] commented 2 months ago

Related open issues for the same function:

332

171

lanawwas commented 2 months ago

solved in https://github.com/impact-initiatives-hppu/humind/commit/a0c32527b12494455b866c06db8607fb491390c8