The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
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[@]metanet.ch.
Last updated on 2026-11-15 23:52:34 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.4.3 | 6.71 | 72.97 | 79.68 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.4.3 | 5.49 | 56.28 | 61.77 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.4.3 | 54.23 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.4.3 | 53.85 | OK | |||
| r-devel-windows-x86_64 | 1.4.3 | 10.00 | 88.00 | 98.00 | OK | |
| r-patched-linux-x86_64 | 1.4.3 | 7.72 | 66.52 | 74.24 | OK | |
| r-release-linux-x86_64 | 1.4.3 | 6.77 | 66.78 | 73.55 | OK | |
| r-release-macos-arm64 | 1.4.3 | 2.00 | 21.00 | 23.00 | OK | |
| r-release-macos-x86_64 | 1.4.3 | 6.00 | 65.00 | 71.00 | OK | |
| r-release-windows-x86_64 | 1.4.3 | 9.00 | 103.00 | 112.00 | OK | |
| r-oldrel-macos-arm64 | 1.4.3 | ERROR | ||||
| r-oldrel-macos-x86_64 | 1.4.3 | 5.00 | 77.00 | 82.00 | OK | |
| r-oldrel-windows-x86_64 | 1.4.3 | 11.00 | 172.00 | 183.00 | OK |
Version: 1.4.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(scTenifoldNet)
>
> test_check("scTenifoldNet")
*** caught segfault ***
address 0x110, cause 'invalid permissions'
*** caught segfault ***
address 0x110, cause 'invalid permissions'
Traceback:
1: FUN(X[[i]], ...)
2: lapply(X = S, FUN = FUN, ...)
3: doTryCatch(return(expr), name, parentenv, handler)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
5: tryCatchList(expr, classes, parentenv, handlers)
6: 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))})
7: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
8: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
9: FUN(X[[i]], ...)
10: lapply(seq_len(cores), inner.do)
Traceback:
1: FUN(X[[i]], ...)11:
2: parallel::mclapply(gene_blocks, coefficient_rows, Z = Z, d = d, lapply(X = S, FUN = FUN, ...)
nComp = nComp, secular_weights = secular_weights, mc.cores = nCores, mc.preschedule = TRUE) 3: doTryCatch(return(expr), name, parentenv, handler)
12: 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]).pcNetCoefficients(basis$Z, basis$d, nComp, nCores)
5: 13: pcNet(X, nComp = nComp, verbose = FALSE, nCores = 2)tryCatchList(expr, classes, parentenv, handlers)
6: tryCatch(expr, error = function(e) {14: call <- conditionCall(e)eval_bare(expr, quo_get_env(quo)) if (!is.null(call)) {
if (identical(call[[1L]], quote(doTryCatch))) 15: call <- sys.call(-4L)quasi_label(enquo(object), label) dcall <- deparse(call, nlines = 1L)
16: prefix <- paste("Error in", dcall, ": ") LONG <- 75Lexpect_equal(pcNet(X, nComp = nComp, verbose = FALSE, nCores = 2), sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") pcNet(X, nComp = nComp, verbose = FALSE)) if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],
17: type = "b")eval(code, test_env) if (w > LONG)
prefix <- paste0(prefix, "\n ") }18: else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n")eval(code, test_env) .Internal(seterrmessage(msg[1L]))
if (!silent && isTRUE(getOption("show.error.messages"))) {19: withCallingHandlers({ cat(msg, file = outFile) eval(code, test_env) .Internal(printDeferredWarnings()) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { } skip("On CRAN") invisible(structure(msg, class = "try-error", condition = e)) } else if (!new_expectations && skip_on_empty) { skip_empty()}) }
}, expectation = handle_expectation, packageNotFoundError = function(e) { 7: if (on_cran()) {try(lapply(X = S, FUN = FUN, ...), silent = TRUE) skip(paste0("{", e$package, "} is not installed."))
} 8: }, snapshot_on_cran = function(cnd) {sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE)) snapshot_skipped <<- TRUE
invokeRestart("muffle_cran_snapshot") 9: }, skip = handle_skip, warning = handle_warning, message = handle_message, FUN(X[[i]], ...) error = handle_error, interrupt = handle_interrupt)
10: 20: lapply(seq_len(cores), inner.do)doTryCatch(return(expr), name, parentenv, handler)
21: 11: tryCatchOne(expr, names, parentenv, handlers[[1L]])parallel::mclapply(gene_blocks, coefficient_rows, Z = Z, d = d,
nComp = nComp, secular_weights = secular_weights, mc.cores = nCores, mc.preschedule = TRUE)22:
tryCatchList(expr, classes, parentenv, handlers)
12: 23: tryCatch(withCallingHandlers({.pcNetCoefficients(basis$Z, basis$d, nComp, nCores) eval(code, test_env)
new_expectations <- the$test_expectations > starting_expectations13: if (snapshot_skipped) {pcNet(X, nComp = nComp, verbose = FALSE, nCores = 2) skip("On CRAN")
}14: else if (!new_expectations && skip_on_empty) {eval_bare(expr, quo_get_env(quo)) skip_empty()
}15: }, expectation = handle_expectation, packageNotFoundError = function(e) {quasi_label(enquo(object), label) if (on_cran()) {
16: skip(paste0("{", e$package, "} is not installed."))expect_equal(pcNet(X, nComp = nComp, verbose = FALSE, nCores = 2), } pcNet(X, nComp = nComp, verbose = FALSE))}, snapshot_on_cran = function(cnd) {
snapshot_skipped <<- TRUE17: invokeRestart("muffle_cran_snapshot")eval(code, test_env)}, skip = handle_skip, warning = handle_warning, message = handle_message,
error = handle_error, interrupt = handle_interrupt), error = handle_fatal)18:
eval(code, test_env)24:
19: doWithOneRestart(return(expr), restart)withCallingHandlers({
eval(code, test_env)25: new_expectations <- the$test_expectations > starting_expectationswithOneRestart(expr, restarts[[1L]]) if (snapshot_skipped) {
skip("On CRAN")26: }withRestarts(tryCatch(withCallingHandlers({ else if (!new_expectations && skip_on_empty) { eval(code, test_env) skip_empty() new_expectations <- the$test_expectations > starting_expectations } if (snapshot_skipped) {}, expectation = handle_expectation, packageNotFoundError = function(e) { skip("On CRAN") if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) } }}, snapshot_on_cran = function(cnd) { else if (!new_expectations && skip_on_empty) { snapshot_skipped <<- TRUE skip_empty() invokeRestart("muffle_cran_snapshot") }}, skip = handle_skip, warning = handle_warning, message = handle_message, }, expectation = handle_expectation, packageNotFoundError = function(e) { error = handle_error, interrupt = handle_interrupt)
if (on_cran()) {20: skip(paste0("{", e$package, "} is not installed."))doTryCatch(return(expr), name, parentenv, handler) }
}, snapshot_on_cran = function(cnd) {21: snapshot_skipped <<- TRUEtryCatchOne(expr, names, parentenv, handlers[[1L]]) invokeRestart("muffle_cran_snapshot")
}, skip = handle_skip, warning = handle_warning, message = handle_message, 22: error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() {tryCatchList(expr, classes, parentenv, handlers) })
27: 23: test_code(code, parent.frame())tryCatch(withCallingHandlers({
eval(code, test_env)28: new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) {test_that("pcNet matches per-gene SVD principal component regression", skip("On CRAN") { } nCells <- 200 else if (!new_expectations && skip_on_empty) { nGenes <- 100 skip_empty() nComp <- 3 } set.seed(42)}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { X <- matrix(rnbinom(n = nGenes * nCells, size = 20, prob = 0.98), skip(paste0("{", e$package, "} is not installed.")) nrow = nGenes, ncol = nCells) } rownames(X) <- paste0("Gene", seq_len(nGenes))}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE X_std <- scale(Matrix::t(X)) invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, reference <- matrix(0, nGenes, nGenes) error = handle_error, interrupt = handle_interrupt), error = handle_fatal) for (K in seq_len(nGenes)) {
design_matrix <- X_std[, -K]24: principal_components <- svd(design_matrix, nu = 0, doWithOneRestart(return(expr), restart) nv = nComp)$v
pc_scores <- design_matrix %*% principal_components25: pc_coefficients <- colSums(X_std[, K] * pc_scores)/colSums(pc_scores^2)withOneRestart(expr, restarts[[1L]])
reference[K, -K] <- principal_components %*% pc_coefficients26: }withRestarts(tryCatch(withCallingHandlers({ xNet <- pcNet(X, nComp = nComp, scaleScores = FALSE, eval(code, test_env) verbose = FALSE) new_expectations <- the$test_expectations > starting_expectations expect_equal(unname(as.matrix(xNet)), reference, tolerance = 1e-08) if (snapshot_skipped) { expect_equal(pcNet(X, nComp = nComp, verbose = FALSE, skip("On CRAN") nCores = 2), pcNet(X, nComp = nComp, verbose = FALSE)) } }) else if (!new_expectations && skip_on_empty) {
skip_empty()29: }eval(code, test_env)}, expectation = handle_expectation, packageNotFoundError = function(e) {
if (on_cran()) {30: skip(paste0("{", e$package, "} is not installed."))eval(code, test_env) }
}, snapshot_on_cran = function(cnd) {31: snapshot_skipped <<- TRUEwithCallingHandlers({ invokeRestart("muffle_cran_snapshot") eval(code, test_env)}, skip = handle_skip, warning = handle_warning, message = handle_message, new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { error = handle_error, interrupt = handle_interrupt), error = handle_fatal), skip("On CRAN") end_test = function() { } })
else if (!new_expectations && skip_on_empty) {27: skip_empty()test_code(code, parent.frame()) }
}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) {28: skip(paste0("{", e$package, "} is not installed."))test_that("pcNet matches per-gene SVD principal component regression", } {}, snapshot_on_cran = function(cnd) { nCells <- 200 snapshot_skipped <<- TRUE nGenes <- 100 invokeRestart("muffle_cran_snapshot") nComp <- 3}, skip = handle_skip, warning = handle_warning, message = handle_message, set.seed(42) error = handle_error, interrupt = handle_interrupt) X <- matrix(rnbinom(n = nGenes * nCells, size = 20, prob = 0.98),
nrow = nGenes, ncol = nCells)32: rownames(X) <- paste0("Gene", seq_len(nGenes))doTryCatch(return(expr), name, parentenv, handler) X_std <- scale(Matrix::t(X))
reference <- matrix(0, nGenes, nGenes)33: for (K in seq_len(nGenes)) {tryCatchOne(expr, names, parentenv, handlers[[1L]]) design_matrix <- X_std[, -K]
principal_components <- svd(design_matrix, nu = 0, 34: nv = nComp)$vtryCatchList(expr, classes, parentenv, handlers) pc_scores <- design_matrix %*% principal_components
pc_coefficients <- colSums(X_std[, K] * pc_scores)/colSums(pc_scores^2)35: reference[K, -K] <- principal_components %*% pc_coefficientstryCatch(withCallingHandlers({ } eval(code, test_env) xNet <- pcNet(X, nComp = nComp, scaleScores = FALSE, new_expectations <- the$test_expectations > starting_expectations verbose = FALSE) if (snapshot_skipped) { expect_equal(unname(as.matrix(xNet)), reference, tolerance = 1e-08) skip("On CRAN") expect_equal(pcNet(X, nComp = nComp, verbose = FALSE, } nCores = 2), pcNet(X, nComp = nComp, verbose = FALSE)) else if (!new_expectations && skip_on_empty) { skip_empty() }) }
}, expectation = handle_expectation, packageNotFoundError = function(e) {29: if (on_cran()) {eval(code, test_env) skip(paste0("{", e$package, "} is not installed."))
}30: }, snapshot_on_cran = function(cnd) {eval(code, test_env) snapshot_skipped <<- TRUE
invokeRestart("muffle_cran_snapshot")31: }, skip = handle_skip, warning = handle_warning, message = handle_message, withCallingHandlers({ error = handle_error, interrupt = handle_interrupt), error = handle_fatal) eval(code, test_env)
new_expectations <- the$test_expectations > starting_expectations36: if (snapshot_skipped) {doWithOneRestart(return(expr), restart) skip("On CRAN")
} else if (!new_expectations && skip_on_empty) { skip_empty() }37: }, expectation = handle_expectation, packageNotFoundError = function(e) {withOneRestart(expr, restarts[[1L]]) if (on_cran()) {
skip(paste0("{", e$package, "} is not installed."))38: }withRestarts(tryCatch(withCallingHandlers({}, snapshot_on_cran = function(cnd) { eval(code, test_env) snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot") new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) {}, skip = handle_skip, warning = handle_warning, message = handle_message, skip("On CRAN") error = handle_error, interrupt = handle_interrupt) }
else if (!new_expectations && skip_on_empty) {32: skip_empty()doTryCatch(return(expr), name, parentenv, handler) }
}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) {33: tryCatchOne(expr, names, parentenv, handlers[[1L]]) skip(paste0("{", e$package, "} is not installed."))
}34: }, snapshot_on_cran = function(cnd) {tryCatchList(expr, classes, parentenv, handlers) snapshot_skipped <<- TRUE
invokeRestart("muffle_cran_snapshot")35: }, skip = handle_skip, warning = handle_warning, message = handle_message, tryCatch(withCallingHandlers({ error = handle_error, interrupt = handle_interrupt), error = handle_fatal), eval(code, test_env) end_test = function() { new_expectations <- the$test_expectations > starting_expectations }) if (snapshot_skipped) {
skip("On CRAN")39: }test_code(code = exprs, env = env, reporter = get_reporter() %||% else if (!new_expectations && skip_on_empty) { StopReporter$new()) skip_empty()
}40: }, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) {source_file(path, env = env(env), desc = desc, shuffle = shuffle, skip(paste0("{", e$package, "} is not installed.")) error_call = error_call) }
}, snapshot_on_cran = function(cnd) {41: snapshot_skipped <<- TRUEFUN(X[[i]], ...) invokeRestart("muffle_cran_snapshot")
}, skip = handle_skip, warning = handle_warning, message = handle_message, 42: error = handle_error, interrupt = handle_interrupt), error = handle_fatal)lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle,
error_call = error_call)36:
doWithOneRestart(return(expr), restart)43: doTryCatch(return(expr), name, parentenv, handler)
44: 37: tryCatchOne(expr, names, parentenv, handlers[[1L]])withOneRestart(expr, restarts[[1L]])
45: 38: tryCatchList(expr, classes, parentenv, handlers)withRestarts(tryCatch(withCallingHandlers({
eval(code, test_env)46: new_expectations <- the$test_expectations > starting_expectationstryCatch(code, testthat_abort_reporter = function(cnd) { if (snapshot_skipped) { cat(conditionMessage(cnd), "\n") skip("On CRAN") NULL }}) else if (!new_expectations && skip_on_empty) {
skip_empty()47: }with_reporter(reporters$multi, lapply(test_paths, test_one_file, }, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { env = env, desc = desc, shuffle = shuffle, error_call = error_call)) skip(paste0("{", e$package, "} is not installed."))
}48: }, snapshot_on_cran = function(cnd) {test_files_serial(test_dir = test_dir, test_package = test_package, snapshot_skipped <<- TRUE test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, invokeRestart("muffle_cran_snapshot") env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, }, skip = handle_skip, warning = handle_warning, message = handle_message, desc = desc, load_package = load_package, shuffle = shuffle, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), error_call = error_call) end_test = function() {
})49:
test_files(test_dir = path, test_paths = test_paths, test_package = package, 39: reporter = reporter, load_helpers = load_helpers, env = env, test_code(code = exprs, env = env, reporter = get_reporter() %||% stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, StopReporter$new()) load_package = load_package, parallel = parallel, shuffle = shuffle)
40: source_file(path, env = env(env), desc = desc, shuffle = shuffle, 50: error_call = error_call)test_dir("testthat", package = package, reporter = reporter,
..., load_package = "installed")41:
FUN(X[[i]], ...)51:
test_check("scTenifoldNet")
42: An irrecoverable exception occurred. R is aborting now ...
lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call)
43: doTryCatch(return(expr), name, parentenv, handler)
44: tryCatchOne(expr, names, parentenv, handlers[[1L]])
45: tryCatchList(expr, classes, parentenv, handlers)
46: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL})
47: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call))
48: 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)
49: 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)
50: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
51: test_check("scTenifoldNet")
An irrecoverable exception occurred. R is aborting now ...
Saving _problems/test-pcNet-89.R
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 66 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-pcNet.R:88:3'): pcNet matches per-gene SVD principal component regression ──
Error in `.pcNetCoefficients(basis$Z, basis$d, nComp, nCores)`: Parallel computation failed:
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-pcNet.R:88:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─scTenifoldNet::pcNet(X, nComp = nComp, verbose = FALSE, nCores = 2)
5. └─scTenifoldNet:::.pcNetCoefficients(basis$Z, basis$d, nComp, nCores)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 66 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64
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.