Running ‘testthat.R’ [34s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(roxygen2)
  > 
  > if (requireNamespace("xml2")) {
  +   test_check("roxygen2", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
  + } else {
  +   test_check("roxygen2")
  + }
  [WARNING] Duplicate link reference '[roxygenize()]' at line 8 column 1
  [WARNING] Duplicate link reference '[stringr::str_length()]' at line 9 column 1
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (12)
  ● file.exists(test_path("../../DESCRIPTION")) is not TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-rd-inherit.R:120:3): can inherit return value from external function ──
  Error: is.character(act$val) is not TRUE
  Backtrace:
      █
   1. └─testthat::expect_match(out$get_value("value"), "before the mean is computed.$") test-rd-inherit.R:120:2
   2.   └─base::stopifnot(is.character(act$val))
  ── Failure (test-rd-inherit.R:328:3): multiple @inheritParam inherits from existing topics ──
  length(params) not equal to 2.
  1/1 mismatches
  [1] 1 - 2 == -1
  ── Failure (test-rd-inherit.R:329:3): multiple @inheritParam inherits from existing topics ──
  sort(names(params)) not equal to c("trim", "x").
  Lengths differ: 1 is not 2
  ── Failure (test-rd-inherit.R:340:3): @inheritParam can cope with multivariable argument definitions ──
  length(params) not equal to 2.
  1/1 mismatches
  [1] 0 - 2 == -2
  ── Failure (test-rd-inherit.R:341:3): @inheritParam can cope with multivariable argument definitions ──
  sort(names(params)) not equal to c("x", "y").
  target is NULL, current is character
  
  [ FAIL 5 | WARN 0 | SKIP 13 | PASS 728 ]
  Error: Test failures
  In addition: Warning messages:
  1: In structure(list(node = node, doc = doc), class = "xml_node") :
    closing unused connection 7 (/tmp/RtmphgwZPu/working_dir/RtmpaeaILG/file3d0b99921a609)
  2: In structure(list(node = node, doc = doc), class = "xml_node") :
    closing unused connection 6 (/tmp/RtmphgwZPu/working_dir/RtmpaeaILG/file3d0b9967a042d6)
  3: In structure(list(node = node, doc = doc), class = "xml_node") :
    closing unused connection 5 (/tmp/RtmphgwZPu/working_dir/RtmpaeaILG/file3d0b99390c2352)
  4: In structure(list(node = node, doc = doc), class = "xml_node") :
    closing unused connection 4 (/tmp/RtmphgwZPu/working_dir/RtmpaeaILG/file3d0b99d07b1a2)
  Execution halted