* using log directory 'd:/Rcompile/CRANpkg/local/3.5/RTransferEntropy.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'RTransferEntropy/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RTransferEntropy' version '0.2.12' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'RTransferEntropy' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * loading checks for arch 'i386' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * loading checks for arch 'x64' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... 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 ... [4s] OK * checking Rd files ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... [18s] OK ** running examples for arch 'x64' ... [18s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [9s] ERROR Running 'testthat.R' [8s] 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 ** running tests for arch 'x64' ... [7s] ERROR 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.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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [357s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs