* using log directory 'd:/Rcompile/CRANpkg/local/4.5/rcrimeanalysis.Rcheck' * using R Under development (unstable) (2024-06-03 r86679 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rcrimeanalysis/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rcrimeanalysis' version '0.5.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rcrimeanalysis' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [8s] OK * checking whether the package can be loaded with stated dependencies ... [7s] OK * checking whether the package can be unloaded cleanly ... [8s] OK * checking whether the namespace can be loaded with stated dependencies ... [8s] OK * checking whether the namespace can be unloaded cleanly ... [9s] OK * checking loading without being on the library search path ... [8s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [16s] OK * checking Rd files ... [0s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [20s] ERROR Running examples in 'rcrimeanalysis-Ex.R' failed The error most likely occurred in: > ### Name: geocode_address > ### Title: Batch Geocoding of Physical Addresses using the Google Maps API > ### Aliases: geocode_address > ### Keywords: spatial > > ### ** Examples > > ## Don't show: > library(ggmap) #needed to register Google Cloud Credentials Loading required package: ggplot2 ℹ Google's Terms of Service: Stadia Maps' Terms of Service: OpenStreetMap's Tile Usage Policy: ℹ Please cite ggmap if you use it! Use `citation("ggmap")` for details. > register_google("AIzaSyB29FxQZBTC3K8kVOG29KZJPvjbFVDhRFU") > addresses <- c("Milan Puskar Stadium, Morgantown, WV","Woodburn Hall, Morgantown, WV") > geocode_address(addresses) ℹ Error in `map()`: ℹ In index: 1. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached: [maps.googleapis.com] Resolving timed out after 10013 milliseconds Backtrace: ▆ 1. ├─rcrimeanalysis::geocode_address(addresses) 2. │ └─ggmap::geocode(location) 3. │ └─location %>% ... 4. ├─purrr::map(...) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─ggmap (local) .f(.x[[i]], ...) 10. │ └─ggmap::geocode(...) 11. │ └─httr::GET(url) 12. │ └─httr:::request_perform(req, hu$handle$handle) 13. │ ├─httr:::request_fetch(req$output, req$url, handle) 14. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 15. │ └─curl::curl_fetch_memory(url, handle = handle) 16. └─base::.handleSimpleError(...) 17. └─purrr (local) h(simpleError(msg, call)) 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [15s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR