Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(autoharp)
  > 
  > test_check("autoharp")
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: cars
    ordinary text without R code
  
  label: pressure (with options) 
  List of 1
   $ echo: logi FALSE
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS test03.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output test03.html --lua-filter "C:\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\latex-div.lua" --self-contained --variable bs3=TRUE --standalone --section-divs --template "C:\r_packages\pkgcheck\lib\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header "C:\r_packages\pkgcheck\CRAN\autoharp\tmp\RtmpUlwDIh\rmarkdown-str1ed0857862b7d.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 
  Error in try({ : object '.x' not found
  Error in try({ : object 'Y' not found
  Error in mean(Z) : object 'Z' not found
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-04-rmd_stuff.R:24:7): correctness functions ───────────────────
  ".x" %in% ls(soln_out$env, all.names = TRUE) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-04-rmd_stuff.R:25:7): correctness functions ───────────────────
  ...[] not equal to TRUE.
  target is NULL, current is logical
  ── Failure (test-04-rmd_stuff.R:46:7): correctness2 ────────────────────────────
  out1[1, "Y1"] not equal to "C".
  target is NULL, current is character
  ── Failure (test-04-rmd_stuff.R:47:7): correctness2 ────────────────────────────
  out2[1, 1] not equal to NA.
  target is NULL, current is logical
  ── Failure (test-04-rmd_stuff.R:48:7): correctness2 ────────────────────────────
  is.na(out3[1, "Zmean"]) is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-06_render_one.R:6:7): Rendering1 ──────────────────────────────
  corr_out_1[1, 7] not equal to TRUE.
  target is NULL, current is logical
  ── Failure (test-06_render_one.R:7:7): Rendering1 ──────────────────────────────
  corr_out_4[1, 7] not equal to FALSE.
  target is NULL, current is logical
  ── Failure (test-06_render_one.R:14:7): Rendering2 ─────────────────────────────
  corr_out_2[1, "Y1"] not equal to "C".
  target is NULL, current is character
  ── Failure (test-06_render_one.R:15:7): Rendering2 ─────────────────────────────
  corr_out_3[1, 6] not equal to NA.
  target is NULL, current is logical
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 70 ]
  Error: Test failures
  Execution halted