* using log directory ‘/Users/ripley/R/packages/tests-devel/calculus.Rcheck’ * using R Under development (unstable) (2026-08-22 r90443) * using platform: aarch64-apple-darwin25.6.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.6.2 * using session charset: UTF-8 * current time: 2026-08-24 06:43:56 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘calculus/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘calculus’ version ‘1.1.0’ * checking package namespace information ... OK * checking package dependencies ... OK * 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 ‘calculus’ can be installed ... OK * used C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’ * used SDK: ‘MacOSX26.5.sdk’ * checking installed package size ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... 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 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 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 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 ‘calculus-Ex.R’ failed The error most likely occurred in: > ### Name: einstein > ### Title: Numerical and Symbolic Einstein Summation > ### Aliases: einstein > > ### ** Examples > > ### A{i,j} B{j,k} > a <- array(letters[1:6], dim = c(i=2, j=3)) > b <- array(letters[1:3], dim = c(j=3, k=1)) > einstein(a,b) [,1] [1,] "(a) * (a) + (c) * (b) + (e) * (c)" [2,] "(b) * (a) + (d) * (b) + (f) * (c)" > > ### A{i,j} B{j,k,k} C{k,l} D{j,k} > a <- array(1:10, dim = c(i=2, j=5)) > b <- array(1:45, dim = c(j=5, k=3, k=3)) > c <- array(1:12, dim = c(k=3, l=4)) > d <- array(1:15, dim = c(j=5, k=3)) > einstein(a,b,c,d) Error in einstein(a, b, c, d) : no index found: use 'index(x) <- ...' to set summation indices Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [13s/13s] [13s/13s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/calculus.Rcheck/00check.log’ for details. 51.55 real 39.07 user 9.54 sys