Running 'testthat.R' [10s]
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.1052938.
  1/1 mismatches
  [1] 0.105 - 0.105 == -7e-06
  
  -- 2. Failure: transfer_entropy shannon is correctly specified (@test.transfer_e
  `res` not equal to 0.001819.
  1/1 mismatches
  [1] 0.00187 - 0.00182 == 5.45e-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.10515 - 0.10472 ==  0.000427
  [4] 0.00236 - 0.00214 ==  0.000220
  [5] 0.00430 - 0.00388 ==  0.000411
  [6] 0.00249 - 0.00274 == -0.000253
  
  -- 4. Failure: transfer_entropy renyi is correctly specified (@test.transfer_ent
  `res` not equal to -0.072464.
  1/1 mismatches
  [1] -0.0745 - -0.0725 == -0.00204
  
  -- 5. Failure: transfer_entropy renyi is correctly specified (@test.transfer_ent
  `res` not equal to -0.169475.
  1/1 mismatches
  [1] -0.174 - -0.169 == -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.0434 -  0.0451 == -0.00165
  [4] -0.0345 - -0.0370 ==  0.00250
  [5]  0.0416 -  0.0280 ==  0.01359
  [6]  0.0394 -  0.0428 == -0.00345
  [7]  0.4000 -  0.0000 ==  0.40000
  [8]  0.6000 -  0.8000 == -0.20000
  
  == testthat results  ===========================================================
  [ OK: 58 | SKIPPED: 0 | WARNINGS: 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#113) 
  5. Failure: transfer_entropy renyi is correctly specified (@test.transfer_entropy.R#119) 
  6. Failure: transfer_entropy renyi is correctly specified (@test.transfer_entropy.R#154) 
  
  Error: testthat unit tests failed
  Execution halted