CRAN Package Check Results for Package BMIselect

Last updated on 2026-08-04 14:51:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 82.56 177.30 259.86 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 58.62 136.64 195.26 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.4 96.00 275.32 371.32 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 65.00 127.77 192.77 OK
r-devel-windows-x86_64 1.0.4 83.00 209.00 292.00 OK
r-patched-linux-x86_64 1.0.4 78.71 178.61 257.32 OK
r-release-linux-x86_64 1.0.4 74.89 178.35 253.24 OK
r-release-macos-arm64 1.0.4 16.00 47.00 63.00 OK
r-release-macos-x86_64 1.0.4 52.00 216.00 268.00 OK
r-release-windows-x86_64 1.0.4 84.00 205.00 289.00 OK
r-oldrel-macos-arm64 1.0.4 14.00 38.00 52.00 ERROR
r-oldrel-macos-x86_64 1.0.4 51.00 193.00 244.00 OK
r-oldrel-windows-x86_64 1.0.4 112.00 279.00 391.00 OK

Check Details

Version: 1.0.4
Check: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp08vrGs’ ‘~/tmp/scratch/Rtmp0FsMmt’ ‘~/tmp/scratch/Rtmp0rAl58’ ‘~/tmp/scratch/Rtmp12QLh9’ ‘~/tmp/scratch/Rtmp1REylr’ ‘~/tmp/scratch/Rtmp1ytpmj’ ‘~/tmp/scratch/Rtmp2F9IsJ’ ‘~/tmp/scratch/Rtmp2lH3Gw’ ‘~/tmp/scratch/Rtmp3H1CyE’ ‘~/tmp/scratch/Rtmp3yb1XF’ ‘~/tmp/scratch/Rtmp4RuCkq’ ‘~/tmp/scratch/Rtmp5jhmQF’ ‘~/tmp/scratch/Rtmp7dCgnO’ ‘~/tmp/scratch/Rtmp8otMsd’ ‘~/tmp/scratch/Rtmp9VDBKJ’ ‘~/tmp/scratch/RtmpAz03wm’ ‘~/tmp/scratch/RtmpB15Bv4’ ‘~/tmp/scratch/RtmpBSjBnY’ ‘~/tmp/scratch/RtmpBTLMza’ ‘~/tmp/scratch/RtmpBkdUfk’ ‘~/tmp/scratch/RtmpBxtJwk’ ‘~/tmp/scratch/RtmpCT2ETM’ ‘~/tmp/scratch/RtmpD6YgNP’ ‘~/tmp/scratch/RtmpD7WCwJ’ ‘~/tmp/scratch/RtmpEVKtYK’ ‘~/tmp/scratch/RtmpEagHu3’ ‘~/tmp/scratch/RtmpFNJ7Pa’ ‘~/tmp/scratch/RtmpFbjXDS’ ‘~/tmp/scratch/RtmpFsLxFz’ ‘~/tmp/scratch/RtmpGjVWSk’ ‘~/tmp/scratch/RtmpGycVl3’ ‘~/tmp/scratch/RtmpHe7ofk’ ‘~/tmp/scratch/RtmpIOzOu8’ ‘~/tmp/scratch/RtmpIYld8t’ ‘~/tmp/scratch/RtmpIgeeHs’ ‘~/tmp/scratch/RtmpJ5K3Tb’ ‘~/tmp/scratch/RtmpJKEovS’ ‘~/tmp/scratch/RtmpJffga0’ ‘~/tmp/scratch/RtmpJltZGw’ ‘~/tmp/scratch/RtmpK9EQXr’ ‘~/tmp/scratch/RtmpKOlhV7’ ‘~/tmp/scratch/RtmpKaykqb’ ‘~/tmp/scratch/RtmpL2qIOa’ ‘~/tmp/scratch/RtmpMe0Q6I’ ‘~/tmp/scratch/RtmpMjmWyr’ ‘~/tmp/scratch/RtmpMo1Ts2’ ‘~/tmp/scratch/RtmpMqK9PX’ ‘~/tmp/scratch/RtmpNEJqO3’ ‘~/tmp/scratch/RtmpNKhDd3’ ‘~/tmp/scratch/RtmpNMKvMl’ ‘~/tmp/scratch/RtmpNT5POs’ ‘~/tmp/scratch/RtmpPHgq51’ ‘~/tmp/scratch/RtmpPYc4hV’ ‘~/tmp/scratch/RtmpQB7MfJ’ ‘~/tmp/scratch/RtmpQCr2Ia’ ‘~/tmp/scratch/RtmpQlaKS7’ ‘~/tmp/scratch/RtmpR1hXNN’ ‘~/tmp/scratch/RtmpREUKeX’ ‘~/tmp/scratch/RtmpREp4gU’ ‘~/tmp/scratch/RtmpS1cZ9n’ ‘~/tmp/scratch/RtmpSPIfL1’ ‘~/tmp/scratch/RtmpSmb0Qa’ ‘~/tmp/scratch/RtmpSrUFIp’ ‘~/tmp/scratch/RtmpT0H4VN’ ‘~/tmp/scratch/RtmpTV1UZs’ ‘~/tmp/scratch/RtmpTvpDP2’ ‘~/tmp/scratch/RtmpUGya8e’ ‘~/tmp/scratch/RtmpULrLlB’ ‘~/tmp/scratch/RtmpUOU0pe’ ‘~/tmp/scratch/RtmpVU4yuU’ ‘~/tmp/scratch/RtmpVsusOX’ ‘~/tmp/scratch/RtmpVu5FYV’ ‘~/tmp/scratch/RtmpWZt735’ ‘~/tmp/scratch/RtmpWsOP9p’ ‘~/tmp/scratch/RtmpXUnGHA’ ‘~/tmp/scratch/RtmpXiNFma’ ‘~/tmp/scratch/RtmpYCSW5s’ ‘~/tmp/scratch/RtmpZaJ5KS’ ‘~/tmp/scratch/RtmpZmCVB1’ ‘~/tmp/scratch/RtmpaCblBl’ ‘~/tmp/scratch/RtmpbCiZL7’ ‘~/tmp/scratch/Rtmpbcf9X6’ ‘~/tmp/scratch/Rtmpc9mxT3’ ‘~/tmp/scratch/RtmpcKfzPr’ ‘~/tmp/scratch/Rtmpcf8IUM’ ‘~/tmp/scratch/RtmpcoDz0L’ ‘~/tmp/scratch/Rtmpcw2480’ ‘~/tmp/scratch/Rtmpd4JEmx’ ‘~/tmp/scratch/RtmpdOC9xr’ ‘~/tmp/scratch/RtmpeIaCmF’ ‘~/tmp/scratch/RtmpejsP9Q’ ‘~/tmp/scratch/Rtmpexa2NR’ ‘~/tmp/scratch/RtmpfMkRls’ ‘~/tmp/scratch/RtmpffMJDE’ ‘~/tmp/scratch/Rtmpg9F6BB’ ‘~/tmp/scratch/RtmpgPAH2m’ ‘~/tmp/scratch/Rtmph63Sbd’ ‘~/tmp/scratch/RtmphcF6R2’ ‘~/tmp/scratch/RtmpiOaDEG’ ‘~/tmp/scratch/Rtmpj2cN8t’ ‘~/tmp/scratch/Rtmpjj3GE9’ ‘~/tmp/scratch/RtmpkDMiJu’ ‘~/tmp/scratch/Rtmpl4Z7Cx’ ‘~/tmp/scratch/RtmplRGeP6’ ‘~/tmp/scratch/RtmplYuO8N’ ‘~/tmp/scratch/RtmpljpV3R’ ‘~/tmp/scratch/Rtmpm4X8VK’ ‘~/tmp/scratch/RtmpmA3cQU’ ‘~/tmp/scratch/RtmpmHsfG7’ ‘~/tmp/scratch/RtmpmxOEa2’ ‘~/tmp/scratch/Rtmpmyg0xx’ ‘~/tmp/scratch/RtmpnNauHA’ ‘~/tmp/scratch/RtmpnR2gel’ ‘~/tmp/scratch/RtmpnsJsuy’ ‘~/tmp/scratch/Rtmpqy42vt’ ‘~/tmp/scratch/RtmprZACJx’ ‘~/tmp/scratch/Rtmptk6s6c’ ‘~/tmp/scratch/Rtmptp6pzC’ ‘~/tmp/scratch/RtmpuPUvw3’ ‘~/tmp/scratch/RtmpuTPMze’ ‘~/tmp/scratch/RtmpuYa3ef’ ‘~/tmp/scratch/RtmpvKLAng’ ‘~/tmp/scratch/Rtmpwc1Rhp’ ‘~/tmp/scratch/RtmpwoD73D’ ‘~/tmp/scratch/RtmpxJa7MW’ ‘~/tmp/scratch/RtmpxjjzyH’ ‘~/tmp/scratch/RtmpyhYPs6’ ‘~/tmp/scratch/RtmpyjktIq’ ‘~/tmp/scratch/RtmpyqeIeA’ ‘~/tmp/scratch/RtmpywgDgQ’ ‘~/tmp/scratch/RtmpzKVAcn’ ‘~/tmp/scratch/RtmpzTPGxV’ ‘~/tmp/scratch/RtmpzWK3JR’ ‘~/tmp/scratch/Rtmpzc4rZk’ ‘~/tmp/scratch/RtmpzmE3DV’ ‘~/tmp/scratch/xvfb-run.2oZq2U’ ‘~/tmp/scratch/xvfb-run.2t2cck’ ‘~/tmp/scratch/xvfb-run.3RVEdJ’ ‘~/tmp/scratch/xvfb-run.3YkmRC’ ‘~/tmp/scratch/xvfb-run.4TXqlK’ ‘~/tmp/scratch/xvfb-run.4gbTWp’ ‘~/tmp/scratch/xvfb-run.51weHY’ ‘~/tmp/scratch/xvfb-run.6DuFd5’ ‘~/tmp/scratch/xvfb-run.6KIMsn’ ‘~/tmp/scratch/xvfb-run.6Ro8OG’ ‘~/tmp/scratch/xvfb-run.6Wj0Uk’ ‘~/tmp/scratch/xvfb-run.84Rjlk’ ‘~/tmp/scratch/xvfb-run.8qArTN’ ‘~/tmp/scratch/xvfb-run.AX4Dbj’ ‘~/tmp/scratch/xvfb-run.B5IIor’ ‘~/tmp/scratch/xvfb-run.Ca2xg2’ ‘~/tmp/scratch/xvfb-run.EvPODk’ ‘~/tmp/scratch/xvfb-run.FS1D8y’ ‘~/tmp/scratch/xvfb-run.GGOLRr’ ‘~/tmp/scratch/xvfb-run.GN1JCf’ ‘~/tmp/scratch/xvfb-run.GgPF1e’ ‘~/tmp/scratch/xvfb-run.H4BXw8’ ‘~/tmp/scratch/xvfb-run.H9mnS3’ ‘~/tmp/scratch/xvfb-run.HSoQJ9’ ‘~/tmp/scratch/xvfb-run.HcK3lt’ ‘~/tmp/scratch/xvfb-run.IJy3ot’ ‘~/tmp/scratch/xvfb-run.J2fgWo’ ‘~/tmp/scratch/xvfb-run.JGuzJd’ ‘~/tmp/scratch/xvfb-run.JxEFsP’ ‘~/tmp/scratch/xvfb-run.KYBXZC’ ‘~/tmp/scratch/xvfb-run.LKca68’ ‘~/tmp/scratch/xvfb-run.MQfzGL’ ‘~/tmp/scratch/xvfb-run.O5Pya7’ ‘~/tmp/scratch/xvfb-run.PP3Y4D’ ‘~/tmp/scratch/xvfb-run.RwOkM8’ ‘~/tmp/scratch/xvfb-run.T4yfZH’ ‘~/tmp/scratch/xvfb-run.TRTvyT’ ‘~/tmp/scratch/xvfb-run.UzVCSM’ ‘~/tmp/scratch/xvfb-run.YaIcmq’ ‘~/tmp/scratch/xvfb-run.YfzD74’ ‘~/tmp/scratch/xvfb-run.ZXYlWF’ ‘~/tmp/scratch/xvfb-run.Ztjk2Q’ ‘~/tmp/scratch/xvfb-run.a3gtvR’ ‘~/tmp/scratch/xvfb-run.aC4FH1’ ‘~/tmp/scratch/xvfb-run.dtoB6m’ ‘~/tmp/scratch/xvfb-run.dy2J3t’ ‘~/tmp/scratch/xvfb-run.eTV2uN’ ‘~/tmp/scratch/xvfb-run.ekXYxF’ ‘~/tmp/scratch/xvfb-run.ey3PKe’ ‘~/tmp/scratch/xvfb-run.fSg1Sj’ ‘~/tmp/scratch/xvfb-run.ffxEX0’ ‘~/tmp/scratch/xvfb-run.gwN7nI’ ‘~/tmp/scratch/xvfb-run.mENqFP’ ‘~/tmp/scratch/xvfb-run.nKL2Gu’ ‘~/tmp/scratch/xvfb-run.oebeK7’ ‘~/tmp/scratch/xvfb-run.okcORO’ ‘~/tmp/scratch/xvfb-run.opUvKt’ ‘~/tmp/scratch/xvfb-run.q3V3PY’ ‘~/tmp/scratch/xvfb-run.qeD2hB’ ‘~/tmp/scratch/xvfb-run.qfd13t’ ‘~/tmp/scratch/xvfb-run.r9Vaw4’ ‘~/tmp/scratch/xvfb-run.rxDfef’ ‘~/tmp/scratch/xvfb-run.s8uUh3’ ‘~/tmp/scratch/xvfb-run.sHN5FF’ ‘~/tmp/scratch/xvfb-run.vR6G2O’ ‘~/tmp/scratch/xvfb-run.wYCa8U’ ‘~/tmp/scratch/xvfb-run.xN0Zsn’ ‘~/tmp/scratch/xvfb-run.xpEwxA’ ‘~/tmp/scratch/xvfb-run.zARCDl’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Introduction.Rmd’ using rmarkdown *** caught segfault *** address 0x110, cause 'invalid permissions' *** caught segfault *** address 0x110, cause 'invalid permissions' Traceback: 1: cpp_horseshoe(X, Y, intercept, as.integer(nburn), as.integer(npost), seed, verbose, as.integer(printevery), as.integer(chain_index)) 2: horseshoe_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) 3: eval(c.expr, envir = args, enclos = envir) 4: eval(c.expr, envir = args, enclos = envir) 5: doTryCatch(return(expr), name, parentenv, handler) 6: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7: tryCatchList(expr, classes, parentenv, handlers) 8: tryCatch(eval(c.expr, envir = args, enclos = envir), error = function(e) e) 9: FUN(X[[i]], ...) 10: lapply(X = S, FUN = FUN, ...) 11: doTryCatch(return(expr), name, parentenv, handler) 12: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13: tryCatchList(expr, classes, parentenv, handlers) 14: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call, nlines = 1L) prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 15: try(lapply(X = S, FUN = FUN, ...), silent = TRUE) 16: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE)) 17: FUN(X[[i]], ...) 18: lapply(seq_len(cores), inner.do) 19: mclapply(argsList, FUN, mc.preschedule = preschedule, mc.set.seed = set.seed, mc.silent = silent, mc.cores = cores) 20: e$fun(obj, substitute(ex), parent.frame(), e$data) 21: foreach::foreach(chain = 1:nchains, .combine = list, .multicombine = TRUE, .maxcombine = ifelse(nchains >= 2, nchains, 2)) %dopar% { seed_chain = if (!is.null(seed)) seed + chain else NULL return(switch(model, Multi_Laplace = { multi_laplace_mcmc(X, Y, intercept = !standardize, h = extra_parameters$h, v = extra_parameters$v, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Horseshoe = { horseshoe_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, ARD = { ARD_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Spike_Laplace = { spike_laplace_partially_mcmc(X, Y, intercept = !standardize, a = extra_parameters$a, b = extra_parameters$b, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }))} 22: withCallingHandlers(expr, warning = function(w) if (inherits(w, classes)) tryInvokeRestart("muffleWarning")) 23: suppressWarnings(foreach::foreach(chain = 1:nchains, .combine = list, .multicombine = TRUE, .maxcombine = ifelse(nchains >= 2, nchains, 2)) %dopar% { seed_chain = if (!is.null(seed)) seed + chain else NULL return(switch(model, Multi_Laplace = { multi_laplace_mcmc(X, Y, intercept = !standardize, h = extra_parameters$h, v = extra_parameters$v, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Horseshoe = { horseshoe_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, ARD = { ARD_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Spike_Laplace = { spike_laplace_partially_mcmc(X, Y, intercept = !standardize, a = extra_parameters$a, b = extra_parameters$b, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }))}) 24: BMI_LASSO(data$data_MI$X, data$data_MI$Y, model = "Horseshoe", nburn = 4000, npost = 4000, output_verbose = FALSE, nchains = 2, ncores = 2, seed = seed) 25: eval(expr, envir) 26: eval(expr, envir) 27: withVisible(eval(expr, envir)) 28: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 29: eval(call) 30: eval(call) 31: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 32: doWithOneRestart(return(expr), restart) 33: withOneRestart(expr, restarts[[1L]]) 34: withRestartList(expr, restarts[-nr]) 35: doWithOneRestart(return(expr), restart) 36: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 37: withRestartList(expr, restarts) 38: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 39: evaluate::evaluate(...) 40: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 41: in_dir(input_dir(), expr) 42: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 43: eng_r(options) 44: block_exec(params) 45: call_block(x) 46: process_group(group) 47: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }) 48: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())) 49: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 50: process_file(text, output) 51: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 52: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 53: vweave_rmarkdown(...) 54: engine$weave(file, quiet = quiet, encoding = enc) 55: doTryCatch(return(expr), name, parentenv, handler) 56: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 57: tryCatchList(expr, classes, parentenv, handlers) 58: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) } outputs <- c(outputs, output)}, error = function(e) { thisOK <<- FALSE fails <<- c(fails, file) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 59: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/BMIselect.Rcheck/vign_test/BMIselect", skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/RtmplJMJVy/filecf6e527a36f.rds") An irrecoverable exception occurred. R is aborting now ... Traceback: 1: cpp_horseshoe(X, Y, intercept, as.integer(nburn), as.integer(npost), seed, verbose, as.integer(printevery), as.integer(chain_index)) 2: horseshoe_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) 3: eval(c.expr, envir = args, enclos = envir) 4: eval(c.expr, envir = args, enclos = envir) 5: doTryCatch(return(expr), name, parentenv, handler) 6: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7: tryCatchList(expr, classes, parentenv, handlers) 8: tryCatch(eval(c.expr, envir = args, enclos = envir), error = function(e) e) 9: FUN(X[[i]], ...) 10: lapply(X = S, FUN = FUN, ...) 11: doTryCatch(return(expr), name, parentenv, handler) 12: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13: tryCatchList(expr, classes, parentenv, handlers) 14: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call, nlines = 1L) prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 15: try(lapply(X = S, FUN = FUN, ...), silent = TRUE) 16: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE)) 17: FUN(X[[i]], ...) 18: lapply(seq_len(cores), inner.do) 19: mclapply(argsList, FUN, mc.preschedule = preschedule, mc.set.seed = set.seed, mc.silent = silent, mc.cores = cores) 20: e$fun(obj, substitute(ex), parent.frame(), e$data) 21: foreach::foreach(chain = 1:nchains, .combine = list, .multicombine = TRUE, .maxcombine = ifelse(nchains >= 2, nchains, 2)) %dopar% { seed_chain = if (!is.null(seed)) seed + chain else NULL return(switch(model, Multi_Laplace = { multi_laplace_mcmc(X, Y, intercept = !standardize, h = extra_parameters$h, v = extra_parameters$v, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Horseshoe = { horseshoe_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, ARD = { ARD_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Spike_Laplace = { spike_laplace_partially_mcmc(X, Y, intercept = !standardize, a = extra_parameters$a, b = extra_parameters$b, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }))} 22: withCallingHandlers(expr, warning = function(w) if (inherits(w, classes)) tryInvokeRestart("muffleWarning")) 23: suppressWarnings(foreach::foreach(chain = 1:nchains, .combine = list, .multicombine = TRUE, .maxcombine = ifelse(nchains >= 2, nchains, 2)) %dopar% { seed_chain = if (!is.null(seed)) seed + chain else NULL return(switch(model, Multi_Laplace = { multi_laplace_mcmc(X, Y, intercept = !standardize, h = extra_parameters$h, v = extra_parameters$v, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Horseshoe = { horseshoe_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, ARD = { ARD_mcmc(X, Y, intercept = !standardize, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }, Spike_Laplace = { spike_laplace_partially_mcmc(X, Y, intercept = !standardize, a = extra_parameters$a, b = extra_parameters$b, nburn = nburn, npost = npost, seed = seed_chain, verbose = output_verbose, printevery = printevery, chain_index = chain) }))}) 24: BMI_LASSO(data$data_MI$X, data$data_MI$Y, model = "Horseshoe", nburn = 4000, npost = 4000, output_verbose = FALSE, nchains = 2, ncores = 2, seed = seed) 25: eval(expr, envir) 26: eval(expr, envir) 27: withVisible(eval(expr, envir)) 28: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 29: eval(call) 30: eval(call) 31: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 32: doWithOneRestart(return(expr), restart) 33: withOneRestart(expr, restarts[[1L]]) 34: withRestartList(expr, restarts[-nr]) 35: doWithOneRestart(return(expr), restart) 36: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 37: withRestartList(expr, restarts) 38: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 39: evaluate::evaluate(...) 40: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 41: in_dir(input_dir(), expr) 42: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 43: eng_r(options) 44: block_exec(params) 45: call_block(x) 46: process_group(group) 47: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }) 48: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())) 49: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 50: process_file(text, output) 51: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 52: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 53: vweave_rmarkdown(...) 54: engine$weave(file, quiet = quiet, encoding = enc) 55: doTryCatch(return(expr), name, parentenv, handler) 56: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 57: tryCatchList(expr, classes, parentenv, handlers) 58: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) } outputs <- c(outputs, output)}, error = function(e) { thisOK <<- FALSE fails <<- c(fails, file) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 59: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/BMIselect.Rcheck/vign_test/BMIselect", skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/RtmplJMJVy/filecf6e527a36f.rds") An irrecoverable exception occurred. R is aborting now ... Quitting from Introduction.Rmd:164-179 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `apply()`: ! dim(X) must have a positive length --- Backtrace: ▆ 1. └─BMIselect::BMI_LASSO(...) 2. └─base::lapply(...) 3. └─BMIselect (local) FUN(X[[i]], ...) 4. └─base::apply(c$post_pool_beta, 2, function(x) mean(abs(x) <= sqrt(stats::var(x)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Introduction.Rmd' failed with diagnostics: dim(X) must have a positive length --- failed re-building ‘Introduction.Rmd’ SUMMARY: processing the following file failed: ‘Introduction.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-macos-arm64