CRAN Package Check Results for Package R2BayesX

Last updated on 2025-03-29 05:52:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-6 16.87 112.63 129.50 OK
r-devel-linux-x86_64-debian-gcc 1.1-6 11.60 74.89 86.49 OK
r-devel-linux-x86_64-fedora-clang 1.1-6 213.68 OK
r-devel-linux-x86_64-fedora-gcc 1.1-6 213.70 OK
r-devel-macos-arm64 1.1-6 55.00 OK
r-devel-macos-x86_64 1.1-6 108.00 OK
r-devel-windows-x86_64 1.1-6 25.00 156.00 181.00 OK
r-patched-linux-x86_64 1.1-5 20.33 107.32 127.65 ERROR
r-release-linux-x86_64 1.1-6 17.67 108.49 126.16 OK
r-release-macos-arm64 1.1-6 61.00 OK
r-release-macos-x86_64 1.1-6 138.00 OK
r-release-windows-x86_64 1.1-6 22.00 132.00 154.00 OK
r-oldrel-macos-arm64 1.1-6 61.00 OK
r-oldrel-macos-x86_64 1.1-6 122.00 OK
r-oldrel-windows-x86_64 1.1-6 28.00 167.00 195.00 OK

Check Details

Version: 1.1-5
Check: examples
Result: 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 boolean Calls: read.bayesx.output -> search.bayesx.models -> strsplit Execution halted Flavor: r-patched-linux-x86_64

mirror server hosted at Truenetwork, Russian Federation.