• using R Under development (unstable) (2025-11-24 r89059)
  • using platform: aarch64-apple-darwin23
  • R was compiled by     Apple clang version 17.0.0 (clang-1700.3.19.1)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Sequoia 15.7.1
  • using session charset: UTF-8
  • checking for file ‘aws.comprehend/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘aws.comprehend’ version ‘0.2.1’
  • 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 ‘aws.comprehend’ can be installed ... [1s/2s] OK See the install log for details.
  • 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/0s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the package can be unloaded cleanly ... [0s/0s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] 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 ... [1s/1s] OK
  • checking Rd files ... [0s/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 ... [0s/0s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [1s/1s] ERROR   Running ‘testthat.R’ [1s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output:   > library(testthat)   > library(aws.comprehend)   >   > test_check("aws.comprehend")   Saving _problems/test-detect_entities-10.R   Saving _problems/test-detect_entities-26.R   Saving _problems/test-detect_language-9.R   Saving _problems/test-detect_language-24.R   Saving _problems/test-detect_medical_entities-11.R   Saving _problems/test-detect_medical_entities-36.R   Saving _problems/test-detect_medical_phi-10.R   Saving _problems/test-detect_phrases-10.R   Saving _problems/test-detect_phrases-26.R   Saving _problems/test-detect_sentiment-10.R   Saving _problems/test-detect_sentiment-26.R   Saving _problems/test-detect_syntax-10.R   Saving _problems/test-detect_syntax-31.R   [ FAIL 13 | WARN 0 | SKIP 0 | PASS 10 ]      ══ Failed tests ════════════════════════════════════════════════════════════════   ── Error ('test-detect_entities.R:6:3'): detect_entities works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_entities.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_entities.R:22:3'): detect_entities works on character vector ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_entities.R:22:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_language.R:6:3'): detect_language works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(comprehendHTTP = mock_comprehendHTTP, detect_language(text = body$single_language$Text)) at test-detect_language.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_language.R:20:3'): detect_language works on character vector ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_language.R:20:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_medical_entities.R:6:3'): detect_medical_entities V1 works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_medical_entities.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_medical_entities.R:31:3'): detect_medical_entities V2 works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_medical_entities.R:31:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_medical_phi.R:6:3'): detect_medical_phi works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_medical_phi.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_phrases.R:6:3'): detect_phrases works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_phrases.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_phrases.R:22:3'): detect_phrases works on character vector ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_phrases.R:22:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_sentiment.R:6:3'): detect_sentiment works on single string ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_sentiment.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_sentiment.R:22:3'): detect_sentiment works on character vector ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_sentiment.R:22:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_syntax.R:6:3'): detect_syntax works on single string ────   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_syntax.R:6:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)   ── Error ('test-detect_syntax.R:27:3'): detect_syntax works on character vector ──   <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>   Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.   ℹ Please use `with_mocked_bindings()` instead.   Backtrace:       ▆    1. └─testthat::with_mock(...) at test-detect_syntax.R:27:3    2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")    3. └─lifecycle:::deprecate_stop0(msg)    4. └─rlang::cnd_signal(...)      [ FAIL 13 | WARN 0 | SKIP 0 | PASS 10 ]   Error:   ! Test failures.   Execution halted
  • checking PDF version of manual ... [1s/1s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '