Running ‘testthat.R’ [7s/8s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(doctest)
  > 
  > test_check("doctest")
  Deleting 'test-doctest-add.R'
  Deleting 'test-doctest-palindrome.R'
  Deleting 'test-doctest-palindrome_letters.R'
  Deleting 'test-doctest-safe_mean.R'
  Deleting 'test-doctest-safe_var.R'
  x <text>:2: @examples has `@examples` and `@doctest` sections in the same block.
  i Change `@examples` to `@doctest`
  x <text>:2: @expect cannot be used before a @doctest block.
  x <text>:3: @expect has no expectation defined.
  x <text>:3: @expectRaw has no expectation defined.
  x <text>:3: @testRaw has no content.
  i Add R code on the same line as @testRaw.
  [ FAIL 5 | WARN 0 | SKIP 13 | PASS 9 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (13): 'test-rd-roclet.R:17:3', 'test-rd-roclet.R:57:3',
    'test-rd-roclet.R:82:3', 'test-tag-doctest.R:14:3',
    'test-tag-doctest.R:56:3', 'test-tag-expect.R:11:3',
    'test-tag-expectRaw.R:10:3', 'test-tag-snap.R:11:3',
    'test-tag-testRaw.R:12:3', 'test-variations.R:84:3',
    'test-variations.R:100:3', 'test-variations.R:116:3',
    'test-variations.R:136:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-variations.R:13:3'): @examples tag ───────────────────────────
  `{ ... }` did not throw the expected warning.
  ── Failure ('test-variations.R:27:3'): Tags outside @doctest ───────────────────
  `{ ... }` did not throw the expected warning.
  ── Failure ('test-variations.R:41:3'): Empty @expect tag ───────────────────────
  `{ ... }` did not throw the expected warning.
  ── Failure ('test-variations.R:55:3'): Empty @expectRaw tag ────────────────────
  `{ ... }` did not throw the expected warning.
  ── Failure ('test-variations.R:69:3'): Empty @testRaw tag ──────────────────────
  `{ ... }` did not throw the expected warning.
  
  [ FAIL 5 | WARN 0 | SKIP 13 | PASS 9 ]
  Deleting unused snapshots:
  • rd-roclet/palindrome.Rd
  • rd-roclet/safe_mean.Rd
  Error: Test failures
  Execution halted