CRAN Package Check Results for Package weed

Last updated on 2021-07-01 01:49:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.6 2.27 29.70 31.97 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.6 1.93 22.99 24.92 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.6 47.13 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.6 36.95 NOTE
r-devel-windows-x86_64 1.0.6 9.00 49.00 58.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 1.0.6 ERROR
r-patched-linux-x86_64 1.0.6 2.43 28.26 30.69 NOTE
r-patched-solaris-x86 1.0.6 58.10 NOTE
r-release-linux-x86_64 1.0.6 2.04 28.57 30.61 NOTE
r-release-macos-arm64 1.0.6 NOTE
r-release-macos-x86_64 1.0.6 NOTE
r-release-windows-ix86+x86_64 1.0.6 10.00 47.00 57.00 NOTE
r-oldrel-macos-x86_64 1.0.6 NOTE
r-oldrel-windows-ix86+x86_64 1.0.6 6.00 41.00 47.00 OK

Check Details

Version: 1.0.6
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 1.0.6
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-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.6
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,
    + "city of new york", "new york", "USA",
    + "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(df, n_results = 1, unwrap = TRUE, geonames_username = "rammkripa")
    Warning: Problem with `mutate()` column `location_data`.
    i `location_data = purrr::pmap(list(location_word, Country, n_results), get_lat_long)`.
    i URL 'http://api.geonames.org/searchJSON?q=new%20york&country=US&type=json&username=rammkripa': status was 'Couldn't resolve host name'
    Error: Problem with `mutate()` column `location_data`.
    i `location_data = purrr::pmap(list(location_word, Country, n_results), get_lat_long)`.
    x cannot open the connection to 'http://api.geonames.org/searchJSON?q=new%20york&country=US&type=json&username=rammkripa'
    Backtrace:
     x
     1. +-weed::geocode(df, n_results = 1, unwrap = TRUE, geonames_username = "rammkripa")
     2. | \-`%>%`(...)
     3. +-tidyr::unnest_wider(., col = location_data)
     4. | +-tidyselect::vars_pull(tbl_vars(data), !!enquo(col))
     5. | \-dplyr::tbl_vars(data)
     6. | +-dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
     7. | | \-base::structure(...)
     8. | \-dplyr:::tbl_vars_dispatch(x)
     9. +-dplyr::mutate(...)
     10. +-dplyr:::mutate.data.frame(...)
     11. | \-dplyr:::mutate_cols(.data, ..., caller_env = caller_env())
     12. | +-base::withCallingHandlers(...)
     13. | \-mask$eval_all_mutate(quo)
     14. +-purrr::pmap(list(location_word, Country, n_results), get_lat_long)
     15. | \-weed:::.f(.l[[1L]][[i]], .l[[2L]][[i]], .l[[3L]][[1L]], ...)
     16. | \-geonames::GNsearch(...)
     17. | \-geonames:::gnRaggedDataFrame("searchJSON", list(...), "geonames")
     18. | \-geonames:::getJson(name, params)
     19. | \-base::url(url, open = "r")
     20. \-base::.handleSimpleError(...)
     21. \-dplyr:::h(simpleError(msg, call))
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT