* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/TDMR.Rcheck’ * using R Under development (unstable) (2022-05-09 r82330) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘TDMR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘TDMR’ version ‘2.2’ * 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 ‘TDMR’ 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 R 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 ... [49s/48s] 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 sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking examples ... [17s/17s] OK * checking examples with --run-donttest ... ERROR Running examples in ‘TDMR-Ex.R’ failed The error most likely occurred in: > ### Name: tdmBigLoop > ### Title: Tuning and unbiased evaluation in a big loop. > ### Aliases: tdmBigLoop > > ### ** Examples > > #*# This demo shows a complete tuned data mining process (level 3 of TDMR) where > #*# the data mining task is the classification task SONAR (from UCI repository, > #*# http://archive.ics.uci.edu/ml/datasets/Connectionist+Bench+%28Sonar,+Mines+vs.+Rocks%29). > #*# The data mining process is in main_sonar.r, which calls tdmClassifyLoop and tdmClassify > #*# with Random Forest as the prediction model. > #*# The three parameter to be tuned are CUTOFF1, CLASSWT2 and XPERC, as specified > #*# in controlSC() (control_sonar.r). The tuner used here is LHD. > #*# Tuning runs are rather short, to make the example run quickly. > #*# Do not expect good numeric results. > #*# See demo/demo03sonar_B.r for a somewhat longer tuning run, with two tuners SPOT and LHD. > > ## path is the dir with data and main_*.r file: > path <- paste(find.package("TDMR"), "demo02sonar",sep="/"); > #path <- paste("../../inst", "demo02sonar",sep="/"); > > ## control settings for TDMR > tdm <- list( mainFunc="main_sonar" + , runList = c("sonar_04.conf") + , umode="CV" # { "CV" | "RSUB" | "TST" | "SP_T" } + , tuneMethod = c("lhd") + , filenameEnvT="exBigLoop.RData" # file to save environment envT + , nrun=1, nfold=2 # repeats and CV-folds for the unbiased runs + , nExperim=1 + , optsVerbosity = 0 # the verbosity for the unbiased runs + ); > source(paste(path,"main_sonar.r",sep="/")); # main_sonar, readTrnSonar > ## Don't show: > #*# This demo is for "R CMD check" (runs in half the time) > source(paste(path,"control_sonar_check.r",sep="/")); # controlDM, controlSC > ## End(Don't show) > ## No test: > #*# This demo is for example and help (more meaningful, a bit higher budget) > source(paste(path,"control_sonar.r",sep="/")); # controlDM, controlSC Warning in file(filename, "r", encoding = encoding) : cannot open file '/data/blackswan/ripley/R/packages/tests-devel/TDMR.Rcheck/TDMR/demo02sonar/control_sonar.r': No such file or directory Error in file(filename, "r", encoding = encoding) : cannot open the connection Calls: source -> file Execution halted * checking PDF 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/blackswan/ripley/R/packages/tests-devel/TDMR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:07.85, 166.27 + 22.06