CRAN Package Check Results for Package weed

Last updated on 2024-07-26 23:53:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.2 2.83 31.31 34.14 OK
r-devel-linux-x86_64-debian-gcc 1.1.2 1.92 24.20 26.12 OK
r-devel-linux-x86_64-fedora-clang 1.1.2 42.89 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.2 39.95 NOTE
r-devel-windows-x86_64 1.1.2 4.00 48.00 52.00 OK
r-patched-linux-x86_64 1.1.2 ERROR
r-release-linux-x86_64 1.1.2 1.71 30.33 32.04 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 48.00 53.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 51.00 56.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_batches > ### Title: Geocode in batches > ### Aliases: geocode_batches > > ### ** 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", + "mumbai region, district of seattle, sichuan province", "sichuan", "China, People's Republic" + ) > > geocode_batches(df, batch_size = 2, wait_time = 0.4, geonames_username = "rammkripa") [1] "batch number" [1] 1 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_batches(df, batch_size = 2, wait_time = 0.4, geonames_username = "rammkripa") 2. │ └─df_slice %>% geocode(n_results, unwrap, geonames_username) 3. ├─weed::geocode(., n_results, unwrap, geonames_username) 4. │ └─... %>% tidyr::unnest_wider(col = location_data) 5. ├─tidyr::unnest_wider(., col = location_data) 6. │ └─tidyr:::check_data_frame(data) 7. │ └─base::is.data.frame(x) 8. ├─dplyr::mutate(...) 9. ├─dplyr:::mutate.data.frame(...) 10. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 11. │ ├─base::withCallingHandlers(...) 12. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 13. │ └─mask$eval_all_mutate(quo) 14. │ └─dplyr (local) eval() 15. ├─purrr::pmap(list(location_word, Country, n_results), get_lat_long) 16. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 17. │ ├─purrr:::with_indexed_errors(...) 18. │ │ └─base::withCallingHandlers(...) 19. │ ├─purrr:::call_with_cleanup(...) 20. │ └─weed (local) .f(.l[[1L]][[i]], .l[[2L]][[i]], .l[[3L]][[i]], ...) 21. │ └─geonames::GNsearch(...) 22. │ └─geonames:::gnRaggedDataFrame("searchJSON", list(...), "geonames") 23. │ └─geonames:::getJson(name, params) 24. │ └─base::url(url, open = "r") 25. └─base::.handleSimpleError(...) 26. └─purrr (local) h(simpleError(msg, call)) 27. └─cli::cli_abort(...) 28. └─rlang::abort(...) Execution halted Flavor: r-patched-linux-x86_64