- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'maestro/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'maestro' version '0.6.2'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'maestro' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [6s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [41s] ERROR
Running 'testthat.R' [41s]
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 object is masked from 'package:testthat':
matches
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")
[ FAIL 5 | WARN 0 | SKIP 20 | PASS 236 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• On CRAN (20): 'test-MaestroPipeline.R:10:3', 'test-MaestroPipeline.R:26:3',
'test-MaestroPipeline.R:42:3', 'test-MaestroPipeline.R:53:3',
'test-MaestroPipelineList.R:8:3', 'test-dags.R:6:3', 'test-dags.R:234:5',
'test-dags.R:308:5', 'test-get_flags.R:29:3', 'test-get_flags.R:57:3',
'test-get_schedule.R:8:3', 'test-get_schedule.R:20:3',
'test-get_slot_usage.R:32:3', 'test-get_slot_usage.R:75:3',
'test-invoke.R:83:5', 'test-invoke.R:110:5', 'test-run_schedule.R:70:3',
'test-run_schedule.R:145:3', 'test-run_schedule.R:487:3',
'test-run_schedule.R:520:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-MaestroSchedule.R:5:3'): MaestroSchedule works ─────────────────
Error in `value[[3L]](cond)`: Failed to execute orchestrator with error Error in `purrr::map_lgl()`: i In index: 3. Caused by error in `[[.default`: ! subscript out of bounds
Backtrace:
▆
1. └─schedule$run(orch_n = 1, orch_unit = "day") at test-MaestroSchedule.R:5:3
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. ├─base (local) tryCatchOne(...)
5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
6. └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─cli::cli_abort("Failed to execute orchestrator with error {e}")
10. └─rlang::abort(...)
── Error ('test-MaestroSchedule.R:68:5'): MaestroSchedule works when not running all (verification of checking) ──
Error in `value[[3L]](cond)`: Failed to execute orchestrator with error Error in `purrr::map_lgl()`: i In index: 3. Caused by error in `[[.default`: ! subscript out of bounds
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-MaestroSchedule.R:67: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. └─schedule$run(orch_n = 1, orch_unit = "day") at test-MaestroSchedule.R:68:5
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. ├─base (local) tryCatchOne(...)
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. └─value[[3L]](cond)
15. └─cli::cli_abort("Failed to execute orchestrator with error {e}")
16. └─rlang::abort(...)
── Error ('test-get_status.R:3:3'): get_status returns a data.frame ────────────
Error in `value[[3L]](cond)`: Failed to execute orchestrator with error Error in `purrr::map_lgl()`: i In index: 3. Caused by error in `[[.default`: ! subscript out of bounds
Backtrace:
▆
1. └─maestro::run_schedule(schedule, orch_frequency = "hourly") at test-get_status.R:3:3
2. └─schedule$run(...)
3. └─base::tryCatch(...)
4. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. ├─base (local) tryCatchOne(...)
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. └─value[[3L]](cond)
10. └─cli::cli_abort("Failed to execute orchestrator with error {e}")
11. └─rlang::abort(...)
── Error ('test-run_schedule.R:11:7'): run_schedule works on different kinds of frequencies ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(.x, .f, ..., .progress = .progress)`: i In index: 2.
Caused by error:
! Expected `{ ... }` to run without any errors.
i Actually got a <rlang_error> with text:
Failed to execute orchestrator with error Error in `purrr::map_lgl()`: i In index: 3. Caused by error in `[[.default`: ! subscript out of bounds
── Error ('test-run_schedule.R:443:5'): warns if the orch frequency is less than the highest pipe frequency ──
Error in `value[[3L]](cond)`: Failed to execute orchestrator with error Error in `purrr::map_lgl()`: i In index: 3. Caused by error in `[[.default`: ! subscript out of bounds
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-run_schedule.R:442: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::run_schedule(schedule, orch_frequency = "daily") at test-run_schedule.R:443:5
8. └─schedule$run(...)
9. └─base::tryCatch(...)
10. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
11. ├─base (local) tryCatchOne(...)
12. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
13. └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
14. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
15. └─value[[3L]](cond)
16. └─cli::cli_abort("Failed to execute orchestrator with error {e}")
17. └─rlang::abort(...)
[ FAIL 5 | WARN 0 | SKIP 20 | PASS 236 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [59s] OK
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [7s] OK
- DONE
Status: 1 ERROR