CRAN Package Check Results for Maintainer ‘Judith Bourque <judith.bourque.2 at ulaval.ca>’

Last updated on 2025-10-17 02:51:02 CEST.

Package ERROR NOTE OK
locateip 1 9 3

Package locateip

Current CRAN status: ERROR: 1, NOTE: 9, OK: 3

Version: 0.1.2
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘locate.R’ 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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 0.1.2
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(locateip) > > test_check("locateip") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 8 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-locate.R:32:3'): locate ip works ─────────────────────────────── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(create_req(ip = ip, fields = fields, lang = lang, header = header, ..., format = format))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [ip-api.com]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-locate.R:32:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─locateip::locate_ip("132.203.167.188", tidy = TRUE) 5. └─locateip:::get_location(...) 6. └─httr2::req_perform(...) 7. └─httr2:::handle_resp(req, resp, error_call = error_call) 8. └─rlang::cnd_signal(resp) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 8 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc