Running ‘testthat.R’ [7s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > test_check("tutorial")
  Loading required package: tutorial
  Fetching https://cdn.datacamp.com/datacamp-light-latest.min.js...
  pandoc: Could not fetch https://cdn.datacamp.com/datacamp-light-latest.min.js
  user error (https not supported)
  1. Error: renderer works as expected (@test-render.R#60) -----------------------
  pandoc document conversion failed with error 67
  1: test_it(doc1) at testthat/test-render.R:60
  2: rmarkdown::render(input, quiet = TRUE) at testthat/test-render.R:51
  3: convert(output_file, run_citeproc)
  4: pandoc_convert(utf8_input, pandoc_to, output_format$pandoc$from, output, citeproc, 
         output_format$pandoc$args, !quiet)
  5: stop("pandoc document conversion failed with error ", result, call. = FALSE)
  
  Fetching https://cdn.datacamp.com/datacamp-light-latest.min.js...
  pandoc: Could not fetch https://cdn.datacamp.com/datacamp-light-latest.min.js
  user error (https not supported)
  2. Error: renderer works as expected in fiddle-form (@test-render.R#93) --------
  pandoc document conversion failed with error 67
  1: test_it(doc10) at testthat/test-render.R:93
  2: rmarkdown::render(input, quiet = TRUE) at testthat/test-render.R:84
  3: convert(output_file, run_citeproc)
  4: pandoc_convert(utf8_input, pandoc_to, output_format$pandoc$from, output, citeproc, 
         output_format$pandoc$args, !quiet)
  5: stop("pandoc document conversion failed with error ", result, call. = FALSE)
  
  Fetching https://cdn.datacamp.com/datacamp-light-latest.min.js...
  pandoc: Could not fetch https://cdn.datacamp.com/datacamp-light-latest.min.js
  user error (https not supported)
  3. Error: resilient against incorrect formats (@test-render.R#114) -------------
  pandoc document conversion failed with error 67
  1: check() at testthat/test-render.R:114
  2: rmarkdown::render(input, quiet = TRUE) at testthat/test-render.R:104
  3: convert(output_file, run_citeproc)
  4: pandoc_convert(utf8_input, pandoc_to, output_format$pandoc$from, output, citeproc, 
         output_format$pandoc$args, !quiet)
  5: stop("pandoc document conversion failed with error ", result, call. = FALSE)
  
  testthat results ================================================================
  OK: 15 SKIPPED: 0 FAILED: 3
  1. Error: renderer works as expected (@test-render.R#60) 
  2. Error: renderer works as expected in fiddle-form (@test-render.R#93) 
  3. Error: resilient against incorrect formats (@test-render.R#114) 
  
  Error: testthat unit tests failed
  Execution halted