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

Last updated on 2024-05-01 12:15:06 CEST.

Package ERROR OK
locateip 3 9

Package locateip

Current CRAN status: ERROR: 3, OK: 9

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