Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > test_check("tutorial")
  Loading required package: tutorial
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-render.R:60:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc1) test-render.R:60:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:60:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc1) test-render.R:60:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:60:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc1) test-render.R:60:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:60:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc1) test-render.R:60:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:61:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc2) test-render.R:61:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:61:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc2) test-render.R:61:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:61:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc2) test-render.R:61:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:61:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc2) test-render.R:61:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:62:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc3) test-render.R:62:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:62:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc3) test-render.R:62:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:62:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc3) test-render.R:62:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:62:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc3) test-render.R:62:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:63:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc4) test-render.R:63:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:63:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc4) test-render.R:63:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:63:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc4) test-render.R:63:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:63:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc4) test-render.R:63:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:64:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc5) test-render.R:64:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:64:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc5) test-render.R:64:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:64:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc5) test-render.R:64:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:64:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc5) test-render.R:64:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:65:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc6) test-render.R:65:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:65:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc6) test-render.R:65:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:65:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc6) test-render.R:65:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:65:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc6) test-render.R:65:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:66:5): renderer works as expected ────────────────────
  "pre_exercise_code" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc7) test-render.R:66:4
   2.   └─testthat::expect_true("pre_exercise_code" %in% nms) test-render.R:54:6
  ── Failure (test-render.R:66:5): renderer works as expected ────────────────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc7) test-render.R:66:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:55:6
  ── Failure (test-render.R:66:5): renderer works as expected ────────────────────
  "solution" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc7) test-render.R:66:4
   2.   └─testthat::expect_true("solution" %in% nms) test-render.R:56:6
  ── Failure (test-render.R:66:5): renderer works as expected ────────────────────
  "sct" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc7) test-render.R:66:4
   2.   └─testthat::expect_true("sct" %in% nms) test-render.R:57:6
  ── Failure (test-render.R:75:5): renderer works as expected ────────────────────
  `rmarkdown::render(input, quiet = TRUE)` did not throw an error.
  Backtrace:
      █
   1. └─tutorial:::test_it_error(doc8) test-render.R:75:4
   2.   └─testthat::expect_error(rmarkdown::render(input, quiet = TRUE)) test-render.R:71:6
  ── Failure (test-render.R:76:5): renderer works as expected ────────────────────
  `rmarkdown::render(input, quiet = TRUE)` did not throw an error.
  Backtrace:
      █
   1. └─tutorial:::test_it_error(doc9) test-render.R:76:4
   2.   └─testthat::expect_error(rmarkdown::render(input, quiet = TRUE)) test-render.R:71:6
  ── Failure (test-render.R:93:5): renderer works as expected in fiddle-form ─────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc10) test-render.R:93:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:88:6
  ── Failure (test-render.R:94:5): renderer works as expected in fiddle-form ─────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::test_it(doc11) test-render.R:94:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:88:6
  ── Failure (test-render.R:114:5): resilient against incorrect formats ──────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::check() test-render.R:114:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:107:6
  ── Failure (test-render.R:117:5): resilient against incorrect formats ──────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::check() test-render.R:117:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:107:6
  ── Failure (test-render.R:120:5): resilient against incorrect formats ──────────
  "sample" %in% nms is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      █
   1. └─tutorial:::check() test-render.R:120:4
   2.   └─testthat::expect_true("sample" %in% nms) test-render.R:107:6
  
  [ FAIL 35 | WARN 1 | SKIP 0 | PASS 15 ]
  Error: Test failures
  Execution halted