* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/unfold.Rcheck’ * using R Under development (unstable) (2026-04-10 r89868) * 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 * current time: 2026-04-11 10:57:35 UTC * checking for file ‘unfold/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘unfold’ version ‘1.0.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 ‘unfold’ can be installed ... [11s/11s] 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 ... [15s/16s] 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 ... ERROR Running examples in ‘unfold-Ex.R’ failed The error most likely occurred in: > ### Name: unfold > ### Title: unfold: Mapping Hidden Geometry into Future Sequences > ### Aliases: unfold unfold-package > > ### ** Examples > > ## No test: > if (requireNamespace("torch", quietly = TRUE)) { + set.seed(42) + + # --- Create a small synthetic dataset with 3 series --- + T <- 100 + ts_set <- data.frame( + A = cumsum(rnorm(T, mean = 0.02, sd = 0.1)) + 10, + B = cumsum(rnorm(T, mean = 0.01, sd = 0.08)) + 8, + C = cumsum(rnorm(T, mean = 0.00, sd = 0.12)) + 12 + ) + + # --- Fit the model --- + fit <- unfold( + ts_set = ts_set, + horizon = 3, + metric = "euclidean", + latent_dim = 16, + enc_hidden = c(64, 32), + dec_hidden = c(32, 64), + epochs = 5, + batch_size = 16, + verbose = FALSE + ) + + # --- Inspect predictive functions --- + names(fit$pred_funs) # series names + names(fit$pred_funs$A) # "t1" "t2" "t3" + + # Example: call predictive function for series A, horizon t1 + f_t1 <- fit$pred_funs$A$t1$rfun + # Example: draw 500 simulated values + # sims <- f_t1(500) + } horizon adapted to available data Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * 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/unfold.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:04.87, 91.11 + 32.81