Last updated on 2026-02-12 09:50:11 CET.
| Package | ERROR | OK |
|---|---|---|
| adagio | 14 | |
| numbers | 14 | |
| pracma | 1 | 13 |
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: ERROR: 1, OK: 13
Version: 2.4.6
Check: examples
Result: ERROR
Running examples in ‘pracma-Ex.R’ failed
The error most likely occurred in:
> ### Name: eig
> ### Title: Eigenvalue Function (Matlab Style)
> ### Aliases: eig
> ### Keywords: array
>
> ### ** Examples
>
> eig(matrix(c(1,-1,-1,1), 2, 2)) #=> 2 0
[1] 2 0
> eig(matrix(c(1,1,-1,1), 2, 2)) # complex values
[1] 1+1i 1-1i
> eig(matrix(c(0,1i,-1i,0), 2, 2)) # real values
*** caught segfault ***
address 0x1, cause 'invalid permissions'
Traceback:
1: eigen(a, only.values = TRUE)
2: eig(matrix(c(0, 0+1i, -(0+1i), 0), 2, 2))
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-macos-arm64
Version: 2.4.6
Check: tests
Result: ERROR
Running ‘blkdiag.R’ [0s/0s]
Running ‘ceil.R’ [0s/0s]
Running ‘chebyshev.R’ [0s/0s]
Running ‘combs.R’ [0s/0s]
Running ‘compan.R’ [0s/0s]
Running ‘cond.R’ [0s/0s]
Running ‘conv.R’ [0s/0s]
Running ‘cross.R’ [0s/0s]
Running ‘crossn.R’ [0s/0s]
Running ‘deval.R’ [0s/0s]
Running ‘diag.R’ [0s/0s]
Running ‘distmat.R’ [0s/0s]
Running ‘dot.R’ [0s/0s]
Running ‘eig.R’ [0s/0s]
Running the tests in ‘tests/eig.R’ failed.
Complete output:
> ###
> ### eig.R +++ Test suite +++
> ###
>
>
> test.eig <- function(input, expected) {
+ output <- do.call(getFromNamespace("eig", "pracma"), input)
+ identical(output, expected)
+ }
>
> eig.expected.empty <- matrix(0, nrow=0, ncol=0)
> eig.expected.singl <- 1
> eig.expected.mat1 <- c(2, 0)
> eig.expected.mat2 <- c(1+1i, 1-1i)
> eig.expected.mat3 <- c(1, -1)
>
> test.eig(list(a=c()), eig.expected.empty)
[1] TRUE
> test.eig(list(a=c(1)), eig.expected.singl)
[1] TRUE
> test.eig(list(a=matrix(c(1,-1,-1,1), 2, 2)), eig.expected.mat1)
[1] TRUE
> test.eig(list(a=matrix(c(1,1,-1,1), 2, 2)), eig.expected.mat2)
[1] TRUE
> test.eig(list(a=matrix(c(0,1i,-1i,0), 2, 2)), eig.expected.mat3)
*** caught segfault ***
address 0x1, cause 'invalid permissions'
Traceback:
1: eigen(a, only.values = TRUE)
2: (function (a) { if (length(a) == 0) return(matrix(0, nrow = 0, ncol = 0)) if (length(a) == 1) return(a) if ((!is.numeric(a) && !is.complex(a)) || !is.matrix(a)) stop("Argument 'a' must be a numeric or complex matrix.") if (nrow(a) != ncol(a)) stop("Matrix 'a' must be square matrix.") eigen(a, only.values = TRUE)$values})(a = c(0+0i, 0+1i, 0-1i, 0+0i))
3: do.call(getFromNamespace("eig", "pracma"), input)
4: test.eig(list(a = matrix(c(0, 0+1i, -(0+1i), 0), 2, 2)), eig.expected.mat3)
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-macos-arm64