ropensci / PostcodesioR

API wrapper around postcodes.io - free UK postcode lookup and geocoder
https://docs.ropensci.org/PostcodesioR
39 stars 7 forks source link

Error with CB1 postcodes #12

Closed barobinson closed 4 years ago

barobinson commented 4 years ago

For example postcode_lookup("CB13AB") returns the error Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : arguments imply differing number of rows: 1, 0 However http://api.postcodes.io/postcodes/cb13ab returns a valid result

erykwalczak commented 4 years ago

This looks like #11 Are you using the CRAN version? If so, please switch to the dev version on GitHub. Changes to the CRAN version have not been accepted yet. Actually, it's probably time for me to check what is holding it back. Thanks

barobinson commented 4 years ago

Thank you. Yes this was the same issue, and switching to the dev version fixed the problem.