A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jessecambon/tidygeocoder/issues/49 below:

Error due to type conflict in new version of tibble · Issue #49 · jessecambon/tidygeocoder · GitHub

hi @jessecambon — thanks for this awesome package. It solves a huge problem in my workflow!

I've encountered a hiccup that appears to be due to tibble. The following code ran fine before I updated tibble, but broke afterward:

geo(
  street = "9500 Gilman Dr.,",
  city = "San Diego",
  state = "CA",
  postalcode = "92161",
  method = "cascade"
)

The error reads:

Error: Assigned data `retry_results` must be compatible with existing data.
ℹ Error occurred for column `lat`.
✖ Can't convert from <double> to <logical> due to loss of precision.
* Locations: 1.

The error seems to be coming from here:

combi[na_indices,] <- retry_results

Tibble is not happy that the variable types are being overwritten.

If instead you change line 70 to something more explicit like combi[,c("lat","long")] <- retry_results[,c("lat","long")] everything runs just fine.

Hope this helps, thanks again for the great package!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4