Running ‘testthat.R’ [26s/33s]
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(dplyr)
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(maestro)
  > library(future)
  > 
  > test_check("maestro")
  
  -- [2026-06-07 13:16:10]
  Running pipelines > 
  i p1
  v p1 [19ms]
  
  i |-p2 (?)
  v |-p2 (?) [13ms]
  
  i |-p2
  v |-p2 [28ms]
  
  
  -- [2026-06-07 13:16:10]
  Pipeline execution completed # | 0.091 sec elapsed 
  v 2 successes | ! 0 warnings | x 0 errors | [x] 2 total
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * p1 | 2026-06-09
  
  -- [2026-06-07 13:16:11]
  Running pipelines > 
  i p1
  v p1 [17ms]
  
  
  -- [2026-06-07 13:16:11]
  Pipeline execution completed # | 0.032 sec elapsed 
  v 1 success | ! 0 warnings | x 0 errors | [x] 1 total
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * p1 | 2026-06-09
  
  -- [2026-06-07 13:16:11]
  Running pipelines > 
  i a
  v a [18ms]
  
  i |-b (?)
  v |-b (?) [12ms]
  
  i |-b
  v |-b [26ms]
  
  i |-c (?)
  v |-c (?) [12ms]
  
  
  -- [2026-06-07 13:16:11]
  Pipeline execution completed # | 0.113 sec elapsed 
  v 2 successes | ! 0 warnings | x 0 errors | [x] 2 total
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * a | 2026-06-09
  i 1 script successfully parsed
  
  -- [2026-06-07 13:16:15]
  Running pipelines > 
  i start
  v start [21ms]
  
  i |-mid
  v |-mid [13ms]
  
  i   |-end1
  x   |-end1 [16ms]
  
  i   |-end2
  v   |-end2 [13ms]
  
  
  -- [2026-06-07 13:16:15]
  Pipeline execution completed # | 0.12 sec elapsed 
  v 3 successes | ! 0 warnings | x 1 error | [x] 4 total
  x Use `last_run_errors()` to show pipeline errors.
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * start | 2026-06-09
  i 1 script successfully parsed
  
  -- [2026-06-07 13:16:15]
  Running pipelines > 
  i start
  v start [13ms]
  
  i |-mid
  v |-mid [12ms]
  
  i   |-end1
  x   |-end1 [14ms]
  
  i   |-end2
  x   |-end2 [20ms]
  
  
  -- [2026-06-07 13:16:15]
  Pipeline execution completed # | 0.116 sec elapsed 
  v 2 successes | ! 0 warnings | x 2 errors | [x] 4 total
  x Use `last_run_errors()` to show pipeline errors.
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * start | 2026-06-09
  i 1 script successfully parsed
  
  -- [2026-06-07 13:16:15]
  Running pipelines > 
  i start
  v start [13ms]
  
  i |-mid1
  v |-mid1 [23ms]
  
  i   |-end
  v   |-end [13ms]
  
  i |-mid2
  v |-mid2 [14ms]
  
  i   |-end
  v   |-end [14ms]
  
  
  -- [2026-06-07 13:16:15]
  Pipeline execution completed # | 0.176 sec elapsed 
  v 5 successes | ! 0 warnings | x 0 errors | [x] 5 total
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * start | 2026-06-09
  i 1 script successfully parsed
  
  -- [2026-06-07 13:16:16]
  Running pipelines > 
  i start
  v start [12ms]
  
  i |-mid1
  v |-mid1 [19ms]
  
  i   |-end
  x   |-end [16ms]
  
  i |-mid2
  v |-mid2 [12ms]
  
  i   |-end
  x   |-end [22ms]
  
  
  -- [2026-06-07 13:16:16]
  Pipeline execution completed # | 0.156 sec elapsed 
  v 4 successes | ! 0 warnings | x 1 error | [x] 5 total
  x Use `last_run_errors()` to show pipeline errors.
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * start | 2026-06-09
  i 1 script successfully parsed
  
  -- [2026-06-07 13:16:16]
  Running pipelines > 
  i start2
  v start2 [12ms]
  
  i |-end2
  v |-end2 [17ms]
  
  i start
  v start [33ms]
  
  i |-end
  v |-end [15ms]
  
  
  -- [2026-06-07 13:16:16]
  Pipeline execution completed # | 0.16 sec elapsed 
  v 4 successes | ! 0 warnings | x 0 errors | [x] 4 total
  --------------------------------------------------------------------------------
  
  -- Next scheduled pipelines > 
  Pipe name | Next scheduled run
  * start2 | 2026-06-09
  * start | 2026-06-09
  [test] [INFO] [2026-06-07 15:16:34]: {
  [test] [INFO] [2026-06-07 15:16:34]: 
  i 1 script successfully parsed
  i 1 script successfully parsed
  Saving _problems/test-show_network-6.R
  Saving _problems/test-show_network-16.R
  [ FAIL 2 | WARN 4 | SKIP 33 | PASS 377 ]
  
  ══ Skipped tests (33) ══════════════════════════════════════════════════════════
  • On CRAN (31): 'test-MaestroPipeline.R:1:1', 'test-MaestroPipeline.R:18:1',
    'test-MaestroPipeline.R:30:1', 'test-MaestroPipeline.R:42:1',
    'test-MaestroPipelineList.R:1:1', 'test-MaestroSchedule.R:1:1',
    'test-conditionals.R:1:1', 'test-conditionals.R:93:1',
    'test-conditionals.R:130:1', 'test-conditionals.R:163:1',
    'test-conditionals.R:191:1', 'test-conditionals.R:219:1',
    'test-conditionals.R:246:1', 'test-dags.R:1:1', 'test-dags.R:214:1',
    'test-dags.R:288:1', 'test-dags.R:362:1', 'test-dags.R:400:1',
    'test-dags.R:440:1', 'test-dags.R:478:1', 'test-dags.R:517:1',
    'test-get_flags.R:1:1', 'test-get_flags.R:32:1', 'test-get_schedule.R:1:1',
    'test-get_schedule.R:18:1', 'test-get_slot_usage.R:1:1',
    'test-get_slot_usage.R:43:1', 'test-invoke.R:65:1', 'test-invoke.R:87:1',
    'test-run_schedule.R:541:1', 'test-run_schedule.R:568:1'
  • Sys.getenv("MAESTRO_TEST_FUTURE") != "true" is TRUE (2):
    'test-multicore.R:3:3', 'test-multicore.R:27:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-show_network.R:3:3'): show_network works on all independent pipes ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `schedule$show_network()`: The package "DiagrammeR" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(vis <- show_network(schedule), class = "lifecycle_warning_deprecated") at test-show_network.R:3:3
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─maestro::show_network(schedule)
   8.   └─schedule$show_network()
   9.     └─rlang::check_installed("DiagrammeR")
  ── Error ('test-show_network.R:13:3'): show_network works on DAG pipelines ─────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `schedule$show_network()`: The package "DiagrammeR" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(vis <- show_network(schedule), class = "lifecycle_warning_deprecated") at test-show_network.R:13:3
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─maestro::show_network(schedule)
   8.   └─schedule$show_network()
   9.     └─rlang::check_installed("DiagrammeR")
  
  [ FAIL 2 | WARN 4 | SKIP 33 | PASS 377 ]
  Error:
  ! Test failures.
  Execution halted