* using log directory 'd:/Rcompile/CRANpkg/local/4.3/clusteredinterference.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'clusteredinterference/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'clusteredinterference' version '1.0.1' * 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 'clusteredinterference' 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] 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 ... [7s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] 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 ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [155s] ERROR Running 'testthat.R' [155s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(clusteredinterference) > > test_check("clusteredinterference") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ── baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat. 18/361 mismatches (average diff: 0.00025) [1] 6.448 - 6.448 == -1.78e-06 [2] 255.964 - 255.964 == -7.64e-05 [3] 43.972 - 43.972 == -1.10e-05 [4] -0.906 - -0.906 == 2.13e-06 [20] 255.964 - 255.964 == -7.64e-05 [21] 11352.702 - 11352.705 == -3.15e-03 [22] 1748.779 - 1748.779 == -4.61e-04 [23] -44.914 - -44.914 == 8.10e-05 [38] -69.869 - -69.869 == -2.98e-06 ... ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ── `AB_nuisance_list` not equal to `AB_nuisance_list_orig`. Component "model": Component "A_mat": Mean relative difference: 2.838705e-07 Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07 ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ── `AB_target_list_mu` not equal to `AB_target_list_orig`. Component "A_mat": Mean relative difference: 2.784186e-08 Component "B_list": Component 13: Mean relative difference: 1.245075e-07 ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ── `AB_target_list_OE` not equal to `AB_target_list_orig`. Component "A_mat": Mean relative difference: 2.687584e-08 Component "B_list": Component 13: Mean relative difference: 7.214016e-08 [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ] 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 ... [146s] OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR