francisbarton / myrmidon

A package containing functions I want to have available most times I start up R, as well as my own HTML5 RMarkdown template.
MIT License
4 stars 0 forks source link

postcode_data_join error to investigate #5

Closed francisbarton closed 8 months ago

francisbarton commented 2 years ago
Error: Problem with `mutate()` column `query_code`.
i `query_code = purrr::map_chr(.data[["postcode"]], autocomplete_possibly)`.
x Result 1 must be a single string, not NULL of length 0

Caused by passing a dodgy postcode???

francisbarton commented 2 years ago
+-<error/dplyr:::mutate_error>
| Problem with `mutate()` column `query_code`.
| i `query_code = purrr::map_chr(.data[["postcode"]], autocomplete_possibly)`.
| x Result 1 must be a single string, not NULL of length 0
\-<error/purrr_error_bad_element_vector>
  Result 1 must be a single string, not NULL of length 0
Backtrace:
  1. `%>%`(...)
 22. purrr:::stop_bad_element_vector(...)
 23. purrr:::stop_bad_vector(...)
 24. purrr:::stop_bad_type(...)
francisbarton commented 8 months ago

Closing as non-reproducible (no reprex provided)