[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Test suite issues in tibble



Hi Kirill,

I'm trying to update the Debian package of tibble.  When running the
test suite I get:

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-zzz-trunc-mat.R:15:3): interface of print() identical to trunc_mat() ──
`print_arg_names_without` (`actual`) not equal to `trunc_mat_arg_names_without` (`expected`).

`actual`:   "x" "n" "max_extra_cols" "max_footer_lines"
`expected`: "x" "n" "n_extra"                          
── Failure (test-zzz-trunc-mat.R:51:3): trunc_mat output matches known output ──
Results have changed from known value recorded in 'zzz-output/trunc_mat/iris-3-5.txt'.

     old                        | new                                      
 [4] "#   ×"                    | "#   ×"                    [4]           
 [5] "#   5"                    | "#   5"                    [5]           
 [6] "<body created by pillar>" | "<body created by pillar>" [6]           
 [7] "# …"                      - "# … with"                 [7]           
 [8] "#   with"                 -                                          
 [9] "#   147"                  | "#   147"                  [8]           
[10] "#   more"                 | "#   more"                 [9]           
[11] "#   rows,"                | "#   rows,"                [10]          
[12] "#   and"                  | "#   and"                  [11]          
[13] "#   5"                    | "#   5"                    [12]          
 ... ...                          ...                        and 7 more ...
Backtrace:
    █
 1. └─tibble:::expect_output_file_rel(...)
 2.   ├─withr::with_options(...) testthat/helper-zzz.R:171:2
 3.   │ └─base::force(code)
 4.   ├─base::suppressWarnings(...)
 5.   │ └─base::withCallingHandlers(...)
 6.   └─testthat::expect_output_file(x, output_file(filename), update = TRUE)

[ FAIL 2 | WARN 0 | SKIP 132 | PASS 1336 ]
Error: Test failures


Any idea how to fix this?

Kind regards

       Andreas.


-- 
http://fam-tille.de


Reply to: