Running 'testthat.R' [23s/31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(precommit)
  > test_check("precommit")
  Styling  1  files:
   style-files-success.R v 
  ----------------------------------------
  Status	Count	Legend 
  v 	1	File unchanged.
  i 	0	File changed.
  x 	0	Styling threw an error.
  ----------------------------------------
  Styling  1  files:
   style-files-fail-changed.R i 
  ----------------------------------------
  Status	Count	Legend 
  v 	0	File unchanged.
  i 	1	File changed.
  x 	0	Styling threw an error.
  ----------------------------------------
  Please review the changes carefully!
  Styling  1  files:
   style-files-fail-parse.R Styling  1  files:
   style-files-cmd-success.R v 
  ----------------------------------------
  Status	Count	Legend 
  v 	1	File unchanged.
  i 	0	File changed.
  x 	0	Styling threw an error.
  ----------------------------------------
  Styling  1  files:
   style-files-cmd-fail.R i 
  ----------------------------------------
  Status	Count	Legend 
  v 	0	File unchanged.
  i 	1	File changed.
  x 	0	Styling threw an error.
  ----------------------------------------
  Please review the changes carefully!
  Not all packages used in your code are listed in DESCRIPTION. The following are missing in file `deps-in-desc-fail.R`: xzywdj.
  You can add them with `usethis::use_package()` or `usethis::use_dev_package()`.
  You should not call any function with `:::` unless it's a function you define yourself in this package. The following files have such function calls: deps-in-desc-dot3-fail.RFile `lintr-fail.R` is not lint free
  /tmp/RtmpZQTbaH/lintr-fail.R:1:7: style: Commas should always have a space after.
  sum(1,2)
        ^
  File `lintr-fail.R` is not lint free
  /tmp/RtmpZQTbaH/lintr-fail.R:1:7: style: Commas should always have a space after.
  sum(1,2)
        ^
  == Skipped tests ===============================================================
  * On CRAN (2)
  * not_conda() is TRUE (1)
  
  == Failed tests ================================================================
  -- Failure (test-all.R:65:1): (code run outside of `test_that()`) --------------
  Expected: No error. Found:
  Error in chartr("<U+2019>", "'", as.character(add_words)) : 
    'old' is longer than 'new'
  Calls: <Anonymous> -> <Anonymous> -> dictionary_load -> chartr
  Execution halted
  -- Failure (test-all.R:68:1): (code run outside of `test_that()`) --------------
  paste(contents, collapse = "\n") does not match "Spell check failed".
  Actual value: "Error in chartr("<U+2019>", "'", as.character(add_words)) : \n  'old' is longer than 'new'\nCalls: <Anonymous> -> <Anonymous> -> dictionary_load -> chartr\nExecution halted"
  -- Failure (test-all.R:71:1): (code run outside of `test_that()`) --------------
  Expected: No error. Found:
  Error in chartr("<U+2019>", "'", as.character(add_words)) : 
    'old' is longer than 'new'
  Calls: <Anonymous> -> <Anonymous> -> dictionary_load -> chartr
  Execution halted
  -- Failure (test-all.R:79:1): (code run outside of `test_that()`) --------------
  Expected: No error. Found:
  Error in chartr("<U+2019>", "'", as.character(add_words)) : 
    'old' is longer than 'new'
  Calls: <Anonymous> -> <Anonymous> -> dictionary_load -> chartr
  Execution halted
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 55 ]
  Error: Test failures
  Execution halted