* using log directory 'd:/Rcompile/CRANpkg/local/3.5/effectsize.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 'effectsize/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'effectsize' version '0.3.0' * 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 'effectsize' 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 * 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 ... [8s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [4s] ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(effectsize) > > test_check("effectsize") -- 1. Failure: standardize.data.frame, NAs (@test-standardize.R#43) ----------- head(x$Sepal.Length) not equal to c(-0.9163, -1.1588, -1.4013, -1.5226, -1.0376, -0.5526). 6/6 mismatches (average diff: 0.0186) [1] -0.899 - -0.916 == 0.0176 [2] -1.140 - -1.159 == 0.0189 [3] -1.381 - -1.401 == 0.0201 [4] -1.502 - -1.523 == 0.0208 [5] -1.019 - -1.038 == 0.0183 [6] -0.537 - -0.553 == 0.0158 -- 2. Failure: standardize.data.frame, NAs (@test-standardize.R#44) ----------- head(x$Sepal.Width) not equal to c(0.9965, -0.1377, 0.316, 0.0891, 1.2233, 1.9038). 3/6 mismatches (average diff: 0.0261) [1] 1.02 - 0.997 == 0.0203 [5] 1.25 - 1.223 == 0.0238 [6] 1.94 - 1.904 == 0.0343 -- 3. Failure: standardize.data.frame, NAs (@test-standardize.R#48) ----------- head(x$Sepal.Length) not equal to c(-0.4582, -0.5794, -0.7007, -0.7613, -0.5188, -0.2763). 2/6 mismatches (average diff: 0.0103) [3] -0.691 - -0.701 == 0.0101 [4] -0.751 - -0.761 == 0.0104 -- 4. Failure: standardize.data.frame, NAs (@test-standardize.R#49) ----------- head(x$Sepal.Width) not equal to c(0.4982, -0.0689, 0.158, 0.0446, 0.6116, 0.9519). 3/6 mismatches (average diff: 0.0131) [1] 0.508 - 0.498 == 0.0102 [5] 0.624 - 0.612 == 0.0119 [6] 0.969 - 0.952 == 0.0172 -- 5. Failure: standardize.data.frame, NAs (@test-standardize.R#53) ----------- head(x$Sepal.Length) not equal to c(0.2086, -0.3681, -0.9447, -1.233, -0.0797, 1.0735). 6/6 mismatches (average diff: 0.0862) [1] 0.29414 - 0.2086 == 0.0855 [2] -0.28162 - -0.3681 == 0.0865 [3] -0.85739 - -0.9447 == 0.0873 [4] -1.14527 - -1.2330 == 0.0877 [5] 0.00626 - -0.0797 == 0.0860 [6] 1.15779 - 1.0735 == 0.0843 -- 6. Failure: standardize.data.frame, NAs (@test-standardize.R#54) ----------- head(x$Sepal.Width) not equal to c(0.1441, -1.1586, -0.6375, -0.8981, 0.4047, 1.1863). 6/6 mismatches (average diff: 0.0468) [1] 0.188 - 0.144 == 0.0444 [2] -1.104 - -1.159 == 0.0547 [3] -0.587 - -0.637 == 0.0505 [4] -0.845 - -0.898 == 0.0527 [5] 0.447 - 0.405 == 0.0423 [6] 1.222 - 1.186 == 0.0361 -- 7. Failure: standardize.data.frame, apend (@test-standardize.R#69) --------- head(x$Sepal.Length_z) not equal to c(-0.9163, -1.1588, -1.4013, -1.5226, -1.0376, -0.5526). 6/6 mismatches (average diff: 0.0186) [1] -0.899 - -0.916 == 0.0176 [2] -1.140 - -1.159 == 0.0189 [3] -1.381 - -1.401 == 0.0201 [4] -1.502 - -1.523 == 0.0208 [5] -1.019 - -1.038 == 0.0183 [6] -0.537 - -0.553 == 0.0158 -- 8. Failure: standardize.data.frame, apend (@test-standardize.R#70) --------- head(x$Sepal.Width_z) not equal to c(0.9965, -0.1377, 0.316, 0.0891, 1.2233, 1.9038). 3/6 mismatches (average diff: 0.0261) [1] 1.02 - 0.997 == 0.0203 [5] 1.25 - 1.223 == 0.0238 [6] 1.94 - 1.904 == 0.0343 -- 9. Failure: standardize.data.frame, apend (@test-standardize.R#74) --------- head(x$Sepal.Length_z) not equal to c(-0.4582, -0.5794, -0.7007, -0.7613, -0.5188, -0.2763). 2/6 mismatches (average diff: 0.0103) [3] -0.691 - -0.701 == 0.0101 [4] -0.751 - -0.761 == 0.0104 -- 10. Failure: standardize.data.frame, apend (@test-standardize.R#75) -------- head(x$Sepal.Width_z) not equal to c(0.4982, -0.0689, 0.158, 0.0446, 0.6116, 0.9519). 3/6 mismatches (average diff: 0.0131) [1] 0.508 - 0.498 == 0.0102 [5] 0.624 - 0.612 == 0.0119 [6] 0.969 - 0.952 == 0.0172 -- 11. Failure: standardize.data.frame, apend (@test-standardize.R#79) -------- head(x$Sepal.Length_z) not equal to c(0.2086, -0.3681, -0.9447, -1.233, -0.0797, 1.0735). 6/6 mismatches (average diff: 0.0862) [1] 0.29414 - 0.2086 == 0.0855 [2] -0.28162 - -0.3681 == 0.0865 [3] -0.85739 - -0.9447 == 0.0873 [4] -1.14527 - -1.2330 == 0.0877 [5] 0.00626 - -0.0797 == 0.0860 [6] 1.15779 - 1.0735 == 0.0843 -- 12. Failure: standardize.data.frame, apend (@test-standardize.R#80) -------- head(x$Sepal.Width_z) not equal to c(0.1441, -1.1586, -0.6375, -0.8981, 0.4047, 1.1863). 6/6 mismatches (average diff: 0.0468) [1] 0.188 - 0.144 == 0.0444 [2] -1.104 - -1.159 == 0.0547 [3] -0.587 - -0.637 == 0.0505 [4] -0.845 - -0.898 == 0.0527 [5] 0.447 - 0.405 == 0.0423 [6] 1.222 - 1.186 == 0.0361 == testthat results =========================================================== [ OK: 167 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 12 ] 1. Failure: standardize.data.frame, NAs (@test-standardize.R#43) 2. Failure: standardize.data.frame, NAs (@test-standardize.R#44) 3. Failure: standardize.data.frame, NAs (@test-standardize.R#48) 4. Failure: standardize.data.frame, NAs (@test-standardize.R#49) 5. Failure: standardize.data.frame, NAs (@test-standardize.R#53) 6. Failure: standardize.data.frame, NAs (@test-standardize.R#54) 7. Failure: standardize.data.frame, apend (@test-standardize.R#69) 8. Failure: standardize.data.frame, apend (@test-standardize.R#70) 9. Failure: standardize.data.frame, apend (@test-standardize.R#74) 1. ... 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 ... [16s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR