* using log directory 'd:/Rcompile/CRANpkg/local/4.4/micompr.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'micompr/DESCRIPTION' ... OK * this is package 'micompr' version '1.1.4' * 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 'micompr' 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 ... [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 ... [6s] 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 sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [3s] ERROR Running examples in 'micompr-Ex.R' failed The error most likely occurred in: > ### Name: assumptions.cmpoutput > ### Title: Get assumptions for parametric tests performed on output > ### comparisons > ### Aliases: assumptions.cmpoutput > > ### ** Examples > > > # Create a cmpoutput object from the provided datasets > cmp <- cmpoutput("All", 0.9, pphpc_ok$data[["All"]], pphpc_ok$obs_lvls) > > # Get the assumptions for the parametric tests performed in cmp > acmp <- assumptions(cmp) Error in MVN::mvn(data[fidx, 1:min(nobs - 1, nvars)], mvnTest = "royston", : unused arguments (mvnTest = "royston", univariateTest = "SW") Calls: assumptions -> assumptions.cmpoutput -> assumptions_manova Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [17s] ERROR Running 'testthat.R' [17s] Running the tests in 'tests/testthat.R' failed. Complete output: > # Copyright (c) 2016 Nuno Fachada > # Distributed under the MIT License (http://opensource.org/licenses/MIT) > > library(testthat) > > test_check("micompr") Loading required package: micompr [ FAIL 4 | WARN 73 | SKIP 0 | PASS 287 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_assumptions.R:25:5'): assumptions_manova constructs the expected objects ── Error in `MVN::mvn(data[fidx, ], mvnTest = "royston", univariateTest = "SW")`: unused arguments (mvnTest = "royston", univariateTest = "SW") Backtrace: ▆ 1. └─micompr::assumptions_manova(iris[, 1:4], iris[, 5]) at test_assumptions.R:25:5 ── Error ('test_assumptions.R:59:5'): assumptions_manova throws the expected warnings ── Error in `MVN::mvn(data[fidx, 1:min(nobs - 1, nvars)], mvnTest = "royston", univariateTest = "SW")`: unused arguments (mvnTest = "royston", univariateTest = "SW") Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_assumptions.R:59:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─micompr::assumptions_manova(bogus_data, factors) ── Error ('test_cmpoutput.R:214:3'): assumptions.cmpoutput creates the correct object ── Error in `MVN::mvn(data[fidx, ], mvnTest = "royston", univariateTest = "SW")`: unused arguments (mvnTest = "royston", univariateTest = "SW") Backtrace: ▆ 1. ├─micompr::assumptions(cmp) at test_cmpoutput.R:214:3 2. └─micompr:::assumptions.cmpoutput(cmp) 3. └─micompr::assumptions_manova(scores[, 1:npcs[i]], obs_lvls) ── Error ('test_micomp.R:281:3'): micomp assumptions have the correct properties ── Error in `MVN::mvn(data[fidx, ], mvnTest = "royston", univariateTest = "SW")`: unused arguments (mvnTest = "royston", univariateTest = "SW") Backtrace: ▆ 1. ├─micompr::assumptions(mic1a) at test_micomp.R:281:3 2. └─micompr:::assumptions.micomp(mic1a) 3. └─base::lapply(obj, function(x) assumptions(x)) 4. └─micompr (local) FUN(X[[i]], ...) 5. ├─micompr::assumptions(x) 6. └─micompr:::assumptions.cmpoutput(x) 7. └─micompr::assumptions_manova(scores[, 1:npcs[i]], obs_lvls) [ FAIL 4 | WARN 73 | SKIP 0 | PASS 287 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [25s] ERROR Error(s) in re-building vignettes: --- re-building 'paper.Rnw' using knitr Quitting from paper.Rnw:340-342 [sunspot3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `MVN::mvn()`: ! unused arguments (mvnTest = "royston", univariateTest = "SW") --- Backtrace: x 1. +-micompr::assumptions(cmp) 2. \-micompr:::assumptions.cmpoutput(cmp) 3. \-micompr::assumptions_manova(scores[, 1:npcs[i]], obs_lvls) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'paper.Rnw' failed with diagnostics: unused arguments (mvnTest = "royston", univariateTest = "SW") --- failed re-building 'paper.Rnw' --- re-building 'tolatex-examples.Rnw' using knitr --- finished re-building 'tolatex-examples.Rnw' SUMMARY: processing the following file failed: 'paper.Rnw' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [25s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 3 ERRORs