Running 'testthat.R' [61s]
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_17_01_50_00_19523/Rtmpy8iwAo/file248305dfa752d". Did you mean command "remove"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830473dc43". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248302b4b61df". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830746b6ae1". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483012316e17". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248304ccb1301". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248305ac66896". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248302d56319f". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248303b85670d". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830378278ed". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830104532a". Did you mean command "remove"?
  Warning in for (lib in libs) if (file.access(file.path(lib, pkg), 5) ==  :
    closing unused connection 4 (D:\temp\2025_02_17_01_50_00_19523\Rtmpy8iwAo/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_17_01_50_00_19523\Rtmpy8iwAo\rmarkdown-str248303bb23fd9.html" 
  
  Output created: ex1.html
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248303bc24e0". Did you mean command "remove"?
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_17_01_50_00_19523\Rtmpy8iwAo\file2483031261add.R
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483019fb1aed". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248304c96608f". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248304a5e5e35". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483071ec5d88". Did you mean command "remove"?
  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_17_01_50_00_19523/Rtmpy8iwAo/file248307c702e96". Did you mean command "remove"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483020c49bc". Did you mean command "remove"?
  [1] 1
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_17_01_50_00_19523\Rtmpy8iwAo\file24830688f2438.R
  
  [1] "print"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248306fb2779b". Did you mean command "remove"?
  [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_17_01_50_00_19523/Rtmpy8iwAo/file24830663f4e63". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483077004943". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248302a217bdb". Did you mean command "remove"?
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483014154ac". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248303dfe2753". Did you mean command "remove"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830afd19f4". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483095a533". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248305b667e80". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483030752752". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483047434649". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248303bd83b6e". Did you mean command "remove"?
  hello again logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483023f3cfe". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830143c262d". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830146429a5". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483021921a9e". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483034676503". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248302472700b". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830157946b7". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483075383150". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483040b14d7b". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248302ea1b6f". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483029cf18a7". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830545a2356". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248309387781". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248307c2c7494". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483049d446c0". Did you mean command "remove"?
  [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_17_01_50_00_19523/Rtmpy8iwAo/file248305507599d". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file24830b7fc". Did you mean command "remove"?
  [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_17_01_50_00_19523/Rtmpy8iwAo/file2483058a06a1d". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483052c13936". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file248303f1d714e". Did you mean command "remove"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483015d5282c". Did you mean command "remove"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_17_01_50_00_19523/Rtmpy8iwAo/file2483089f358a". Did you mean command "remove"?
  [ 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