* using log directory 'd:/RCompile/CRANincoming/R-devel/tidystats.Rcheck' * using R Under development (unstable) (2023-10-11 r85316 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.2.0 GNU Fortran (GCC) 12.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'tidystats/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'tidystats' version '0.6.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Willem Sleegers ' New submission Package was archived on CRAN CRAN repository db overrides: X-CRAN-Comment: Archived on 2023-09-26 as check issues were not corrected in time. Size of tarball: 17831124 bytes * 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 'tidystats' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 R 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 whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... NOTE Mismatches for apparent methods not registered: tidy_stats: function(x, args) tidy_stats.psych.ICC: function(x) tidy_stats: function(x, args) tidy_stats.psych.mardia: function(x) tidy_stats: function(x, args) tidy_stats.psych.alpha: function(x) tidy_stats: function(x, args) tidy_stats.psych.corr.test: function(x) Apparent methods for exported generics not registered: tidy_stats.BFBayesFactor tidy_stats.afex_aov tidy_stats.anova tidy_stats.anova.lme tidy_stats.aov tidy_stats.aovlist tidy_stats.brmsfit tidy_stats.confint tidy_stats.effectsize_difference tidy_stats.effsize tidy_stats.emmGrid tidy_stats.emm_list tidy_stats.glm tidy_stats.gls tidy_stats.htest tidy_stats.icclist tidy_stats.lavaan tidy_stats.lm tidy_stats.lme tidy_stats.lmerMod tidy_stats.nlme tidy_stats.pairwise.htest tidy_stats.psych tidy_stats.psych.ICC tidy_stats.psych.alpha tidy_stats.psych.corr.test tidy_stats.psych.mardia tidy_stats.rcorr tidy_stats.summary_emm tidy_stats.tidystats tidy_stats.tidystats_counts tidy_stats.tidystats_descriptives See section 'Registering S3 methods' in the 'Writing R Extensions' manual. * 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 line widths ... 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 ... 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 ... ERROR Running examples in 'tidystats-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: add_stats > ### Title: Add statistical output to a tidystats list > ### Aliases: add_stats > > ### ** Examples > > # Conduct analyses > sleep_test <- t.test(extra ~ group, data = sleep, paired = TRUE) Error in t.test.formula(extra ~ group, data = sleep, paired = TRUE) : cannot use 'paired' in formula method Calls: t.test -> t.test.formula Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12s] ERROR Running 'testthat.R' [12s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(tidystats) This version of tidystats uses a new and improved way of structuring statistics. This breaks previous versions of tidystats. Updates to other tidystats-related software are coming soon. > > test_check("tidystats") [ FAIL 3 | WARN 0 | SKIP 0 | PASS 175 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_glm.R:118:3'): glm anova works ─────────────────────────────── `tidy_model` not equal to `expected_tidy_model`. Component "groups": Component 1: Component 2: Component 2: Component 2: Length mismatch: comparison on first 4 components Component "groups": Component 1: Component 2: Component 3: Component 2: Length mismatch: comparison on first 4 components Backtrace: ▆ 1. └─tidystats:::expect_equal_models(model = model, expected_tidy_model = expected_statistics$anova_glm) at test_glm.R:118:2 2. └─testthat::expect_equal(tidy_model, expected_tidy_model, tolerance = tolerance) ── Error ('test_htest.R:35:3'): paired t-test works ──────────────────────────── Error in `t.test.formula(extra ~ group, data = sleep, paired = TRUE)`: cannot use 'paired' in formula method Backtrace: ▆ 1. ├─stats::t.test(extra ~ group, data = sleep, paired = TRUE) at test_htest.R:35:2 2. └─stats:::t.test.formula(extra ~ group, data = sleep, paired = TRUE) ── Error ('test_main.R:10:3'): the t-test in main works ──────────────────────── Error in `t.test.formula(extra ~ group, data = sleep, paired = TRUE)`: cannot use 'paired' in formula method Backtrace: ▆ 1. ├─stats::t.test(extra ~ group, data = sleep, paired = TRUE) at test_main.R:10:2 2. └─stats:::t.test.formula(extra ~ group, data = sleep, paired = TRUE) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 175 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 2 NOTEs