Running 'testthat.R' [58s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(logrx)
  > 
  > test_check("logrx")
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c1cbc4614". Did you mean command "preview"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c6fb84800". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c11fa2b6b". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c67a76968". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c1b02198". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c6ace5588". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c74d030af". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c30bc64a1". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c22392870". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c362d80e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3cacd179b". Did you mean command "preview"?
  Warning in for (ns in list(...)) namespaceImportFrom(self, asNamespace(ns),  :
    closing unused connection 4 (D:\temp\2025_02_14_01_50_00_25053\RtmpKw7D8w/log_out_nested.Rds)
  
  
  processing file: ex1.Rmd
  [1] "print"
  output file: ex1.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS ex1.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output ex1.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable "mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "D:\temp\2025_02_14_01_50_00_25053\RtmpKw7D8w\rmarkdown-strfe3c34e74595.html" 
  
  Output created: ex1.html
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c6d9960cf". Did you mean command "preview"?
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_14_01_50_00_25053\RtmpKw7D8w\filefe3c19197f66.R
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3cc72d7b". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c5e39755e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c60cc603d". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c7dfc5c78". Did you mean command "preview"?
  Rows: 3
  Columns: 2
  $ cyl  <dbl> 4, 6, 8
  $ mean <dbl> 26.66364, 19.74286, 15.10000
  [1] "hello logrx"
  Error: ref/ex4.R:5:0: unexpected end of input
  3: 
  4: print("hello logrx"
    ^
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c5c6a546c". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3ccba3eba". Did you mean command "preview"?
  [1] 1
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_14_01_50_00_25053\RtmpKw7D8w\filefe3c5bef4b91.R
  
  [1] "print"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c192b108f". Did you mean command "preview"?
  [1] "log print"
  [1] "log print 2"
  log catlog cat 2log inform
  log inform 2
  log message
  log message 2
  Error: log error
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3cece7ca1". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c366f27f3". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c715172cf". Did you mean command "preview"?
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c7d5d6a02". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c5fc41455". Did you mean command "preview"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c15475be4". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c395d34c8". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c55267305". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c444f39bd". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c65cf1f0f". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c1ae7fc". Did you mean command "preview"?
  hello again logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c284fdde". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3ce8147c2". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3cd0989d". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c1d343608". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c7bb4793d". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c7d052bb7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c56636f89". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3cae41036". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c334d19c3". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c4215656f". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c83b50b5". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c454966ba". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c3270c85". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c6dbc60d6". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c55d07e7c". Did you mean command "render"?
  [1] "log print"
  [1] "log print 2"
  log catlog cat 2log inform
  log inform 2
  log message
  log message 2
  Error: log error
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c1521549e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c7772363c". Did you mean command "preview"?
  [1] "log print"
  [1] "log print 2"
  log catlog cat 2log inform
  log inform 2
  log message
  log message 2
  Error: log error
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c705a38aa". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c28f92684". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c7b134a69". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c79191adc". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpKw7D8w/filefe3c74df185e". Did you mean command "preview"?
  [ FAIL 2 | WARN 61 | SKIP 0 | PASS 113 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get.R:191:4'): library lint returns expected result when multiple linters are set ──
  write_lint_results() (`actual`) not identical to `expected` (`expected`).
  
  lines(actual)[1:6] vs lines(expected)[1:6]
    "Line 6 [library_call_linter] Move all library calls to the top of the script."
    ""
  - "Line 8 [undesirable_operator_linter] Avoid undesirable operator `<<-`. It"
  + "Line 8 [undesirable_operator_linter] Operator `<<-` is undesirable. It"
    "assigns outside the current environment in a way that can be hard to reason"
    "about. Prefer fully-encapsulated functions wherever possible, or, if"
    "necessary, assign to a specific environment with assign(). Recall that you"
  ── Failure ('test-writer.R:196:4'): write_lint_results will return a formatted lint results element ──
  write_lint_results() (`actual`) not identical to paste0(...) (`expected`).
  
  lines(actual)[1:10] vs lines(expected)[1:10]
  - "Line 3 [undesirable_operator_linter] Avoid undesirable operator `<<-`. It"
  + "Line 3 [undesirable_operator_linter] Operator `<<-` is undesirable. It"
    "assigns outside the current environment in a way that can be hard to reason"
    "about. Prefer fully-encapsulated functions wherever possible, or, if"
    "necessary, assign to a specific environment with assign(). Recall that you"
    "can create an environment at the desired scope with new.env()."
    ""
  - "Line 4 [undesirable_operator_linter] Avoid undesirable operator `<<-`. It"
  + "Line 4 [undesirable_operator_linter] Operator `<<-` is undesirable. It"
    "assigns outside the current environment in a way that can be hard to reason"
    "about. Prefer fully-encapsulated functions wherever possible, or, if"
    "necessary, assign to a specific environment with assign(). Recall that you"
  
  [ FAIL 2 | WARN 61 | SKIP 0 | PASS 113 ]
  Error: Test failures
  Execution halted