- using R version 4.5.1 (2025-06-13)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘paws.common/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘paws.common’ version ‘0.8.6’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘paws.common’ can be installed ... [43s/43s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.sdk’
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] 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 ... [10s/21s] OK
- checking Rd files ... [0s/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 line endings in C/C++/Fortran sources/headers ... OK
- checking compiled code ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [12s/29s] ERROR
Running ‘testthat.R’ [12s/29s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(paws.common)
>
> test_check("paws.common")
Saving _problems/test_signer_bearer-37.R
Saving _problems/test_signer_bearer-110.R
[ FAIL 2 | WARN 0 | SKIP 14 | PASS 1096 ]
══ Skipped tests (14) ══════════════════════════════════════════════════════════
• (1): 'test_handlers_query.R:76:3'
• On CRAN (9): 'test_custom_rds.R:4:3', 'test_custom_rds.R:48:3',
'test_handlers_rest.R:20:3', 'test_net.R:3:3', 'test_net.R:18:3',
'test_net.R:35:3', 'test_net.R:52:3', 'test_net.R:69:3', 'test_net.R:85:3'
• skip (4): 'test_handlers_ec2query.R:380:3', 'test_handlers_jsonrpc.R:222:3',
'test_handlers_jsonrpc.R:458:3', 'test_handlers_restxml.R:664:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_signer_bearer.R:37:3'): bearer_token_env_provider returns credentials with token and expiration ──
Expected `creds$expiration > Sys.time()` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test_signer_bearer.R:110:3'): get_bearer_token_for_service handles service-specific expiration ──
Expected `creds$expiration > Sys.time()` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 14 | PASS 1096 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [7s/16s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '