CRAN Package Check Results for Package locateip

Last updated on 2024-05-02 04:00:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 5.11 41.22 46.33 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 3.25 31.64 34.89 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 58.26 OK
r-devel-linux-x86_64-fedora-gcc 0.1.2 55.13 OK
r-devel-windows-x86_64 0.1.2 6.00 52.00 58.00 ERROR
r-patched-linux-x86_64 0.1.2 2.69 40.27 42.96 OK
r-release-linux-x86_64 0.1.2 2.70 39.31 42.01 OK
r-release-macos-arm64 0.1.2 25.00 OK
r-release-windows-x86_64 0.1.2 6.00 52.00 58.00 ERROR
r-oldrel-macos-arm64 0.1.2 23.00 OK
r-oldrel-macos-x86_64 0.1.2 38.00 OK
r-oldrel-windows-x86_64 0.1.2 6.00 54.00 60.00 ERROR

Check Details

Version: 0.1.2
Check: examples
Result: ERROR Running examples in 'locateip-Ex.R' failed The error most likely occurred in: > ### Name: locate_ip > ### Title: Locate an IP adress > ### Aliases: locate_ip > > ### ** Examples > > locate_ip("132.203.167.188") Error in `httr2::req_perform()`: ! HTTP 403 Forbidden. Backtrace: ▆ 1. └─locateip::locate_ip("132.203.167.188") 2. └─locateip:::get_location(...) 3. └─httr2::req_perform(...) 4. └─httr2:::handle_resp(req, resp, error_call = error_call) 5. └─httr2:::resp_abort(resp, req, body, call = error_call) 6. └─rlang::abort(...) Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.1.2
Check: tests
Result: ERROR Running 'testthat.R' [2s] 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_http_403/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(create_req(ip = ip, fields = fields, lang = lang, header = header, ..., format = format))`: HTTP 403 Forbidden. 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. └─httr2:::resp_abort(resp, req, body, call = error_call) 9. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 8 ] Error: Test failures Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64