Last updated on 2023-06-06 21:01:08 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.1 | 2.07 | 31.17 | 33.24 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.1 | 2.00 | 24.03 | 26.03 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.1 | 43.18 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.1 | 40.05 | NOTE | |||
r-devel-windows-x86_64 | 1.1.1 | 4.00 | 50.00 | 54.00 | OK | |
r-patched-linux-x86_64 | 1.1.1 | 2.91 | 29.68 | 32.59 | OK | |
r-release-linux-x86_64 | 1.1.1 | 1.60 | 30.25 | 31.85 | OK | |
r-release-macos-arm64 | 1.1.1 | 25.00 | OK | |||
r-release-macos-x86_64 | 1.1.1 | 32.00 | OK | |||
r-release-windows-x86_64 | 1.1.1 | 5.00 | 106.00 | 111.00 | ERROR | |
r-oldrel-macos-arm64 | 1.1.1 | 23.00 | NOTE | |||
r-oldrel-macos-x86_64 | 1.1.1 | 37.00 | NOTE | |||
r-oldrel-windows-x86_64 | 1.1.1 | 5.00 | 54.00 | 59.00 | OK |
Version: 1.1.1
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘here’ ‘rgeos’ ‘tibble’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.1.1
Check: examples
Result: ERROR
Running examples in 'weed-Ex.R' failed
The error most likely occurred in:
> ### 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-release-windows-x86_64