Running 'spelling.R' [0s]
  Running 'testthat.R' [6s]
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: 133 SKIPPED: 0 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