* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/sdf.test.Rcheck’ * using R Under development (unstable) (2026-08-25 r90447) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-08-26 00:47:01 UTC * checking for file ‘sdf.test/DESCRIPTION’ ... OK * this is package ‘sdf.test’ version ‘0.0.1.0’ * 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 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 ‘sdf.test’ can be installed ... OK * checking package 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 ... 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 ... 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 examples ... OK * checking examples with --run-donttest ... [270s/578s] ERROR Running examples in ‘sdf.test-Ex.R’ failed The error most likely occurred in: > ### Name: sdf.test > ### Title: SDF Test > ### Aliases: sdf.test > > ### ** Examples > > # --- Example 1: Using random data --- > test <- sdf.test( + X1 = rnorm(100), X2 = rnorm(80), + q1 = 4, method1 = "GCV", Te = 20, alpha = 0.05, N = 1000 + ) > test Test for Equality of Spectral Densities statistic = 0.01109, quantile = 0.1628, p-value = 0.658 null hypothesis: equality of spectral densities Result: fail to reject the null hypothesis > > # --- Example 2: Using random data --- > ## No test: > X1 <- arima.sim(list(order=c(1,0,0),ar=0.5),n = 1200,rand.gen = rnorm, sd = 1) > X2 <- arima.sim(list(order=c(1,0,0),ar=0.8),n = 1000,rand.gen = rnorm, sd = 1) > sdf.test( + X1 = X1, X2 = X2, + q1 = 4, method1 = "GCV", Te = 176, alpha = 0.05 + ) Test for Equality of Spectral Densities statistic = 0.1288, quantile = 0.02291, p-value = < 2.2e-16 null hypothesis: equality of spectral densities Result: reject the null hypothesis > ## End(No test) > > # --- Example 3: Using EEG dataset --- > ## No test: > data(eeg_data) > X1 <- subset(eeg_data, condition == "first_frontal_tDCS")$signal > X2 <- subset(eeg_data, condition == "second_frontal_tDCS")$signal > test <- sdf.test( + X1 = X1, X2 = X2, + q1 = 4, method1 = "ML", Te = 2100, alpha = 0.05, cores = 50 + ) Error in .check_ncores(length(names)) : 50 simultaneous processes spawned Calls: sdf.test ... nulldistr_estimator -> -> makePSOCKcluster -> .check_ncores Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-donttest/sdf.test.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 11:52.48, 301.16 + 30.85