Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RTransferEntropy)
  > 
  > test_check("RTransferEntropy")
  -- 1. Failure: transfer_entropy shannon is correctly specified (@test.transfer_e
  `res` not equal to 0.1052868.
  1/1 mismatches
  [1] 0.105 - 0.105 == 7.03e-06
  
  -- 2. Failure: transfer_entropy shannon is correctly specified (@test.transfer_e
  `res` not equal to 0.00187351.
  1/1 mismatches
  [1] 0.00182 - 0.00187 == -5.42e-05
  
  -- 3. Failure: transfer_entropy shannon is correctly specified (@test.transfer_e
  `coefs` not equal to `exp_coefs`.
  4/8 mismatches (average diff: 0.000328)
  [3] 0.10472 - 0.10515 == -0.000427
  [4] 0.00214 - 0.00236 == -0.000220
  [5] 0.00388 - 0.00430 == -0.000410
  [6] 0.00274 - 0.00249 ==  0.000254
  
  -- 4. Failure: transfer_entropy renyi is correctly specified (@test.transfer_ent
  `res` not equal to -0.074507.
  1/1 mismatches
  [1] -0.0725 - -0.0745 == 0.00204
  
  -- 5. Failure: transfer_entropy renyi is correctly specified (@test.transfer_ent
  `res` not equal to -0.174042.
  1/1 mismatches
  [1] -0.169 - -0.174 == 0.00457
  
  -- 6. Failure: transfer_entropy renyi is correctly specified (@test.transfer_ent
  `coefs` not equal to `exp_coefs`.
  6/8 mismatches (average diff: 0.104)
  [3]  0.0451 -  0.0434 ==  0.00165
  [4] -0.0370 - -0.0345 == -0.00250
  [5]  0.0280 -  0.0416 == -0.01359
  [6]  0.0428 -  0.0394 ==  0.00345
  [7]  0.0000 -  0.4000 == -0.40000
  [8]  0.8000 -  0.6000 ==  0.20000
  
  == testthat results  ===========================================================
  OK: 56 SKIPPED: 0 FAILED: 6
  1. Failure: transfer_entropy shannon is correctly specified (@test.transfer_entropy.R#36) 
  2. Failure: transfer_entropy shannon is correctly specified (@test.transfer_entropy.R#42) 
  3. Failure: transfer_entropy shannon is correctly specified (@test.transfer_entropy.R#77) 
  4. Failure: transfer_entropy renyi is correctly specified (@test.transfer_entropy.R#103) 
  5. Failure: transfer_entropy renyi is correctly specified (@test.transfer_entropy.R#109) 
  6. Failure: transfer_entropy renyi is correctly specified (@test.transfer_entropy.R#144) 
  
  Error: testthat unit tests failed
  Execution halted