* using log directory 'd:/Rcompile/CRANpkg/local/3.4/shinyEventLogger.Rcheck' * using R version 3.4.4 (2018-03-15) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'shinyEventLogger/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'shinyEventLogger' version '0.1.1' * 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 'shinyEventLogger' 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 ... [6s] 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 ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [6s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [5s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(shinyEventLogger) > > test_check("shinyEventLogger") -- 1. Failure: creating log entries (@test_create_log_entry.R#13) ------------- shinyEventLogger:::create_log_entry(...) not identical to list(header = "|#23|NEWTYPE|Simple event|STARTED|", body = "|#23|PARAMS|list(a = 1)\n"). Component "body": 1 string mismatch -- 2. Failure: creating log entries (@test_create_log_entry.R#27) ------------- shinyEventLogger:::create_log_entry(...) not identical to list(header = "|#23|NEWTYPE|Multiple-line event|STARTED|", body = "|#23|PARAMS|list(a = 1)\n|#23|First line\n|#23|Second line\n"). Component "body": 1 string mismatch -- 3. Failure: logging events (@test_log_event.R#8) --------------------------- log_event() not identical to list(counter = 1, entry = "|#1|EVENT||FIRED|\n|#1|PARAMS|list(session_1 = 1, global_1 = 1)\n"). Component "entry": 1 string mismatch -- 4. Failure: logging events (@test_log_event.R#8) --------------------------- log_event() not identical to list(counter = 1, entry = "|#1|EVENT||FIRED|\n|#1|PARAMS|list(global_1 = 1)\n"). Component "entry": 1 string mismatch -- 5. Failure: logging events (@test_log_event.R#8) --------------------------- log_event(...) not identical to list(...). Component "entry": 1 string mismatch -- 6. Failure: logging output with different params (@test_log_output.R#63) --- `log_output(...)` does not match "|#2|PARAMS|list(a = 1, b = 2)". Actual value: "|#2|PARAMS|structure(list(a = 1, b = 2), .Names = c("a", "b"))\n|#2|'data.frame':\t32 obs. of 2 variables:\n|#2| $ mpg: num 21 21 22.8 21.4 18.7 18.1 14.3 24.4 22.8 19.2 ...\n|#2| $ cyl: num 6 6 4 6 8 6 8 4 4 6 ..." -- 7. Failure: logging multiline output events (@test_log_value.R#3) ---------- log_value(...) not identical to list(counter = 3, entry = "|#3|NEWTYPE|env$a|NEWSTATUS|\n|#3|PARAMS|list(a = 1, b = 2)\n|#3|23\n"). Component "entry": 1 string mismatch == testthat results =========================================================== OK: 129 SKIPPED: 0 WARNINGS: 4 FAILED: 7 1. Failure: creating log entries (@test_create_log_entry.R#13) 2. Failure: creating log entries (@test_create_log_entry.R#27) 3. Failure: logging events (@test_log_event.R#8) 4. Failure: logging events (@test_log_event.R#8) 5. Failure: logging events (@test_log_event.R#8) 6. Failure: logging output with different params (@test_log_output.R#63) 7. Failure: logging multiline output events (@test_log_value.R#3) 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 ... [4s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR