CRAN Package Check Results for Package styler

Last updated on 2019-05-01 01:52:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 6.61 174.20 180.81 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.0 5.43 132.53 137.96 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 206.70 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 203.72 OK
r-patched-linux-x86_64 1.1.0 5.75 169.06 174.81 OK
r-patched-solaris-x86 1.1.0 247.60 OK
r-release-linux-x86_64 1.1.0 5.95 174.43 180.38 OK
r-release-windows-ix86+x86_64 1.1.0 21.00 245.00 266.00 OK
r-release-osx-x86_64 1.1.0 OK
r-oldrel-windows-ix86+x86_64 1.1.0 16.00 273.00 289.00 OK
r-oldrel-osx-x86_64 1.1.0 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [116s/127s]
    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 WARNINGS: 0 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