CRAN Package Check Results for Package cxreg

Last updated on 2026-08-03 04:49:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.4 15.31 132.36 147.67 OK
r-devel-linux-x86_64-debian-gcc 1.1.4 10.41 100.21 110.62 NOTE
r-devel-linux-x86_64-fedora-clang 1.1.4 20.00 209.71 229.71 OK
r-devel-linux-x86_64-fedora-gcc 1.1.4 9.00 91.13 100.13 OK
r-devel-windows-x86_64 1.1.4 19.00 183.00 202.00 OK
r-patched-linux-x86_64 1.1.4 13.60 123.42 137.02 OK
r-release-linux-x86_64 1.1.4 12.12 125.05 137.17 OK
r-release-macos-arm64 1.1.4 4.00 43.00 47.00 OK
r-release-macos-x86_64 1.1.4 12.00 228.00 240.00 OK
r-release-windows-x86_64 1.1.4 20.00 189.00 209.00 OK
r-oldrel-macos-arm64 1.1.4 3.00 36.00 39.00 ERROR
r-oldrel-macos-x86_64 1.1.4 11.00 137.00 148.00 OK
r-oldrel-windows-x86_64 1.1.4 23.00 211.00 234.00 OK

Check Details

Version: 1.1.4
Check: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp0tjoP6’ ‘~/tmp/scratch/Rtmp1fQEJm’ ‘~/tmp/scratch/Rtmp1kPra6’ ‘~/tmp/scratch/Rtmp2E71iM’ ‘~/tmp/scratch/Rtmp2f7NIi’ ‘~/tmp/scratch/Rtmp2gSP4W’ ‘~/tmp/scratch/Rtmp39IQk7’ ‘~/tmp/scratch/Rtmp3YlyJv’ ‘~/tmp/scratch/Rtmp3blSbe’ ‘~/tmp/scratch/Rtmp3k6nqD’ ‘~/tmp/scratch/Rtmp4HHw5C’ ‘~/tmp/scratch/Rtmp5aCaaB’ ‘~/tmp/scratch/Rtmp74Urii’ ‘~/tmp/scratch/Rtmp8DWt3j’ ‘~/tmp/scratch/Rtmp8QtYtx’ ‘~/tmp/scratch/Rtmp8YhkJO’ ‘~/tmp/scratch/Rtmp8k3N9i’ ‘~/tmp/scratch/Rtmp8ulvbr’ ‘~/tmp/scratch/Rtmp9dm5Ms’ ‘~/tmp/scratch/Rtmp9h2Yfq’ ‘~/tmp/scratch/RtmpAKFRVV’ ‘~/tmp/scratch/RtmpAVdIU0’ ‘~/tmp/scratch/RtmpAdXVLH’ ‘~/tmp/scratch/RtmpBGI02o’ ‘~/tmp/scratch/RtmpBRp85S’ ‘~/tmp/scratch/RtmpCuxNZr’ ‘~/tmp/scratch/RtmpDW2qgz’ ‘~/tmp/scratch/RtmpDixmgy’ ‘~/tmp/scratch/RtmpEmm6CN’ ‘~/tmp/scratch/RtmpF4WWzr’ ‘~/tmp/scratch/RtmpGYSbRA’ ‘~/tmp/scratch/RtmpGmkfhm’ ‘~/tmp/scratch/RtmpGmod5F’ ‘~/tmp/scratch/RtmpGxnMzD’ ‘~/tmp/scratch/RtmpHYI9AR’ ‘~/tmp/scratch/RtmpHjfmgJ’ ‘~/tmp/scratch/RtmpIDpCYm’ ‘~/tmp/scratch/RtmpIKmEU2’ ‘~/tmp/scratch/RtmpIQ4yKy’ ‘~/tmp/scratch/RtmpIZHveQ’ ‘~/tmp/scratch/RtmpIx4Upa’ ‘~/tmp/scratch/RtmpJ7TgKZ’ ‘~/tmp/scratch/RtmpJMNWjo’ ‘~/tmp/scratch/RtmpJOZnuA’ ‘~/tmp/scratch/RtmpJP22Fk’ ‘~/tmp/scratch/RtmpJXdJPq’ ‘~/tmp/scratch/RtmpJkt1Tz’ ‘~/tmp/scratch/RtmpK91USW’ ‘~/tmp/scratch/RtmpKILKG6’ ‘~/tmp/scratch/RtmpKbiMH2’ ‘~/tmp/scratch/RtmpKuUYph’ ‘~/tmp/scratch/RtmpLYKIaS’ ‘~/tmp/scratch/RtmpLf4in3’ ‘~/tmp/scratch/RtmpLliLtn’ ‘~/tmp/scratch/RtmpM5U9x6’ ‘~/tmp/scratch/RtmpNDxEuJ’ ‘~/tmp/scratch/RtmpNyNd0B’ ‘~/tmp/scratch/RtmpOTRtAj’ ‘~/tmp/scratch/RtmpOXFysX’ ‘~/tmp/scratch/RtmpPEmNJ2’ ‘~/tmp/scratch/RtmpPQyIDs’ ‘~/tmp/scratch/RtmpPyJ2mp’ ‘~/tmp/scratch/RtmpQYZqUW’ ‘~/tmp/scratch/RtmpQn1vq9’ ‘~/tmp/scratch/RtmpSEnjWL’ ‘~/tmp/scratch/RtmpShs0iM’ ‘~/tmp/scratch/RtmpT4x4GK’ ‘~/tmp/scratch/RtmpTv4haN’ ‘~/tmp/scratch/RtmpUyQMlj’ ‘~/tmp/scratch/RtmpV6EcQR’ ‘~/tmp/scratch/RtmpX0dncW’ ‘~/tmp/scratch/RtmpXJRXPs’ ‘~/tmp/scratch/RtmpXXmIfs’ ‘~/tmp/scratch/RtmpY8ORaU’ ‘~/tmp/scratch/RtmpYO7u8M’ ‘~/tmp/scratch/RtmpYzu8X9’ ‘~/tmp/scratch/RtmpZ6O5zI’ ‘~/tmp/scratch/RtmpZAdKol’ ‘~/tmp/scratch/RtmpayEKO2’ ‘~/tmp/scratch/RtmpbEnLyy’ ‘~/tmp/scratch/RtmpbOY0En’ ‘~/tmp/scratch/RtmpbUqoS3’ ‘~/tmp/scratch/Rtmpbeo38d’ ‘~/tmp/scratch/RtmpblU7er’ ‘~/tmp/scratch/RtmpbmzYxA’ ‘~/tmp/scratch/RtmpbuARcW’ ‘~/tmp/scratch/RtmpcQr9Fd’ ‘~/tmp/scratch/Rtmpcc1Qqa’ ‘~/tmp/scratch/RtmpcdR317’ ‘~/tmp/scratch/RtmpcdoV24’ ‘~/tmp/scratch/Rtmpd1IPC9’ ‘~/tmp/scratch/RtmpdAuM6A’ ‘~/tmp/scratch/RtmpdDkEJJ’ ‘~/tmp/scratch/RtmpdFBpY3’ ‘~/tmp/scratch/Rtmpdme4nK’ ‘~/tmp/scratch/Rtmpeo2HQw’ ‘~/tmp/scratch/Rtmpf7knjY’ ‘~/tmp/scratch/RtmpfKeoUZ’ ‘~/tmp/scratch/Rtmpg359o3’ ‘~/tmp/scratch/RtmpgRfAui’ ‘~/tmp/scratch/Rtmpgn3Bfo’ ‘~/tmp/scratch/RtmphBxn05’ ‘~/tmp/scratch/RtmphTzL6z’ ‘~/tmp/scratch/Rtmphu4qIt’ ‘~/tmp/scratch/RtmpiFLm8x’ ‘~/tmp/scratch/RtmpiHVVrT’ ‘~/tmp/scratch/RtmpiNEUXO’ ‘~/tmp/scratch/RtmpiTXAyS’ ‘~/tmp/scratch/RtmpiVyxS7’ ‘~/tmp/scratch/RtmpieyeGQ’ ‘~/tmp/scratch/Rtmpk5CZxj’ ‘~/tmp/scratch/Rtmpk7IM1G’ ‘~/tmp/scratch/Rtmpkd45g1’ ‘~/tmp/scratch/RtmpkzubwB’ ‘~/tmp/scratch/RtmplTE8Fz’ ‘~/tmp/scratch/Rtmpllhxht’ ‘~/tmp/scratch/RtmpmPF9H6’ ‘~/tmp/scratch/RtmpmkixxA’ ‘~/tmp/scratch/RtmpnNZmxz’ ‘~/tmp/scratch/Rtmpnv3YXr’ ‘~/tmp/scratch/Rtmpp3YOTE’ ‘~/tmp/scratch/Rtmpp8j3W9’ ‘~/tmp/scratch/RtmppMHziu’ ‘~/tmp/scratch/Rtmpq3W56Y’ ‘~/tmp/scratch/RtmpqGNDQ3’ ‘~/tmp/scratch/RtmpqrPJyo’ ‘~/tmp/scratch/RtmprBV8xp’ ‘~/tmp/scratch/RtmprlrpFT’ ‘~/tmp/scratch/RtmprxOBl9’ ‘~/tmp/scratch/RtmpsDiyJ2’ ‘~/tmp/scratch/RtmpsglBVn’ ‘~/tmp/scratch/Rtmpt4kFzq’ ‘~/tmp/scratch/RtmptSBfDz’ ‘~/tmp/scratch/RtmpuchOgh’ ‘~/tmp/scratch/RtmpunPSm5’ ‘~/tmp/scratch/Rtmputagpk’ ‘~/tmp/scratch/Rtmpv3GfNE’ ‘~/tmp/scratch/RtmpvDRs5o’ ‘~/tmp/scratch/RtmpvsOdmY’ ‘~/tmp/scratch/RtmpvvNhu5’ ‘~/tmp/scratch/RtmpxSZWt2’ ‘~/tmp/scratch/RtmpxZpkVG’ ‘~/tmp/scratch/RtmpxdYJHK’ ‘~/tmp/scratch/RtmpyCzvFm’ ‘~/tmp/scratch/RtmpyUVPK8’ ‘~/tmp/scratch/Rtmpycg35x’ ‘~/tmp/scratch/xvfb-run.0YT6gm’ ‘~/tmp/scratch/xvfb-run.1Iup4U’ ‘~/tmp/scratch/xvfb-run.1O8cbj’ ‘~/tmp/scratch/xvfb-run.6V3jy6’ ‘~/tmp/scratch/xvfb-run.6xTbsV’ ‘~/tmp/scratch/xvfb-run.7V2Qpo’ ‘~/tmp/scratch/xvfb-run.9Miynl’ ‘~/tmp/scratch/xvfb-run.A427Rk’ ‘~/tmp/scratch/xvfb-run.APbBBb’ ‘~/tmp/scratch/xvfb-run.CB4RaW’ ‘~/tmp/scratch/xvfb-run.DwsmwI’ ‘~/tmp/scratch/xvfb-run.GcVxgI’ ‘~/tmp/scratch/xvfb-run.HNLTbc’ ‘~/tmp/scratch/xvfb-run.HjjVEz’ ‘~/tmp/scratch/xvfb-run.I7X9W0’ ‘~/tmp/scratch/xvfb-run.JdGK0k’ ‘~/tmp/scratch/xvfb-run.KaQ112’ ‘~/tmp/scratch/xvfb-run.KhhrXx’ ‘~/tmp/scratch/xvfb-run.L9fZij’ ‘~/tmp/scratch/xvfb-run.LCT3Ia’ ‘~/tmp/scratch/xvfb-run.LjcVtp’ ‘~/tmp/scratch/xvfb-run.NJ9dg7’ ‘~/tmp/scratch/xvfb-run.NgMdE3’ ‘~/tmp/scratch/xvfb-run.NrKj7t’ ‘~/tmp/scratch/xvfb-run.O4BUtC’ ‘~/tmp/scratch/xvfb-run.OBVjHN’ ‘~/tmp/scratch/xvfb-run.PNipsC’ ‘~/tmp/scratch/xvfb-run.QxO7r6’ ‘~/tmp/scratch/xvfb-run.RT0xvx’ ‘~/tmp/scratch/xvfb-run.TWik8U’ ‘~/tmp/scratch/xvfb-run.UnD6dD’ ‘~/tmp/scratch/xvfb-run.VEh9gP’ ‘~/tmp/scratch/xvfb-run.XnT233’ ‘~/tmp/scratch/xvfb-run.YRlJ6r’ ‘~/tmp/scratch/xvfb-run.YTTr9x’ ‘~/tmp/scratch/xvfb-run.Z3J6nq’ ‘~/tmp/scratch/xvfb-run.bgmPPL’ ‘~/tmp/scratch/xvfb-run.bwQylU’ ‘~/tmp/scratch/xvfb-run.cPQJW9’ ‘~/tmp/scratch/xvfb-run.cvXAhb’ ‘~/tmp/scratch/xvfb-run.eI44W7’ ‘~/tmp/scratch/xvfb-run.gOjxRn’ ‘~/tmp/scratch/xvfb-run.hftjOj’ ‘~/tmp/scratch/xvfb-run.id5Mdj’ ‘~/tmp/scratch/xvfb-run.jHxfgO’ ‘~/tmp/scratch/xvfb-run.k94G7z’ ‘~/tmp/scratch/xvfb-run.kckVHB’ ‘~/tmp/scratch/xvfb-run.nREurt’ ‘~/tmp/scratch/xvfb-run.nVSxT8’ ‘~/tmp/scratch/xvfb-run.sIQmB7’ ‘~/tmp/scratch/xvfb-run.uTiHHy’ ‘~/tmp/scratch/xvfb-run.v5Zrhf’ ‘~/tmp/scratch/xvfb-run.vzJ3RN’ ‘~/tmp/scratch/xvfb-run.wbkGA3’ ‘~/tmp/scratch/xvfb-run.x8XpeU’ ‘~/tmp/scratch/xvfb-run.xBB0GC’ ‘~/tmp/scratch/xvfb-run.z5NAp7’ ‘~/tmp/scratch/xvfb-run.zqLzrG’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.4
Check: examples
Result: ERROR Running examples in ‘cxreg-Ex.R’ failed The error most likely occurred in: > ### Name: cglasso > ### Title: fit a complex-valued graphical lasso > ### Aliases: cglasso > ### Keywords: complex-valued matrix models precision > > ### ** Examples > > p <- 30 > n <- 500 > C <- diag(0.7, p) > C[row(C) == col(C) + 1] <- 0.3 > C[row(C) == col(C) - 1] <- 0.3 > Sigma <- solve(C) > set.seed(1010) > m <- floor(sqrt(n)); j <- 1 > X_t <- mvtnorm::rmvnorm(n = n, mean = rep(0, p), sigma = Sigma) > d_j <- dft.j(X_t,j,m) > f_j_hat <- t(d_j) %*% Conj(d_j) / (2*m+1) > fit <- cglasso(S=f_j_hat, m=floor(sqrt(n))) *** caught segfault *** address 0x6, cause 'invalid permissions' Traceback: 1: eigen(Theta_hat) 2: EBIC_G_trimmed(S, Theta_hat, m, g = 0.5) 3: cglasso.path(S, D, type, m, lambda, nlambda, lambda.min.ratio, W.init, stopping_rule, stop_criterion, maxit = maxit, thresh = thresh, trace.it = trace.it) 4: cglasso(S = f_j_hat, m = floor(sqrt(n))) An irrecoverable exception occurred. R is aborting now ... Flavor: r-oldrel-macos-arm64

Version: 1.1.4
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cxreg) > > test_check("cxreg") *** caught segfault *** address 0x27, cause 'invalid permissions' Traceback: 1: eigen(Theta_hat) 2: AIC(S, Theta_hat, m) 3: cglasso.path(S, D, type, m, lambda, nlambda, lambda.min.ratio, W.init, stopping_rule, stop_criterion, maxit = maxit, thresh = thresh, trace.it = trace.it) 4: cglasso(S = f_j_hat, m = m, nlambda = 20, stop_criterion = "AIC", stopping_rule = FALSE) 5: eval(code, test_env) 6: eval(code, test_env) 7: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 8: doTryCatch(return(expr), name, parentenv, handler) 9: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10: tryCatchList(expr, classes, parentenv, handlers) 11: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 12: doWithOneRestart(return(expr), restart) 13: withOneRestart(expr, restarts[[1L]]) 14: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 15: test_code(code, parent.frame()) 16: test_that("cglasso works", { rmvnorm_manual <- function(n, p, Sigma) { D <- chol(Sigma) return(matrix(rnorm(n * p), ncol = p) %*% D) } p <- 40 n <- 500 C <- diag(0.8, p) C[row(C) == col(C) + 1] <- -0.2 C[row(C) == col(C) - 1] <- -0.2 Sigma <- solve(C) set.seed(1234) X_t <- rmvnorm_manual(n, p, Sigma) m <- floor(sqrt(n)) j <- 1 d_j <- dft.j(X_t, j, m) f_j_hat <- t(d_j) %*% Conj(d_j)/(2 * m + 1) fit <- cglasso(S = f_j_hat, m = m, nlambda = 20, stop_criterion = "AIC", stopping_rule = FALSE) expect_length(fit$stop_arr, 20) expect_equal(fit$stop_criterion, "AIC") expect_true(is.numeric(fit$min_index)) expect_length(fit$lambda_grid, 20) expect_true(is.list(fit$Theta_list)) expect_equal(fit$type, "I") expect_true(is.matrix(fit$D))}) 17: eval(code, test_env) 18: eval(code, test_env) 19: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 20: doTryCatch(return(expr), name, parentenv, handler) 21: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 22: tryCatchList(expr, classes, parentenv, handlers) 23: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 24: doWithOneRestart(return(expr), restart) 25: withOneRestart(expr, restarts[[1L]]) 26: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 27: test_code(code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new()) 28: source_file(path, env = env(env), desc = desc, shuffle = shuffle, error_call = error_call) 29: FUN(X[[i]], ...) 30: lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call) 31: doTryCatch(return(expr), name, parentenv, handler) 32: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 33: tryCatchList(expr, classes, parentenv, handlers) 34: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 35: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call)) 36: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, shuffle = shuffle, error_call = error_call) 37: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel, shuffle = shuffle) 38: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 39: test_check("cxreg") An irrecoverable exception occurred. R is aborting now ... Flavor: r-oldrel-macos-arm64

Version: 1.1.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: sh: line 1: 10120 Segmentation fault: 11 '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla --no-echo > '/Volumes/Temp/tmp/RtmpXijG9y/file263254f2be9' 2>&1 < '/Volumes/Temp/tmp/RtmpXijG9y/file263210cbd0b8' --- re-building ‘cxreg-inference.Rmd’ using rmarkdown *** caught segfault *** address 0x4, cause 'invalid permissions' Traceback: 1: eigen(Theta_hat) 2: EBIC_G_trimmed(S, Theta_hat, m, g = 0.5) 3: cglasso.path(S, D, type, m, lambda, nlambda, lambda.min.ratio, W.init, stopping_rule, stop_criterion, maxit = maxit, thresh = thresh, trace.it = trace.it) 4: cglasso(S = fhat, m = m, type = "II") 5: eval(expr, envir) 6: eval(expr, envir) 7: withVisible(eval(expr, envir)) 8: 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)}) 9: eval(call) 10: eval(call) 11: 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) 12: doWithOneRestart(return(expr), restart) 13: withOneRestart(expr, restarts[[1L]]) 14: withRestartList(expr, restarts[-nr]) 15: doWithOneRestart(return(expr), restart) 16: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 17: withRestartList(expr, restarts) 18: 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) 19: evaluate::evaluate(...) 20: 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)) 21: in_dir(input_dir(), expr) 22: 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))) 23: eng_r(options) 24: block_exec(params) 25: call_block(x) 26: process_group(group) 27: 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) }) 28: 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())) 29: 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) 30: process_file(text, output) 31: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 32: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 33: vweave_rmarkdown(...) 34: engine$weave(file, quiet = quiet, encoding = enc) 35: doTryCatch(return(expr), name, parentenv, handler) 36: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 37: tryCatchList(expr, classes, parentenv, handlers) 38: 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) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 39: tools:::.buildOneVignette("cxreg-inference.Rmd", "/Volumes/Builds/packages/big-sur-arm64/results/4.5/cxreg.Rcheck/vign_test/cxreg", TRUE, FALSE, "cxreg-inference", "UTF-8", "/Volumes/Temp/tmp/RtmpXijG9y/file26326d8c0b9f.rds") An irrecoverable exception occurred. R is aborting now ... sh: line 1: 10976 Segmentation fault: 11 '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla --no-echo > '/Volumes/Temp/tmp/RtmpXijG9y/file2632792ec3cb' 2>&1 < '/Volumes/Temp/tmp/RtmpXijG9y/file26326d388294' --- re-building ‘cxreg.Rmd’ using rmarkdown *** caught segfault *** address 0x6, cause 'invalid permissions' Traceback: 1: eigen(Theta_hat) 2: EBIC_G_trimmed(S, Theta_hat, m, g = 0.5) 3: cglasso.path(S, D, type, m, lambda, nlambda, lambda.min.ratio, W.init, stopping_rule, stop_criterion, maxit = maxit, thresh = thresh, trace.it = trace.it) 4: cglasso(S = f_hat, m = m, type = "I") 5: eval(expr, envir) 6: eval(expr, envir) 7: withVisible(eval(expr, envir)) 8: 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)}) 9: eval(call) 10: eval(call) 11: 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) 12: doWithOneRestart(return(expr), restart) 13: withOneRestart(expr, restarts[[1L]]) 14: withRestartList(expr, restarts[-nr]) 15: doWithOneRestart(return(expr), restart) 16: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 17: withRestartList(expr, restarts) 18: 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) 19: evaluate::evaluate(...) 20: 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)) 21: in_dir(input_dir(), expr) 22: 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))) 23: eng_r(options) 24: block_exec(params) 25: call_block(x) 26: process_group(group) 27: 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) }) 28: 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())) 29: 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) 30: process_file(text, output) 31: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 32: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 33: vweave_rmarkdown(...) 34: engine$weave(file, quiet = quiet, encoding = enc) 35: doTryCatch(return(expr), name, parentenv, handler) 36: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 37: tryCatchList(expr, classes, parentenv, handlers) 38: 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) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 39: tools:::.buildOneVignette("cxreg.Rmd", "/Volumes/Builds/packages/big-sur-arm64/results/4.5/cxreg.Rcheck/vign_test/cxreg", TRUE, FALSE, "cxreg", "UTF-8", "/Volumes/Temp/tmp/RtmpXijG9y/file263234f3e8a5.rds") An irrecoverable exception occurred. R is aborting now ... SUMMARY: processing the following files failed: ‘cxreg-inference.Rmd’ ‘cxreg.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-macos-arm64