G'day all, I have daily scripts running to install the patched version of the current R version and the development version of R on my linux box (Ubuntu 24.04.1 LTS).
The last development version that was successfully compiled and installed on my machine is "R Under development (unstable) (2024-12-31 r87500)". Since then the script always fails on one of the regression tests; details are in the attached file R-CheckLog.txt. I also include a file (R-Script.txt) which shows why this test fails on my machine using the last R development version that did install on my machine. It seems the command 'si$LAPACK <- ""' introduces an extra line in the output of 'capture.output(si)' which then leads to an error message in 'which(osi != osi.noLA)'. Sorry, but I do not have any good idea/suggestion how this issue could be fixed. Cheers, Berwin
running code in '../../R-devel-src/tests/reg-tests-1e.R' ... FAILED ==> reg-tests-1e.Rout.fail <== > ## sessionInfo() *prints* La_version() when not empty > si <- sessionInfo() > str( osi <- capture.output(si)); hasLA <- nzchar(si$LAPACK); si$LAPACK <- "" chr [1:18] "R Under development (unstable) (2025-01-20 r87609)" ... > osi.noLA <- capture.output(si) > iLA <- which(osi != osi.noLA) Error in osi != osi.noLA : (converted from warning) longer object length is not a multiple of shorter object length Calls: which Execution halted
R Under development (unstable) (2024-12-31 r87500) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. [Previously saved workspace restored] > si0 <- si <- sessionInfo() > str( osi <- capture.output(si)); hasLA <- nzchar(si$LAPACK); si$LAPACK <- "" chr [1:20] "R Under development (unstable) (2024-12-31 r87500)" "Platform: x86_64-pc-linux-gnu" ... > osi.noLA <- capture.output(si) > iLA <- which(osi != osi.noLA) Warning message: In osi != osi.noLA : longer object length is not a multiple of shorter object length > length(osi) [1] 20 > length(osi.noLA) [1] 21 > osi [1] "R Under development (unstable) (2024-12-31 r87500)" [2] "Platform: x86_64-pc-linux-gnu" [3] "Running under: Ubuntu 24.04.1 LTS" [4] "" [5] "Matrix products: default" [6] "BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0" [7] "" [8] "locale:" [9] " [1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C LC_TIME=en_AU.UTF-8 LC_COLLATE=C " [10] " [5] LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_NAME=C " [11] " [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C " [12] "" [13] "time zone: Australia/Perth" [14] "tzcode source: system (glibc)" [15] "" [16] "attached base packages:" [17] "[1] stats graphics grDevices utils datasets methods base " [18] "" [19] "loaded via a namespace (and not attached):" [20] "[1] compiler_4.5.0" > osi.noLA [1] "R Under development (unstable) (2024-12-31 r87500)" [2] "Platform: x86_64-pc-linux-gnu" [3] "Running under: Ubuntu 24.04.1 LTS" [4] "" [5] "Matrix products: default" [6] "BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so " [7] " LAPACK version 3.12.0" [8] "" [9] "locale:" [10] " [1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C LC_TIME=en_AU.UTF-8 LC_COLLATE=C " [11] " [5] LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_NAME=C " [12] " [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C " [13] "" [14] "time zone: Australia/Perth" [15] "tzcode source: system (glibc)" [16] "" [17] "attached base packages:" [18] "[1] stats graphics grDevices utils datasets methods base " [19] "" [20] "loaded via a namespace (and not attached):" [21] "[1] compiler_4.5.0" > si0 R Under development (unstable) (2024-12-31 r87500) Platform: x86_64-pc-linux-gnu Running under: Ubuntu 24.04.1 LTS Matrix products: default BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0 locale: [1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C LC_TIME=en_AU.UTF-8 LC_COLLATE=C [5] LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C time zone: Australia/Perth tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.5.0 > str(si0) List of 13 $ R.version :List of 14 ..$ platform : chr "x86_64-pc-linux-gnu" ..$ arch : chr "x86_64" ..$ os : chr "linux-gnu" ..$ system : chr "x86_64, linux-gnu" ..$ status : chr "Under development (unstable)" ..$ major : chr "4" ..$ minor : chr "5.0" ..$ year : chr "2024" ..$ month : chr "12" ..$ day : chr "31" ..$ svn rev : chr "87500" ..$ language : chr "R" ..$ version.string: chr "R Under development (unstable) (2024-12-31 r87500)" ..$ nickname : chr "Unsuffered Consequences" $ platform : chr "x86_64-pc-linux-gnu" $ locale : chr "LC_CTYPE=en_AU.UTF-8;LC_NUMERIC=C;LC_TIME=en_AU.UTF-8;LC_COLLATE=C;LC_MONETARY=en_AU.UTF-8;LC_MESSAGES=en_AU.UT"| __truncated__ $ tzone : chr "Australia/Perth" $ tzcode_type: chr "system (glibc)" $ running : chr "Ubuntu 24.04.1 LTS" $ RNGkind : chr [1:3] "Mersenne-Twister" "Inversion" "Rejection" $ basePkgs : chr [1:7] "stats" "graphics" "grDevices" "utils" ... $ loadedOnly :List of 1 ..$ compiler:List of 10 .. ..$ Package : chr "compiler" .. ..$ Version : chr "4.5.0" .. ..$ Priority : chr "base" .. ..$ Title : chr "The R Compiler Package" .. ..$ Author : chr "Luke Tierney <luke-tier...@uiowa.edu>" .. ..$ Maintainer : chr "R Core Team <do-use-contact-addr...@r-project.org>" .. ..$ Contact : chr "R-help mailing list <r-h...@r-project.org>" .. ..$ Description: chr "Byte code compiler for R." .. ..$ License : chr "Part of R 4.5.0" .. ..$ Built : chr "R 4.5.0; ; 2024-12-31 20:44:59 UTC; unix" .. ..- attr(*, "class")= chr "packageDescription" .. ..- attr(*, "file")= chr "/opt/R/R-devel/lib/R/library/compiler/Meta/package.rds" $ matprod : chr "default" $ BLAS : chr "/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so" $ LAPACK : chr "/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so" $ LA_version : chr "3.12.0" - attr(*, "class")= chr "sessionInfo" > si R Under development (unstable) (2024-12-31 r87500) Platform: x86_64-pc-linux-gnu Running under: Ubuntu 24.04.1 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so LAPACK version 3.12.0 locale: [1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C LC_TIME=en_AU.UTF-8 LC_COLLATE=C [5] LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C time zone: Australia/Perth tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.5.0 > str(si) List of 13 $ R.version :List of 14 ..$ platform : chr "x86_64-pc-linux-gnu" ..$ arch : chr "x86_64" ..$ os : chr "linux-gnu" ..$ system : chr "x86_64, linux-gnu" ..$ status : chr "Under development (unstable)" ..$ major : chr "4" ..$ minor : chr "5.0" ..$ year : chr "2024" ..$ month : chr "12" ..$ day : chr "31" ..$ svn rev : chr "87500" ..$ language : chr "R" ..$ version.string: chr "R Under development (unstable) (2024-12-31 r87500)" ..$ nickname : chr "Unsuffered Consequences" $ platform : chr "x86_64-pc-linux-gnu" $ locale : chr "LC_CTYPE=en_AU.UTF-8;LC_NUMERIC=C;LC_TIME=en_AU.UTF-8;LC_COLLATE=C;LC_MONETARY=en_AU.UTF-8;LC_MESSAGES=en_AU.UT"| __truncated__ $ tzone : chr "Australia/Perth" $ tzcode_type: chr "system (glibc)" $ running : chr "Ubuntu 24.04.1 LTS" $ RNGkind : chr [1:3] "Mersenne-Twister" "Inversion" "Rejection" $ basePkgs : chr [1:7] "stats" "graphics" "grDevices" "utils" ... $ loadedOnly :List of 1 ..$ compiler:List of 10 .. ..$ Package : chr "compiler" .. ..$ Version : chr "4.5.0" .. ..$ Priority : chr "base" .. ..$ Title : chr "The R Compiler Package" .. ..$ Author : chr "Luke Tierney <luke-tier...@uiowa.edu>" .. ..$ Maintainer : chr "R Core Team <do-use-contact-addr...@r-project.org>" .. ..$ Contact : chr "R-help mailing list <r-h...@r-project.org>" .. ..$ Description: chr "Byte code compiler for R." .. ..$ License : chr "Part of R 4.5.0" .. ..$ Built : chr "R 4.5.0; ; 2024-12-31 20:44:59 UTC; unix" .. ..- attr(*, "class")= chr "packageDescription" .. ..- attr(*, "file")= chr "/opt/R/R-devel/lib/R/library/compiler/Meta/package.rds" $ matprod : chr "default" $ BLAS : chr "/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so" $ LAPACK : chr "" $ LA_version : chr "3.12.0" - attr(*, "class")= chr "sessionInfo" > > Save workspace image? [y/n/c]: n Process R finished at Tue Jan 21 13:01:46 2025
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel