• using R Under development (unstable) (2026-02-12 r89409)
  • using platform: aarch64-apple-darwin23
  • R was compiled by     Apple clang version 17.0.0 (clang-1700.3.19.1)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Sequoia 15.7.1
  • using session charset: UTF-8 * current time: 2026-02-13 01:57:46 UTC
  • checking for file ‘spacesXYZ/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘spacesXYZ’ version ‘1.6-0’
  • package encoding: UTF-8
  • 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 ‘spacesXYZ’ can be installed ... [1s/1s] OK See the install log for details.
  • 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 ... [0s/0s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the package can be unloaded cleanly ... [0s/0s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] OK
  • checking whether startup messages can be suppressed ... [0s/0s] 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 ... [1s/1s] OK
  • checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
  • checking data for non-ASCII characters ... [0s/0s] OK
  • checking LazyData ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking R/sysdata.rda ... OK
  • checking sizes of PDF files under ‘inst/doc’ ... OK
  • checking installed files from ‘inst/doc’ ... OK
  • checking files in ‘vignettes’ ... OK
  • checking examples ... [0s/0s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [1s/1s] ERROR   Running ‘test-CCT.R’ [0s/0s]   Running ‘test-DeltaE.R’ [0s/0s]   Running ‘test-adaptations.R’ [0s/0s] Running the tests in ‘tests/test-adaptations.R’ failed. Complete output:   >   >   > library( spacesXYZ )   Attaching spacesXYZ. Version: 1.6-0. Author: Glenn Davis [aut, cre]. Built: R 4.6.0; ; 2026-02-13 01:57:50 UTC; unix   >   > options( width=144 )   >   > printf <- function( msg, ... )   + {   + mess = sprintf( msg[1], ... ) # should this really be msg[1] ?   + cat( mess, '\n' ) #, file=stderr() )   + }   >   >   > testFundamental <- function()   + {   + printf( "\n--------------------- testFundamental() -----------------------" )   +   + C = standardXYZ( 'C' )   + D65 = standardXYZ( 'D65' )   +   + # xyY_D65 = xyYfromXYZ( D65 )   +   + for( method in c( "Bradford", "VonKries", "MCAT02", "Bianco", "scaling" ) )   + {   + CtoD65 = CAT( C, D65, method=method )   +   + xyY_gray = xyYfromXYZ( adaptXYZ(CtoD65,C) )   +   + delta = max( abs(adaptXYZ(CtoD65,C) - D65) )   +   + printf( "method='%s'. delta=%g", method, delta )   +   + if( 5.e-16 < delta )   + {   + printf( "Adaptation accuracy failed for method='%s'. delta=%g", method, delta )   + return(FALSE)   + }   + }   +   + return( TRUE )   + }   >   >   >   > testSymmetry <- function()   + {   + printf( "\n--------------------- testSymmetry() -----------------------" )   +   + I3 = diag(3)   +   + for( method in c( "Bradford", "VonKries", "MCAT02", "Bianco", "scaling" ) )   + {   + AtoB = CAT( 'A', 'B', method=method )   +   + BtoA = CAT( 'B', 'A', method=method )   +   + # the product of the Ms must be I   + delta = max( abs(AtoB$M %*% BtoA$M - I3) ) # print(delta)   +   + printf( "method='%s'. delta=%g", method, delta )   +   + if( 5.e-15 < delta )   + {   + printf( "Adaptation symmetry failed for method='%s'. delta=%g", method, delta )   + return(FALSE)   + }   + }   +   + return( TRUE )   + }   >   >   > testCommutativity <- function()   + {   + printf( "\n--------------- testCommutativity() -----------------------" )   +   + for( method in c( "Bradford", "VonKries", "MCAT02", "Bianco", "scaling" ) )   + {   + AtoB = CAT( 'A', 'B', method=method )   +   + BtoC = CAT( 'B', 'C', method=method )   +   + AtoC = CAT( 'A', 'C', method=method )   +   + # compare matrix product   + delta = max( abs(BtoC$M %*% AtoB$M - AtoC$M) )   +   + printf( "method='%s'. delta=%g", method, delta )   +   + if( 5.e-15 < delta )   + {   + printf( "Adaptation commutativity failed for method='%s'. delta=%g", method, delta )   + return(FALSE)   + }   + }   +   + return( TRUE )   + }   >   >   >   > if( ! testFundamental() ) stop( "testFundamental() failed !", call.=FALSE )      --------------------- testFundamental() -----------------------   method='Bradford'. delta=2.22045e-16   method='VonKries'. delta=5.55112e-16   Adaptation accuracy failed for method='VonKries'. delta=5.55112e-16   Error: testFundamental() failed !   Execution halted
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes ... OK
  • checking re-building of vignette outputs ... [6s/10s] OK
  • checking PDF version of manual ... [3s/3s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '