Running ‘testthat.R’ [39s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(roxygen2)
  > 
  > test_check("roxygen2")
  Starting 2 test processes.
  Saving _problems/test-markdown-state-54.R
  > test-rd-include-rmd.R: x <text>:3: @includeRmd refers to un-installed package stringr.
  > test-rd-include-rmd.R: [WARNING] Duplicate link reference '[roxygenize()]' at file79ca9457f50ba.knit.md line 8 column 1
  > test-rd-include-rmd.R: [WARNING] Duplicate link reference '[stringr::str_length()]' at file79ca9457f50ba.knit.md line 9 column 1
  > test-rd-include-rmd.R: x <text>:3: @includeRmd refers to un-installed package stringr.
  [ FAIL 1 | WARN 2 | SKIP 149 | PASS 1027 ]
  
  ══ Skipped tests (149) ═════════════════════════════════════════════════════════
  • On CRAN (148): 'test-collate.R:13:1', 'test-collate.R:24:1',
    'test-collate.R:37:1', 'test-block.R:3:1', 'test-block.R:273:1',
    'test-block.R:284:1', 'test-block.R:317:1', 'test-load.R:23:1',
    'test-load.R:34:1', 'test-markdown-code.R:138:1',
    'test-markdown-code.R:154:1', 'test-markdown-code.R:176:1',
    'test-markdown-code.R:197:1', 'test-markdown-code.R:282:1',
    'test-markdown-link-resolve.R:31:1', 'test-markdown-link-resolve.R:46:3',
    'test-markdown-link-resolve.R:68:3', 'test-markdown-link-resolve.R:82:3',
    'test-markdown-state.R:105:1', 'test-markdown-link.R:107:1',
    'test-markdown-link.R:627:1', 'test-markdown.R:25:1', 'test-markdown.R:62:1',
    'test-markdown.R:245:1', 'test-markdown.R:273:1', 'test-markdown.R:540:1',
    'test-markdown.R:555:1', 'test-markdown.R:571:1', 'test-markdown.R:770:1',
    'test-object-format.R:1:1', 'test-object-format.R:13:1',
    'test-object-from-call.R:9:1', 'test-object-from-call.R:337:1',
    'test-object-import.R:1:1', 'test-object-import.R:57:3',
    'test-namespace.R:19:1', 'test-namespace.R:124:1', 'test-namespace.R:151:1',
    'test-namespace.R:293:1', 'test-namespace.R:301:1', 'test-namespace.R:351:1',
    'test-namespace.R:367:1', 'test-namespace.R:402:1', 'test-namespace.R:523:1',
    'test-namespace.R:568:1', 'test-object-package.R:1:1',
    'test-object-package.R:53:1', 'test-object-r6.R:1:1',
    'test-rd-examples.R:35:1', 'test-rd-examples.R:63:1',
    'test-rd-examples.R:76:1', 'test-rd-examples.R:86:1',
    'test-rd-examples.R:103:1', 'test-rd-examples.R:115:1',
    'test-rd-describe-in.R:1:1', 'test-rd-describe-in.R:132:1',
    'test-rd-describe-in.R:152:1', 'test-rd-describe-in.R:178:1',
    'test-rd-describe-in.R:220:1', 'test-rd-describe-in.R:238:1',
    'test-rd-describe-in.R:276:1', 'test-rd-family.R:205:1',
    'test-rd-include-rmd.R:6:1', 'test-rd-include-rmd.R:327:1',
    'test-rd-inherit.R:17:1', 'test-rd-inherit.R:73:1', 'test-rd-inherit.R:82:1',
    'test-rd-inherit.R:312:1', 'test-rd-inherit.R:559:1',
    'test-rd-inherit.R:763:1', 'test-rd-inherit.R:783:1',
    'test-rd-inherit.R:810:1', 'test-rd-inherit.R:869:1',
    'test-rd-inherit.R:885:1', 'test-rd-inherit.R:939:1',
    'test-rd-inherit.R:989:1', 'test-rd-markdown.R:83:1',
    'test-rd-params.R:44:1', 'test-rd-r6-class.R:67:1',
    'test-rd-r6-class.R:82:1', 'test-rd-r6-class.R:93:1',
    'test-rd-r6-class.R:104:1', 'test-rd-r6-class.R:122:1',
    'test-rd-r6-class.R:143:1', 'test-rd-r6-external.R:3:1',
    'test-rd-r6-external.R:57:1', 'test-rd-r6-field.R:82:1',
    'test-rd-r6-field.R:94:1', 'test-rd-r6-field.R:105:1',
    'test-rd-r6-field.R:115:1', 'test-rd-r6-field.R:119:1',
    'test-rd-r6-methods-inherited.R:40:1', 'test-rd-r6-methods.R:1:1',
    'test-rd-r6-methods.R:20:1', 'test-rd-r6-super.R:26:1',
    'test-rd-r6-super.R:36:1', 'test-rd-r6-methods-self.R:40:1',
    'test-rd-r6-methods-self.R:72:1', 'test-rd-r6-methods-self.R:84:1',
    'test-rd-r6-methods-self.R:147:1', 'test-rd-r6-methods-self.R:161:1',
    'test-rd-r6-methods-self.R:171:1', 'test-rd-r6-methods-self.R:184:1',
    'test-rd-r6-methods-self.R:199:1', 'test-rd-raw.R:29:1', 'test-rd-s4.R:1:1',
    'test-rd-r6.R:1:1', 'test-rd-section.R:1:1', 'test-rd-s7.R:1:1',
    'test-rd-s7.R:17:1', 'test-rd-s7.R:33:1', 'test-rd-s7.R:44:1',
    'test-rd-template.R:1:1', 'test-rd-template.R:36:1', 'test-rd-usage.R:314:1',
    'test-rd-usage.R:402:1', 'test-roxygenize-needs.R:8:1',
    'test-roxygenize-setup.R:1:1', 'test-roxygenize-setup.R:11:1',
    'test-roxygenize-setup.R:17:1', 'test-roxygenize-setup.R:24:1',
    'test-roxygenize-setup.R:31:1', 'test-roxygenize.R:1:1', 'test-rd.R:45:1',
    'test-rd.R:56:1', 'test-rd.R:66:1', 'test-rd.R:223:1', 'test-rd.R:241:1',
    'test-rd.R:258:1', 'test-select-args.R:1:1', 'test-tag.R:1:1',
    'test-tag.R:9:1', 'test-topics.R:1:1', 'test-utils-warn.R:1:1',
    'test-utils.R:21:1', 'test-utils.R:92:1', 'test-tag-parser.R:1:1',
    'test-tag-parser.R:15:1', 'test-tag-parser.R:38:1', 'test-tag-parser.R:45:1',
    'test-tag-parser.R:52:1', 'test-tag-parser.R:72:1', 'test-tag-parser.R:80:1',
    'test-tag-parser.R:88:1', 'test-tag-parser.R:100:1',
    'test-tag-parser.R:108:1', 'test-tag-parser.R:115:1',
    'test-tag-parser.R:122:1'
  • file.exists(test_path("../../DESCRIPTION")) is not TRUE (1):
    'test-load.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-markdown-state.R:46:3'): turning on/off markdown locally ───────
  Error in `file(path, open = "wb")`: cannot open the connection
  Backtrace:
      ▆
   1. └─roxygen2::roc_proc_text(rd_roclet(), "\n    #' Title\n    #'\n    #' Description with some `code` included. `More code.`\n    #' @noMd\n    foo <- function() {}") at test-markdown-state.R:46:3
   2.   └─roxygen2::parse_text(input, env = env)
   3.     └─roxygen2:::write_lines(text, file)
   4.       └─base::file(path, open = "wb")
  
  [ FAIL 1 | WARN 2 | SKIP 149 | PASS 1027 ]
  Error:
  ! Test failures.
  Execution halted