0s autopkgtest [13:37:26]: starting date and time: 2025-03-15 13:37:26+0000 0s autopkgtest [13:37:26]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [13:37:26]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.oo6q2vjc/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:glibc --apt-upgrade r-cran-libcoin --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- lxd -r lxd-armhf-10.145.243.158 lxd-armhf-10.145.243.158:autopkgtest/ubuntu/plucky/armhf 21s autopkgtest [13:37:47]: testbed dpkg architecture: armhf 22s autopkgtest [13:37:48]: testbed apt version: 2.9.33 26s autopkgtest [13:37:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 28s autopkgtest [13:37:54]: testbed release detected to be: None 36s autopkgtest [13:38:02]: updating testbed package index (apt update) 38s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 38s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [257 kB] 39s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [126 kB] 39s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [126 kB] 39s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.8 kB] 39s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [404 kB] 39s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 40s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [81.0 kB] 40s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf c-n-f Metadata [1944 B] 40s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf c-n-f Metadata [116 B] 40s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [326 kB] 40s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf c-n-f Metadata [12.1 kB] 40s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [3472 B] 40s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf c-n-f Metadata [332 B] 40s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1400 kB] 42s Get:16 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 65s Get:17 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB] 65s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1378 kB] 67s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf c-n-f Metadata [29.4 kB] 67s Get:20 http://ftpmaster.internal/ubuntu plucky/restricted armhf c-n-f Metadata [108 B] 67s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 83s Get:22 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [172 kB] 85s Fetched 41.0 MB in 47s (870 kB/s) 86s Reading package lists... 96s autopkgtest [13:39:02]: upgrading testbed (apt dist-upgrade and autopurge) 98s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 99s Starting 2 pkgProblemResolver with broken count: 0 99s Done 100s Entering ResolveByKeep 100s 100s Calculating upgrade... 101s The following packages will be upgraded: 101s libc-bin libc6 locales python3-jinja2 sos strace 101s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s Need to get 8642 kB of archives. 101s After this operation, 23.6 kB of additional disk space will be used. 101s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc6 armhf 2.41-1ubuntu2 [2932 kB] 104s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc-bin armhf 2.41-1ubuntu2 [545 kB] 105s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf locales all 2.41-1ubuntu2 [4246 kB] 110s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf strace armhf 6.13+ds-1ubuntu1 [445 kB] 110s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf sos all 4.9.0-5 [365 kB] 111s Preconfiguring packages ... 111s Fetched 8642 kB in 10s (862 kB/s) 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 112s Preparing to unpack .../libc6_2.41-1ubuntu2_armhf.deb ... 112s Unpacking libc6:armhf (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 112s Setting up libc6:armhf (2.41-1ubuntu2) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 112s Preparing to unpack .../libc-bin_2.41-1ubuntu2_armhf.deb ... 112s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 112s Setting up libc-bin (2.41-1ubuntu2) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 113s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 113s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 113s Preparing to unpack .../strace_6.13+ds-1ubuntu1_armhf.deb ... 113s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 113s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ... 113s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 113s Preparing to unpack .../archives/sos_4.9.0-5_all.deb ... 114s Unpacking sos (4.9.0-5) over (4.9.0-4) ... 114s Setting up sos (4.9.0-5) ... 114s Setting up locales (2.41-1ubuntu2) ... 116s Generating locales (this might take a while)... 117s en_US.UTF-8... done 117s Generation complete. 117s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 118s Setting up strace (6.13+ds-1ubuntu1) ... 118s Processing triggers for man-db (2.13.0-1) ... 119s Processing triggers for systemd (257.3-1ubuntu3) ... 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s Starting pkgProblemResolver with broken count: 0 122s Starting 2 pkgProblemResolver with broken count: 0 123s Done 123s Solving dependencies... 123s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s autopkgtest [13:39:31]: rebooting testbed after setup commands that affected boot 168s autopkgtest [13:40:14]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 193s autopkgtest [13:40:39]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-libcoin 205s Get:1 http://ftpmaster.internal/ubuntu plucky/universe r-cran-libcoin 1.0-10-1 (dsc) [2121 B] 205s Get:2 http://ftpmaster.internal/ubuntu plucky/universe r-cran-libcoin 1.0-10-1 (tar) [848 kB] 205s Get:3 http://ftpmaster.internal/ubuntu plucky/universe r-cran-libcoin 1.0-10-1 (diff) [2468 B] 205s gpgv: Signature made Sat Oct 14 06:06:56 2023 UTC 205s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 205s gpgv: issuer "tille@debian.org" 205s gpgv: Can't check signature: No public key 205s dpkg-source: warning: cannot verify inline signature for ./r-cran-libcoin_1.0-10-1.dsc: no acceptable signature found 205s autopkgtest [13:40:51]: testing package r-cran-libcoin version 1.0-10-1 208s autopkgtest [13:40:54]: build not needed 213s autopkgtest [13:40:59]: test run-unit-test: preparing testbed 215s Reading package lists... 216s Building dependency tree... 216s Reading state information... 216s Starting pkgProblemResolver with broken count: 0 216s Starting 2 pkgProblemResolver with broken count: 0 216s Done 217s The following NEW packages will be installed: 217s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono libblas3 217s libcairo2 libdatrie1 libdeflate0 libfontconfig1 libfreetype6 libgfortran5 217s libgomp1 libgraphite2-3 libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 217s libjpeg8 liblapack3 liblerc4 libpango-1.0-0 libpangocairo-1.0-0 217s libpangoft2-1.0-0 libpaper-utils libpaper2 libpixman-1-0 libsharpyuv0 libsm6 217s libtcl8.6 libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 217s libxcb-shm0 libxft2 libxrender1 libxss1 libxt6t64 r-base-core 217s r-cran-codetools r-cran-coin r-cran-lattice r-cran-libcoin r-cran-mass 217s r-cran-matrix r-cran-matrixstats r-cran-modeltools r-cran-multcomp 217s r-cran-mvtnorm r-cran-sandwich r-cran-survival r-cran-th.data r-cran-zoo 217s unzip x11-common xdg-utils zip 217s 0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded. 217s Need to get 68.2 MB of archives. 217s After this operation, 111 MB of additional disk space will be used. 217s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 218s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 218s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 219s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig-config armhf 2.15.0-2ubuntu1 [37.5 kB] 219s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libfontconfig1 armhf 2.15.0-2ubuntu1 [114 kB] 219s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig armhf 2.15.0-2ubuntu1 [190 kB] 220s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.1-2 [132 kB] 220s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 220s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-render0 armhf 1.17.0-2 [15.3 kB] 220s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 220s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 220s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcairo2 armhf 1.18.2-2 [484 kB] 220s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libdatrie1 armhf 0.2.13-3build1 [15.7 kB] 220s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libdeflate0 armhf 1.23-1 [38.5 kB] 221s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 15-20250222-0ubuntu1 [330 kB] 221s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 15-20250222-0ubuntu1 [128 kB] 221s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libgraphite2-3 armhf 1.3.14-2ubuntu1 [64.8 kB] 221s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libharfbuzz0b armhf 10.2.0-1 [464 kB] 222s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 222s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 222s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg-turbo8 armhf 2.1.5-3ubuntu2 [127 kB] 222s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 222s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.1-2 [2091 kB] 224s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf liblerc4 armhf 4.0.0+ds-5ubuntu1 [160 kB] 224s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libthai-data all 0.1.29-2build1 [158 kB] 224s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libthai0 armhf 0.1.29-2build1 [15.2 kB] 224s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libpango-1.0-0 armhf 1.56.2-1 [216 kB] 225s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libpangoft2-1.0-0 armhf 1.56.2-1 [43.6 kB] 225s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libpangocairo-1.0-0 armhf 1.56.2-1 [25.1 kB] 225s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libpaper2 armhf 2.2.5-0.3 [16.3 kB] 225s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpaper-utils armhf 2.2.5-0.3 [14.2 kB] 225s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsharpyuv0 armhf 1.5.0-0.1 [16.4 kB] 225s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 225s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtcl8.6 armhf 8.6.16+dfsg-1 [909 kB] 226s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libjbig0 armhf 2.1-6.1ubuntu2 [24.9 kB] 226s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libwebp7 armhf 1.5.0-0.1 [188 kB] 226s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libtiff6 armhf 4.5.1+git230720-4ubuntu4 [179 kB] 226s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libxft2 armhf 2.3.6-1build1 [37.4 kB] 226s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libxss1 armhf 1:1.2.3-1build3 [6500 B] 226s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libtk8.6 armhf 8.6.16-1 [686 kB] 227s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 228s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf zip armhf 3.0-14ubuntu2 [164 kB] 228s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf unzip armhf 6.0-28ubuntu6 [167 kB] 228s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-utils all 1.2.1-2ubuntu1 [66.0 kB] 228s Get:45 http://ftpmaster.internal/ubuntu plucky/universe armhf r-base-core armhf 4.4.3-1 [28.2 MB] 261s Get:46 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-codetools all 0.2-20-1 [90.5 kB] 261s Get:47 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-lattice armhf 0.22-6-1 [1363 kB] 262s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-matrix armhf 1.7-3-1 [4039 kB] 267s Get:49 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-survival armhf 3.8-3-1 [8196 kB] 275s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-mvtnorm armhf 1.3-3-1 [915 kB] 277s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-libcoin armhf 1.0-10-1 [758 kB] 277s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-matrixstats armhf 1.5.0-1 [495 kB] 278s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-modeltools all 0.2-23-2build1 [219 kB] 278s Get:54 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-mass armhf 7.3-64-1 [1105 kB] 279s Get:55 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-th.data all 1.1-3-1 [8723 kB] 289s Get:56 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-zoo armhf 1.8-13-1 [996 kB] 290s Get:57 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-sandwich all 3.1-1-1 [1483 kB] 291s Get:58 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-multcomp all 1.4-28-1 [700 kB] 292s Get:59 http://ftpmaster.internal/ubuntu plucky/universe armhf r-cran-coin armhf 1.4-3-1 [1558 kB] 294s Preconfiguring packages ... 294s Fetched 68.2 MB in 1min 16s (896 kB/s) 294s Selecting previously unselected package libfreetype6:armhf. 294s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 294s Preparing to unpack .../00-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 294s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 294s Selecting previously unselected package fonts-dejavu-mono. 294s Preparing to unpack .../01-fonts-dejavu-mono_2.37-8_all.deb ... 294s Unpacking fonts-dejavu-mono (2.37-8) ... 294s Selecting previously unselected package fonts-dejavu-core. 294s Preparing to unpack .../02-fonts-dejavu-core_2.37-8_all.deb ... 294s Unpacking fonts-dejavu-core (2.37-8) ... 294s Selecting previously unselected package fontconfig-config. 294s Preparing to unpack .../03-fontconfig-config_2.15.0-2ubuntu1_armhf.deb ... 294s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 294s Selecting previously unselected package libfontconfig1:armhf. 294s Preparing to unpack .../04-libfontconfig1_2.15.0-2ubuntu1_armhf.deb ... 294s Unpacking libfontconfig1:armhf (2.15.0-2ubuntu1) ... 294s Selecting previously unselected package fontconfig. 294s Preparing to unpack .../05-fontconfig_2.15.0-2ubuntu1_armhf.deb ... 294s Unpacking fontconfig (2.15.0-2ubuntu1) ... 294s Selecting previously unselected package libblas3:armhf. 295s Preparing to unpack .../06-libblas3_3.12.1-2_armhf.deb ... 295s Unpacking libblas3:armhf (3.12.1-2) ... 295s Selecting previously unselected package libpixman-1-0:armhf. 295s Preparing to unpack .../07-libpixman-1-0_0.44.0-3_armhf.deb ... 295s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 295s Selecting previously unselected package libxcb-render0:armhf. 295s Preparing to unpack .../08-libxcb-render0_1.17.0-2_armhf.deb ... 295s Unpacking libxcb-render0:armhf (1.17.0-2) ... 295s Selecting previously unselected package libxcb-shm0:armhf. 295s Preparing to unpack .../09-libxcb-shm0_1.17.0-2_armhf.deb ... 295s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 295s Selecting previously unselected package libxrender1:armhf. 295s Preparing to unpack .../10-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 295s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 295s Selecting previously unselected package libcairo2:armhf. 295s Preparing to unpack .../11-libcairo2_1.18.2-2_armhf.deb ... 295s Unpacking libcairo2:armhf (1.18.2-2) ... 295s Selecting previously unselected package libdatrie1:armhf. 295s Preparing to unpack .../12-libdatrie1_0.2.13-3build1_armhf.deb ... 295s Unpacking libdatrie1:armhf (0.2.13-3build1) ... 295s Selecting previously unselected package libdeflate0:armhf. 295s Preparing to unpack .../13-libdeflate0_1.23-1_armhf.deb ... 295s Unpacking libdeflate0:armhf (1.23-1) ... 295s Selecting previously unselected package libgfortran5:armhf. 295s Preparing to unpack .../14-libgfortran5_15-20250222-0ubuntu1_armhf.deb ... 295s Unpacking libgfortran5:armhf (15-20250222-0ubuntu1) ... 295s Selecting previously unselected package libgomp1:armhf. 295s Preparing to unpack .../15-libgomp1_15-20250222-0ubuntu1_armhf.deb ... 295s Unpacking libgomp1:armhf (15-20250222-0ubuntu1) ... 295s Selecting previously unselected package libgraphite2-3:armhf. 295s Preparing to unpack .../16-libgraphite2-3_1.3.14-2ubuntu1_armhf.deb ... 295s Unpacking libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 295s Selecting previously unselected package libharfbuzz0b:armhf. 295s Preparing to unpack .../17-libharfbuzz0b_10.2.0-1_armhf.deb ... 295s Unpacking libharfbuzz0b:armhf (10.2.0-1) ... 295s Selecting previously unselected package x11-common. 295s Preparing to unpack .../18-x11-common_1%3a7.7+23ubuntu3_all.deb ... 295s Unpacking x11-common (1:7.7+23ubuntu3) ... 295s Selecting previously unselected package libice6:armhf. 295s Preparing to unpack .../19-libice6_2%3a1.1.1-1_armhf.deb ... 295s Unpacking libice6:armhf (2:1.1.1-1) ... 295s Selecting previously unselected package libjpeg-turbo8:armhf. 295s Preparing to unpack .../20-libjpeg-turbo8_2.1.5-3ubuntu2_armhf.deb ... 295s Unpacking libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 295s Selecting previously unselected package libjpeg8:armhf. 295s Preparing to unpack .../21-libjpeg8_8c-2ubuntu11_armhf.deb ... 295s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 295s Selecting previously unselected package liblapack3:armhf. 295s Preparing to unpack .../22-liblapack3_3.12.1-2_armhf.deb ... 295s Unpacking liblapack3:armhf (3.12.1-2) ... 295s Selecting previously unselected package liblerc4:armhf. 295s Preparing to unpack .../23-liblerc4_4.0.0+ds-5ubuntu1_armhf.deb ... 295s Unpacking liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 296s Selecting previously unselected package libthai-data. 296s Preparing to unpack .../24-libthai-data_0.1.29-2build1_all.deb ... 296s Unpacking libthai-data (0.1.29-2build1) ... 296s Selecting previously unselected package libthai0:armhf. 296s Preparing to unpack .../25-libthai0_0.1.29-2build1_armhf.deb ... 296s Unpacking libthai0:armhf (0.1.29-2build1) ... 296s Selecting previously unselected package libpango-1.0-0:armhf. 296s Preparing to unpack .../26-libpango-1.0-0_1.56.2-1_armhf.deb ... 296s Unpacking libpango-1.0-0:armhf (1.56.2-1) ... 296s Selecting previously unselected package libpangoft2-1.0-0:armhf. 296s Preparing to unpack .../27-libpangoft2-1.0-0_1.56.2-1_armhf.deb ... 296s Unpacking libpangoft2-1.0-0:armhf (1.56.2-1) ... 296s Selecting previously unselected package libpangocairo-1.0-0:armhf. 296s Preparing to unpack .../28-libpangocairo-1.0-0_1.56.2-1_armhf.deb ... 296s Unpacking libpangocairo-1.0-0:armhf (1.56.2-1) ... 296s Selecting previously unselected package libpaper2:armhf. 296s Preparing to unpack .../29-libpaper2_2.2.5-0.3_armhf.deb ... 296s Unpacking libpaper2:armhf (2.2.5-0.3) ... 296s Selecting previously unselected package libpaper-utils. 296s Preparing to unpack .../30-libpaper-utils_2.2.5-0.3_armhf.deb ... 296s Unpacking libpaper-utils (2.2.5-0.3) ... 296s Selecting previously unselected package libsharpyuv0:armhf. 296s Preparing to unpack .../31-libsharpyuv0_1.5.0-0.1_armhf.deb ... 296s Unpacking libsharpyuv0:armhf (1.5.0-0.1) ... 296s Selecting previously unselected package libsm6:armhf. 296s Preparing to unpack .../32-libsm6_2%3a1.2.4-1_armhf.deb ... 296s Unpacking libsm6:armhf (2:1.2.4-1) ... 296s Selecting previously unselected package libtcl8.6:armhf. 296s Preparing to unpack .../33-libtcl8.6_8.6.16+dfsg-1_armhf.deb ... 296s Unpacking libtcl8.6:armhf (8.6.16+dfsg-1) ... 296s Selecting previously unselected package libjbig0:armhf. 296s Preparing to unpack .../34-libjbig0_2.1-6.1ubuntu2_armhf.deb ... 296s Unpacking libjbig0:armhf (2.1-6.1ubuntu2) ... 296s Selecting previously unselected package libwebp7:armhf. 296s Preparing to unpack .../35-libwebp7_1.5.0-0.1_armhf.deb ... 296s Unpacking libwebp7:armhf (1.5.0-0.1) ... 296s Selecting previously unselected package libtiff6:armhf. 296s Preparing to unpack .../36-libtiff6_4.5.1+git230720-4ubuntu4_armhf.deb ... 296s Unpacking libtiff6:armhf (4.5.1+git230720-4ubuntu4) ... 296s Selecting previously unselected package libxft2:armhf. 296s Preparing to unpack .../37-libxft2_2.3.6-1build1_armhf.deb ... 296s Unpacking libxft2:armhf (2.3.6-1build1) ... 296s Selecting previously unselected package libxss1:armhf. 296s Preparing to unpack .../38-libxss1_1%3a1.2.3-1build3_armhf.deb ... 296s Unpacking libxss1:armhf (1:1.2.3-1build3) ... 296s Selecting previously unselected package libtk8.6:armhf. 296s Preparing to unpack .../39-libtk8.6_8.6.16-1_armhf.deb ... 296s Unpacking libtk8.6:armhf (8.6.16-1) ... 296s Selecting previously unselected package libxt6t64:armhf. 296s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 296s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 296s Selecting previously unselected package zip. 296s Preparing to unpack .../41-zip_3.0-14ubuntu2_armhf.deb ... 296s Unpacking zip (3.0-14ubuntu2) ... 296s Selecting previously unselected package unzip. 296s Preparing to unpack .../42-unzip_6.0-28ubuntu6_armhf.deb ... 296s Unpacking unzip (6.0-28ubuntu6) ... 296s Selecting previously unselected package xdg-utils. 296s Preparing to unpack .../43-xdg-utils_1.2.1-2ubuntu1_all.deb ... 296s Unpacking xdg-utils (1.2.1-2ubuntu1) ... 296s Selecting previously unselected package r-base-core. 296s Preparing to unpack .../44-r-base-core_4.4.3-1_armhf.deb ... 296s Unpacking r-base-core (4.4.3-1) ... 297s Selecting previously unselected package r-cran-codetools. 297s Preparing to unpack .../45-r-cran-codetools_0.2-20-1_all.deb ... 297s Unpacking r-cran-codetools (0.2-20-1) ... 297s Selecting previously unselected package r-cran-lattice. 297s Preparing to unpack .../46-r-cran-lattice_0.22-6-1_armhf.deb ... 297s Unpacking r-cran-lattice (0.22-6-1) ... 297s Selecting previously unselected package r-cran-matrix. 297s Preparing to unpack .../47-r-cran-matrix_1.7-3-1_armhf.deb ... 297s Unpacking r-cran-matrix (1.7-3-1) ... 297s Selecting previously unselected package r-cran-survival. 297s Preparing to unpack .../48-r-cran-survival_3.8-3-1_armhf.deb ... 297s Unpacking r-cran-survival (3.8-3-1) ... 297s Selecting previously unselected package r-cran-mvtnorm. 297s Preparing to unpack .../49-r-cran-mvtnorm_1.3-3-1_armhf.deb ... 297s Unpacking r-cran-mvtnorm (1.3-3-1) ... 297s Selecting previously unselected package r-cran-libcoin. 298s Preparing to unpack .../50-r-cran-libcoin_1.0-10-1_armhf.deb ... 298s Unpacking r-cran-libcoin (1.0-10-1) ... 298s Selecting previously unselected package r-cran-matrixstats. 298s Preparing to unpack .../51-r-cran-matrixstats_1.5.0-1_armhf.deb ... 298s Unpacking r-cran-matrixstats (1.5.0-1) ... 298s Selecting previously unselected package r-cran-modeltools. 298s Preparing to unpack .../52-r-cran-modeltools_0.2-23-2build1_all.deb ... 298s Unpacking r-cran-modeltools (0.2-23-2build1) ... 298s Selecting previously unselected package r-cran-mass. 298s Preparing to unpack .../53-r-cran-mass_7.3-64-1_armhf.deb ... 298s Unpacking r-cran-mass (7.3-64-1) ... 298s Selecting previously unselected package r-cran-th.data. 298s Preparing to unpack .../54-r-cran-th.data_1.1-3-1_all.deb ... 298s Unpacking r-cran-th.data (1.1-3-1) ... 298s Selecting previously unselected package r-cran-zoo. 298s Preparing to unpack .../55-r-cran-zoo_1.8-13-1_armhf.deb ... 298s Unpacking r-cran-zoo (1.8-13-1) ... 298s Selecting previously unselected package r-cran-sandwich. 298s Preparing to unpack .../56-r-cran-sandwich_3.1-1-1_all.deb ... 298s Unpacking r-cran-sandwich (3.1-1-1) ... 298s Selecting previously unselected package r-cran-multcomp. 298s Preparing to unpack .../57-r-cran-multcomp_1.4-28-1_all.deb ... 298s Unpacking r-cran-multcomp (1.4-28-1) ... 298s Selecting previously unselected package r-cran-coin. 298s Preparing to unpack .../58-r-cran-coin_1.4-3-1_armhf.deb ... 298s Unpacking r-cran-coin (1.4-3-1) ... 298s Setting up libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 298s Setting up libpixman-1-0:armhf (0.44.0-3) ... 298s Setting up libsharpyuv0:armhf (1.5.0-0.1) ... 298s Setting up liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 298s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 298s Setting up libdatrie1:armhf (0.2.13-3build1) ... 298s Setting up libxcb-render0:armhf (1.17.0-2) ... 298s Setting up unzip (6.0-28ubuntu6) ... 298s Setting up x11-common (1:7.7+23ubuntu3) ... 299s Setting up libdeflate0:armhf (1.23-1) ... 299s Setting up libxcb-shm0:armhf (1.17.0-2) ... 299s Setting up libgomp1:armhf (15-20250222-0ubuntu1) ... 299s Setting up libjbig0:armhf (2.1-6.1ubuntu2) ... 299s Setting up zip (3.0-14ubuntu2) ... 299s Setting up libblas3:armhf (3.12.1-2) ... 299s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 299s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 299s Setting up fonts-dejavu-mono (2.37-8) ... 299s Setting up libtcl8.6:armhf (8.6.16+dfsg-1) ... 299s Setting up fonts-dejavu-core (2.37-8) ... 299s Setting up libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 299s Setting up libgfortran5:armhf (15-20250222-0ubuntu1) ... 299s Setting up libwebp7:armhf (1.5.0-0.1) ... 299s Setting up libharfbuzz0b:armhf (10.2.0-1) ... 299s Setting up libthai-data (0.1.29-2build1) ... 299s Setting up libxss1:armhf (1:1.2.3-1build3) ... 299s Setting up libpaper2:armhf (2.2.5-0.3) ... 299s Setting up xdg-utils (1.2.1-2ubuntu1) ... 299s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 299s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 299s Setting up libice6:armhf (2:1.1.1-1) ... 299s Setting up liblapack3:armhf (3.12.1-2) ... 299s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 299s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 299s Setting up libpaper-utils (2.2.5-0.3) ... 299s Setting up libthai0:armhf (0.1.29-2build1) ... 299s Setting up libtiff6:armhf (4.5.1+git230720-4ubuntu4) ... 299s Setting up libfontconfig1:armhf (2.15.0-2ubuntu1) ... 299s Setting up libsm6:armhf (2:1.2.4-1) ... 299s Setting up fontconfig (2.15.0-2ubuntu1) ... 301s Regenerating fonts cache... done. 301s Setting up libxft2:armhf (2.3.6-1build1) ... 301s Setting up libtk8.6:armhf (8.6.16-1) ... 301s Setting up libpango-1.0-0:armhf (1.56.2-1) ... 301s Setting up libcairo2:armhf (1.18.2-2) ... 301s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 301s Setting up libpangoft2-1.0-0:armhf (1.56.2-1) ... 301s Setting up libpangocairo-1.0-0:armhf (1.56.2-1) ... 301s Setting up r-base-core (4.4.3-1) ... 301s Creating config file /etc/R/Renviron with new version 302s Setting up r-cran-lattice (0.22-6-1) ... 302s Setting up r-cran-modeltools (0.2-23-2build1) ... 302s Setting up r-cran-codetools (0.2-20-1) ... 302s Setting up r-cran-matrixstats (1.5.0-1) ... 302s Setting up r-cran-mass (7.3-64-1) ... 302s Setting up r-cran-mvtnorm (1.3-3-1) ... 302s Setting up r-cran-zoo (1.8-13-1) ... 302s Setting up r-cran-matrix (1.7-3-1) ... 302s Setting up r-cran-libcoin (1.0-10-1) ... 302s Setting up r-cran-sandwich (3.1-1-1) ... 302s Setting up r-cran-survival (3.8-3-1) ... 302s Setting up r-cran-th.data (1.1-3-1) ... 302s Setting up r-cran-multcomp (1.4-28-1) ... 302s Setting up r-cran-coin (1.4-3-1) ... 302s Processing triggers for libc-bin (2.41-1ubuntu2) ... 302s Processing triggers for man-db (2.13.0-1) ... 302s Processing triggers for install-info (7.1.1-1) ... 311s autopkgtest [13:42:37]: test run-unit-test: [----------------------- 313s BEGIN TEST bugfixes.R 313s 313s R version 4.4.3 (2025-02-28) -- "Trophy Case" 313s Copyright (C) 2025 The R Foundation for Statistical Computing 313s Platform: arm-unknown-linux-gnueabihf (32-bit) 313s 313s R is free software and comes with ABSOLUTELY NO WARRANTY. 313s You are welcome to redistribute it under certain conditions. 313s Type 'license()' or 'licence()' for distribution details. 313s 313s R is a collaborative project with many contributors. 313s Type 'contributors()' for more information and 313s 'citation()' on how to cite R or R packages in publications. 313s 313s Type 'demo()' for some demos, 'help()' for on-line help, or 313s 'help.start()' for an HTML browser interface to help. 313s Type 'q()' to quit R. 313s 313s > 313s > library("libcoin") 313s > 313s > ### by Henric Winell 313s > set.seed(29) 313s > X <- runif(10) 313s > Y <- runif(10) 313s > o <- LinStatExpCov(X, Y) 313s > ov <- LinStatExpCov(X, Y, varonly = TRUE) 313s > stopifnot(all.equal(doTest(o, teststat = "scalar"), 313s + doTest(ov, teststat = "scalar"))) 313s > 313s Error in .LinStatExpCov1d(X = X, Y = Y, weights = weights, subset = subset, : 313s cannot allocate memory: number of levels too large 313s > ### all weights = 0 and no weights at all was treated the same 313s > X <- as.double(1:10) 313s > Y <- as.double(10:1) 313s > sum(X*Y) 313s [1] 220 313s > cl <- gl(2, 5) 313s > 313s > ### linstat = 220 313s > w <- as.integer(rep(1, 10)) 313s > LinStatExpCov(X = X, Y = Y) 313s $LinearStatistic 313s [1] 220 313s 313s $Expectation 313s [1] 302.5 313s 313s $Covariance 313s [1] 756.25 313s 313s $Variance 313s [1] 756.25 313s 313s $ExpectationX 313s [1] 55 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 5.5 313s 313s $CovarianceInfluence 313s [1] 8.25 313s 313s $VarianceInfluence 313s [1] 8.25 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 10 313s 313s $Sumweights 313s [1] 10 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > LinStatExpCov(X = X, Y = Y, weights = w) 313s $LinearStatistic 313s [1] 220 313s 313s $Expectation 313s [1] 302.5 313s 313s $Covariance 313s [1] 756.25 313s 313s $Variance 313s [1] 756.25 313s 313s $ExpectationX 313s [1] 55 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 5.5 313s 313s $CovarianceInfluence 313s [1] 8.25 313s 313s $VarianceInfluence 313s [1] 8.25 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 10 313s 313s $Sumweights 313s [1] 10 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > LinStatExpCov(X = X, Y = Y, weights = w, block = cl) 313s $LinearStatistic 313s [1] 220 313s 313s $Expectation 313s [1] 240 313s 313s $Covariance 313s [1] 50 313s 313s $Variance 313s [1] 50 313s 313s $ExpectationX 313s [1] 55 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 8 3 313s 313s $CovarianceInfluence 313s [1] 2 2 313s 313s $VarianceInfluence 313s [1] 2 2 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 5 5 313s 313s $Sumweights 313s [1] 5 5 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > 313s > ### linstat = 0 313s > w <- as.integer(rep(0, 10)) 313s > LinStatExpCov(X = X, Y = Y, weights = w) 313s $LinearStatistic 313s [1] 0 313s 313s $Expectation 313s [1] 0 313s 313s $Covariance 313s [1] 0 313s 313s $Variance 313s [1] 0 313s 313s $ExpectationX 313s [1] 0 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 0 313s 313s $CovarianceInfluence 313s [1] 0 313s 313s $VarianceInfluence 313s [1] 0 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 10 313s 313s $Sumweights 313s [1] 0 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > LinStatExpCov(X = X, Y = Y, weights = w, block = cl) 313s $LinearStatistic 313s [1] 0 313s 313s $Expectation 313s [1] 0 313s 313s $Covariance 313s [1] 0 313s 313s $Variance 313s [1] 0 313s 313s $ExpectationX 313s [1] 0 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 0 0 313s 313s $CovarianceInfluence 313s [1] 0 0 313s 313s $VarianceInfluence 313s [1] 0 0 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 5 5 313s 313s $Sumweights 313s [1] 0 0 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > 313s > ### linstat = 110 313s > w <- as.integer(rep(0, 10)) 313s > w[1:5] <- 1L 313s > LinStatExpCov(X = X, Y = Y, subset = 1:5) 313s $LinearStatistic 313s [1] 110 313s 313s $Expectation 313s [1] 120 313s 313s $Covariance 313s [1] 25 313s 313s $Variance 313s [1] 25 313s 313s $ExpectationX 313s [1] 15 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 8 313s 313s $CovarianceInfluence 313s [1] 2 313s 313s $VarianceInfluence 313s [1] 2 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 5 313s 313s $Sumweights 313s [1] 5 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > LinStatExpCov(X = X, Y = Y, weights = w) 313s $LinearStatistic 313s [1] 110 313s 313s $Expectation 313s [1] 120 313s 313s $Covariance 313s [1] 25 313s 313s $Variance 313s [1] 25 313s 313s $ExpectationX 313s [1] 15 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 8 313s 313s $CovarianceInfluence 313s [1] 2 313s 313s $VarianceInfluence 313s [1] 2 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 10 313s 313s $Sumweights 313s [1] 5 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > LinStatExpCov(X = X, Y = Y, weights = w, block = cl) 313s $LinearStatistic 313s [1] 110 313s 313s $Expectation 313s [1] 120 313s 313s $Covariance 313s [1] 25 313s 313s $Variance 313s [1] 25 313s 313s $ExpectationX 313s [1] 15 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 8 0 313s 313s $CovarianceInfluence 313s [1] 2 0 313s 313s $VarianceInfluence 313s [1] 2 0 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 5 5 313s 313s $Sumweights 313s [1] 5 0 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > 313s > ### linstat = 0 313s > LinStatExpCov(X = X, Y = Y, weights = w, subset = 6:10) 313s $LinearStatistic 313s [1] 0 313s 313s $Expectation 313s [1] 0 313s 313s $Covariance 313s [1] 0 313s 313s $Variance 313s [1] 0 313s 313s $ExpectationX 313s [1] 0 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 0 313s 313s $CovarianceInfluence 313s [1] 0 313s 313s $VarianceInfluence 313s [1] 0 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 5 313s 313s $Sumweights 313s [1] 0 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > LinStatExpCov(X = X, Y = Y, weights = w, block = cl, subset = 6:10) 313s $LinearStatistic 313s [1] 0 313s 313s $Expectation 313s [1] 0 313s 313s $Covariance 313s [1] 0 313s 313s $Variance 313s [1] 0 313s 313s $ExpectationX 313s [1] 0 313s 313s $varonly 313s [1] FALSE 313s 313s $dimension 313s [1] 1 1 313s 313s $ExpectationInfluence 313s [1] 0 0 313s 313s $CovarianceInfluence 313s [1] 0 0 313s 313s $VarianceInfluence 313s [1] 0 0 313s 313s $Xfactor 313s [1] FALSE 313s 313s $tol 313s [1] 1.490116e-08 313s 313s $PermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $StandardisedPermutedLinearStatistic 313s <0 x 0 matrix> 313s 313s $TableBlock 313s [1] 0 0 5 313s 313s $Sumweights 313s [1] 0 0 313s 313s $Table 313s NULL 313s 313s attr(,"class") 313s [1] "LinStatExpCov1d" "LinStatExpCov" 313s > 313s > ### missing values in 1d and 2d case 313s > x <- gl(6, 20) 313s > y <- gl(3, 40) 313s > x[sample(1:length(x), 10)] <- NA 313s > y[sample(1:length(y), 10)] <- NA 313s > 313s > X <- matrix(NA, nrow = length(x), ncol = nlevels(x)) 313s > X[!is.na(x),] <- model.matrix(~ x - 1) 313s > Y <- matrix(NA, nrow = length(y), ncol = nlevels(y)) 313s > Y[!is.na(y),] <- model.matrix(~ y - 1) 313s > 313s > lev1 <- LinStatExpCov(X = X, Y = Y) 313s > lev1$Sumweights 313s [1] 100 313s > t1 <- doTest(lev1, teststat = "quadratic") 313s > 313s > X <- rbind(0, diag(nlevels(x))) 313s > Y <- rbind(0, diag(nlevels(y))) 313s > ix <- unclass(x) 313s > ix[is.na(ix)] <- 0L 313s > iy <- unclass(y) 313s > iy[is.na(iy)] <- 0L 313s > levels(ix) <- levels(x) 313s > levels(iy) <- levels(y) 313s > 313s > lev2 <- LinStatExpCov(X = X, Y = Y, ix = ix, iy = iy) 313s > lev2$Sumweights 313s [1] 100 313s > t2 <- doTest(lev2, teststat = "quadratic") 313s > stopifnot(all.equal(t1, t2)) 313s > 313s > ### unnecessary memory allocation; fixed in 1.0-2 313s > N <- 146341L 313s > y <- runif(N) 313s > x <- 1:N 313s > lev1 <- LinStatExpCov(X = x, Y = y, varonly = TRUE) 313s > # Note: N * (N + 1) / 2 > .Machine$integer.max 313s > try(lev2 <- LinStatExpCov(X = x, Y = y, varonly = FALSE)) 313s > 313s > 313s BEGIN TEST regtest_ctabs.R 314s 314s R version 4.4.3 (2025-02-28) -- "Trophy Case" 314s Copyright (C) 2025 The R Foundation for Statistical Computing 314s Platform: arm-unknown-linux-gnueabihf (32-bit) 314s 314s R is free software and comes with ABSOLUTELY NO WARRANTY. 314s You are welcome to redistribute it under certain conditions. 314s Type 'license()' or 'licence()' for distribution details. 314s 314s R is a collaborative project with many contributors. 314s Type 'contributors()' for more information and 314s 'citation()' on how to cite R or R packages in publications. 314s 314s Type 'demo()' for some demos, 'help()' for on-line help, or 314s 'help.start()' for an HTML browser interface to help. 314s Type 'q()' to quit R. 314s 314s > 314s > library("libcoin") 314s > 314s > x <- 1:6 314s > y <- rep(1:3, length.out = 6) 314s > w <- rep(2L, length(x)) 314s > b <- gl(2, 3) 314s > s <- 1:4 314s > 314s > ctabs(x) 314s [1] 0 1 1 1 1 1 1 314s > ctabs(x, weights = w) 314s [1] 0 2 2 2 2 2 2 314s > ctabs(x, subset = s) 314s [1] 0 1 1 1 1 0 0 314s > ctabs(x, weights = w, subset = s) 314s [1] 0 2 2 2 2 0 0 314s > ctabs(x, block = b) 314s [,1] [,2] 314s [1,] 0 0 314s [2,] 1 0 314s [3,] 1 0 314s [4,] 1 0 314s [5,] 0 1 314s [6,] 0 1 314s [7,] 0 1 314s > ctabs(x, weights = w, block = b) 314s [,1] [,2] 314s [1,] 0 0 314s [2,] 2 0 314s [3,] 2 0 314s [4,] 2 0 314s [5,] 0 2 314s [6,] 0 2 314s [7,] 0 2 314s > ctabs(x, subset = s, block = b) 314s [,1] [,2] 314s [1,] 0 0 314s [2,] 1 0 314s [3,] 1 0 314s [4,] 1 0 314s [5,] 0 1 314s [6,] 0 0 314s [7,] 0 0 314s > ctabs(x, weights = w, subset = s, block = b) 314s [,1] [,2] 314s [1,] 0 0 314s [2,] 2 0 314s [3,] 2 0 314s [4,] 2 0 314s [5,] 0 2 314s [6,] 0 0 314s [7,] 0 0 314s > 314s > ctabs(x, y) 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 1 0 0 314s [3,] 0 0 1 0 314s [4,] 0 0 0 1 314s [5,] 0 1 0 0 314s [6,] 0 0 1 0 314s [7,] 0 0 0 1 314s > ctabs(x, y, weights = w) 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 2 0 0 314s [3,] 0 0 2 0 314s [4,] 0 0 0 2 314s [5,] 0 2 0 0 314s [6,] 0 0 2 0 314s [7,] 0 0 0 2 314s > ctabs(x, y, subset = s) 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 1 0 0 314s [3,] 0 0 1 0 314s [4,] 0 0 0 1 314s [5,] 0 1 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s > ctabs(x, y, weights = w, subset = s) 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 2 0 0 314s [3,] 0 0 2 0 314s [4,] 0 0 0 2 314s [5,] 0 2 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s > ctabs(x, y, block = b) 314s , , 1 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 1 0 0 314s [3,] 0 0 1 0 314s [4,] 0 0 0 1 314s [5,] 0 0 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s 314s , , 2 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 0 0 0 314s [3,] 0 0 0 0 314s [4,] 0 0 0 0 314s [5,] 0 1 0 0 314s [6,] 0 0 1 0 314s [7,] 0 0 0 1 314s 314s > ctabs(x, y, weights = w, block = b) 314s , , 1 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 2 0 0 314s [3,] 0 0 2 0 314s [4,] 0 0 0 2 314s [5,] 0 0 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s 314s , , 2 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 0 0 0 314s [3,] 0 0 0 0 314s [4,] 0 0 0 0 314s [5,] 0 2 0 0 314s [6,] 0 0 2 0 314s [7,] 0 0 0 2 314s 314s > ctabs(x, y, subset = s, block = b) 314s , , 1 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 1 0 0 314s [3,] 0 0 1 0 314s [4,] 0 0 0 1 314s [5,] 0 0 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s 314s , , 2 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 0 0 0 314s [3,] 0 0 0 0 314s [4,] 0 0 0 0 314s [5,] 0 1 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s 314s > ctabs(x, y, weights = w, subset = s, block = b) 314s , , 1 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 2 0 0 314s [3,] 0 0 2 0 314s [4,] 0 0 0 2 314s [5,] 0 0 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s 314s , , 2 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0 0 0 314s [2,] 0 0 0 0 314s [3,] 0 0 0 0 314s [4,] 0 0 0 0 314s [5,] 0 2 0 0 314s [6,] 0 0 0 0 314s [7,] 0 0 0 0 314s 314s > 314s > w <- round(1:length(x) / length(x), 2) 314s > ctabs(x, weights = w) 314s [1] 0.00 0.17 0.33 0.50 0.67 0.83 1.00 314s > ctabs(x, weights = w, subset = s) 314s [1] 0.00 0.17 0.33 0.50 0.67 0.00 0.00 314s > ctabs(x, weights = w, block = b) 314s [,1] [,2] 314s [1,] 0.00 0.00 314s [2,] 0.17 0.00 314s [3,] 0.33 0.00 314s [4,] 0.50 0.00 314s [5,] 0.00 0.67 314s [6,] 0.00 0.83 314s [7,] 0.00 1.00 314s > ctabs(x, weights = w, subset = s, block = b) 314s [,1] [,2] 314s [1,] 0.00 0.00 314s [2,] 0.17 0.00 314s [3,] 0.33 0.00 314s [4,] 0.50 0.00 314s [5,] 0.00 0.67 314s [6,] 0.00 0.00 314s [7,] 0.00 0.00 314s > 314s > ctabs(x, y, weights = w) 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0.00 0.00 0.0 314s [2,] 0 0.17 0.00 0.0 314s [3,] 0 0.00 0.33 0.0 314s [4,] 0 0.00 0.00 0.5 314s [5,] 0 0.67 0.00 0.0 314s [6,] 0 0.00 0.83 0.0 314s [7,] 0 0.00 0.00 1.0 314s > ctabs(x, y, weights = w, subset = s) 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0.00 0.00 0.0 314s [2,] 0 0.17 0.00 0.0 314s [3,] 0 0.00 0.33 0.0 314s [4,] 0 0.00 0.00 0.5 314s [5,] 0 0.67 0.00 0.0 314s [6,] 0 0.00 0.00 0.0 314s [7,] 0 0.00 0.00 0.0 314s > ctabs(x, y, weights = w, block = b) 314s , , 1 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0.00 0.00 0.0 314s [2,] 0 0.17 0.00 0.0 314s [3,] 0 0.00 0.33 0.0 314s [4,] 0 0.00 0.00 0.5 314s [5,] 0 0.00 0.00 0.0 314s [6,] 0 0.00 0.00 0.0 314s [7,] 0 0.00 0.00 0.0 314s 314s , , 2 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0.00 0.00 0 314s [2,] 0 0.00 0.00 0 314s [3,] 0 0.00 0.00 0 314s [4,] 0 0.00 0.00 0 314s [5,] 0 0.67 0.00 0 314s [6,] 0 0.00 0.83 0 314s [7,] 0 0.00 0.00 1 314s 314s > ctabs(x, y, weights = w, subset = s, block = b) 314s , , 1 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0.00 0.00 0.0 314s [2,] 0 0.17 0.00 0.0 314s [3,] 0 0.00 0.33 0.0 314s [4,] 0 0.00 0.00 0.5 314s [5,] 0 0.00 0.00 0.0 314s [6,] 0 0.00 0.00 0.0 314s [7,] 0 0.00 0.00 0.0 314s 314s , , 2 314s 314s [,1] [,2] [,3] [,4] 314s [1,] 0 0.00 0 0 314s [2,] 0 0.00 0 0 314s [3,] 0 0.00 0 0 314s [4,] 0 0.00 0 0 314s [5,] 0 0.67 0 0 314s [6,] 0 0.00 0 0 314s [7,] 0 0.00 0 0 314s 314s > 314s BEGIN TEST regtest_libcoin.R 314s 314s R version 4.4.3 (2025-02-28) -- "Trophy Case" 314s Copyright (C) 2025 The R Foundation for Statistical Computing 314s Platform: arm-unknown-linux-gnueabihf (32-bit) 314s 314s R is free software and comes with ABSOLUTELY NO WARRANTY. 314s You are welcome to redistribute it under certain conditions. 314s Type 'license()' or 'licence()' for distribution details. 314s 314s R is a collaborative project with many contributors. 314s Type 'contributors()' for more information and 314s 'citation()' on how to cite R or R packages in publications. 314s 314s Type 'demo()' for some demos, 'help()' for on-line help, or 314s 'help.start()' for an HTML browser interface to help. 314s Type 'q()' to quit R. 314s 314s > 314s > library("libcoin") 314s > library("coin") 314s Loading required package: survival 315s > set.seed(29) 315s > 315s > n <- 100 315s > p <- 4 315s > q <- 2 315s > X <- matrix(runif(p * n), nc = p) 315s > Y <- matrix(runif(q * n), nc = q) 315s > w <- as.integer(floor(runif(n, max = 4))) 315s > s <- sort(sample(1:n, floor(n/2), replace = TRUE)) 315s > b <- sample(gl(2, 2, length = n)) 315s > 315s > tol <- if (.Platform$OS.type == "unix") { 315s + sqrt(.Machine$double.eps) 315s + } else { 315s + .Machine$double.eps^(1/5) 315s + } 315s > 315s > cmp <- function(t1, t2) { 315s + if (is.null(t1$Covariance)) { 315s + var1 <- t1$Variance 315s + var2 <- diag(covariance(t2)) 315s + } else { 315s + var1 <- t1$Covariance 315s + var2 <- covariance(t2) 315s + var2 <- var2[!upper.tri(var2)] 315s + } 315s + stopifnot(all.equal( 315s + list(t1$LinearStatistic, 315s + t1$Expectation, 315s + var1), 315s + list(as.vector(statistic(t2, type = "linear")), 315s + as.vector(expectation(t2)), 315s + var2), 315s + check.attributes = FALSE, tolerance = tol 315s + )) 315s + } 315s > 315s > cmp2 <- function(t1, t2) { 315s + nm <- c("LinearStatistic", "Expectation", 315s + if(t1$varonly == 1) "Variance" else "Covariance") 315s + stopifnot(all.equal(t1[nm], t2[nm], tolerance = tol)) 315s + } 315s > 315s > cmp3 <- function(t1, t2, pvalue = FALSE) { 315s + stopifnot(all.equal(statistic(t1), t2$TestStatistic, tolerance = tol)) 315s + if (pvalue) 315s + stopifnot(all.equal(unclass(pvalue(t1)), t2$p.value, check.attributes = FALSE, tolerance = tol)) 315s + } 315s > 315s > cmp4 <- function(t1, t2) 315s + stopifnot(all.equal(t1$TestStatistic, sqrt(t2$TestStatistic), tolerance = tol)) 315s > 315s > 315s > t1 <- LinStatExpCov(X, Y) 315s > t1v <- LinStatExpCov(X, Y, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > cmp3(t2, doTest(t1, teststat = "maximum"), pvalue = TRUE) 315s > t3 <- independence_test(Y ~ X, teststat = "maximum", alternative = "less") 315s > cmp3(t3, doTest(t1, teststat = "maximum", alternative = "less"), pvalue = TRUE) 315s > t3 <- independence_test(Y ~ X, teststat = "maximum", alternative = "greater") 315s > cmp3(t3, doTest(t1, teststat = "maximum", alternative = "greater"), pvalue = TRUE) 315s > t3 <- independence_test(Y ~ X, teststat = "quadratic") 315s > cmp3(t3, doTest(t1, teststat = "quadratic"), pvalue = TRUE) 315s > 315s > t1 <- LinStatExpCov(X, Y, weights = w) 315s > t1v <- LinStatExpCov(X, Y, weights = w, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X, weights = ~ w) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, subset = s) 315s > t1v <- LinStatExpCov(X, Y, subset = s, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, weights = w, subset = s) 315s > t1v <- LinStatExpCov(X, Y, weights = w, subset = s, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X, weights = ~w, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, block = b) 315s > t1v <- LinStatExpCov(X, Y, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X | b) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, weights = w, block = b) 315s > t1v <- LinStatExpCov(X, Y, weights = w, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X | b, weights = ~ w) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, subset = s, block = b) 315s > t1v <- LinStatExpCov(X, Y, subset = s, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X | b, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, weights = w, subset = s, block = b) 315s > t1v <- LinStatExpCov(X, Y, weights = w, subset = s, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y ~ X | b, weights = ~w, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > n <- 100 315s > n1 <- 5 315s > n2 <- 4 315s > p <- 4 315s > q <- 2 315s > X <- rbind(0, matrix(runif(p * n1), nc = p)) 315s > Y <- rbind(0, matrix(runif(q * n2), nc = q)) 315s > ix <- sample(1:n1, n, replace = TRUE) 315s > iy <- sample(1:n2, n, replace = TRUE) 315s > w <- as.integer(floor(runif(n, max = 4))) 315s > s <- sort(sample(1:n, floor(n/2), replace = TRUE)) 315s > b <- sample(gl(2, 2, length = n)) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,]) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,], weights = ~ w) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, subset = s) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, subset = s, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,], subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,], weights = ~w, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, block = b) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,] | b) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w, block = b) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,] | b, weights = ~ w) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, subset = s, block = b) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, subset = s, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,] | b, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s, block = b) 315s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s, block = b, varonly = TRUE) 315s > t2 <- independence_test(Y[iy + 1,] ~ X[ix + 1,]| b, weights = ~w, subset = s) 315s > cmp(t1, t2) 315s > cmp(t1v, t2) 315s > 315s > #### X factor 315s > n <- 10000 315s > p <- 40 315s > q <- 20 315s > X <- diag(p)[fx <- unclass(factor(sample(1:p, n, replace = TRUE))),] 315s > Y <- matrix(runif(q * n), nc = q) 315s > w <- as.integer(floor(runif(n, max = 4))) 315s > s <- sort(sample(1:n, floor(n/2), replace = TRUE)) 315s > b <- sample(gl(2, 2, length = n)) 315s > 315s > t1 <- LinStatExpCov(X, Y) 316s > t1v <- LinStatExpCov(X, Y, varonly = TRUE) 316s > t2 <- independence_test(Y ~ X) 316s > cmp(t1, t2) 316s > cmp(t1v, t2) 316s > t1f <- LinStatExpCov(fx, Y) 316s > t1vf <- LinStatExpCov(fx, Y, varonly = TRUE) 316s > cmp2(t1, t1f) 316s > cmp2(t1v, t1vf) 316s > 316s > t1 <- LinStatExpCov(X, Y, weights = w) 316s > t1v <- LinStatExpCov(X, Y, weights = w, varonly = TRUE) 316s > t2 <- independence_test(Y ~ X, weights = ~ w) 316s > cmp(t1, t2) 316s > cmp(t1v, t2) 316s > t1f <- LinStatExpCov(fx, Y, weights = w) 316s > t1vf <- LinStatExpCov(fx, Y, weights = w, varonly = TRUE) 316s > cmp2(t1, t1f) 316s > cmp2(t1v, t1vf) 316s > 316s > t1 <- LinStatExpCov(X, Y, subset = s) 316s > t1v <- LinStatExpCov(X, Y, subset = s, varonly = TRUE) 316s > t2 <- independence_test(Y ~ X, subset = s) 317s > cmp(t1, t2) 317s > cmp(t1v, t2) 317s > t1f <- LinStatExpCov(fx, Y, subset = s) 317s > t1vf <- LinStatExpCov(fx, Y, subset = s, varonly = TRUE) 317s > cmp2(t1, t1f) 317s > cmp2(t1v, t1vf) 317s > 317s > t1 <- LinStatExpCov(X, Y, weights = w, subset = s) 317s > t1v <- LinStatExpCov(X, Y, weights = w, subset = s, varonly = TRUE) 317s > t2 <- independence_test(Y ~ X, weights = ~w, subset = s) 317s > cmp(t1, t2) 317s > cmp(t1v, t2) 317s > t1f <- LinStatExpCov(fx, Y, weights = w, subset = s) 317s > t1vf <- LinStatExpCov(fx, Y, weights = w, subset = s, varonly = TRUE) 317s > cmp2(t1, t1f) 317s > cmp2(t1v, t1vf) 317s > 317s > t1 <- LinStatExpCov(X, Y, block = b) 317s > t1v <- LinStatExpCov(X, Y, block = b, varonly = TRUE) 317s > t2 <- independence_test(Y ~ X | b) 317s > cmp(t1, t2) 317s > cmp(t1v, t2) 317s > t1f <- LinStatExpCov(fx, Y, block = b) 317s > t1vf <- LinStatExpCov(fx, Y, block = b, varonly = TRUE) 317s > cmp2(t1, t1f) 317s > cmp2(t1v, t1vf) 317s > 317s > 317s > t1 <- LinStatExpCov(X, Y, weights = w, block = b) 318s > t1v <- LinStatExpCov(X, Y, weights = w, block = b, varonly = TRUE) 318s > t2 <- independence_test(Y ~ X | b, weights = ~ w) 318s > cmp(t1, t2) 318s > cmp(t1v, t2) 318s > t1f <- LinStatExpCov(fx, Y, weights = w, block = b) 318s > t1vf <- LinStatExpCov(fx, Y, weights = w, block = b, varonly = TRUE) 318s > cmp2(t1, t1f) 318s > cmp2(t1v, t1vf) 318s > 318s > t1 <- LinStatExpCov(X, Y, subset = s, block = b) 318s > t1v <- LinStatExpCov(X, Y, subset = s, block = b, varonly = TRUE) 318s > t2 <- independence_test(Y ~ X | b, subset = s) 318s > cmp(t1, t2) 318s > cmp(t1v, t2) 318s > t1f <- LinStatExpCov(fx, Y, subset = s, block = b) 318s > t1vf <- LinStatExpCov(fx, Y, subset = s, block = b, varonly = TRUE) 318s > cmp2(t1, t1f) 318s > cmp2(t1v, t1vf) 318s > 318s > t1 <- LinStatExpCov(X, Y, weights = w, subset = s, block = b) 318s > t1v <- LinStatExpCov(X, Y, weights = w, subset = s, block = b, varonly = TRUE) 318s > t2 <- independence_test(Y ~ X | b, weights = ~w, subset = s) 318s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(fx, Y, weights = w, subset = s, block = b) 319s > t1vf <- LinStatExpCov(fx, Y, weights = w, subset = s, block = b, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > n1 <- 5 319s > n2 <- 7 319s > X <- rbind(0, diag(n1)) 319s > Y <- rbind(0, matrix(runif(q * n2), nc = q)) 319s > ix <- sample(1:n1, n, replace = TRUE) 319s > iy <- sample(1:n2, n, replace = TRUE) 319s > w <- as.integer(floor(runif(n, max = 4))) 319s > s <- sort(sample(1:n, floor(n/2), replace = TRUE)) 319s > b <- sample(gl(2, 2, length = n)) 319s > 319s > YY <- Y[iy + 1,] 319s > XX <- X[ix + 1,] 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX, weights = ~ w) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, subset = s) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, subset = s, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX, subset = s) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, subset = s) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, subset = s, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX, weights = ~w, subset = s) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, subset = s) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, subset = s, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, block = b) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, block = b, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX | b) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, block = b) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, block = b, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w, block = b) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, block = b, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX | b, weights = ~ w) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, block = b) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, block = b, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, subset = s, block = b) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, subset = s, block = b, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX | b, subset = s) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, subset = s, block = b) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, subset = s, block = b, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > t1 <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s, block = b) 319s > t1v <- LinStatExpCov(X, Y, ix, iy, weights = w, subset = s, block = b, varonly = TRUE) 319s > t2 <- independence_test(YY ~ XX| b, weights = ~w, subset = s) 319s > cmp(t1, t2) 319s > cmp(t1v, t2) 319s > t1f <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, subset = s, block = b) 319s > t1vf <- LinStatExpCov(numeric(0), Y, ix, iy, weights = w, subset = s, block = b, varonly = TRUE) 319s > cmp2(t1, t1f) 319s > cmp2(t1v, t1vf) 319s > 319s > ### and now maximally selected statistics 319s > n <- 100 319s > B <- 1000 319s > x <- round(runif(n), 2) 319s > y <- rnorm(n, mean = x < .5, sd = 2.6) 319s > y2 <- runif(n) 319s > blk <- gl(4, n/4) 319s > ux <- sort(unique(x)) 319s > ix <- unclass(cut(x, breaks = c(-Inf, ux[-length(ux)] + diff(ux) / 2, Inf))) 319s > 319s > cmp3 <- function(t1, t2) 319s + stopifnot(all.equal(statistic(t1), t2$TestStatistic, tolerance = tol)) 319s > 319s > cmp4 <- function(t1, t2) 319s + stopifnot(all.equal(t1$TestStatistic, sqrt(t2$TestStatistic), tolerance = tol)) 319s > 319s > (mt <- maxstat_test(y ~ x , distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y by x 319s maxT = 2.1537, p-value = 0.26 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: <= 0.53 319s 319s > lev <- LinStatExpCov(ix, y, nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum")) 319s $TestStatistic 319s [1] 2.153664 319s 319s $p.value 319s [1] 0.245 319s 319s $index 319s [1] 36 319s 319s > cmp3(mt, tst) 319s > ux[tst$index] 319s [1] 0.53 319s > (tst2 <- doTest(lev, teststat = "quadratic")) 319s $TestStatistic 319s [1] 4.63827 319s 319s $p.value 319s [1] 0.245 319s 319s $index 319s [1] 36 319s 319s > cmp4(tst, tst2) 319s > ux[tst2$index] 319s [1] 0.53 319s > lev <- LinStatExpCov(ix, y, nresample = 1000, varonly = TRUE) 319s > (tst <- doTest(lev, teststat = "maximum")) 319s $TestStatistic 319s [1] 2.153664 319s 319s $p.value 319s [1] 0.253 319s 319s $index 319s [1] 36 319s 319s > cmp3(mt, tst) 319s > ux[tst$index] 319s [1] 0.53 319s > (tst2 <- doTest(lev, teststat = "quadratic")) 319s $TestStatistic 319s [1] 4.63827 319s 319s $p.value 319s [1] 0.253 319s 319s $index 319s [1] 36 319s 319s > cmp4(tst, tst2) 319s > ux[tst2$index] 319s [1] 0.53 319s > 319s > (mt <- maxstat_test(y ~ x | blk, distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y by x 319s stratified by blk 319s maxT = 2.2764, p-value = 0.221 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: <= 0.53 319s 319s > lev <- LinStatExpCov(ix, y, block = blk, nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum")) 319s $TestStatistic 319s [1] 2.276446 319s 319s $p.value 319s [1] 0.192 319s 319s $index 319s [1] 36 319s 319s > cmp3(mt, tst) 319s > ux[tst$index] 319s [1] 0.53 319s > (tst2 <- doTest(lev, teststat = "quadratic")) 319s $TestStatistic 319s [1] 5.182204 319s 319s $p.value 319s [1] 0.192 319s 319s $index 319s [1] 36 319s 319s > cmp4(tst, tst2) 319s > ux[tst$index] 319s [1] 0.53 319s > lev <- LinStatExpCov(ix, y, block = blk, nresample = 1000, varonly = TRUE) 319s > try(tst <- doTest(lev, teststat = "maximum")) 319s > 319s > (mt <- maxstat_test(y + y2 ~ x , distrib = approximate(nresample = 1000))) 319s Error in doTest(lev, teststat = "maximum") : 319s need covariance for maximally statistics with blocks 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y, y2 by x 319s maxT = 2.1537, p-value = 0.445 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: <= 0.53 319s 319s > lev <- LinStatExpCov(ix, cbind(y, y2), nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum")) 319s $TestStatistic 319s [1] 2.153664 319s 319s $p.value 319s [1] 0.471 319s 319s $index 319s [1] 36 319s 319s > cmp3(mt, tst) 319s > ux[tst$index] 319s [1] 0.53 319s > (tst <- doTest(lev, teststat = "quadratic")) 319s $TestStatistic 319s [1] 5.720153 319s 319s $p.value 319s [1] 0.412 319s 319s $index 319s [1] 40 319s 319s > ux[tst$index] 319s [1] 0.57 319s > lev <- LinStatExpCov(ix, cbind(y, y2), nresample = 1000, varonly = TRUE) 319s > (tst <- doTest(lev, teststat = "maximum")) 319s $TestStatistic 319s [1] 2.153664 319s 319s $p.value 319s [1] 0.476 319s 319s $index 319s [1] 36 319s 319s > cmp3(mt, tst) 319s > ux[tst$index] 319s [1] 0.53 319s > (tst <- doTest(lev, teststat = "quadratic")) 319s $TestStatistic 319s [1] 5.720153 319s 319s $p.value 319s [1] 0.429 319s 319s $index 319s [1] 40 319s 319s > ux[tst$index] 319s [1] 0.57 319s > 319s > (mt <- maxstat_test(y + y2 ~ x | blk, distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y, y2 by x 319s stratified by blk 319s maxT = 2.2764, p-value = 0.38 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: <= 0.53 319s 319s > lev <- LinStatExpCov(ix, cbind(y, y2), block = blk, nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum")) 319s $TestStatistic 319s [1] 2.276446 319s 319s $p.value 319s [1] 0.394 319s 319s $index 319s [1] 36 319s 319s > cmp3(mt, tst) 319s > ux[tst$index] 319s [1] 0.53 319s > (tst <- doTest(lev, teststat = "quadratic")) 319s Error in doTest(lev, teststat = "maximum") : 319s need covariance for maximally statistics with blocks 319s $TestStatistic 319s [1] 5.406605 319s 319s $p.value 319s [1] 0.504 319s 319s $index 319s [1] 40 319s 319s > ux[tst$index] 319s [1] 0.57 319s > lev <- LinStatExpCov(ix, cbind(y, y2), block = blk, nresample = 1000, varonly = TRUE) 319s > try(tst <- doTest(lev, teststat = "maximum")) 319s > 319s > x <- sample(gl(5, n)) 319s > y <- rnorm(length(x), mean = x %in% levels(x)[c(1, 3, 5)], sd = 4.5) 319s > y2 <- runif(length(x)) 319s > ix <- unclass(x) 319s > blk <- gl(5, n) 319s > 319s > (mt <- maxstat_test(y ~ x , distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y by x (1, 2, 3, 4, 5) 319s maxT = 1.7088, p-value = 0.443 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: {1, 3} vs. {2, 4, 5} 319s 319s > lev <- LinStatExpCov(ix, y, nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s $TestStatistic 319s [1] 1.708775 319s 319s $p.value 319s [1] 0.485 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > cmp3(mt, tst) 319s > (tst2 <- doTest(lev, teststat = "quadratic", ordered = FALSE)) 319s $TestStatistic 319s [1] 2.919912 319s 319s $p.value 319s [1] 0.485 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > cmp4(tst, tst2) 319s > lev <- LinStatExpCov(ix, y, nresample = 1000, varonly = TRUE) 319s > (tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s $TestStatistic 319s [1] 1.708775 319s 319s $p.value 319s [1] 0.476 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > cmp3(mt, tst) 319s > (tst2 <- doTest(lev, teststat = "quadratic", ordered = FALSE)) 319s $TestStatistic 319s [1] 2.919912 319s 319s $p.value 319s [1] 0.476 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > cmp4(tst, tst2) 319s > 319s > (mt <- maxstat_test(y ~ x | blk, distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y by x (1, 2, 3, 4, 5) 319s stratified by blk 319s maxT = 1.6489, p-value = 0.543 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: {1, 3} vs. {2, 4, 5} 319s 319s > lev <- LinStatExpCov(ix, y, block = blk, nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s $TestStatistic 319s [1] 1.648947 319s 319s $p.value 319s [1] 0.464 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > cmp3(mt, tst) 319s > (tst2 <- doTest(lev, teststat = "quadratic", ordered = FALSE)) 319s $TestStatistic 319s [1] 2.719028 319s 319s $p.value 319s [1] 0.464 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > cmp4(tst, tst2) 319s > lev <- LinStatExpCov(ix, y, block = blk, nresample = 1000, varonly = TRUE) 319s > try(tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s Error in doTest(lev, teststat = "maximum", ordered = FALSE) : 319s need covariance for maximally statistics with blocks 319s > 319s > (mt <- maxstat_test(y + y2 ~ x , distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y, y2 by x (1, 2, 3, 4, 5) 319s maxT = 2.358, p-value = 0.285 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: {1, 3, 5} vs. {2, 4} 319s 319s > lev <- LinStatExpCov(ix, cbind(y, y2), nresample = 1000) 319s > (tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s $TestStatistic 319s [1] 2.357973 319s 319s $p.value 319s [1] 0.301 319s 319s $index 319s [1] 0 1 0 1 0 319s 319s > cmp3(mt, tst) 319s > (tst <- doTest(lev, teststat = "quadratic", ordered = FALSE)) 319s $TestStatistic 319s [1] 8.373114 319s 319s $p.value 319s [1] 0.143 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > lev <- LinStatExpCov(ix, cbind(y, y2), nresample = 1000, varonly = TRUE) 319s > (tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s $TestStatistic 319s [1] 2.357973 319s 319s $p.value 319s [1] 0.275 319s 319s $index 319s [1] 0 1 0 1 0 319s 319s > cmp3(mt, tst) 319s > (tst <- doTest(lev, teststat = "quadratic", ordered = FALSE)) 319s $TestStatistic 319s [1] 8.373114 319s 319s $p.value 319s [1] 0.134 319s 319s $index 319s [1] 0 1 0 1 1 319s 319s > 319s > (mt <- maxstat_test(y + y2 ~ x | blk, distrib = approximate(nresample = 1000))) 319s 319s Approximative Generalized Maximally Selected Statistics 319s 319s data: y, y2 by x (1, 2, 3, 4, 5) 319s stratified by blk 319s maxT = 2.4473, p-value = 0.218 319s alternative hypothesis: two.sided 319s sample estimates: 319s "best" cutpoint: {1, 3, 5} vs. {2, 4} 319s 319s > lev <- LinStatExpCov(ix, cbind(y, y2), block = blk, nresample = 50) 319s > (tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s $TestStatistic 319s [1] 2.447272 319s 319s $p.value 319s [1] 0.2 319s 319s $index 319s [1] 0 1 0 1 0 319s 319s > cmp3(mt, tst) 319s > (tst2 <- doTest(lev, teststat = "quadratic", ordered = FALSE)) 319s $TestStatistic 319s [1] 8.115438 319s 319s $p.value 319s [1] 0.12 319s 319s $index 319s [1] 0 1 0 1 0 319s 319s > 319s > xx <- factor(x %in% levels(x)[tst2$index == 1]) 319s > (it <- independence_test(y + y2 ~ xx | blk, teststat = "quadratic")) 319s 319s Asymptotic General Independence Test 319s 319s data: y, y2 by xx (FALSE, TRUE) 319s stratified by blk 319s chi-squared = 8.1154, df = 2, p-value = 0.01729 319s 319s > cmp3(it, tst2) 319s > 319s > lev <- LinStatExpCov(ix, cbind(y, y2), block = blk, nresample = 1000, varonly = TRUE) 319s > try(tst <- doTest(lev, teststat = "maximum", ordered = FALSE)) 319s > 319s Error in doTest(lev, teststat = "maximum", ordered = FALSE) : 319s need covariance for maximally statistics with blocks 320s autopkgtest [13:42:46]: test run-unit-test: -----------------------] 324s run-unit-test PASS 324s autopkgtest [13:42:50]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 328s autopkgtest [13:42:54]: test pkg-r-autopkgtest: preparing testbed 330s Reading package lists... 330s Building dependency tree... 330s Reading state information... 330s Starting pkgProblemResolver with broken count: 0 330s Starting 2 pkgProblemResolver with broken count: 0 330s Done 331s The following NEW packages will be installed: 331s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 331s cpp-arm-linux-gnueabihf dctrl-tools g++ g++-14 g++-14-arm-linux-gnueabihf 331s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 331s gcc-arm-linux-gnueabihf gfortran gfortran-14 gfortran-14-arm-linux-gnueabihf 331s gfortran-arm-linux-gnueabihf icu-devtools libasan8 libblas-dev libbz2-dev 331s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libdeflate-dev libgcc-14-dev 331s libgfortran-14-dev libicu-dev libisl23 libjpeg-dev libjpeg-turbo8-dev 331s libjpeg8-dev liblapack-dev liblzma-dev libmpc3 libncurses-dev libpcre2-16-0 331s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev 331s libreadline-dev libstdc++-14-dev libtirpc-dev libubsan1 linux-libc-dev 331s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 331s 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. 331s Need to get 78.1 MB of archives. 331s After this operation, 243 MB of additional disk space will be used. 331s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc-dev-bin armhf 2.41-1ubuntu2 [23.0 kB] 331s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.14.0-10.10 [1683 kB] 333s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.38-1 [120 kB] 333s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 333s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc6-dev armhf 2.41-1ubuntu2 [1396 kB] 335s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 336s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 336s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [9220 kB] 346s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-17ubuntu3 [1030 B] 346s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [5578 B] 346s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.2.0-1ubuntu1 [22.4 kB] 346s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 15-20250222-0ubuntu1 [38.9 kB] 346s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 15-20250222-0ubuntu1 [2955 kB] 349s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 15-20250222-0ubuntu1 [1191 kB] 350s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-17ubuntu3 [897 kB] 351s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [18.0 MB] 370s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-17ubuntu3 [506 kB] 371s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [1218 B] 371s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.2.0-1ubuntu1 [5004 B] 371s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-17ubuntu3 [2573 kB] 373s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [10.5 MB] 384s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-17ubuntu3 [21.8 kB] 384s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [966 B] 384s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.2.0-1ubuntu1 [1084 B] 384s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 384s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dctrl-tools armhf 2.24-3build3 [94.7 kB] 384s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran-14-dev armhf 14.2.0-17ubuntu3 [370 kB] 385s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf gfortran-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [9763 kB] 396s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf gfortran-14 armhf 14.2.0-17ubuntu3 [13.6 kB] 396s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf gfortran-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [1026 B] 396s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf gfortran armhf 4:14.2.0-1ubuntu1 [1166 B] 396s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf icu-devtools armhf 76.1-1ubuntu2 [206 kB] 397s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblas-dev armhf 3.12.1-2 [141 kB] 397s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libbz2-dev armhf 1.0.8-6 [30.9 kB] 397s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdeflate-dev armhf 1.23-1 [45.0 kB] 397s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libicu-dev armhf 76.1-1ubuntu2 [12.0 MB] 411s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg-turbo8-dev armhf 2.1.5-3ubuntu2 [265 kB] 412s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg8-dev armhf 8c-2ubuntu11 [1484 B] 412s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg-dev armhf 8c-2ubuntu11 [1482 B] 412s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack-dev armhf 3.12.1-2 [2207 kB] 414s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses-dev armhf 6.5+20250216-2 [345 kB] 415s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.45-1 [207 kB] 415s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.45-1 [197 kB] 415s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.45-1 [6300 B] 415s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.45-1 [752 kB] 416s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 416s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 418s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libpng-dev armhf 1.6.47-1 [251 kB] 418s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline-dev armhf 8.2-6 [153 kB] 418s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf liblzma-dev armhf 5.6.4-1 [166 kB] 418s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 418s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 418s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libtirpc-dev armhf 1.3.4+ds-1.3 [184 kB] 418s Get:54 http://ftpmaster.internal/ubuntu plucky/universe armhf r-base-dev all 4.4.3-1 [4176 B] 418s Get:55 http://ftpmaster.internal/ubuntu plucky/universe armhf pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 419s Fetched 78.1 MB in 1min 27s (894 kB/s) 419s Selecting previously unselected package libc-dev-bin. 419s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 67950 files and directories currently installed.) 419s Preparing to unpack .../00-libc-dev-bin_2.41-1ubuntu2_armhf.deb ... 419s Unpacking libc-dev-bin (2.41-1ubuntu2) ... 419s Selecting previously unselected package linux-libc-dev:armhf. 419s Preparing to unpack .../01-linux-libc-dev_6.14.0-10.10_armhf.deb ... 419s Unpacking linux-libc-dev:armhf (6.14.0-10.10) ... 419s Selecting previously unselected package libcrypt-dev:armhf. 419s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.38-1_armhf.deb ... 419s Unpacking libcrypt-dev:armhf (1:4.4.38-1) ... 419s Selecting previously unselected package rpcsvc-proto. 419s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 419s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 419s Selecting previously unselected package libc6-dev:armhf. 420s Preparing to unpack .../04-libc6-dev_2.41-1ubuntu2_armhf.deb ... 420s Unpacking libc6-dev:armhf (2.41-1ubuntu2) ... 420s Selecting previously unselected package libisl23:armhf. 420s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 420s Unpacking libisl23:armhf (0.27-1) ... 420s Selecting previously unselected package libmpc3:armhf. 420s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 420s Unpacking libmpc3:armhf (1.3.1-1build2) ... 420s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 420s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 420s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 420s Selecting previously unselected package cpp-14. 420s Preparing to unpack .../08-cpp-14_14.2.0-17ubuntu3_armhf.deb ... 420s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 420s Selecting previously unselected package cpp-arm-linux-gnueabihf. 420s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 420s Unpacking cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 420s Selecting previously unselected package cpp. 420s Preparing to unpack .../10-cpp_4%3a14.2.0-1ubuntu1_armhf.deb ... 420s Unpacking cpp (4:14.2.0-1ubuntu1) ... 420s Selecting previously unselected package libcc1-0:armhf. 420s Preparing to unpack .../11-libcc1-0_15-20250222-0ubuntu1_armhf.deb ... 420s Unpacking libcc1-0:armhf (15-20250222-0ubuntu1) ... 420s Selecting previously unselected package libasan8:armhf. 420s Preparing to unpack .../12-libasan8_15-20250222-0ubuntu1_armhf.deb ... 420s Unpacking libasan8:armhf (15-20250222-0ubuntu1) ... 420s Selecting previously unselected package libubsan1:armhf. 420s Preparing to unpack .../13-libubsan1_15-20250222-0ubuntu1_armhf.deb ... 420s Unpacking libubsan1:armhf (15-20250222-0ubuntu1) ... 421s Selecting previously unselected package libgcc-14-dev:armhf. 421s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_armhf.deb ... 421s Unpacking libgcc-14-dev:armhf (14.2.0-17ubuntu3) ... 421s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 421s Preparing to unpack .../15-gcc-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 421s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 421s Selecting previously unselected package gcc-14. 421s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_armhf.deb ... 421s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 421s Selecting previously unselected package gcc-arm-linux-gnueabihf. 421s Preparing to unpack .../17-gcc-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 421s Unpacking gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 421s Selecting previously unselected package gcc. 421s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_armhf.deb ... 421s Unpacking gcc (4:14.2.0-1ubuntu1) ... 421s Selecting previously unselected package libstdc++-14-dev:armhf. 421s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_armhf.deb ... 421s Unpacking libstdc++-14-dev:armhf (14.2.0-17ubuntu3) ... 422s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 422s Preparing to unpack .../20-g++-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 422s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 422s Selecting previously unselected package g++-14. 422s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_armhf.deb ... 422s Unpacking g++-14 (14.2.0-17ubuntu3) ... 422s Selecting previously unselected package g++-arm-linux-gnueabihf. 422s Preparing to unpack .../22-g++-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 422s Unpacking g++-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 422s Selecting previously unselected package g++. 422s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_armhf.deb ... 422s Unpacking g++ (4:14.2.0-1ubuntu1) ... 422s Selecting previously unselected package build-essential. 422s Preparing to unpack .../24-build-essential_12.10ubuntu1_armhf.deb ... 422s Unpacking build-essential (12.10ubuntu1) ... 422s Selecting previously unselected package dctrl-tools. 422s Preparing to unpack .../25-dctrl-tools_2.24-3build3_armhf.deb ... 422s Unpacking dctrl-tools (2.24-3build3) ... 422s Selecting previously unselected package libgfortran-14-dev:armhf. 422s Preparing to unpack .../26-libgfortran-14-dev_14.2.0-17ubuntu3_armhf.deb ... 422s Unpacking libgfortran-14-dev:armhf (14.2.0-17ubuntu3) ... 422s Selecting previously unselected package gfortran-14-arm-linux-gnueabihf. 422s Preparing to unpack .../27-gfortran-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 422s Unpacking gfortran-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 423s Selecting previously unselected package gfortran-14. 423s Preparing to unpack .../28-gfortran-14_14.2.0-17ubuntu3_armhf.deb ... 423s Unpacking gfortran-14 (14.2.0-17ubuntu3) ... 423s Selecting previously unselected package gfortran-arm-linux-gnueabihf. 423s Preparing to unpack .../29-gfortran-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 423s Unpacking gfortran-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 423s Selecting previously unselected package gfortran. 423s Preparing to unpack .../30-gfortran_4%3a14.2.0-1ubuntu1_armhf.deb ... 423s Unpacking gfortran (4:14.2.0-1ubuntu1) ... 423s Selecting previously unselected package icu-devtools. 423s Preparing to unpack .../31-icu-devtools_76.1-1ubuntu2_armhf.deb ... 423s Unpacking icu-devtools (76.1-1ubuntu2) ... 423s Selecting previously unselected package libblas-dev:armhf. 423s Preparing to unpack .../32-libblas-dev_3.12.1-2_armhf.deb ... 423s Unpacking libblas-dev:armhf (3.12.1-2) ... 423s Selecting previously unselected package libbz2-dev:armhf. 423s Preparing to unpack .../33-libbz2-dev_1.0.8-6_armhf.deb ... 423s Unpacking libbz2-dev:armhf (1.0.8-6) ... 423s Selecting previously unselected package libdeflate-dev:armhf. 423s Preparing to unpack .../34-libdeflate-dev_1.23-1_armhf.deb ... 423s Unpacking libdeflate-dev:armhf (1.23-1) ... 423s Selecting previously unselected package libicu-dev:armhf. 423s Preparing to unpack .../35-libicu-dev_76.1-1ubuntu2_armhf.deb ... 423s Unpacking libicu-dev:armhf (76.1-1ubuntu2) ... 424s Selecting previously unselected package libjpeg-turbo8-dev:armhf. 424s Preparing to unpack .../36-libjpeg-turbo8-dev_2.1.5-3ubuntu2_armhf.deb ... 424s Unpacking libjpeg-turbo8-dev:armhf (2.1.5-3ubuntu2) ... 424s Selecting previously unselected package libjpeg8-dev:armhf. 424s Preparing to unpack .../37-libjpeg8-dev_8c-2ubuntu11_armhf.deb ... 424s Unpacking libjpeg8-dev:armhf (8c-2ubuntu11) ... 424s Selecting previously unselected package libjpeg-dev:armhf. 424s Preparing to unpack .../38-libjpeg-dev_8c-2ubuntu11_armhf.deb ... 424s Unpacking libjpeg-dev:armhf (8c-2ubuntu11) ... 424s Selecting previously unselected package liblapack-dev:armhf. 424s Preparing to unpack .../39-liblapack-dev_3.12.1-2_armhf.deb ... 424s Unpacking liblapack-dev:armhf (3.12.1-2) ... 424s Selecting previously unselected package libncurses-dev:armhf. 424s Preparing to unpack .../40-libncurses-dev_6.5+20250216-2_armhf.deb ... 424s Unpacking libncurses-dev:armhf (6.5+20250216-2) ... 424s Selecting previously unselected package libpcre2-16-0:armhf. 424s Preparing to unpack .../41-libpcre2-16-0_10.45-1_armhf.deb ... 424s Unpacking libpcre2-16-0:armhf (10.45-1) ... 424s Selecting previously unselected package libpcre2-32-0:armhf. 424s Preparing to unpack .../42-libpcre2-32-0_10.45-1_armhf.deb ... 424s Unpacking libpcre2-32-0:armhf (10.45-1) ... 424s Selecting previously unselected package libpcre2-posix3:armhf. 424s Preparing to unpack .../43-libpcre2-posix3_10.45-1_armhf.deb ... 424s Unpacking libpcre2-posix3:armhf (10.45-1) ... 424s Selecting previously unselected package libpcre2-dev:armhf. 424s Preparing to unpack .../44-libpcre2-dev_10.45-1_armhf.deb ... 424s Unpacking libpcre2-dev:armhf (10.45-1) ... 424s Selecting previously unselected package libpkgconf3:armhf. 424s Preparing to unpack .../45-libpkgconf3_1.8.1-4_armhf.deb ... 424s Unpacking libpkgconf3:armhf (1.8.1-4) ... 424s Selecting previously unselected package zlib1g-dev:armhf. 424s Preparing to unpack .../46-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 424s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 424s Selecting previously unselected package libpng-dev:armhf. 424s Preparing to unpack .../47-libpng-dev_1.6.47-1_armhf.deb ... 424s Unpacking libpng-dev:armhf (1.6.47-1) ... 424s Selecting previously unselected package libreadline-dev:armhf. 424s Preparing to unpack .../48-libreadline-dev_8.2-6_armhf.deb ... 424s Unpacking libreadline-dev:armhf (8.2-6) ... 425s Selecting previously unselected package liblzma-dev:armhf. 425s Preparing to unpack .../49-liblzma-dev_5.6.4-1_armhf.deb ... 425s Unpacking liblzma-dev:armhf (5.6.4-1) ... 425s Selecting previously unselected package pkgconf-bin. 425s Preparing to unpack .../50-pkgconf-bin_1.8.1-4_armhf.deb ... 425s Unpacking pkgconf-bin (1.8.1-4) ... 425s Selecting previously unselected package pkgconf:armhf. 425s Preparing to unpack .../51-pkgconf_1.8.1-4_armhf.deb ... 425s Unpacking pkgconf:armhf (1.8.1-4) ... 425s Selecting previously unselected package libtirpc-dev:armhf. 425s Preparing to unpack .../52-libtirpc-dev_1.3.4+ds-1.3_armhf.deb ... 425s Unpacking libtirpc-dev:armhf (1.3.4+ds-1.3) ... 425s Selecting previously unselected package r-base-dev. 425s Preparing to unpack .../53-r-base-dev_4.4.3-1_all.deb ... 425s Unpacking r-base-dev (4.4.3-1) ... 425s Selecting previously unselected package pkg-r-autopkgtest. 425s Preparing to unpack .../54-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 425s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 425s Setting up linux-libc-dev:armhf (6.14.0-10.10) ... 425s Setting up libpcre2-16-0:armhf (10.45-1) ... 425s Setting up libpcre2-32-0:armhf (10.45-1) ... 425s Setting up libtirpc-dev:armhf (1.3.4+ds-1.3) ... 425s Setting up libpkgconf3:armhf (1.8.1-4) ... 425s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 425s Setting up libmpc3:armhf (1.3.1-1build2) ... 425s Setting up icu-devtools (76.1-1ubuntu2) ... 425s Setting up pkgconf-bin (1.8.1-4) ... 425s Setting up liblzma-dev:armhf (5.6.4-1) ... 425s Setting up libubsan1:armhf (15-20250222-0ubuntu1) ... 425s Setting up libpcre2-posix3:armhf (10.45-1) ... 425s Setting up libcrypt-dev:armhf (1:4.4.38-1) ... 425s Setting up libasan8:armhf (15-20250222-0ubuntu1) ... 425s Setting up libgcc-14-dev:armhf (14.2.0-17ubuntu3) ... 425s Setting up libisl23:armhf (0.27-1) ... 425s Setting up libc-dev-bin (2.41-1ubuntu2) ... 425s Setting up libdeflate-dev:armhf (1.23-1) ... 425s Setting up libcc1-0:armhf (15-20250222-0ubuntu1) ... 425s Setting up libblas-dev:armhf (3.12.1-2) ... 425s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode 425s Setting up dctrl-tools (2.24-3build3) ... 425s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 425s Setting up libgfortran-14-dev:armhf (14.2.0-17ubuntu3) ... 425s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 425s Setting up pkgconf:armhf (1.8.1-4) ... 425s Setting up liblapack-dev:armhf (3.12.1-2) ... 425s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode 425s Setting up cpp-14 (14.2.0-17ubuntu3) ... 425s Setting up libc6-dev:armhf (2.41-1ubuntu2) ... 425s Setting up libstdc++-14-dev:armhf (14.2.0-17ubuntu3) ... 425s Setting up libicu-dev:armhf (76.1-1ubuntu2) ... 425s Setting up cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 425s Setting up gfortran-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 425s Setting up libbz2-dev:armhf (1.0.8-6) ... 425s Setting up gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 425s Setting up g++-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 425s Setting up libjpeg-turbo8-dev:armhf (2.1.5-3ubuntu2) ... 425s Setting up libncurses-dev:armhf (6.5+20250216-2) ... 425s Setting up libpcre2-dev:armhf (10.45-1) ... 425s Setting up libreadline-dev:armhf (8.2-6) ... 425s Setting up gcc-14 (14.2.0-17ubuntu3) ... 425s Setting up gfortran-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 425s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 425s Setting up cpp (4:14.2.0-1ubuntu1) ... 425s Setting up g++-14 (14.2.0-17ubuntu3) ... 425s Setting up libjpeg8-dev:armhf (8c-2ubuntu11) ... 425s Setting up gfortran-14 (14.2.0-17ubuntu3) ... 425s Setting up g++-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 425s Setting up libpng-dev:armhf (1.6.47-1) ... 425s Setting up libjpeg-dev:armhf (8c-2ubuntu11) ... 425s Setting up gcc (4:14.2.0-1ubuntu1) ... 425s Setting up g++ (4:14.2.0-1ubuntu1) ... 425s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 425s Setting up build-essential (12.10ubuntu1) ... 425s Setting up gfortran (4:14.2.0-1ubuntu1) ... 425s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 425s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 425s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 425s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 425s Setting up r-base-dev (4.4.3-1) ... 425s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 425s Processing triggers for libc-bin (2.41-1ubuntu2) ... 425s Processing triggers for man-db (2.13.0-1) ... 426s Processing triggers for install-info (7.1.1-1) ... 434s autopkgtest [13:44:40]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 434s autopkgtest [13:44:40]: test pkg-r-autopkgtest: [----------------------- 437s Test: Try to load the R library libcoin 437s 437s R version 4.4.3 (2025-02-28) -- "Trophy Case" 437s Copyright (C) 2025 The R Foundation for Statistical Computing 437s Platform: arm-unknown-linux-gnueabihf (32-bit) 437s 437s R is free software and comes with ABSOLUTELY NO WARRANTY. 437s You are welcome to redistribute it under certain conditions. 437s Type 'license()' or 'licence()' for distribution details. 437s 437s R is a collaborative project with many contributors. 437s Type 'contributors()' for more information and 437s 'citation()' on how to cite R or R packages in publications. 437s 437s Type 'demo()' for some demos, 'help()' for on-line help, or 437s 'help.start()' for an HTML browser interface to help. 437s Type 'q()' to quit R. 437s 437s > library('libcoin') 437s > 437s > 437s Other tests are currently unsupported! 437s They will be progressively added. 437s autopkgtest [13:44:43]: test pkg-r-autopkgtest: -----------------------] 441s autopkgtest [13:44:47]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 441s pkg-r-autopkgtest PASS 445s autopkgtest [13:44:51]: @@@@@@@@@@@@@@@@@@@@ summary 445s run-unit-test PASS 445s pkg-r-autopkgtest PASS