CRAN Package Check Results for Package spacesXYZ

Last updated on 2026-02-11 10:37:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6-0 NOTE
r-devel-linux-x86_64-debian-gcc 1.6-0 2.57 39.67 42.24 NOTE
r-devel-linux-x86_64-fedora-clang 1.6-0 89.14 OK
r-devel-linux-x86_64-fedora-gcc 1.6-0 102.57 OK
r-devel-macos-arm64 1.6-0 1.00 23.00 24.00 ERROR
r-devel-windows-x86_64 1.6-0 8.00 92.00 100.00 OK
r-patched-linux-x86_64 1.6-0 4.32 48.19 52.51 OK
r-release-linux-x86_64 1.6-0 4.03 47.99 52.02 OK
r-release-macos-arm64 1.6-0 OK
r-release-macos-x86_64 1.6-0 3.00 95.00 98.00 OK
r-release-windows-x86_64 1.6-0 5.00 90.00 95.00 OK
r-oldrel-macos-arm64 1.6-0 OK
r-oldrel-macos-x86_64 1.6-0 3.00 79.00 82.00 OK
r-oldrel-windows-x86_64 1.6-0 7.00 101.00 108.00 OK

Check Details

Version: 1.6-0
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Glenn Davis <gdavis@gluonics.com>’ Found the following (possibly) invalid file URI: URI: <gdavis@gluonics.com> From: inst/doc/isotherms.pdf Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.6-0
Check: tests
Result: 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-05 01:56:14 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 Flavor: r-devel-macos-arm64