CRAN Package Check Results for Maintainer ‘Ram Kripa <ram.m.kripa at berkeley.edu>’

Last updated on 2025-04-12 20:52:23 CEST.

Package ERROR NOTE OK
weed 1 2 12

Package weed

Current CRAN status: ERROR: 1, NOTE: 2, OK: 12

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.