Last updated on 2020-08-07 01:50:29 CEST.
Package | ERROR | OK |
---|---|---|
monoreg | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 1.2
Check: examples
Result: ERROR
Running examples in ‘monoreg-Ex.R’ failed
The error most likely occurred in:
> ### Name: monoreg
> ### Title: Bayesian monotonic regression
> ### Aliases: monoreg
>
> ### ** Examples
>
> library(monoreg)
> set.seed(1)
> # nobs <- 1000
> nobs <- 50
> sigma <- 0.01
> x1 <- runif(nobs)
> x2 <- runif(nobs)
>
> # 6 different monotonic regression surfaces:
> # mu <- sqrt(x1)
> mu <- 0.5 * x1 + 0.5 * x2
> # mu <- pmin(x1, x2)
> # mu <- 0.25 * x1 + 0.25 * x2 + 0.5 * (x1 + x2 > 1.0)
> # mu <- 0.25 * x1 + 0.25 * x2 + 0.5 * (pmax(x1, x2) > 0.5)
> # mu <- ifelse((x1 - 1.0)^2 + (x2 - 1.0)^2 < 1.0, sqrt(1.0 - (x1 - 1.0)^2 - (x2 - 1.0)^2), 0.0)
>
> y <- rnorm(nobs, mu, sigma)
>
> # results <- monoreg(niter=15000, burnin=5000, adapt=5000, refresh=10,
> results <- monoreg(niter=5000, burnin=2500, adapt=2500, refresh=10,
+ thin=5, birthdeath=10, seed=1, rhoa=0.1, rhob=0.1,
+ deltai=0.1, drange=2.0, predict=rep(1.0, nobs),
+ include=rep(1.0, nobs), response=y, offset=NULL,
+ axes=cbind(x1,x2), covariates=rep(1.0, nobs),
+ settozero=getcmat(2), package=rep(1,3))
Point process configuration:
1 0 1
1 1 0
1 0 0
Packages:
1
0
Starting Gibbs sampler:
*** caught segfault ***
address 6, cause 'memory not mapped'
Traceback:
1: monoreg(niter = 5000, burnin = 2500, adapt = 2500, refresh = 10, thin = 5, birthdeath = 10, seed = 1, rhoa = 0.1, rhob = 0.1, deltai = 0.1, drange = 2, predict = rep(1, nobs), include = rep(1, nobs), response = y, offset = NULL, axes = cbind(x1, x2), covariates = rep(1, nobs), settozero = getcmat(2), package = rep(1, 3))
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86