* using log directory 'd:/RCompile/CRANincoming/R-devel/TSEAL.Rcheck' * using R version 4.4.0 alpha (2024-04-07 r86351 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'TSEAL/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'TSEAL' version '0.1.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Iván Velasco ' New submission Possibly misspelled words in DESCRIPTION: DWT (9:40) stepwise (10:5) * 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 'TSEAL' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [19s] 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 data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'TSEAL-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: KFCV.WaveAnalysis > ### Title: KFCV > ### Aliases: KFCV.WaveAnalysis > > ### ** Examples > > ECGExample <- loadECGExample() > MWA <- MultiWaveAnalysis(ECGExample, "haar") Error in .check_ncores(length(names)) : 10 simultaneous processes spawned Calls: MultiWaveAnalysis -> -> makePSOCKcluster -> .check_ncores Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [53s] ERROR Running 'spelling.R' Running 'testthat.R' [53s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(TSEAL) > > test_check("TSEAL") Starting 2 test processes [ FAIL 15 | WARN 0 | SKIP 0 | PASS 25 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-Discriminant.R:5:5'): trainModel ─────────────────────────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. ├─TSEAL::trainModel(...) at test-Discriminant.R:5:5 2. └─TSEAL:::trainModel.array(...) 3. └─TSEAL::generateStepDiscrim(...) 4. └─TSEAL::MultiWaveAnalysis(XSeries, f, lev, features, nCores) 5. └─parallel::makeCluster(nCores) 6. └─parallel::makePSOCKcluster(names = spec, ...) 7. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:27:5'): trainModel Input ──────────────────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:27:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:94:5'): testModel ─────────────────────────────── Error in `.check_ncores(length(names))`: 10 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::generateStepDiscrim(ECGExample, grps, "haar", maxvars = 3) at test-Discriminant.R:94:5 2. └─TSEAL::MultiWaveAnalysis(XSeries, f, lev, features, nCores) 3. └─parallel::makeCluster(nCores) 4. └─parallel::makePSOCKcluster(names = spec, ...) 5. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:111:5'): testModel Input ──────────────────────── Error in `.check_ncores(length(names))`: 10 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::generateStepDiscrim(ECGExample, grps, "haar", maxvars = 3) at test-Discriminant.R:111:5 2. └─TSEAL::MultiWaveAnalysis(XSeries, f, lev, features, nCores) 3. └─parallel::makeCluster(nCores) 4. └─parallel::makePSOCKcluster(names = spec, ...) 5. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:132:5'): LOOCV ────────────────────────────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:132:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:152:5'): LOOCV Input ──────────────────────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:152:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:218:5'): KFCV ─────────────────────────────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:218:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-Discriminant.R:239:5'): KFCV Input ───────────────────────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:239:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-AuxFunct.R:44:1'): (code run outside of `test_that()`) ───────── Error in `.check_ncores(length(names))`: 10 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::testFilters(...) at test-AuxFunct.R:44:1 2. └─TSEAL::MultiWaveAnalysis(XSeries, f) 3. └─parallel::makeCluster(nCores) 4. └─parallel::makePSOCKcluster(names = spec, ...) 5. └─parallel:::.check_ncores(length(names)) ── Error ('test-MultiWaveAnalisys.R:8:5'): test MultiWaveAnalisysVarCOR ──────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, "haar") at test-MultiWaveAnalisys.R:8:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-MultiWaveAnalisys.R:27:5'): test MultiWaveAnalisysCor ────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, "haar") at test-MultiWaveAnalisys.R:27:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-MultiWaveAnalisys.R:44:5'): test MultiWaveAnalisysVar ────────── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::MultiWaveAnalysis(testExperiments, "haar") at test-MultiWaveAnalisys.R:44:5 2. └─parallel::makeCluster(nCores) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Error ('test-MultiWaveAnalisys.R:74:5'): test MultiWaveAnalisys Input errors ── Error in `.check_ncores(length(names))`: 4 simultaneous processes spawned Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-MultiWaveAnalisys.R:74:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar", lev = 100) 8. └─parallel::makeCluster(nCores) 9. └─parallel::makePSOCKcluster(names = spec, ...) 10. └─parallel:::.check_ncores(length(names)) ── Error ('test-StepDiscrim.R:43:5'): StepDiscrim ────────────────────────────── Error in `.check_ncores(length(names))`: 95 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::StepDiscrim(MWA, MedicalClasification, maxvars = 3) at test-StepDiscrim.R:43:5 2. └─TSEAL:::StepDiscrim_(t(Tr), grps, maxvars, nCores) 3. └─parallel::makeCluster(nCores) 4. └─parallel::makePSOCKcluster(names = spec, ...) 5. └─parallel:::.check_ncores(length(names)) ── Error ('test-StepDiscrim.R:54:5'): SameDiscrim ────────────────────────────── Error in `.check_ncores(length(names))`: 95 simultaneous processes spawned Backtrace: ▆ 1. └─TSEAL::StepDiscrim(MWA, MedicalClasification, maxvars = 3) at test-StepDiscrim.R:54:5 2. └─TSEAL:::StepDiscrim_(t(Tr), grps, maxvars, nCores) 3. └─parallel::makeCluster(nCores) 4. └─parallel::makePSOCKcluster(names = spec, ...) 5. └─parallel:::.check_ncores(length(names)) [ FAIL 15 | WARN 0 | SKIP 0 | PASS 25 ] Error: Test failures Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 1 NOTE