* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/fsemipar.Rcheck’ * using R Under development (unstable) (2025-11-17 r89032) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘fsemipar/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘fsemipar’ version ‘1.1.1’ * 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 ‘fsemipar’ can be installed ... [25s/25s] 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 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 ... [52s/53s] 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 ... [10s/11s] OK * checking examples with --run-donttest ... [4s/98s] ERROR Running examples in ‘fsemipar-Ex.R’ failed The error most likely occurred in: > ### Name: FASSMR.kNN.fit > ### Title: Impact point selection with FASSMR and kNN estimation > ### Aliases: FASSMR.kNN.fit > > ### ** Examples > > ## No test: > data(Sugar) > > > y<-Sugar$ash > x<-Sugar$wave.290 > z<-Sugar$wave.240 > > #Outliers > index.y.25 <- y > 25 > index.atip <- index.y.25 > (1:268)[index.atip] [1] 71 129 > > > #Dataset to model > x.sug <- x[!index.atip,] > z.sug<- z[!index.atip,] > y.sug <- y[!index.atip] > > train<-1:216 > ptm=proc.time() > fit<- FASSMR.kNN.fit(x=x.sug[train,],z=z.sug[train,], y=y.sug[train], + nknot.theta=2, lambda.min.l=0.03, max.knn=20,nknot=20,criterion="BIC", + max.iter=5000) wn=10: 1/3 Error in { : task 1 failed - "replacement has length zero" Calls: FASSMR.kNN.fit -> sfplsim.kNN.fit -> %dopar% -> Execution halted * checking PDF version of manual ... [14s/14s] 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/blackswan/ripley/R/packages/tests-devel/fsemipar.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:56.41, 172.43 + 25.52