-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I tried to run my script, using tidygeocoder. It worked perfectly one week ago and now, I get error message:
Error in geocode(., addr, method = "osm", lat = latitude, long = longitude) :
is.character(location) is not TRUE
So I copy pasted also the example you gave on the package description and again, exactly same error message.
What have you tried to resolve the issue? Updating your R packages to their most recent versions can sometimes resolve issues.
Steps to Reproduce
Include a small code example that someone else can run to reproduce the bug:
library(dplyr, warn.conflicts = FALSE)
library(tidygeocoder)
# create a dataframe with addresses
some_addresses <- tibble::tribble(
~name, ~addr,
"White House", "1600 Pennsylvania Ave NW, Washington, DC",
"Transamerica Pyramid", "600 Montgomery St, San Francisco, CA 94111",
"Willis Tower", "233 S Wacker Dr, Chicago, IL 60606"
)
# geocode the addresses
lat_longs <- some_addresses %>%
geocode(addr, method = 'osm', lat = latitude , long = longitude)
#Error in geocode(., addr, method = "osm", lat = latitude, long = longitude) :
#is.character(location) is not TRUE
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working