Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rngtools)
  > 
  > test_check("rngtools")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-RNG.r:75:2): setRNG ───────────────────────────────────────────
  !identical(oldRNG, newRNG) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Single character: change RNG kind :
  Backtrace:
      █
   1. └─rngtools:::checker(...) test-RNG.r:75:8
   2.   └─testthat::expect_true(!identical(oldRNG, newRNG), msg("changes RNG")) test-RNG.r:60:16
  ── Failure (test-RNG.r:75:2): setRNG ───────────────────────────────────────────
  getRNG() not identical to `y`.
  Lengths differ: 626 is not 3
  Single character: change RNG kind :
  Backtrace:
      █
   1. └─rngtools:::checker(...) test-RNG.r:75:8
   2.   └─testthat::expect_identical(getRNG(), y, msg("RNG is correctly set")) test-RNG.r:61:4
  ── Failure (test-RNG.r:83:2): setRNG ───────────────────────────────────────────
  !identical(oldRNG, newRNG) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Two character strings: change RNG kind and normal kind :
  Backtrace:
      █
   1. └─rngtools:::checker(...) test-RNG.r:83:8
   2.   └─testthat::expect_true(!identical(oldRNG, newRNG), msg("changes RNG")) test-RNG.r:60:16
  ── Failure (test-RNG.r:83:2): setRNG ───────────────────────────────────────────
  getRNG() not identical to `y`.
  Lengths differ: 626 is not 3
  Two character strings: change RNG kind and normal kind :
  Backtrace:
      █
   1. └─rngtools:::checker(...) test-RNG.r:83:8
   2.   └─testthat::expect_identical(getRNG(), y, msg("RNG is correctly set")) test-RNG.r:61:4
  ── Failure (test-RNG.r:86:2): setRNG ───────────────────────────────────────────
  !identical(oldRNG, newRNG) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  2-long character vector: change RNG kind and normal kind :
  Backtrace:
      █
   1. └─rngtools:::checker(...) test-RNG.r:86:8
   2.   └─testthat::expect_true(!identical(oldRNG, newRNG), msg("changes RNG")) test-RNG.r:60:16
  ── Failure (test-RNG.r:86:2): setRNG ───────────────────────────────────────────
  getRNG() not identical to `y`.
  Lengths differ: 626 is not 3
  2-long character vector: change RNG kind and normal kind :
  Backtrace:
      █
   1. └─rngtools:::checker(...) test-RNG.r:86:8
   2.   └─testthat::expect_identical(getRNG(), y, msg("RNG is correctly set")) test-RNG.r:61:4
  
  [ FAIL 6 | WARN 12 | SKIP 0 | PASS 224 ]
  Error: Test failures
  Execution halted