Running ‘testthat.R’ [4s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(rlistings)
  Loading required package: formatters
  
  Attaching package: 'formatters'
  
  The following object is masked from 'package:base':
  
      %||%
  
  Loading required package: tibble
  > library(testthat)
  > 
  > testthat::test_check("rlistings", reporter = "check")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  sorting incoming data by key columns
  [ FAIL 23 | WARN 0 | SKIP 0 | PASS 3 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-export.R:6:5'): Listing print correctly ────────────────────────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-export.R:5:3
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─formatters::export_as_txt(lsting, file = NULL) at test-export.R:6:5
   10.   └─formatters::paginate_to_mpfs(...)
   11.     ├─formatters::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
   12.     └─rlistings::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
   13.       └─rlistings (local) .local(obj, indent_rownames)
   14.         ├─formatters::MatrixPrintForm(...)
   15.         │ └─base::structure(...)
   16.         ├─formatters::make_row_df(obj)
   17.         └─rlistings::make_row_df(obj)
   18.           └─rlistings (local) .local(...)
   19.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   20.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-export.R:22:3'): key columns repeat with export_as_txt ─────────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-export.R:22:3
    2. │ └─base::withCallingHandlers(...)
    3. └─formatters::export_as_txt(lsting, lpp = 4, verbose = TRUE, page_break = "\n")
    4.   └─formatters::paginate_to_mpfs(...)
    5.     ├─formatters::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
    6.     └─rlistings::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
    7.       └─rlistings (local) .local(obj, indent_rownames)
    8.         ├─formatters::MatrixPrintForm(...)
    9.         │ └─base::structure(...)
   10.         ├─formatters::make_row_df(obj)
   11.         └─rlistings::make_row_df(obj)
   12.           └─rlistings (local) .local(...)
   13.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   14.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-export.R:36:3'): key columns repeat with pagination with export_as_txt ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-export.R:36:3
    2. │ └─base::withCallingHandlers(...)
    3. └─formatters::export_as_txt(...)
    4.   └─formatters::paginate_to_mpfs(...)
    5.     ├─formatters::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
    6.     └─rlistings::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
    7.       └─rlistings (local) .local(obj, indent_rownames)
    8.         ├─formatters::MatrixPrintForm(...)
    9.         │ └─base::structure(...)
   10.         ├─formatters::make_row_df(obj)
   11.         └─rlistings::make_row_df(obj)
   12.           └─rlistings (local) .local(...)
   13.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   14.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-export.R:46:3'): Listing print correctly, with paginate ────────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─formatters::export_as_txt(...) at test-export.R:46:3
    2.   └─formatters::paginate_to_mpfs(...)
    3.     ├─formatters::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
    4.     └─rlistings::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
    5.       └─rlistings (local) .local(obj, indent_rownames)
    6.         ├─formatters::MatrixPrintForm(...)
    7.         │ └─base::structure(...)
    8.         ├─formatters::make_row_df(obj)
    9.         └─rlistings::make_row_df(obj)
   10.           └─rlistings (local) .local(...)
   11.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   12.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-listings.R:8:3'): Column labels are the same ───────────────────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─formatters::matrix_form(lsting) at test-listings.R:8:3
    2. └─rlistings::matrix_form(lsting)
    3.   └─rlistings (local) .local(obj, indent_rownames)
    4.     ├─formatters::MatrixPrintForm(...)
    5.     │ └─base::structure(...)
    6.     ├─formatters::make_row_df(obj)
    7.     └─rlistings::make_row_df(obj)
    8.       └─rlistings (local) .local(...)
    9.         ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   10.         └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-listings.R:37:3'): listings work well with different formats and attributes ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─formatters::matrix_form(lsting) at test-listings.R:37:3
    2. └─rlistings::matrix_form(lsting)
    3.   └─rlistings (local) .local(obj, indent_rownames)
    4.     ├─formatters::MatrixPrintForm(...)
    5.     │ └─base::structure(...)
    6.     ├─formatters::make_row_df(obj)
    7.     └─rlistings::make_row_df(obj)
    8.       └─rlistings (local) .local(...)
    9.         ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   10.         └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-listings.R:107:3'): Content of listings supports newlines ──────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─formatters::matrix_form(mylst) at test-listings.R:107:3
    2. └─rlistings::matrix_form(mylst)
    3.   └─rlistings (local) .local(obj, indent_rownames)
    4.     ├─formatters::MatrixPrintForm(...)
    5.     │ └─base::structure(...)
    6.     ├─formatters::make_row_df(obj)
    7.     └─rlistings::make_row_df(obj)
    8.       └─rlistings (local) .local(...)
    9.         ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   10.         └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-listings.R:144:3'): column inclusion and ordering stuff ────────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─formatters::matrix_form(head(lsting)) at test-listings.R:144:3
    2. └─rlistings::matrix_form(head(lsting))
    3.   └─rlistings (local) .local(obj, indent_rownames)
    4.     ├─formatters::MatrixPrintForm(...)
    5.     │ └─base::structure(...)
    6.     ├─formatters::make_row_df(obj)
    7.     └─rlistings::make_row_df(obj)
    8.       └─rlistings (local) .local(...)
    9.         ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   10.         └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-listings.R:227:3'): unique_rows removes duplicate rows from listing ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─formatters::matrix_form(lsting) at test-listings.R:227:3
    2. └─rlistings::matrix_form(lsting)
    3.   └─rlistings (local) .local(obj, indent_rownames)
    4.     ├─formatters::MatrixPrintForm(...)
    5.     │ └─base::structure(...)
    6.     ├─formatters::make_row_df(obj)
    7.     └─rlistings::make_row_df(obj)
    8.       └─rlistings (local) .local(...)
    9.         ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   10.         └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:13:3'): pagination works vertically ─────────
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::suppressMessages(paginate_listing(lsting, lpp = 4, verbose = TRUE)) at test-paginate_listing.R:13:3
    2. │ └─base::withCallingHandlers(...)
    3. └─rlistings::paginate_listing(lsting, lpp = 4, verbose = TRUE)
    4.   ├─checkmate::assert_numeric(...)
    5.   └─formatters::propose_column_widths(lsting)
    6.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    7.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    8.       └─rlistings (local) .local(obj, indent_rownames)
    9.         ├─formatters::MatrixPrintForm(...)
   10.         │ └─base::structure(...)
   11.         ├─formatters::make_row_df(obj)
   12.         └─rlistings::make_row_df(obj)
   13.           └─rlistings (local) .local(...)
   14.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   15.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:38:3'): horizontal pagination with 0 or 1 key column specified works correctly ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::suppressMessages(paginate_listing(lsting, cpp = 70, verbose = TRUE)) at test-paginate_listing.R:38:3
    2. │ └─base::withCallingHandlers(...)
    3. └─rlistings::paginate_listing(lsting, cpp = 70, verbose = TRUE)
    4.   ├─checkmate::assert_numeric(...)
    5.   └─formatters::propose_column_widths(lsting)
    6.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    7.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    8.       └─rlistings (local) .local(obj, indent_rownames)
    9.         ├─formatters::MatrixPrintForm(...)
   10.         │ └─base::structure(...)
   11.         ├─formatters::make_row_df(obj)
   12.         └─rlistings::make_row_df(obj)
   13.           └─rlistings (local) .local(...)
   14.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   15.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:98:3'): listing works with no vertical pagination ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = NULL) at test-paginate_listing.R:98:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:119:3'): checking vertical pagination line calculation. ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = 8) at test-paginate_listing.R:119:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:131:3'): pagination: lpp and cpp correctly computed for pg_width and pg_height ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = 24, cpp = 135) at test-paginate_listing.R:131:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:138:3'): pagination: lpp and cpp correctly computed for page_type and font_size ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = 69, cpp = 73) at test-paginate_listing.R:138:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:149:3'): pagination: lpp and cpp correctly computed for lineheight ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = 20, cpp = 70, font_size = 12) at test-paginate_listing.R:149:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:156:3'): pagination: lpp and cpp correctly computed for landscape ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = 45, cpp = 95, font_size = 12) at test-paginate_listing.R:156:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:163:3'): pagination: lpp and cpp correctly computed for margins ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. └─rlistings::paginate_listing(lsting, lpp = 42, cpp = 65, font_size = 12) at test-paginate_listing.R:163:3
    2.   ├─checkmate::assert_numeric(...)
    3.   └─formatters::propose_column_widths(lsting)
    4.     ├─formatters::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    5.     └─rlistings::matrix_form(x, indent_rownames = TRUE, indent_size = indent_size)
    6.       └─rlistings (local) .local(obj, indent_rownames)
    7.         ├─formatters::MatrixPrintForm(...)
    8.         │ └─base::structure(...)
    9.         ├─formatters::make_row_df(obj)
   10.         └─rlistings::make_row_df(obj)
   11.           └─rlistings (local) .local(...)
   12.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-paginate_listing.R:172:3'): pagination works with col wrapping ──
  Error in `wrap_txt(format_colvector(colvec = vec), max_width = max_width, 
      hard = TRUE)`: unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-paginate_listing.R:172:3
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─rlistings::paginate_listing(...)
   10.   └─formatters::paginate_indices(...)
   11.     ├─formatters::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
   12.     └─rlistings::matrix_form(obj, TRUE, TRUE, indent_size = indent_size)
   13.       └─rlistings (local) .local(obj, indent_rownames)
   14.         ├─formatters::MatrixPrintForm(...)
   15.         │ └─base::structure(...)
   16.         ├─formatters::make_row_df(obj)
   17.         └─rlistings::make_row_df(obj)
   18.           └─rlistings (local) .local(...)
   19.             ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   20.             └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
  ── Error ('test-print.R:5:3'): Listing print correctly ─────────────────────────
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'toString': unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::strsplit(toString(matrix_form(lsting), hsep = "-"), "\\n") at test-print.R:5:3
    2. ├─base::toString(matrix_form(lsting), hsep = "-")
    3. ├─formatters::matrix_form(lsting)
    4. ├─rlistings::matrix_form(lsting)
    5. │ └─rlistings (local) .local(obj, indent_rownames)
    6. │   ├─formatters::MatrixPrintForm(...)
    7. │   │ └─base::structure(...)
    8. │   ├─formatters::make_row_df(obj)
    9. │   └─rlistings::make_row_df(obj)
   10. │     └─rlistings (local) .local(...)
   11. │       ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   12. │       └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13. └─base::.handleSimpleError(...)
   14.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-print.R:14:3'): Listing print correctly with different widths ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'toString': unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::strsplit(...) at test-print.R:14:3
    2. ├─base::toString(matrix_form(lsting), widths = c(7, 8, 9), hsep = "-")
    3. ├─formatters::matrix_form(lsting)
    4. ├─rlistings::matrix_form(lsting)
    5. │ └─rlistings (local) .local(obj, indent_rownames)
    6. │   ├─formatters::MatrixPrintForm(...)
    7. │   │ └─base::structure(...)
    8. │   ├─formatters::make_row_df(obj)
    9. │   └─rlistings::make_row_df(obj)
   10. │     └─rlistings (local) .local(...)
   11. │       ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   12. │       └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13. └─base::.handleSimpleError(...)
   14.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-print.R:32:3'): as_listing produces correct output when default_formatting is specified ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'toString': unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::strsplit(toString(matrix_form(lsting), hsep = "-"), "\\n") at test-print.R:32:3
    2. ├─base::toString(matrix_form(lsting), hsep = "-")
    3. ├─formatters::matrix_form(lsting)
    4. ├─rlistings::matrix_form(lsting)
    5. │ └─rlistings (local) .local(obj, indent_rownames)
    6. │   ├─formatters::MatrixPrintForm(...)
    7. │   │ └─base::structure(...)
    8. │   ├─formatters::make_row_df(obj)
    9. │   └─rlistings::make_row_df(obj)
   10. │     └─rlistings (local) .local(...)
   11. │       ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   12. │       └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13. └─base::.handleSimpleError(...)
   14.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-print.R:73:3'): as_listing produces correct output when col_formatting is specified ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'toString': unused arguments (max_width = max_width, hard = TRUE)
  Backtrace:
       ▆
    1. ├─base::strsplit(toString(matrix_form(lsting), hsep = "-"), "\\n") at test-print.R:73:3
    2. ├─base::toString(matrix_form(lsting), hsep = "-")
    3. ├─formatters::matrix_form(lsting)
    4. ├─rlistings::matrix_form(lsting)
    5. │ └─rlistings (local) .local(obj, indent_rownames)
    6. │   ├─formatters::MatrixPrintForm(...)
    7. │   │ └─base::structure(...)
    8. │   ├─formatters::make_row_df(obj)
    9. │   └─rlistings::make_row_df(obj)
   10. │     └─rlistings (local) .local(...)
   11. │       ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   12. │       └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col])
   13. └─base::.handleSimpleError(...)
   14.   └─base (local) h(simpleError(msg, call))
  
  [ FAIL 23 | WARN 0 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted