Running ‘testthat.R’ [17s/27s]
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(asympDiag)
  > 
  > test_check("asympDiag")
  Saving _problems/test-envelope-193.R
  Saving _problems/test-envelope-194.R
  Saving _problems/test-envelope-195.R
  Saving _problems/test-envelope-204.R
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 164 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-envelope.R:63:3', 'test-envelope.R:70:3',
    'test-envelope.R:79:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-envelope.R:193:3'): envelope_residual extracts the correct method ──
  Expected `envelope_residual(fit_bin)(fit_bin)` to equal `will_resid(fit_bin)`.
  Differences:
    `actual`: 1.2649 1.2649 2.5298 2.5298 NaN
  `expected`: 1.2671 1.2671 2.5478 2.5478 NaN
  
  ── Failure ('test-envelope.R:194:3'): envelope_residual extracts the correct method ──
  Expected `envelope_residual(fit_poi)(fit_poi)` to equal `will_resid(fit_poi)`.
  Differences:
    `actual`: 1.10987 0.13606 0.51902 0.49545 1.56826 1.67012
  `expected`: 1.18819 0.13528 0.51187 0.48862 1.56329 1.67869
  
  ── Failure ('test-envelope.R:195:3'): envelope_residual extracts the correct method ──
  Expected `envelope_residual(fit_poi)(fit_bin)` to equal `will_resid(fit_bin)`.
  Differences:
    `actual`: 1.2649 1.2649 2.5298 2.5298 NaN
  `expected`: 1.2671 1.2671 2.5478 2.5478 NaN
  
  ── Failure ('test-envelope.R:204:3'): can manipulate ... with envelope_residual ──
  Expected `res_fn(fit_poi)` to throw a error.
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 164 ]
  Error:
  ! Test failures.
  Execution halted