* using log directory ‘/Users/ripley/R/packages/tests-devel/testflow.Rcheck’ * using R Under development (unstable) (2026-07-14 r90254) * using platform: aarch64-apple-darwin25.5.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.5.2 * using session charset: UTF-8 * current time: 2026-07-15 08:54:46 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘testflow/DESCRIPTION’ ... OK * this is package ‘testflow’ version ‘0.8.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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘testflow’ can be installed ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(testflow) > > test_check("testflow") Saving _problems/test-assumptions-repeated-3.R Saving _problems/test-assumptions-structure-19.R Saving _problems/test-print-77.R Saving _problems/test-test-repeated-9.R Saving _problems/test-test-repeated-26.R [ FAIL 5 | WARN 0 | SKIP 0 | PASS 146 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-assumptions-repeated.R:3:3'): repeated workflow reports sphericity note ── Error in `if (is.finite(resvar) && resvar < (mean(fitted)^2 + var(c(fitted))) * 1e-30) perfect.fit[y] <- TRUE`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─testflow::test_repeated(...) at test-assumptions-repeated.R:3:3 2. └─testflow:::repeated_core(...) 3. └─testflow:::repeated_anova_test(df, outcome_nm, within_nm, id_nm) 4. ├─base::summary(fit) 5. └─stats:::summary.aovlist(fit) 6. ├─base::do.call("summary", c(list(object = object[[i]]), dots)) 7. ├─base::summary(object = ``) 8. └─stats::summary.aov(object = ``) ── Error ('test-assumptions-structure.R:4:3'): workflows return non-empty assumptions and print Assumptions ── Error in `if (is.finite(resvar) && resvar < (mean(fitted)^2 + var(c(fitted))) * 1e-30) perfect.fit[y] <- TRUE`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─testflow::test_repeated(...) at test-assumptions-structure.R:4:3 2. └─testflow:::repeated_core(...) 3. └─testflow:::repeated_anova_test(df, outcome_nm, within_nm, id_nm) 4. ├─base::summary(fit) 5. └─stats:::summary.aovlist(fit) 6. ├─base::do.call("summary", c(list(object = object[[i]]), dots)) 7. ├─base::summary(object = ``) 8. └─stats::summary.aov(object = ``) ── Error ('test-print.R:77:3'): wide repeated workflow prints measure labels ─── Error in `if (is.finite(resvar) && resvar < (mean(fitted)^2 + var(c(fitted))) * 1e-30) perfect.fit[y] <- TRUE`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─testflow::test_repeated(...) at test-print.R:77:3 2. └─testflow:::repeated_core(...) 3. └─testflow:::repeated_anova_test(df, outcome_nm, within_nm, id_nm) 4. ├─base::summary(fit) 5. └─stats:::summary.aovlist(fit) 6. ├─base::do.call("summary", c(list(object = object[[i]]), dots)) 7. ├─base::summary(object = ``) 8. └─stats::summary.aov(object = ``) ── Error ('test-test-repeated.R:9:3'): test_repeated uses repeated-measures ANOVA when normality passes ── Error in `if (is.finite(resvar) && resvar < (mean(fitted)^2 + var(c(fitted))) * 1e-30) perfect.fit[y] <- TRUE`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─testflow::test_repeated(dat, c(t1, t2, t3), id = id) at test-test-repeated.R:9:3 2. └─testflow:::repeated_core(...) 3. └─testflow:::repeated_anova_test(df, outcome_nm, within_nm, id_nm) 4. ├─base::summary(fit) 5. └─stats:::summary.aovlist(fit) 6. ├─base::do.call("summary", c(list(object = object[[i]]), dots)) 7. ├─base::summary(object = ``) 8. └─stats::summary.aov(object = ``) ── Error ('test-test-repeated.R:26:3'): test_repeated uses Friedman and paired Wilcoxon when normality fails ── Error in `if (is.finite(resvar) && resvar < (mean(fitted)^2 + var(c(fitted))) * 1e-30) perfect.fit[y] <- TRUE`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─testflow::test_repeated(dat, c(t1, t2, t3), id = id) at test-test-repeated.R:26:3 2. └─testflow:::repeated_core(...) 3. └─testflow:::repeated_anova_test(df, outcome_nm, within_nm, id_nm) 4. ├─base::summary(fit) 5. └─stats:::summary.aovlist(fit) 6. ├─base::do.call("summary", c(list(object = object[[i]]), dots)) 7. ├─base::summary(object = ``) 8. └─stats::summary.aov(object = ``) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 146 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s/12s] ERROR Error(s) in re-building vignettes: --- re-building ‘effect-size-formulas.Rmd’ using rmarkdown --- finished re-building ‘effect-size-formulas.Rmd’ --- re-building ‘getting-started.Rmd’ using rmarkdown --- finished re-building ‘getting-started.Rmd’ --- re-building ‘statistical-test-workflows.Rmd’ using rmarkdown Quitting from statistical-test-workflows.Rmd:52-54 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `if (...) NULL`: ! missing value where TRUE/FALSE needed --- Backtrace: x 1. \-testflow::test_repeated(...) 2. \-testflow:::repeated_core(...) 3. \-testflow:::repeated_anova_test(df, outcome_nm, within_nm, id_nm) 4. +-base::summary(fit) 5. \-stats:::summary.aovlist(fit) 6. +-base::do.call("summary", c(list(object = object[[i]]), dots)) 7. +-base::summary(object = ``) 8. \-stats::summary.aov(object = ``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'statistical-test-workflows.Rmd' failed with diagnostics: missing value where TRUE/FALSE needed --- failed re-building ‘statistical-test-workflows.Rmd’ SUMMARY: processing the following file failed: ‘statistical-test-workflows.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/testflow.Rcheck/00check.log’ for details. 42.73 real 31.90 user 8.08 sys