CRAN Package Check Results for Package weed

Last updated on 2024-09-30 03:51:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.2 2.10 25.22 27.32 OK
r-devel-linux-x86_64-debian-gcc 1.1.2 1.50 20.19 21.69 OK
r-devel-linux-x86_64-fedora-clang 1.1.2 44.00 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.2 42.67 NOTE
r-devel-windows-x86_64 1.1.2 5.00 48.00 53.00 OK
r-patched-linux-x86_64 1.1.2 ERROR
r-release-linux-x86_64 1.1.2 2.04 23.90 25.94 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 50.00 55.00 OK
r-oldrel-macos-arm64 1.1.2 28.00 OK
r-oldrel-macos-x86_64 1.1.2 39.00 OK
r-oldrel-windows-x86_64 1.1.2 5.00 54.00 59.00 OK

Check Details

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

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: 1. Caused by error in `url()`: ! cannot open the connection to 'http://api.geonames.org/searchJSON?q=mumbai&country=IN&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-patched-linux-x86_64