* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/BayesSIM.Rcheck’ * using R Under development (unstable) (2025-12-13 r89164) * 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 ‘BayesSIM/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘BayesSIM’ version ‘0.1.5’ * 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 ‘BayesSIM’ can be installed ... [22s/23s] 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 whether startup messages can be suppressed ... 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 ... [29s/29s] 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 ... [25s/25s] ERROR Running examples in ‘BayesSIM-Ex.R’ failed The error most likely occurred in: > ### Name: BayesSIM > ### Title: Integrated function for Bayesian single-index regression > ### Aliases: BayesSIM > > ### ** Examples > > ## No test: > set.seed(123) > n <- 100; d <- 4 > theta <- c(2, 1, 1, 1); theta <- theta / sqrt(sum(theta^2)) > f <- function(u) u^2 * exp(u) > sigma <- 0.5 > X <- matrix(runif(n * d, -1, 1), nrow = n) > index_vals <- as.vector(X %*% theta) > y <- f(index_vals) + rnorm(n, 0, sigma) > > # One-call version > fit <- BayesSIM(X, y, indexprior = "sphere", link = "bspline") Build Model Assign samplers Compile Model Error in sizeIndexingBracket(, new("symbolTable", .xData = ), : detected unexpected use of `(` in model code in `ARG1_mat_[, (2:x_ncol)]`. Parentheses cannot be used in indexing in NIMBLE models Calls: BayesSIM ... exprClasses_setSizes -> eval -> eval -> sizeIndexingBracket Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [10s/10s] [10s/10s] 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/BayesSIM.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:41.23, 137.91 + 21.13