* using log directory ‘/data/localhost/ripley/R/packages/tests-OpenBLAS/LaplacesDemon.Rcheck’ * using R Under development (unstable) (2026-11-28 r91005) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-29 06:37:20 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘LaplacesDemon/DESCRIPTION’ ... OK * this is package ‘LaplacesDemon’ version ‘16.1.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 ‘LaplacesDemon’ can be installed ... [12s/13s] 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 ... [27s/28s] 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 sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘LaplacesDemon-Ex.R’ failed The error most likely occurred in: > ### Name: PMC > ### Title: Population Monte Carlo > ### Aliases: PMC > ### Keywords: High Performance Computing Importance Sampling Monte Carlo > > ### ** Examples > > # The accompanying Examples vignette is a compendium of examples. > #################### Load the LaplacesDemon Library ##################### > library(LaplacesDemon) > > ############################## Demon Data ############################### > data(demonsnacks) > y <- log(demonsnacks$Calories) > X <- cbind(1, as.matrix(log(demonsnacks[,c(1,4,10)]+1))) > J <- ncol(X) > for (j in 2:J) X[,j] <- CenterScale(X[,j]) > > ######################### Data List Preparation ######################### > mon.names <- "LP" > parm.names <- as.parm.names(list(beta=rep(0,J), sigma=0)) > pos.beta <- grep("beta", parm.names) > pos.sigma <- grep("sigma", parm.names) > PGF <- function(Data) { + beta <- rnorm(Data$J) + sigma <- runif(1) + return(c(beta, sigma)) + } > MyData <- list(J=J, PGF=PGF, X=X, mon.names=mon.names, + parm.names=parm.names, pos.beta=pos.beta, pos.sigma=pos.sigma, y=y) > > ########################## Model Specification ########################## > Model <- function(parm, Data) + { + ### Parameters + beta <- parm[Data$pos.beta] + sigma <- interval(parm[Data$pos.sigma], 1e-100, Inf) + parm[Data$pos.sigma] <- sigma + ### Log-Prior + beta.prior <- sum(dnormv(beta, 0, 1000, log=TRUE)) + sigma.prior <- dhalfcauchy(sigma, 25, log=TRUE) + ### Log-Likelihood + mu <- tcrossprod(Data$X, t(beta)) + LL <- sum(dnorm(Data$y, mu, sigma, log=TRUE)) + ### Log-Posterior + LP <- LL + beta.prior + sigma.prior + Modelout <- list(LP=LP, Dev=-2*LL, Monitor=LP, + yhat=rnorm(length(mu), mu, sigma), parm=parm) + return(Modelout) + } > > set.seed(666) > > ############################ Initial Values ############################# > Initial.Values <- GIV(Model, MyData, PGF=TRUE) > > ######################## Population Monte Carlo ######################### > Fit <- PMC(Model, MyData, Initial.Values, Covar=NULL, Iterations=5, + Thinning=1, alpha=NULL, M=1, N=100, CPUs=1) PMC was called on Sun Nov 29 06:38:20 2026 Performing initial checks... PMC is beginning to update... Iteration: 1, ESSN: 0.01, Perplexity: 0.01 Iteration: 2, ESSN: 0.02584, Perplexity: 0.03723 Iteration: 3, ESSN: 0.0171, Perplexity: 0.03094 Iteration: 4, ESSN: 0.04821, Perplexity: 0.10666 Iteration: 5Error in chol.default(Sigma) : the leading minor of order 5 is not positive Calls: PMC -> rmvt -> rmvn -> chol -> chol.default Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s/16s] 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 * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-OpenBLAS/LaplacesDemon.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:31.50, 81.55 + 4.01