CRAN Package Check Results for Package bayesCureRateModel

Last updated on 2024-07-23 05:57:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 39.75 128.98 168.73 OK
r-devel-linux-x86_64-debian-gcc 1.0 25.67 98.31 123.98 OK
r-devel-linux-x86_64-fedora-clang 1.0 232.25 OK
r-devel-linux-x86_64-fedora-gcc 1.0 205.81 OK
r-devel-windows-x86_64 1.0 36.00 159.00 195.00 OK
r-patched-linux-x86_64 1.0 40.47 118.60 159.07 OK
r-release-linux-x86_64 1.0 38.35 118.25 156.60 OK
r-release-macos-arm64 1.0 60.00 OK
r-release-macos-x86_64 1.0 106.00 OK
r-release-windows-x86_64 1.0 39.00 159.00 198.00 OK
r-oldrel-macos-arm64 1.0 72.00 OK
r-oldrel-macos-x86_64 1.0 108.00 OK
r-oldrel-windows-x86_64 1.0 43.00 160.00 203.00 ERROR

Check Details

Version: 1.0
Check: examples
Result: ERROR Running examples in 'bayesCureRateModel-Ex.R' failed The error most likely occurred in: > ### Name: bayesCureRateModel-package > ### Title: Bayesian Cure Rate Modeling for Time-to-Event Data > ### Aliases: bayesCureRateModel-package bayesCureRateModel > ### Keywords: package > > ### ** Examples > > # TOY EXAMPLE (very small numbers... only for CRAN check purposes) > # simulate toy data > set.seed(1) > n = 4 > stat = rbinom(n, size = 1, prob = 0.5) > x <- cbind(1, matrix(rnorm(n), n, 1)) > y <- rexp(n) > # run a weibull model with default prior setup > # considering 2 heated chains > fit1 <- cure_rate_MC3(y = y, X = x, Censoring_status = stat, + promotion_time = list(distribution = 'weibull'), + nChains = 2, + nCores = 1, + mcmc_cycles = 3, sweep=2) > # print method > fit1 * Run information: Fitted model: `weibull' BIC: 72.813 MCMC cycles: 3 Number of parallel heated chains: 2 Swap rates of adjacent chains: Min. Median Max. 1 1 1 * Maximum A Posteriori (MAP) estimate of parameters MAP estimate g_mcmc 2.3516764 lambda_mcmc 3.8770386 a1_mcmc 0.2955287 a2_mcmc 1.1932600 b0_mcmc [] -0.3071637 b1_mcmc [] 2.7175316 > # summary method > summary1 <- summary(fit1) By default, I will discard the first one third of the mcmc sample as burn-in period. Alternatively, you may set the "burn" parameter to another value. Error in mvnX(data = data, prior = prior) : NA/NaN/Inf in foreign function call (arg 1) Calls: summary ... eval -> eval -> mclustBIC -> mvn -> eval -> eval -> mvnX Execution halted Flavor: r-oldrel-windows-x86_64