* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/weed.Rcheck’ * using R Under development (unstable) (2025-07-13 r88407) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘weed/DESCRIPTION’ ... OK * this is package ‘weed’ version ‘1.1.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [1s/1s] OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘weed’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/weed-00install.html' for details. * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/5s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [2s/95s] ERROR 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 `url()`: ! cannot open the connection to 'http://api.geonames.org/searchJSON?q=seattle&country=US&type=json&username=rammkripa' 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::url(url, open = "r") 23. └─base::.handleSimpleError(...) 24. └─purrr (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted * checking PDF version of manual ... [4s/6s] OK * checking HTML version of manual ... [0s/1s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR