Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [4s/5s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(FAfA)
  > 
  > test_check("FAfA")
  Loading required package: shiny
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 73 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-golem-recommended.R:55:1'): (code run outside of `test_that()`) ──
  Error in `FUN(X[[i]], ...)`: Package 'EGAnet' is required but not installed.
  Backtrace:
       ▆
    1. ├─shiny::testServer(...) at test-golem-recommended.R:55:1
    2. │ ├─shiny:::withMockContext(...)
    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::captureStackTraces(...)
   13. │ │ │   │ └─promises::with_promise_domain(...)
   14. │ │ │   │   └─domain$wrapSync(expr)
   15. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
   16. │ │ │   └─env$runWith(self, func)
   17. │ │ │     └─shiny (local) contextFunc()
   18. │ │ │       └─shiny::..stacktraceon..(expr)
   19. │ │ ├─shiny::withReactiveDomain(...)
   20. │ │ │ └─promises::with_promise_domain(...)
   21. │ │ │   └─domain$wrapSync(expr)
   22. │ │ │     └─base::force(expr)
   23. │ │ └─withr::with_options(...)
   24. │ │   └─base::force(code)
   25. │ └─FAfA (local) server(input = session$input, output = session$output, session = session)
   26. │   └─FAfA (local) load_required_packages()
   27. │     └─base::lapply(...)
   28. │       └─FAfA (local) FUN(X[[i]], ...)
   29. │         └─base::stop(...)
   30. └─base::.handleSimpleError(...)
   31.   └─shiny (local) h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 73 ]
  Error: Test failures
  Execution halted