Running 'testthat.R' [57s]
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_15_01_50_01_12291/RtmpKCWqho/filee81c2d805142". Did you mean command "remove"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c33104d20". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c474f53e3". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81ca8643de". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c6c51bc8". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c682755ac". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c38371a5b". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c2fdb34ab". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c791d4e71". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c779c3bc9". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c67234ff7". Did you mean command "remove"?
  Warning in for (ns in list(...)) namespaceImportFrom(self, asNamespace(ns),  :
    closing unused connection 4 (D:\temp\2025_02_15_01_50_01_12291\RtmpKCWqho/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_15_01_50_01_12291\RtmpKCWqho\rmarkdown-stre81c3e174a4.html" 
  
  Output created: ex1.html
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c72092dfc". Did you mean command "remove"?
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_15_01_50_01_12291\RtmpKCWqho\filee81c342d3033.R
  
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c3659c18". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c5d7a1b28". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c3b3b5ec4". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c13fc748a". 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_15_01_50_01_12291/RtmpKCWqho/filee81c32955945". Did you mean command "remove"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c392350ae". Did you mean command "remove"?
  [1] 1
  
  
  processing file: ref/ex1.Rmd
  output file: D:\temp\2025_02_15_01_50_01_12291\RtmpKCWqho\filee81c3d3a724d.R
  
  [1] "print"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c779e1b9a". 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_15_01_50_01_12291/RtmpKCWqho/filee81c11a6742f". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c38463e5c". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c2176713d". 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_15_01_50_01_12291/RtmpKCWqho/filee81c2a5f7c56". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c5c643242". Did you mean command "remove"?
  [1] "hello logrx"
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c3ff2725a". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c370b3d9e". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81ca9472d8". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c1ed621ff". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c6451462". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c4e5630". Did you mean command "remove"?
  hello again logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c64ba79e0". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c76aa4763". Did you mean command "remove"?
  hello logrx
  this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c1c221058". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c136c4744". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c725b1e61". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c1e1f5368". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c1a8e727b". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c33a86806". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c2f75101a". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c64bf241b". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c2b9564a8". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c2ea0524". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c26761d3c". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c2647604". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81ca6e6f83". 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_15_01_50_01_12291/RtmpKCWqho/filee81c721d7705". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c323c6007". 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_15_01_50_01_12291/RtmpKCWqho/filee81c466c3325". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c350426b". Did you mean command "remove"?
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c79445c6f". Did you mean command "remove"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c37284203". Did you mean command "remove"?
  [1] 1
  ERROR: Unknown command "TMPDIR=D:/temp/2025_02_15_01_50_01_12291/RtmpKCWqho/filee81c1810d8c". 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