Last updated on 2026-01-30 17:48:52 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.4 | 5.39 | 581.09 | 586.48 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.4 | 4.16 | 299.12 | 303.28 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.4 | 9.00 | 955.36 | 964.36 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.4 | 9.00 | 641.56 | 650.56 | ERROR | |
| r-devel-windows-x86_64 | 0.1.4 | 137.00 | 605.00 | 742.00 | OK | |
| r-patched-linux-x86_64 | 0.1.4 | 5.68 | 392.23 | 397.91 | OK | |
| r-release-linux-x86_64 | 0.1.4 | 5.20 | 384.79 | 389.99 | OK | |
| r-release-macos-arm64 | 0.1.4 | OK | ||||
| r-release-macos-x86_64 | 0.1.4 | 92.00 | 733.00 | 825.00 | OK | |
| r-release-windows-x86_64 | 0.1.4 | 123.00 | 568.00 | 691.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.4 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.4 | 97.00 | 1031.00 | 1128.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.4 | 129.00 | 682.00 | 811.00 | OK |
Version: 0.1.4
Check: examples
Result: ERROR
Running examples in ‘tensorEVD-Ex.R’ failed
The error most likely occurred in:
> ### Name: Hadamard product
> ### Title: Hadamard product
> ### Aliases: Hadamard
>
> ### ** Examples
>
> require(tensorEVD)
>
> # (a) Example 1. Indexing using row/column names
> # Generate rectangular matrices A (nrowA x ncolA) and B (nrowB x ncolB)
> nA = c(10,15)
> nB = c(12,8)
> A = matrix(rnorm(nA[1]*nA[2]), nrow=nA[1])
> B = matrix(rnorm(nB[1]*nB[2]), nrow=nB[1])
> dimnames(A) = list(paste0("row",seq(nA[1])), paste0("col",seq(nA[2])))
> dimnames(B) = list(paste0("row",seq(nB[1])), paste0("col",seq(nB[2])))
>
> # Define IDs for a Hadamard of size n1 x n2
> n = c(1000,500)
> IDrowA = sample(rownames(A), n[1], replace=TRUE)
> IDrowB = sample(rownames(B), n[1], replace=TRUE)
> IDcolA = sample(colnames(A), n[2], replace=TRUE)
> IDcolB = sample(colnames(B), n[2], replace=TRUE)
>
> K1 = Hadamard(A, B, IDrowA, IDrowB, IDcolA, IDcolB, make.dimnames=TRUE)
>
> # (it must equal to:)
> K2 = A[IDrowA,IDcolA]*B[IDrowB,IDcolB]
> dimnames(K2) = list(paste0(IDrowA,":",IDrowB), paste0(IDcolA,":",IDcolB))
> all.equal(K1,K2)
[1] TRUE
>
> # (b) Example 2. Indexing using integers
> # Generate squared symmetric matrices A and B
> nA = 20
> nB = 15
> A = tcrossprod(matrix(rnorm(nA*nA), nrow=nA))
> B = tcrossprod(matrix(rnorm(nB*nB), nrow=nB))
>
> # Define IDs for a Hadamard of size n x n
> n = 1000
> IDA = sample(seq(nA), n, replace=TRUE)
> IDB = sample(seq(nB), n, replace=TRUE)
>
> K1 = Hadamard(A, B, IDA, IDB)
>
> # (it must equal to:)
> K2 = A[IDA,IDA]*B[IDB,IDB]
> all.equal(K1,K2)
[1] TRUE
>
> # (c) Inplace calculation
> # overwrite the output at the same address as the input:
> IDB = sample(seq(nB), nA, replace=TRUE)
>
> K1 = A[] # copy of A to be used as input
> add = pryr::address(K1) # address of K on entry
Error in loadNamespace(x) : there is no package called ‘pryr’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc