Running 'testthat.R' [65s]
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/RtmpQv4Qyl/filecb30190370cf". Did you mean command "preview"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30799554f8". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3063934adb". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30542d42e5". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3042142cd9". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3046e823a8". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3065807d48". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb306ba16251". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3022772b89". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3094fb3e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb306fd71be4". Did you mean command "preview"?
  Warning in for (i in seq_len(n)) { :
    closing unused connection 4 (D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl/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.3\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.3\rmarkdown\rmarkdown\lua\latex-div.lua" --self-contained --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.3\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\RtmpQv4Qyl\rmarkdown-strcb303be81f3f.html" 
  
  Output created: ex1.html
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb308887c71". Did you mean command "preview"?
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl\filecb30145928e7.R
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30156948e7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30746e5c05". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3033ed1157". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb306da63d48". 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/RtmpQv4Qyl/filecb304757746a". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb308db2719". Did you mean command "preview"?
  [1] 1
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl\filecb30357646ef.R
  
  [1] "print"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb301fca73ec". 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/RtmpQv4Qyl/filecb3024ab603d". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3025887488". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303e8f1902". 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/RtmpQv4Qyl/filecb303d585090". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303475261". Did you mean command "preview"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3018f85ba7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30cdf500c". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb309c84723". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb302f5ead". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30148673bf". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3076354139". Did you mean command "preview"?
  hello again logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3013146d0". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3068b15fc". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb307ac93263". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb305f246872". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3039882714". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30513c1aca". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb301ebe150b". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30678d62a5". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3055ad1e4f". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3024336298". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3055474765". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3014a71deb". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3076233cb7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3067cb34a7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3075c374ec". 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/RtmpQv4Qyl/filecb3031347f4d". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303fcded7". 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/RtmpQv4Qyl/filecb30698d7377". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30953536". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3010737719". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30455409c". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3038a61373". 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