Running 'testthat.R' [115s/129s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(styler)
  > 
  > test_check("styler")
  1 + 1
  nw
  -- 1. Failure: line breaks involing curly brackets (@test-line_breaks_and_other.
  `test_collection("line_breaks_and_other", "curly", transformer = style_text)` generated warnings:
  * curly-in.R was different from curly-out.R
  
  -- 2. Failure: messages (via cat()) of style_file are correct (@test-public_api.
  capture.output(style_file(temp_path, scope = "tokens")) has changed from known value recorded in '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/styler.Rcheck/tests/testthat/public-api/xyzdir-dirty/dirty-reference-with-scope-tokens'.
  6/9 mismatches
  x[2]: " dirty-sample-with-scope-tokens.R i "
  y[2]: " dirty-sample-with-scope-tokens.R <U+2139> "
  
  x[3]: "----------------------------------------"
  y[3]: "<U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>"
  
  x[5]: "v \t0\tFile unchanged."
  y[5]: "<U+2714> \t0\tFile unchanged."
  
  x[6]: "i \t1\tFile changed."
  y[6]: "<U+2139> \t1\tFile changed."
  
  x[7]: "x \t0\tStyling threw an error."
  y[7]: "<U+2716> \t0\tStyling threw an error."
  
  -- 3. Failure: messages (via cat()) of style_file are correct (@test-public_api.
  capture.output(style_file(temp_path, scope = "tokens")) has changed from known value recorded in '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/styler.Rcheck/tests/testthat/public-api/xyzdir-dirty/clean-reference-with-scope-tokens'.
  6/8 mismatches
  x[2]: " clean-sample-with-scope-tokens.R v "
  y[2]: " clean-sample-with-scope-tokens.R <U+2714> "
  
  x[3]: "----------------------------------------"
  y[3]: "<U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>"
  
  x[5]: "v \t1\tFile unchanged."
  y[5]: "<U+2714> \t1\tFile unchanged."
  
  x[6]: "i \t0\tFile changed."
  y[6]: "<U+2139> \t0\tFile changed."
  
  x[7]: "x \t0\tStyling threw an error."
  y[7]: "<U+2716> \t0\tStyling threw an error."
  
  -- 4. Failure: messages (via cat()) of style_file are correct (@test-public_api.
  capture.output(style_file(temp_path, scope = "spaces")) has changed from known value recorded in '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/styler.Rcheck/tests/testthat/public-api/xyzdir-dirty/dirty-reference-with-scope-spaces'.
  6/8 mismatches
  x[2]: " dirty-sample-with-scope-spaces.R i "
  y[2]: " dirty-sample-with-scope-spaces.R <U+2139> "
  
  x[3]: "----------------------------------------"
  y[3]: "<U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>"
  
  x[5]: "v \t0\tFile unchanged."
  y[5]: "<U+2714> \t0\tFile unchanged."
  
  x[6]: "i \t1\tFile changed."
  y[6]: "<U+2139> \t1\tFile changed."
  
  x[7]: "x \t0\tStyling threw an error."
  y[7]: "<U+2716> \t0\tStyling threw an error."
  
  == testthat results  ===========================================================
  OK: 210 SKIPPED: 2 FAILED: 4
  1. Failure: line breaks involing curly brackets (@test-line_breaks_and_other.R#4) 
  2. Failure: messages (via cat()) of style_file are correct (@test-public_api.R#75) 
  3. Failure: messages (via cat()) of style_file are correct (@test-public_api.R#83) 
  4. Failure: messages (via cat()) of style_file are correct (@test-public_api.R#91) 
  
  Error: testthat unit tests failed
  Execution halted