* using log directory ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/R2BayesX.Rcheck’ * using R Under development (unstable) (2025-02-26 r87830) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-16) 14.2.0 GNU Fortran (Debian 14.2.0-16) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘R2BayesX/DESCRIPTION’ ... OK * this is package ‘R2BayesX’ version ‘1.1-5’ * 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 ‘R2BayesX’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/R2BayesX-00install.html' for details. * used C compiler: ‘gcc-14 (Debian 14.2.0-16) 14.2.0’ * 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/2s] OK * checking whether the package can be loaded with stated dependencies ... [1s/2s] OK * checking whether the package can be unloaded cleanly ... [1s/2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK * checking whether the namespace can be unloaded cleanly ... [1s/2s] OK * checking loading without being on the library search path ... [1s/2s] 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 ... [25s/31s] OK * checking Rd files ... [1s/1s] 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 ... [0s/0s] OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... 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 ‘R2BayesX-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fitted.bayesx > ### Title: Extract BayesX Fitted Values and Residuals > ### Aliases: fitted.bayesx residuals.bayesx > ### Keywords: regression > > ### ** Examples > > ## Not run: > ##D ## generate some data > ##D set.seed(121) > ##D n <- 500 > ##D > ##D ## regressors > ##D dat <- data.frame(x = runif(n, -3, 3), z = runif(n, 0, 1), > ##D w = runif(n, 0, 3)) > ##D > ##D ## generate response > ##D dat$y <- with(dat, 1.5 + sin(x) + z -3 * w + rnorm(n, sd = 0.6)) > ##D > ##D ## estimate model > ##D b1 <- bayesx(y ~ sx(x) + z + w, data = dat) > ##D > ##D ## extract fitted values > ##D fit <- fitted(b1) > ##D hist(fit, freq = FALSE) > ##D > ##D ## now extract 1st model term > ##D ## and plot it > ##D fx <- fitted(b1, term = "sx(x)") > ##D plot(fx) > ##D > ##D ## extract model residuals > ##D hist(residuals(b1)) > ##D > ##D ## extract partial residuals for sx(x) > ##D pres <- residuals(b1, term = "sx(x)") > ##D plot(fx, ylim = range(pres[, 2])) > ##D points(pres) > ## End(Not run) > > ## now another example with > ## use of read.bayesx.output > ## load example data from > ## package R2BayesX > dir <- file.path(find.package("R2BayesX"), "examples", "ex01") > b2 <- read.bayesx.output(dir) Error in strsplit(x, as.character(split), fixed, perl, useBytes) : NA in coercion to Rboolean Calls: read.bayesx.output -> search.bayesx.models -> strsplit Execution halted * checking for unstated dependencies in ‘demo’ ... OK * checking PDF version of manual ... [7s/9s] OK * checking HTML version of manual ... [2s/4s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR