CRAN Package Check Results for Package styler

Last updated on 2019-04-22 01:48:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 6.50 173.84 180.34 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.0 4.55 131.37 135.92 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 200.43 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 194.15 OK
r-devel-windows-ix86+x86_64 1.1.0 16.00 186.00 202.00 OK
r-patched-linux-x86_64 1.1.0 5.72 173.66 179.38 OK
r-patched-solaris-x86 1.1.0 252.20 OK
r-release-linux-x86_64 1.1.0 4.86 186.93 191.79 OK
r-release-windows-ix86+x86_64 1.1.0 10.00 254.00 264.00 OK
r-release-osx-x86_64 1.1.0 OK
r-oldrel-windows-ix86+x86_64 1.1.0 7.00 281.00 288.00 OK
r-oldrel-osx-x86_64 1.1.0 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [115s/124s]
    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
Flavor: r-devel-linux-x86_64-debian-clang