* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/DICErClust.Rcheck’ * using R Under development (unstable) (2026-08-22 r90441) * 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-22 17:13:01 UTC * checking for file ‘DICErClust/DESCRIPTION’ ... OK * this is package ‘DICErClust’ version ‘0.1.3’ * 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 ‘DICErClust’ can be installed ... OK * checking package directory ... OK * checking ‘build’ 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 ... [12s/14s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘DICErClust-Ex.R’ failed The error most likely occurred in: > ### Name: DICEr > ### Title: DICEr Function for Training and Evaluating a Deep Learning Model > ### Aliases: DICEr > > ### ** Examples > > ## No test: > ## Prepare data in DICErClust format (length-3 RDS list) > data_dir <- tempdir() > n <- 100L; p <- 4L; q <- 2L > set.seed(1) > saveRDS(list(matrix(runif(n * p), n, p), # data_x + matrix(as.double(rbinom(n * q, 1, 0.5)), n, q), # data_v (float) + rbinom(n, 1, 0.3)), # data_y + file.path(data_dir, "train.rds")) > saveRDS(list(matrix(runif(30L * p), 30L, p), + matrix(as.double(rbinom(30L * q, 1, 0.5)), 30L, q), + rbinom(30L, 1, 0.3)), + file.path(data_dir, "test.rds")) > > args <- list( + seed = 1L, input_path = paste0(data_dir, "/"), + filename_train = "train.rds", filename_test = "test.rds", + n_input_fea = p, n_hidden_fea = 2L, + lstm_layer = 1L, lstm_dropout = 0.0, K_clusters = 2L, + n_dummy_demov_fea = q, cuda = FALSE, lr = 1e-4, + init_AE_epoch = 2L, iter = 5L, epoch_in_iter = 1L, + lambda_AE = 1.0, lambda_classifier = 1.0, + lambda_outcome = 1.0, lambda_p_value = 1.0 + ) > old_wd <- setwd(tempdir()) > DICEr(args) Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [9s/13s] 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/DICErClust.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:48.61, 75.88 + 11.84