Running 'testthat.R'
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!
  The following spelling errors were found:
    WORD      FOUND IN
  fsssile   spell-check-fail.md:3
  All spelling errors found were copied to inst/WORDLIST assuming they were not spelling errors and will be ignored in the future. Please  review the above list and for each word that is an actual typo:
   - fix it in the source code.
   - remove it again manually from inst/WORDLIST to make sure it's not
     ignored in the future.
   Then, try committing again.
  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
  C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\precommit\tmp\RtmpCUeSCM\lintr-fail.R:1:7: style: Commas should always have a space after.
  sum(1,2)
        ^
  File `lintr-fail.R` is not lint free
  C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\precommit\tmp\RtmpCUeSCM\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-hook-roxygenize.R:7:3): roxygen runs are done if necessary ────
  extract_diff_root(".") not equal to add_trailing_linebreak(text2).
  2/2 mismatches
  x[1]: "x <- function()\r\n"
  y[1]: "x <- function()\n"
  
  x[2]: "  NULL\r\n"
  y[2]: "  NULL\n"
  Backtrace:
      █
   1. ├─withr::with_dir(...) test-hook-roxygenize.R:7:2
   2. │ └─base::force(code)
   3. └─testthat::expect_equal(extract_diff_root("."), add_trailing_linebreak(text2)) test-hook-roxygenize.R:31:6
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ]
  Error: Test failures
  Execution halted