Running ‘testthat.R’ [75s/85s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(polish)
  > 
  > test_check("polish")
  Saving _problems/test-as_md-50.R
  [ FAIL 1 | WARN 1 | SKIP 41 | PASS 235 ]
  
  ══ Skipped tests (41) ══════════════════════════════════════════════════════════
  • On CRAN (41): 'test-as_file.R:12:1', 'test-as_file.R:25:1',
    'test-as_file.R:34:1', 'test-as_file.R:46:1', 'test-as_file.R:55:1',
    'test-as_file.R:65:1', 'test-as_file.R:74:1', 'test-as_file.R:86:3',
    'test-as_file.R:99:3', 'test-as_is.R:1:1', 'test-as_md.R:1:1',
    'test-as_md.R:72:1', 'test-as_xml_nodeset.R:1:1', 'test-flextable.R:11:1',
    'test-flextable.R:35:1', 'test-flextable.R:69:1', 'test-flextable.R:90:1',
    'test-list.R:1:1', 'test-list.R:28:1', 'test-list.R:38:1',
    'test-list.R:48:1', 'test-list.R:64:1', 'test-polish_content.R:1:1',
    'test-polish_content.R:5:1', 'test-polish_content.R:11:1',
    'test-polish_content.R:15:1', 'test-polish_content.R:21:1',
    'test-pptx.R:1:1', 'test-pptx.R:7:1', 'test-pptx.R:13:1', 'test-pptx.R:79:1',
    'test-pptx.R:87:1', 'test-pptx.R:103:1', 'test-pptx_ggplot.R:60:1',
    'test-sp_shell.R:1:1', 'test-word.R:1:1', 'test-word.R:7:1',
    'test-word.R:13:1', 'test-word.R:64:1', 'test-word.R:70:1',
    'test-word.R:86:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-as_md.R:48:3'): polish_content_pptx.as_md() ────────────────────
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(polish_content_pptx(as_md("1. hello\n2. world!"))) at test-as_md.R:48:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  
  [ FAIL 1 | WARN 1 | SKIP 41 | PASS 235 ]
  Error:
  ! Test failures.
  Execution halted