* using log directory 'd:/Rcompile/CRANpkg/local/4.5/receptiviti.Rcheck' * using R Under development (unstable) (2024-06-03 r86679 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'receptiviti/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'receptiviti' version '0.1.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 'receptiviti' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [0s] 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 examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [36s] ERROR Running 'testthat.R' [36s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(receptiviti) > > test_check("receptiviti") Status: ERROR Message: URL is unreachable NULL NULL [ FAIL 3 | WARN 0 | SKIP 2 | PASS 8 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • no API key (2): 'test-receptiviti.R:31:1', 'test-receptiviti_status.R:19:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-receptiviti.R:12:3'): invalid inputs are caught ──────────────── Error: URL is unreachable Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-receptiviti.R:12:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─receptiviti::receptiviti("", key = 123, secret = 123) ── Failure ('test-receptiviti_status.R:11:3'): failures works ────────────────── `invalid_message` (`actual`) not identical to "Message: 404" (`expected`). `actual`: "Message: URL is unreachable" `expected`: "Message: 404" ── Failure ('test-receptiviti_status.R:12:3'): failures works ────────────────── grepl(...) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 3 | WARN 0 | SKIP 2 | PASS 8 ] Error: Test failures Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR