Running examples in ‘weed-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geocode
> ### Title: GeoCodes text locations using the GeoNames API
> ### Aliases: geocode
> 
> ### ** Examples
> 
> df <- tibble::tribble(
+    ~value,  ~location_word,                    ~Country,
+    "mumbai region, district of seattle, sichuan province",  "mumbai","India",
+    "mumbai region, district of seattle, sichuan province",  "seattle", "USA"
+    )
> geocode(df, n_results = 1, unwrap = TRUE, geonames_username = "rammkripa")
Error in `dplyr::mutate()`:
ℹ In argument: `location_data = purrr::pmap(list(location_word, Country,
  n_results), get_lat_long)`.
Caused by error in `purrr::pmap()`:
ℹ In index: 2.
Caused by error in `getJson()`:
! error code 12 from server: Could not initialize class net.geonames.lucene.CountryAlias
Backtrace:
     ▆
  1. ├─weed::geocode(df, n_results = 1, unwrap = TRUE, geonames_username = "rammkripa")
  2. │ └─... %>% tidyr::unnest_wider(col = location_data)
  3. ├─tidyr::unnest_wider(., col = location_data)
  4. │ └─tidyr:::check_data_frame(data)
  5. │   └─base::is.data.frame(x)
  6. ├─dplyr::mutate(...)
  7. ├─dplyr:::mutate.data.frame(...)
  8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  9. │   ├─base::withCallingHandlers(...)
 10. │   └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
 11. │     └─mask$eval_all_mutate(quo)
 12. │       └─dplyr (local) eval()
 13. ├─purrr::pmap(list(location_word, Country, n_results), get_lat_long)
 14. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
 15. │   ├─purrr:::with_indexed_errors(...)
 16. │   │ └─base::withCallingHandlers(...)
 17. │   ├─purrr:::call_with_cleanup(...)
 18. │   └─weed (local) .f(.l[[1L]][[i]], .l[[2L]][[i]], .l[[3L]][[i]], ...)
 19. │     └─geonames::GNsearch(...)
 20. │       └─geonames:::gnRaggedDataFrame("searchJSON", list(...), "geonames")
 21. │         └─geonames:::getJson(name, params)
 22. │           └─base::stop(...)
 23. └─base::.handleSimpleError(...)
 24.   └─purrr (local) h(simpleError(msg, call))
 25.     └─cli::cli_abort(...)
 26.       └─rlang::abort(...)
Execution halted