* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/tensorEVD.Rcheck’ * using R Under development (unstable) (2026-01-29 r89354) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘tensorEVD/DESCRIPTION’ ... OK * this is package ‘tensorEVD’ version ‘0.1.4’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘pryr’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘tensorEVD’ can be installed ... [9s/38s] OK * used C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2m/10m] OK * checking whether the package can be loaded with stated dependencies ... [108s/189s] OK * checking whether the package can be unloaded cleanly ... [122s/294s] OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... [69s/71s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building ‘tensorEVD-documentation.Rmd’ using rmarkdown Quitting from tensorEVD-documentation.Rmd:212-246 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `[.default`: ! incorrect number of dimensions --- Backtrace: ▆ 1. └─global melt_data(...) 2. ├─base::do.call(...) 3. └─base::lapply(...) 4. └─FUN(X[[i]], ...) 5. ├─dt[, !colnames(dt) %in% c(id, variable.name), drop = F] 6. ├─base::`[.factor`(...) 7. └─base::NextMethod("[") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'tensorEVD-documentation.Rmd' failed with diagnostics: incorrect number of dimensions --- failed re-building ‘tensorEVD-documentation.Rmd’ SUMMARY: processing the following file failed: ‘tensorEVD-documentation.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/tensorEVD.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 24:49.69, 676.41 + 17.23