CRAN Package Check Results for Package lacrmr

Last updated on 2025-03-13 15:51:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 3.97 38.27 42.24 OK
r-devel-linux-x86_64-debian-gcc 1.0.5 2.75 28.71 31.46 OK
r-devel-linux-x86_64-fedora-clang 1.0.5 75.60 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.5 78.41 NOTE
r-devel-macos-arm64 1.0.5 33.00 OK
r-devel-macos-x86_64 1.0.5 58.00 OK
r-devel-windows-x86_64 1.0.5 5.00 87.00 92.00 ERROR
r-patched-linux-x86_64 1.0.5 OK
r-release-linux-x86_64 1.0.5 2.87 36.34 39.21 OK
r-release-macos-arm64 1.0.5 38.00 OK
r-release-macos-x86_64 1.0.5 52.00 OK
r-release-windows-x86_64 1.0.5 6.00 59.00 65.00 OK
r-oldrel-macos-arm64 1.0.5 OK
r-oldrel-macos-x86_64 1.0.5 37.00 OK
r-oldrel-windows-x86_64 1.0.5 8.00 64.00 72.00 OK

Check Details

Version: 1.0.5
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘stringr’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.5
Check: tests
Result: ERROR Running 'testthat.R' [32s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(lacrmr) Loading required package: magrittr Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not > library(httptest) > library(mockery) > > test_check("lacrmr") [ FAIL 3 | WARN 0 | SKIP 4 | PASS 3 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-credentials.R:4:3', 'test-credentials.R:12:3', 'test-credentials.R:20:3', 'test-credentials.R:27:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cleaning.R:12:3'): List are removed from the pipeline report ─── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.lessannoyingcrm.com]: SSL/TLS connection timeout Backtrace: ▆ 1. ├─lacrmr::get_pipeline_report(...) at test-cleaning.R:12:3 2. │ ├─base::tryCatch(...) 3. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─lacrmr:::get_request(...) 5. │ └─httr::GET(...) 6. │ └─httr:::request_perform(req, hu$handle$handle) 7. │ ├─httr:::request_fetch(req$output, req$url, handle) 8. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 9. │ └─curl::curl_fetch_memory(url, handle = handle) 10. └─curl:::raise_libcurl_error(...) ── Error ('test-cleaning.R:30:3'): Lists are removed from the contacts information ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.lessannoyingcrm.com]: SSL/TLS connection timeout Backtrace: ▆ 1. ├─lacrmr::get_contact_information(...) at test-cleaning.R:30:3 2. │ ├─base::tryCatch(...) 3. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─lacrmr:::get_request(...) 5. │ └─httr::GET(...) 6. │ └─httr:::request_perform(req, hu$handle$handle) 7. │ ├─httr:::request_fetch(req$output, req$url, handle) 8. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 9. │ └─curl::curl_fetch_memory(url, handle = handle) 10. └─curl:::raise_libcurl_error(...) ── Failure ('test-error-warning-msg.R:10:3'): Invalid credentials ────────────── `get_account_information(user_code = "6A6E88", api_token = "57102821")` threw an error with unexpected message. Expected match: "Invalid user credentials" Actual message: "Timeout was reached [api.lessannoyingcrm.com]: SSL/TLS connection timeout" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-warning-msg.R:10:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─lacrmr::get_account_information(user_code = "6A6E88", api_token = "57102821") 7. │ ├─base::tryCatch(...) 8. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ └─lacrmr:::get_request(...) 10. │ └─httr::GET(...) 11. │ └─httr:::request_perform(req, hu$handle$handle) 12. │ ├─httr:::request_fetch(req$output, req$url, handle) 13. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 14. │ └─curl::curl_fetch_memory(url, handle = handle) 15. └─curl:::raise_libcurl_error(...) [ FAIL 3 | WARN 0 | SKIP 4 | PASS 3 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64