@@ -1477,6 +1477,8 @@ if(attr(oL, "ok") && capabilities("NLS") && !is.na(.popath)
14771477 # # reset {just in case}:
14781478 Sys.setLanguage(" en" )
14791479}
1480+ # # reset {just in case}:
1481+ Sys.setLanguage(" en" )
14801482
14811483
14821484# # print( ls.str() ) using '<missing>' also in non-English setup:
@@ -1669,7 +1671,7 @@ stopifnot(identical(gen, isGeneric("+", getName = TRUE)), # the latter always wo
16691671 identical(gen , structure(" +" , package = " base" )),
16701672 isGeneric(" +" ), isGeneric(" +" , fdef = `+` ))
16711673
1672- # # These gave array-accss errors and perhaps segfaults in R <= 4.4.2
1674+ # # These gave array-access errors and perhaps segfaults in R <= 4.4.2
16731675ix <- integer(0 )
16741676sort.int(ix , method = " quick" )
16751677sort.int(ix , method = " quick" , index.return = TRUE )
@@ -1696,6 +1698,19 @@ if(englishMsgs) stopifnot(exprs = {
16961698options(op ) # return to sanity + warn=2
16971699
16981700
1701+ # # sessionInfo() *prints* La_version() when not empty
1702+ si <- sessionInfo()
1703+ str( osi <- capture.output(si )); hasLA <- nzchar(si $ LAPACK ); si $ LAPACK <- " "
1704+ osi.noLA <- capture.output(si )
1705+ iLA <- which(osi != osi.noLA )
1706+ cbind(osi , osi.noLA )[iLA ,] # was empty ..
1707+ if (length(iLA ) && nzchar(La_version())) { cat(" sessionInfo - La_* checking: " )
1708+ stopifnot(nzchar(v.noLA <- osi.noLA [iLA ]),
1709+ grepl(paste0(v.noLA ," $" ), osi [iLA ]))
1710+ cat(" ok\n " )
1711+ }
1712+ # # the "LAPACK: .." was entirely empty when si$LAPACK was ""
1713+
16991714
17001715# # keep at end
17011716rbind(last = proc.time() - .pt ,
0 commit comments