* using log directory 'd:/Rcompile/CRANpkg/local/4.6/lacrmr.Rcheck' * using R Under development (unstable) (2025-04-16 r88149 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'lacrmr/DESCRIPTION' ... OK * this is package 'lacrmr' version '1.0.5' * 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 'lacrmr' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [3s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [32s] 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 ─── 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 ── 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR