* using log directory 'd:/Rcompile/CRANpkg/local/4.7/testflow.Rcheck'
* using R Under development (unstable) (2026-07-14 r90255 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
* current time: 2026-07-15 10:47:22 UTC
* 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 hidden files and directories ... OK
* checking for portable file names ... 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 ... [2s] 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 ... [2s] 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 ... [9s] 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 sizes of PDF files under 'inst/doc' ... 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 ... [11s] ERROR
  Running 'testthat.R' [11s]
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 = `<aov>`)
   8.         └─stats::summary.aov(object = `<aov>`)
  ── 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 = `<aov>`)
   8.         └─stats::summary.aov(object = `<aov>`)
  ── 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 = `<aov>`)
   8.         └─stats::summary.aov(object = `<aov>`)
  ── 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 = `<aov>`)
   8.         └─stats::summary.aov(object = `<aov>`)
  ── 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 = `<aov>`)
   8.         └─stats::summary.aov(object = `<aov>`)
  
  [ 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 ... [30s] 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/rlang_error>
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 = `<aov>`)
 8.         \-stats::summary.aov(object = `<aov>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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 ... [19s] OK
* checking HTML version of manual ... [5s] OK
* DONE
Status: 2 ERRORs
