CRAN Package Check Results for Package weed

Last updated on 2025-04-12 18:52:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.2 2.09 22.65 24.74 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.2 1.52 18.94 20.46 OK
r-devel-linux-x86_64-fedora-clang 1.1.2 44.45 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.2 41.79 NOTE
r-devel-macos-arm64 1.1.2 120.00 OK
r-devel-macos-x86_64 1.1.2 37.00 OK
r-devel-windows-x86_64 1.1.2 4.00 48.00 52.00 OK
r-patched-linux-x86_64 1.1.2 2.14 24.73 26.87 OK
r-release-linux-x86_64 1.1.2 OK
r-release-macos-arm64 1.1.2 24.00 OK
r-release-macos-x86_64 1.1.2 31.00 OK
r-release-windows-x86_64 1.1.2 5.00 159.00 164.00 OK
r-oldrel-macos-arm64 1.1.2 OK
r-oldrel-macos-x86_64 1.1.2 39.00 OK
r-oldrel-windows-x86_64 1.1.2 4.00 52.00 56.00 OK

Check Details

Version: 1.1.2
Check: examples
Result: 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.2
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘here’ ‘tibble’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.