* using log directory 'd:/Rcompile/CRANpkg/local/3.5/wyz.code.metaTesting.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 'wyz.code.metaTesting/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'wyz.code.metaTesting' version '1.1.4' * 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 'wyz.code.metaTesting' 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 ... [9s] NOTE guardExecution: no visible binding for global variable 'errorCondition' guardExecution: no visible binding for global variable 'warningCondition' offensiveProgrammingWrapFunction: no visible global function definition for 'str2lang' opwf: no visible global function definition for 'str2lang' Undefined global functions or variables: errorCondition str2lang warningCondition * 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 ... ERROR Running examples in 'wyz.code.metaTesting-Ex.R' failed The error most likely occurred in: > ### Name: generateData > ### Title: Generate Data > ### Aliases: generateData > ### Keywords: programation utilities > > ### ** Examples > > # typical example > op_sum <- opwf(sum, c('...', 'removeNA_b_1')) Error in str2lang(bd) : could not find function "str2lang" Calls: opwf Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'testthat.R' [8s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > > library("wyz.code.metaTesting") > test_check("wyz.code.metaTesting") -- 1. Error: (unknown) (@test_exploreSignatures.R#3) -------------------------- could not find function "str2lang" Backtrace: 1. wyz.code.metaTesting::opwf(sum, c("...", "removeNA_b_1")) -- 2. Error: (unknown) (@test_generateData.R#3) ------------------------------- could not find function "str2lang" Backtrace: 1. wyz.code.metaTesting::opwf(sum, c("...", "removeNA_b_1")) -- 3. Error: guardExecution - coverage (@test_guardExecution.R#8) ------------- object 'errorCondition' not found Backtrace: 1. testthat::expect_false(...) 4. wyz.code.metaTesting:::guardExecution(...) 5. wyz.code.metaTesting:::brv(FALSE, errorCondition, "", as.character(rv)) -- 4. Failure: opfw - good cases (@test_opwf.R#38) ---------------------------- formals(op_cos) has length 0, not length 1. -- 5. Failure: opfw - good cases (@test_opwf.R#39) ---------------------------- `op_cos` has type `list`, not `closure`. -- 6. Failure: opfw - good cases (@test_opwf.R#43) ---------------------------- formals(op_sum) has length 0, not length 2. -- 7. Failure: opfw - good cases (@test_opwf.R#44) ---------------------------- `op_sum` has type `list`, not `closure`. -- 8. Failure: opfw - good cases (@test_opwf.R#48) ---------------------------- formals(op_append) has length 0, not length 3. -- 9. Failure: opfw - good cases (@test_opwf.R#49) ---------------------------- `op_append` has type `list`, not `closure`. -- 10. Failure: opfw - good cases (@test_opwf.R#53) --------------------------- formals(op_myfun) has length 0, not length 4. -- 11. Failure: opfw - good cases (@test_opwf.R#54) --------------------------- `op_myfun` has type `list`, not `closure`. -- 12. Failure: opfw - coverage (@test_opwf.R#69) ---------------------------- `createWrapperFunction(myfun, c("x_d", "y_i", "z_c", "t_d"))` produced no output -- 13. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#13) ---------- tm[1] not equal to er[1]. 1/1 mismatches x[1]: "length ϟ(ϟ x ϟ)ϟ " y[1]: "length(anotherX_d_1)" -- 14. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#14) ---------- tm[2] not equal to er[2]. 1/1 mismatches x[1]: "x ϟ(ϟ x ϟ)ϟ " y[1]: "x(anotherX_d_1)" -- 15. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#15) ---------- tm[3] not equal to er[3]. 1/1 mismatches x[1]: "f ϟ(ϟ x ϟ(ϟ x ϟ)ϟ ϟ)ϟ " y[1]: "f(x(anotherX_d_1))" -- 16. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#20) ---------- patchArgumentInCode("x$x", "x", "x_d") not equal to "x$x". 1/1 mismatches x[1]: "x ϟ$ϟ x" y[1]: "x$x" -- 17. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#21) ---------- patchArgumentInCode("x.x", "x", "x_d") not equal to "x.x". 1/1 mismatches x[1]: "x ϟ.ϟ x" y[1]: "x.x" -- 18. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#22) ---------- patchArgumentInCode("x@x", "x", "x_d") not equal to "x@x". 1/1 mismatches x[1]: "x ϟ@ϟ x" y[1]: "x@x" -- 19. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#23) ---------- patchArgumentInCode("y:x", "x", "x_d") not equal to "y:x_d". 1/1 mismatches x[1]: "y ϟ:ϟ x" y[1]: "y:x_d" -- 20. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#24) ---------- patchArgumentInCode("y::x", "x", "x_d") not equal to "y::x". 1/1 mismatches x[1]: "y ϟ::ϟ x" y[1]: "y::x" -- 21. Failure: patchArgumentInCode (@test_patchArgumentInCode.R#25) ---------- patchArgumentInCode("y:::x", "x", "x_d") not equal to "y:::x". 1/1 mismatches x[1]: "y ϟ:::ϟ x" y[1]: "y:::x" -- 22. Error: (unknown) (@test_testFunction.R#42) ----------------------------- could not find function "str2lang" Backtrace: 1. wyz.code.metaTesting::opwf(sum, c("...", "removeNA_b_1")) == testthat results =========================================================== [ OK: 404 | SKIPPED: 0 | WARNINGS: 7 | FAILED: 22 ] 1. Error: (unknown) (@test_exploreSignatures.R#3) 2. Error: (unknown) (@test_generateData.R#3) 3. Error: guardExecution - coverage (@test_guardExecution.R#8) 4. Failure: opfw - good cases (@test_opwf.R#38) 5. Failure: opfw - good cases (@test_opwf.R#39) 6. Failure: opfw - good cases (@test_opwf.R#43) 7. Failure: opfw - good cases (@test_opwf.R#44) 8. Failure: opfw - good cases (@test_opwf.R#48) 9. Failure: opfw - good cases (@test_opwf.R#49) 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 ... [2s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 1 NOTE