The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN Package Check Results for Package sparsesurv

Last updated on 2026-11-21 23:51:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 3.72 45.56 49.28 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 3.14 35.26 38.40 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 34.54 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 33.52 ERROR
r-devel-windows-x86_64 0.1.1 6.00 69.00 75.00 OK
r-patched-linux-x86_64 0.1.1 4.90 40.86 45.76 OK
r-release-linux-x86_64 0.1.1 4.38 40.41 44.79 OK
r-release-macos-arm64 0.1.1 1.00 14.00 15.00 OK
r-release-macos-x86_64 0.1.1 3.00 49.00 52.00 OK
r-release-windows-x86_64 0.1.1 9.00 66.00 75.00 OK
r-oldrel-macos-arm64 0.1.1 OK
r-oldrel-macos-x86_64 0.1.1 3.00 39.00 42.00 OK
r-oldrel-windows-x86_64 0.1.1 8.00 74.00 82.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘sparsesurv-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ZINB > ### Title: Fit Zero-Inflated Negative Binomial Model with Arbitrary > ### Covariates and Prediction > ### Aliases: ZINB > > ### ** Examples > > # ---- tiny example for users & CRAN (< 5s) ---- > set.seed(5) > n <- 100 > base <- rnbinom(n, size = 5, mu = 7) > zeros <- rbinom(n, 1, 0.25) # add extra zeros > cases <- ifelse(zeros == 1, 0L, base) > ## Don't show: > stopifnot(length(cases) == n, all(cases >= 0)) > ## End(Don't show) > > # ---- actually fit the model, but only when JAGS is available ---- > ## Don't show: > if (nzchar(Sys.which("jags")) && requireNamespace("R2jags", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + fit <- ZINB( + cases = cases, + # optional priors if your API exposes them, e.g.: + # beta_prior_mean = 0, beta_prior_sd = 5, + # r_prior_shape = 2, r_prior_rate = 0.5, + n_iter = 400, # keep fast + n_burnin = 200, + n_chains = 1, + n_thin = 2 + ) + print(fit) + + + ## Not run: + ##D # ---- time-consuming / full demo ---- + ##D if (nzchar(Sys.which("jags")) && requireNamespace("R2jags", quietly = TRUE)) { + ##D fit_full <- ZINB( + ##D cases = cases, + ##D n_iter = 100000, + ##D n_burnin = 10000, + ##D n_chains = 4, + ##D n_thin = 5 + ##D ) + ##D print(fit_full) + ##D } + ## End(Not run) + + if (interactive()) { + # e.g., plot(fit) + } + ## Don't show: + }) # examplesIf > fit <- ZINB(cases = cases, n_iter = 400, n_burnin = 200, n_chains = 1, + n_thin = 2) Warning in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, : Unused variable "pop" in data Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Fully observed stochastic nodes: 100 Unobserved stochastic nodes: 103 Total graph size: 914 Initializing model Deleting model Error in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, : Error in node y[2] Node inconsistent with parents Calls: <Anonymous> ... withVisible -> eval -> eval -> ZINB -> <Anonymous> -> jags.model Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘sparsesurv-Ex.R’ failed The error most likely occurred in: > ### Name: ZINB > ### Title: Fit Zero-Inflated Negative Binomial Model with Arbitrary > ### Covariates and Prediction > ### Aliases: ZINB > > ### ** Examples > > # ---- tiny example for users & CRAN (< 5s) ---- > set.seed(5) > n <- 100 > base <- rnbinom(n, size = 5, mu = 7) > zeros <- rbinom(n, 1, 0.25) # add extra zeros > cases <- ifelse(zeros == 1, 0L, base) > ## Don't show: > stopifnot(length(cases) == n, all(cases >= 0)) > ## End(Don't show) > > # ---- actually fit the model, but only when JAGS is available ---- > ## Don't show: > if (nzchar(Sys.which("jags")) && requireNamespace("R2jags", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + fit <- ZINB( + cases = cases, + # optional priors if your API exposes them, e.g.: + # beta_prior_mean = 0, beta_prior_sd = 5, + # r_prior_shape = 2, r_prior_rate = 0.5, + n_iter = 400, # keep fast + n_burnin = 200, + n_chains = 1, + n_thin = 2 + ) + print(fit) + + + ## Not run: + ##D # ---- time-consuming / full demo ---- + ##D if (nzchar(Sys.which("jags")) && requireNamespace("R2jags", quietly = TRUE)) { + ##D fit_full <- ZINB( + ##D cases = cases, + ##D n_iter = 100000, + ##D n_burnin = 10000, + ##D n_chains = 4, + ##D n_thin = 5 + ##D ) + ##D print(fit_full) + ##D } + ## End(Not run) + + if (interactive()) { + # e.g., plot(fit) + } + ## Don't show: + }) # examplesIf > fit <- ZINB(cases = cases, n_iter = 400, n_burnin = 200, n_chains = 1, + n_thin = 2) Warning in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, : Unused variable "pop" in data Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Fully observed stochastic nodes: 100 Unobserved stochastic nodes: 103 Total graph size: 914 Initializing model Deleting model Error in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, : Error in node y[2] Node inconsistent with parents Calls: <Anonymous> ... withVisible -> eval -> eval -> ZINB -> <Anonymous> -> jags.model Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.