Running 'testthat.R' [59s]
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_16_01_50_00_32289/RtmpgxW6Uz/file30f485be14825". Did you mean command "preview"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f487e5f5c8a". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4865e9767c". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4859f06cd5". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4848651302". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4843b95506". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f484bfa477f". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4832fc140e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f488b11c01". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f483b083ac0". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f484a891f74". Did you mean command "preview"?
  Warning in for (i in seq_len(nrow(fin))) .registerS3method(fin[i, 1], fin[i,  :
    closing unused connection 4 (D:\temp\2025_02_16_01_50_00_32289\RtmpgxW6Uz/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.4\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.4\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.4\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_16_01_50_00_32289\RtmpgxW6Uz\rmarkdown-str30f48674b641.html" 
  
  Output created: ex1.html
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f48237b192b". Did you mean command "preview"?
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_16_01_50_00_32289\RtmpgxW6Uz\file30f485cf23c4f.R
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4872d1da1". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4827af1f77". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f487c5a71d2". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f483e6e15c1". 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_16_01_50_00_32289/RtmpgxW6Uz/file30f482009c80". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4847d7b06". Did you mean command "preview"?
  [1] 1
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_16_01_50_00_32289\RtmpgxW6Uz\file30f483b945b9.R
  
  [1] "print"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f481eaa47e". 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_16_01_50_00_32289/RtmpgxW6Uz/file30f4831ab73db". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f485ef446f2". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4869324c45". 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_16_01_50_00_32289/RtmpgxW6Uz/file30f486b6434a7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4877896ec0". Did you mean command "preview"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f481f2d6bdb". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4849d277d8". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4815b43403". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f489013ae5". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4870681955". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f485f98b81". Did you mean command "preview"?
  hello again logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4872555b93". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f48604115c1". Did you mean command "preview"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f484c7410e7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4852204b14". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4828f9473e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f485ebb7bd1". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f484a23a95". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f483abd29dc". Did you mean command "pandoc"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f48289110d". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4862af198c". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4854412174". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f487e8610b7". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f4842a1232a". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f486a7a1965". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f483a56786". 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_16_01_50_00_32289/RtmpgxW6Uz/file30f484ba85e4e". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f48a0573ea". 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_16_01_50_00_32289/RtmpgxW6Uz/file30f483b351ac6". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f481d354824". Did you mean command "preview"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f48590c6498". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f48347b6662". Did you mean command "preview"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_16_01_50_00_32289/RtmpgxW6Uz/file30f483c8a3c". 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