* using log directory ‘/srv/hornik/tmp/CRAN_pretest/bhetGP.Rcheck’ * using R Under development (unstable) (2025-07-02 r88374) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘bhetGP/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘bhetGP’ version ‘1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Parul V. Patil ’ New submission * 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 serialization versions ... OK * checking whether package ‘bhetGP’ can be installed ... [20s/20s] OK * used C compiler: ‘Debian clang version 19.1.7 (3+b1)’ * used C++ compiler: ‘Debian clang version 19.1.7 (3+b1)’ * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [15s/15s] OK * checking Rd files ... [0s/0s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [2s/3s] ERROR Running examples in ‘bhetGP-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: bhetGP > ### Title: MCMC sampling for Heteroskedastic GP > ### Aliases: bhetGP > > ### ** Examples > > #' @examples > # Additional examples including real-world computer experiments are available at: > # https://bitbucket.org/gramacylab/bhgp/src/main/examples > > fx <- function(x){ + result <- (6 * x - 2)^2* sin(12 * x - 4) + } > rx <- function(x){ + result <- (1.1 + sin(2 * pi * x))^2 + return(result) + } > > # Training data > r <- 10 > xn <- seq(0, 1, length = 25) > x <- rep(xn, r) > > rn <- drop(rx(x)) > noise <- as.numeric(t(mvtnorm::rmvnorm(r, sigma = diag(rn, length(xn))))) > > f <- fx(x) > y <- f + noise > > # Testing data > xx <- seq(0, 1, length = 100) > yy <- fx(xx) > > # Example 1: Full model, no Vecchia > fit <- bhetGP(x, y, nmcmc = 200) [1] "obtaining replication" [1] "obtaining initialization" [1] "checking specifications" Warning in check_inputs(x, y, initial$scale_y) : standardize response for mean zero and variance 1 for better results [1] "starting mcmc" > fit <- trim(fit, 50, 10) > fit <- predict(fit, xx, cores = 2) [1] "in parallel" > plot(fit) # can run with trace = TRUE to view trace plots > > > # Example 2: Vecchia approximated model > > fit <- bhetGP(x, y, nmcmc = 100, vec = TRUE, m = 5) [1] "obtaining replication" [1] "obtaining initialization" [1] "checking specifications" Warning in check_inputs(x, y, initial$scale_y) : standardize response for mean zero and variance 1 for better results Error: Mat::elem(): index out of bounds Execution halted * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE