* using log directory ‘/srv/hornik/tmp/CRAN/TSEAL.Rcheck’ * using R Under development (unstable) (2024-04-08 r86370) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * 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 ... [3s/4s] NOTE Maintainer: ‘Iván Velasco ’ New submission Possibly misspelled words in DESCRIPTION: DWT (9:40) * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘TSEAL’ can be installed ... [7s/7s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: ‘TSEAL.Rproj’ * 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/2s] OK * checking whether the package can be loaded with stated dependencies ... [2s/2s] OK * checking whether the package can be unloaded cleanly ... [2s/2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK * checking whether the namespace can be unloaded cleanly ... [2s/2s] OK * checking loading without being on the library search path ... [2s/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 ... [10s/10s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [3s/3s] 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 ... [7s/33s] ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [6s/33s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(TSEAL) > > test_check("TSEAL") [ FAIL 15 | WARN 0 | SKIP 0 | PASS 25 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── 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-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-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))`: 31 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))`: 31 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 ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 2 NOTEs