- using R Under development (unstable) (2026-10-23 r90760)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-3) 16.2.0
GNU Fortran (Debian 16.2.0-3) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-10-24 11:48:14 UTC
- checking for file ‘DesignLibrary/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘DesignLibrary’ version ‘0.1.10’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘DesignLibrary’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [1s/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 ... [12s/14s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... INFO
Exported functions without usage information:
simple_factorial_designer simple_iv_designer
simple_spillover_designer simple_two_arm_designer
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [2s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/11s] ERROR
Running ‘testthat.R’ [10s/11s]
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_designers-37.R
Saving _problems/test_designers-128.R
Saving _problems/test_designers-37.R
Saving _problems/test_designers-128.R
Saving _problems/test_diagnose_designers-6.R
[ FAIL 7 | WARN 16 | SKIP 0 | PASS 319 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_designers.R:37:7'): factorial_designer's default design runs. ──
Error: Error in step 1 ():
Error: Every column needs a name. Expression 1 in fabricate(), `N`, has none.
If this is the number of rows, write `N = 256`: N is supplied by name.
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) `<fn>`(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 factorial_designer ──
Error: Error in step 1 ():
Error: Every column needs a name. Expression 1 in fabricate(), `N`, has none.
If this is the number of rows, write `N = 256`: N is supplied by name.
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_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) `<fn>`(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_designers.R:37:7'): two_by_two_designer's default design runs. ──
Error: Error in step 1 ():
Error: Every column needs a name. Expression 1 in fabricate(), `N`, has none.
If this is the number of rows, write `N = 100`: N is supplied by name.
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) `<fn>`(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 two_by_two_designer ──
Error: Error in step 1 ():
Error: Every column needs a name. Expression 1 in fabricate(), `N`, has none.
If this is the number of rows, write `N = 100`: N is supplied by name.
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 1 ():
Error: Every column needs a name. Expression 1 in fabricate(), `N`, has none.
If this is the number of rows, write `N = 500`: N is supplied by name.
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) `<fn>`(design = dots[[1L]][[1L]], sims = dots[[2L]][[1L]], 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 7 | WARN 16 | SKIP 0 | PASS 319 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR