* using log directory 'd:/Rcompile/CRANpkg/local/4.5/DesignLibrary.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'DesignLibrary/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'DesignLibrary' version '0.1.10' * 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 'DesignLibrary' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [2s] 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 ... [11s] 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 examples ... [6s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [23s] ERROR Running 'testthat.R' [23s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(DesignLibrary) Loading required package: DeclareDesign Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr > > test_check(package = "DesignLibrary") [1] "The implied ICC in (control) is 0.667" [1] "The implied ICC in (control) conditional on block is 0.5" [1] "The implied ICC in (control) is 0.667" [1] "The implied ICC in (control) conditional on block is 0.5" [1] "The implied ICC in (control) is 0.667" [1] "The implied ICC in (control) conditional on block is 0.5" [1] "The implied ICC in (control) is 0.667" [1] "The implied ICC in (control) conditional on block is 0.5" Saving _problems/test_designers-37.R Saving _problems/test_designers-128.R Saving _problems/test_diagnose_designers-6.R [ FAIL 3 | WARN 18 | SKIP 0 | PASS 323 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_designers.R:37:7'): multi_arm_designer's default design runs. ── Error: Error in step 6 (estimator): Error in rbind.data.frame(ate_Y_2_1 = difference_in_means(formula = Y ~ : invalid list argument: all variables should have the same length Backtrace: ▆ 1. ├─testthat::expect_is(...) at test_designers.R:37:7 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─DeclareDesign::diagnose_design(one_design, sims = 10, bootstrap_sims = FALSE) 5. └─DeclareDesign::simulate_design(!!!dots, sims = sims, future.seed = future.seed) 6. └─base::mapply(...) 7. └─DeclareDesign (local) ``(design = dots[[1L]][[1L]], sims = dots[[2L]][[1L]], future.seed = dots[[3L]][[1L]]) 8. ├─base::withCallingHandlers(...) 9. ├─base::suppressWarnings(...) 10. │ └─base::withCallingHandlers(...) 11. └─DeclareDesign:::future_lapply(...) 12. └─base::lapply(...) 13. └─DeclareDesign (local) FUN(X[[i]], ...) 14. ├─DeclareDesign:::run_design_internal(design) 15. └─DeclareDesign:::run_design_internal.design(design) 16. └─DeclareDesign:::next_step(step, current_df, i) 17. └─base::tryCatch(...) 18. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 19. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. └─value[[3L]](cond) ── Error ('test_designers.R:128:9'): No column names in estimator data.frame conflict with parameters in multi_arm_designer ── Error: Error in step 6 (estimator): Error in rbind.data.frame(ate_Y_2_1 = difference_in_means(formula = Y ~ : invalid list argument: all variables should have the same length Backtrace: ▆ 1. └─DeclareDesign::draw_estimates(the_designer()) at test_designers.R:128:9 2. └─DeclareDesign:::apply_on_design_dots(...) 3. └─base::lapply(designs, FUN) 4. └─DeclareDesign (local) FUN(X[[i]], ...) 5. └─DeclareDesign:::get_function_internal(...) 6. └─DeclareDesign:::run_design_internal.design(...) 7. └─DeclareDesign:::next_step(step, current_df, i) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test_diagnose_designers.R:6:3'): with and without term ────────────── Error: Error in step 6 (estimator): Error in rbind.data.frame(ate_Y_2_1 = difference_in_means(formula = Y ~ : invalid list argument: all variables should have the same length Backtrace: ▆ 1. └─DeclareDesign::diagnose_design(...) at test_diagnose_designers.R:6:3 2. └─DeclareDesign::simulate_design(!!!dots, sims = sims, future.seed = future.seed) 3. └─base::mapply(...) 4. └─DeclareDesign (local) ``(design = dots[[1L]][[2L]], sims = dots[[2L]][[2L]], future.seed = dots[[3L]][[1L]]) 5. ├─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. └─DeclareDesign:::future_lapply(...) 9. └─base::lapply(...) 10. └─DeclareDesign (local) FUN(X[[i]], ...) 11. ├─DeclareDesign:::run_design_internal(design) 12. └─DeclareDesign:::run_design_internal.design(design) 13. └─DeclareDesign:::next_step(step, current_df, i) 14. └─base::tryCatch(...) 15. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 16. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 17. └─value[[3L]](cond) [ FAIL 3 | WARN 18 | SKIP 0 | PASS 323 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR