Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(shinyChatR)
  > 
  > test_check("shinyChatR")
  Loading required package: shiny
  Der Befehl "tail" ist entweder falsch geschrieben oder
  konnte nicht gefunden werden.
  Saving _problems/test-chat-55.R
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 3 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-chat.R:2:1', 'test-utils.R:1:1', 'test-utils.R:6:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-chat.R:49:3'): Chat Server with csv file ───────────────────────
  Error in `data.table::fread(cmd = paste0("tail -", self$nlast, " '", self$csv_path, "'"))`: External command failed with exit code 1. This can happen when the disk is full in the temporary directory ('D:\temp\2026_06_06_01_50_00_18785\Rtmpw7odDd'). See ?fread for the tmpdir argument.
  Backtrace:
       ▆
    1. ├─shiny::testServer(...) at test-chat.R:49:3
    2. │ ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
    3. │ │ ├─shiny::isolate(...)
    4. │ │ │ ├─shiny::..stacktraceoff..(...)
    5. │ │ │ └─ctx$run(...)
    6. │ │ │   ├─promises::with_promise_domain(...)
    7. │ │ │   │ └─domain$wrapSync(expr)
    8. │ │ │   ├─shiny::withReactiveDomain(...)
    9. │ │ │   │ └─promises::with_promise_domain(...)
   10. │ │ │   │   └─domain$wrapSync(expr)
   11. │ │ │   │     └─base::force(expr)
   12. │ │ │   ├─shiny:::with_otel_span_context(...)
   13. │ │ │   │ └─base::force(expr)
   14. │ │ │   ├─shiny::captureStackTraces(...)
   15. │ │ │   │ └─promises::with_promise_domain(...)
   16. │ │ │   │   └─domain$wrapSync(expr)
   17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
   18. │ │ │   └─env$runWith(self, func)
   19. │ │ │     └─shiny (local) contextFunc()
   20. │ │ │       └─shiny::..stacktraceon..(expr)
   21. │ │ ├─shiny::withReactiveDomain(...)
   22. │ │ │ └─promises::with_promise_domain(...)
   23. │ │ │   └─domain$wrapSync(expr)
   24. │ │ │     └─base::force(expr)
   25. │ │ └─withr::with_options(...)
   26. │ │   └─base::force(code)
   27. │ ├─rlang::exec(app, !!!args)
   28. │ └─shinyChatR (local) `<fn>`(...)
   29. │   └─shiny::moduleServer(...)
   30. │     ├─session$setReturned(callModule(module, id, session = session))
   31. │     └─shiny::callModule(module, id, session = session)
   32. │       ├─shiny::withReactiveDomain(...)
   33. │       │ └─promises::with_promise_domain(...)
   34. │       │   └─domain$wrapSync(expr)
   35. │       │     └─base::force(expr)
   36. │       └─shinyChatR (local) module(childScope$input, childScope$output, childScope, ...)
   37. │         ├─c("text", "user", "time") %in% names(ChatData$get_data())
   38. │         └─ChatData$get_data()
   39. │           ├─data.table::setnames(...)
   40. │           │ └─base::is.data.frame(x)
   41. │           └─data.table::fread(...)
   42. │             └─data.table:::stopf(...)
   43. │               └─data.table:::raise_condition(...)
   44. │                 └─base (local) signal(obj)
   45. └─shiny (local) `<fn>`(`<S3: simpleError>`)
  
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 3 ]
  Error:
  ! Test failures.
  Execution halted