-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
R version 4.2.3 (2023-03-15) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(DelayedMatrixStats)
Loading required package: MatrixGenerics
Loading required package: matrixStats
Attaching package: 'MatrixGenerics'
The following objects are masked from 'package:matrixStats':
colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
colWeightedMeans, colWeightedMedians, colWeightedSds,
colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
rowWeightedSds, rowWeightedVars
Loading required package: DelayedArray
Loading required package: stats4
Loading required package: Matrix
Loading required package: BiocGenerics
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which.max, which.min
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following objects are masked from 'package:Matrix':
expand, unname
The following objects are masked from 'package:base':
I, expand.grid, unname
Loading required package: IRanges
Attaching package: 'DelayedArray'
The following objects are masked from 'package:base':
apply, rowsum, scale, sweep
Attaching package: 'DelayedMatrixStats'
The following objects are masked from 'package:matrixStats':
colAnyMissings, rowAnyMissings
>
> test_check("DelayedMatrixStats")
Loading required package: rhdf5
Attaching package: 'HDF5Array'
The following object is masked from 'package:rhdf5':
h5ls
R(43227,0xa0dfb620) malloc: *** mmap(size=320004096) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(43227,0xa0dfb620) malloc: *** mmap(size=320004096) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 14731 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_GitHub_issues.R:37:3'): Issue 54 is fixed ──────────────────────
Error: cannot allocate vector of size 305.2 Mb
Backtrace:
▆
1. ├─testthat::expect_equal(rowsum(as.matrix(m3), S), rowsum(m3, S)) at test_GitHub_issues.R:37:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::rowsum(as.matrix(m3), S)
5. ├─base::as.matrix(m3)
6. └─DelayedArray::as.matrix.Array(m3)
7. └─DelayedArray:::.from_Array_to_matrix(x, ...)
8. ├─base::as.array(x, drop = TRUE)
9. └─DelayedArray::as.array.Array(x, drop = TRUE)
10. └─DelayedArray:::.from_Array_to_array(x, ...)
11. ├─DelayedArray::extract_array(x, index)
12. └─DelayedArray::extract_array(x, index)
13. ├─methods::callNextMethod()
14. └─DelayedArray (local) .nextMethod(x = x, index = index)
15. ├─DelayedArray::extract_array(x@seed, index)
16. └─DelayedArray::extract_array(x@seed, index)
17. └─base::unlist(res, use.names = FALSE)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 14731 ]
Error: Test failures
Execution halted
Metadata
Metadata
Assignees
Labels
No labels