Running ‘testthat.R’ [15s/16s]
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 objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Saving _problems/test-print-160.R
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 153 ]
  
  ══ Skipped tests (20) ══════════════════════════════════════════════════════════
  • On CRAN (20): 'test-export.R:10:1', 'test-export.R:29:1',
    'test-export.R:55:1', 'test-export.R:78:1', 'test-export.R:95:1',
    'test-export.R:105:1', 'test-matrix_form.R:73:1',
    'test-paginate_listing.R:1:1', 'test-paginate_listing.R:202:1',
    'test-paginate_listing.R:243:1', 'test-paginate_listing.R:263:1',
    'test-paginate_listing.R:331:1', 'test-paginate_listing.R:358:1',
    'test-print.R:1:1', 'test-print.R:14:1', 'test-print.R:26:1',
    'test-print.R:66:1', 'test-print.R:120:1', 'test-print.R:186:1',
    'test-print.R:270:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-print.R:160:3'): listings supports wrapping ────────────────────
  Error in `pdf(tmppdf)`: cannot open file '/tmp/Rtmp6VwPdX/file195eb949e66292.pdf'
  Backtrace:
       ▆
    1. ├─base::strsplit(export_as_txt(lsting, colwidths = cw), "\n") at test-print.R:160:3
    2. └─formatters::export_as_txt(lsting, colwidths = cw)
    3.   └─formatters::paginate_to_mpfs(...)
    4.     └─formatters::paginate_indices(...)
    5.       └─formatters:::do_cell_fnotes_wrap(...)
    6.         ├─base::matrix(...)
    7.         ├─base::unlist(...)
    8.         └─base::mapply(...)
    9.           └─formatters (local) `<fn>`(...)
   10.             └─formatters::wrap_string(str = ret_collapse, width = width, collapse = collapse)
   11.               └─formatters::wrap_string(str = ret_collapse, width = width, collapse = collapse)
   12.                 └─formatters::nchar_ttype(cur_wrapped_txt_v, fontspec)
   13.                   └─formatters::open_font_dev(fontspec)
   14.                     └─grDevices::pdf(tmppdf)
  
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 153 ]
  Error:
  ! Test failures.
  Execution halted