0s autopkgtest [18:12:52]: starting date and time: 2025-03-15 18:12:52+0000 0s autopkgtest [18:12:52]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [18:12:52]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jfy6h3dn/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade r-cran-network --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-8.secgroup --name adt-plucky-s390x-r-cran-network-20250315-181252-juju-7f2275-prod-proposed-migration-environment-2-24d6bde0-0a74-4971-a188-38c5ca0fd614 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 137s autopkgtest [18:15:09]: testbed dpkg architecture: s390x 137s autopkgtest [18:15:09]: testbed apt version: 2.9.33 137s autopkgtest [18:15:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 137s autopkgtest [18:15:09]: testbed release detected to be: None 138s autopkgtest [18:15:10]: updating testbed package index (apt update) 138s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 139s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 139s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 139s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 139s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.7 kB] 139s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [379 kB] 139s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.8 kB] 139s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [113 kB] 139s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [1824 B] 139s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B] 139s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [320 kB] 140s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [13.4 kB] 140s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [3776 B] 140s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [240 B] 140s Fetched 1073 kB in 2s (710 kB/s) 140s Reading package lists... 141s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s Calculating upgrade... 141s Calculating upgrade... 142s The following packages were automatically installed and are no longer required: 142s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 142s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 142s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 142s linux-tools-6.11.0-8-generic 142s Use 'sudo apt autoremove' to remove them. 142s The following packages will be upgraded: 142s pinentry-curses python3-jinja2 strace 142s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 142s Need to get 652 kB of archives. 142s After this operation, 27.6 kB of additional disk space will be used. 142s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x strace s390x 6.13+ds-1ubuntu1 [500 kB] 142s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x pinentry-curses s390x 1.3.1-2ubuntu3 [42.9 kB] 142s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 143s Fetched 652 kB in 1s (655 kB/s) 143s (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 ... 81428 files and directories currently installed.) 143s Preparing to unpack .../strace_6.13+ds-1ubuntu1_s390x.deb ... 143s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 143s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_s390x.deb ... 143s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 143s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ... 143s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 143s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 143s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 143s Setting up strace (6.13+ds-1ubuntu1) ... 143s Processing triggers for man-db (2.13.0-1) ... 144s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s Solving dependencies... 144s The following packages will be REMOVED: 144s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 144s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 144s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 144s linux-tools-6.11.0-8-generic* 144s 0 upgraded, 0 newly installed, 9 to remove and 5 not upgraded. 144s After this operation, 167 MB disk space will be freed. 144s (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 ... 81428 files and directories currently installed.) 144s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 144s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 144s Removing libpython3.12t64:s390x (3.12.9-1) ... 144s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 144s Removing libnsl2:s390x (1.3.0-3build3) ... 144s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 144s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 144s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 145s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 145s Processing triggers for libc-bin (2.41-1ubuntu1) ... 145s (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 ... 56328 files and directories currently installed.) 145s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 145s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 146s autopkgtest [18:15:18]: upgrading testbed (apt dist-upgrade and autopurge) 146s Reading package lists... 146s Building dependency tree... 146s Reading state information... 146s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 146s Starting 2 pkgProblemResolver with broken count: 0 146s Done 146s Entering ResolveByKeep 146s 146s Calculating upgrade... 147s The following packages will be upgraded: 147s libc-bin libc-dev-bin libc6 libc6-dev locales 147s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 147s Need to get 9512 kB of archives. 147s After this operation, 8192 B of additional disk space will be used. 147s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc6-dev s390x 2.41-1ubuntu2 [1678 kB] 149s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc-dev-bin s390x 2.41-1ubuntu2 [24.3 kB] 149s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc6 s390x 2.41-1ubuntu2 [2892 kB] 152s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc-bin s390x 2.41-1ubuntu2 [671 kB] 152s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x locales all 2.41-1ubuntu2 [4246 kB] 157s Preconfiguring packages ... 157s Fetched 9512 kB in 10s (949 kB/s) 157s (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 ... 56326 files and directories currently installed.) 157s Preparing to unpack .../libc6-dev_2.41-1ubuntu2_s390x.deb ... 157s Unpacking libc6-dev:s390x (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 157s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu2_s390x.deb ... 157s Unpacking libc-dev-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 157s Preparing to unpack .../libc6_2.41-1ubuntu2_s390x.deb ... 157s Unpacking libc6:s390x (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 157s Setting up libc6:s390x (2.41-1ubuntu2) ... 157s (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 ... 56326 files and directories currently installed.) 157s Preparing to unpack .../libc-bin_2.41-1ubuntu2_s390x.deb ... 157s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 157s Setting up libc-bin (2.41-1ubuntu2) ... 157s (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 ... 56326 files and directories currently installed.) 157s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 157s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 158s Setting up locales (2.41-1ubuntu2) ... 158s Generating locales (this might take a while)... 159s en_US.UTF-8... done 159s Generation complete. 159s Setting up libc-dev-bin (2.41-1ubuntu2) ... 159s Setting up libc6-dev:s390x (2.41-1ubuntu2) ... 159s Processing triggers for man-db (2.13.0-1) ... 160s Processing triggers for systemd (257.3-1ubuntu3) ... 160s Reading package lists... 160s Building dependency tree... 160s Reading state information... 161s Starting pkgProblemResolver with broken count: 0 161s Starting 2 pkgProblemResolver with broken count: 0 161s Done 161s Solving dependencies... 161s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 161s autopkgtest [18:15:33]: rebooting testbed after setup commands that affected boot 180s autopkgtest [18:15:52]: testbed running kernel: Linux 6.14.0-10-generic #10-Ubuntu SMP Wed Mar 12 14:53:49 UTC 2025 183s autopkgtest [18:15:55]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-network 185s Get:1 http://ftpmaster.internal/ubuntu plucky/universe r-cran-network 1.19.0-1 (dsc) [2178 B] 185s Get:2 http://ftpmaster.internal/ubuntu plucky/universe r-cran-network 1.19.0-1 (tar) [507 kB] 185s Get:3 http://ftpmaster.internal/ubuntu plucky/universe r-cran-network 1.19.0-1 (diff) [3492 B] 185s gpgv: Signature made Fri Jan 17 23:25:40 2025 UTC 185s gpgv: using RSA key 724D609337113C710550D7473C26763F6C67E6E2 185s gpgv: Can't check signature: No public key 185s dpkg-source: warning: cannot verify inline signature for ./r-cran-network_1.19.0-1.dsc: no acceptable signature found 185s autopkgtest [18:15:57]: testing package r-cran-network version 1.19.0-1 185s autopkgtest [18:15:57]: build not needed 188s autopkgtest [18:16:00]: test run-unit-test: preparing testbed 188s Reading package lists... 188s Building dependency tree... 188s Reading state information... 188s Starting pkgProblemResolver with broken count: 0 188s Starting 2 pkgProblemResolver with broken count: 0 188s Done 188s The following NEW packages will be installed: 188s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 188s fonts-glyphicons-halflings libblas3 libcairo2 libdatrie1 libdeflate0 188s libfontconfig1 libfreetype6 libgfortran5 libgomp1 libgraphite2-3 188s libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 libjpeg8 libjs-bootstrap 188s liblapack3 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 188s libpaper-utils libpaper2 libpixman-1-0 libsharpyuv0 libsm6 libtcl8.6 188s libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 188s libxft2 libxrender1 libxss1 libxt6t64 node-html5shiv r-base-core 188s r-cran-askpass r-cran-brio r-cran-callr r-cran-cli r-cran-coda r-cran-covr 188s r-cran-crayon r-cran-curl r-cran-desc r-cran-diffobj r-cran-digest 188s r-cran-evaluate r-cran-fansi r-cran-fs r-cran-glue r-cran-httr 188s r-cran-jsonlite r-cran-lattice r-cran-lazyeval r-cran-lifecycle 188s r-cran-magrittr r-cran-matrix r-cran-mime r-cran-network r-cran-openssl 188s r-cran-pillar r-cran-pkgbuild r-cran-pkgconfig r-cran-pkgload r-cran-praise 188s r-cran-processx r-cran-ps r-cran-r6 r-cran-rex r-cran-rlang r-cran-rprojroot 188s r-cran-sna r-cran-statnet.common r-cran-sys r-cran-testthat r-cran-tibble 188s r-cran-utf8 r-cran-vctrs r-cran-waldo r-cran-withr r-cran-yaml unzip 188s x11-common xdg-utils zip 189s 0 upgraded, 93 newly installed, 0 to remove and 0 not upgraded. 189s Need to get 63.9 MB of archives. 189s After this operation, 122 MB of additional disk space will be used. 189s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 189s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 189s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 190s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig-config s390x 2.15.0-2ubuntu1 [37.5 kB] 190s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libfontconfig1 s390x 2.15.0-2ubuntu1 [150 kB] 190s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig s390x 2.15.0-2ubuntu1 [191 kB] 190s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB] 190s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.1-2 [252 kB] 191s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 191s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-render0 s390x 1.17.0-2 [17.0 kB] 191s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 191s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 191s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libcairo2 s390x 1.18.2-2 [580 kB] 191s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libdatrie1 s390x 0.2.13-3build1 [20.6 kB] 191s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libdeflate0 s390x 1.23-1 [46.1 kB] 191s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 15-20250222-0ubuntu1 [620 kB] 192s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250222-0ubuntu1 [152 kB] 192s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libgraphite2-3 s390x 1.3.14-2ubuntu1 [79.8 kB] 192s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libharfbuzz0b s390x 10.2.0-1 [538 kB] 193s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 193s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 193s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg-turbo8 s390x 2.1.5-3ubuntu2 [147 kB] 193s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 193s Get:24 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-bootstrap all 3.4.1+dfsg-3 [129 kB] 193s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.1-2 [2971 kB] 195s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libthai-data all 0.1.29-2build1 [158 kB] 195s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libthai0 s390x 0.1.29-2build1 [20.7 kB] 195s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libpango-1.0-0 s390x 1.56.2-1 [253 kB] 195s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libpangoft2-1.0-0 s390x 1.56.2-1 [50.2 kB] 195s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libpangocairo-1.0-0 s390x 1.56.2-1 [28.2 kB] 195s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libpaper2 s390x 2.2.5-0.3 [17.2 kB] 195s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libpaper-utils s390x 2.2.5-0.3 [15.3 kB] 195s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libsharpyuv0 s390x 1.5.0-0.1 [16.7 kB] 195s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 195s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libtcl8.6 s390x 8.6.16+dfsg-1 [1034 kB] 196s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libjbig0 s390x 2.1-6.1ubuntu2 [33.1 kB] 196s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libwebp7 s390x 1.5.0-0.1 [210 kB] 196s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu4 [217 kB] 197s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libxft2 s390x 2.3.6-1build1 [49.6 kB] 197s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxss1 s390x 1:1.2.3-1build3 [7396 B] 197s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libtk8.6 s390x 8.6.16-1 [830 kB] 197s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 197s Get:43 http://ftpmaster.internal/ubuntu plucky/universe s390x node-html5shiv all 3.7.3+dfsg-5 [13.5 kB] 197s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x zip s390x 3.0-14ubuntu2 [187 kB] 198s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x unzip s390x 6.0-28ubuntu6 [186 kB] 198s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-utils all 1.2.1-2ubuntu1 [66.0 kB] 198s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x r-base-core s390x 4.4.3-1 [28.6 MB] 220s Get:48 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-sys s390x 3.4.3-1 [45.2 kB] 220s Get:49 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-askpass s390x 1.2.1-1 [24.8 kB] 220s Get:50 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-brio s390x 1.1.5-1 [38.6 kB] 220s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-ps s390x 1.9.0-1 [408 kB] 221s Get:52 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-r6 all 2.6.1-1 [101 kB] 221s Get:53 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-processx s390x 3.8.6-1 [364 kB] 221s Get:54 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-callr all 3.7.6-1 [458 kB] 221s Get:55 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-cli s390x 3.6.4-1 [1379 kB] 222s Get:56 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-lattice s390x 0.22-6-1 [1340 kB] 223s Get:57 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-coda all 0.19-4.1-1 [321 kB] 224s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-digest s390x 0.6.37-1 [205 kB] 224s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-jsonlite s390x 1.9.1+dfsg-1 [447 kB] 224s Get:60 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-lazyeval s390x 0.2.2-1build1 [143 kB] 224s Get:61 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-rex all 1.2.1-1 [129 kB] 224s Get:62 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-curl s390x 6.2.1+dfsg-1ubuntu1 [196 kB] 225s Get:63 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-mime s390x 0.12-2 [35.8 kB] 225s Get:64 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-openssl s390x 2.3.2+dfsg-1 [406 kB] 225s Get:65 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-httr all 1.4.7+dfsg-1 [459 kB] 225s Get:66 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-crayon all 1.5.3-1 [165 kB] 225s Get:67 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-withr all 3.0.2+dfsg-1 [214 kB] 225s Get:68 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-yaml s390x 2.3.10-1 [113 kB] 225s Get:69 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-covr s390x 3.6.4+dfsg-1 [302 kB] 226s Get:70 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-desc all 1.4.3-1 [359 kB] 226s Get:71 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-diffobj s390x 0.3.5-1 [1115 kB] 227s Get:72 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-evaluate all 1.0.3-1 [114 kB] 227s Get:73 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-fansi s390x 1.0.5-1 [615 kB] 227s Get:74 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-fs s390x 1.6.5+dfsg-1 [245 kB] 227s Get:75 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-glue s390x 1.8.0-1 [164 kB] 227s Get:76 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-rlang s390x 1.1.5-1 [1713 kB] 229s Get:77 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-lifecycle all 1.0.4+dfsg-1 [110 kB] 229s Get:78 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-magrittr s390x 2.0.3-1 [154 kB] 229s Get:79 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-matrix s390x 1.7-3-1 [4449 kB] 232s Get:80 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-utf8 s390x 1.2.4-1 [143 kB] 232s Get:81 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-vctrs s390x 0.6.5-1 [1448 kB] 233s Get:82 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-pillar all 1.10.1+dfsg-1 [453 kB] 233s Get:83 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-pkgconfig all 2.0.3-2build1 [19.7 kB] 233s Get:84 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-tibble s390x 3.2.1+dfsg-3 [420 kB] 234s Get:85 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-statnet.common s390x 4.11.0-1 [278 kB] 234s Get:86 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-network s390x 1.19.0-1 [834 kB] 234s Get:87 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-pkgbuild all 1.4.6-1 [213 kB] 235s Get:88 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-rprojroot all 2.0.4-2 [125 kB] 235s Get:89 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-pkgload all 1.4.0-1 [247 kB] 235s Get:90 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-praise all 1.0.0-4build1 [20.3 kB] 235s Get:91 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-sna s390x 2.8-1 [1261 kB] 236s Get:92 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-waldo all 0.6.1-2 [150 kB] 236s Get:93 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-testthat s390x 3.2.3-1 [1641 kB] 237s Preconfiguring packages ... 237s Fetched 63.9 MB in 48s (1324 kB/s) 237s Selecting previously unselected package libfreetype6:s390x. 237s (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 ... 56326 files and directories currently installed.) 237s Preparing to unpack .../00-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 237s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 237s Selecting previously unselected package fonts-dejavu-mono. 237s Preparing to unpack .../01-fonts-dejavu-mono_2.37-8_all.deb ... 237s Unpacking fonts-dejavu-mono (2.37-8) ... 237s Selecting previously unselected package fonts-dejavu-core. 237s Preparing to unpack .../02-fonts-dejavu-core_2.37-8_all.deb ... 237s Unpacking fonts-dejavu-core (2.37-8) ... 237s Selecting previously unselected package fontconfig-config. 237s Preparing to unpack .../03-fontconfig-config_2.15.0-2ubuntu1_s390x.deb ... 237s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 237s Selecting previously unselected package libfontconfig1:s390x. 237s Preparing to unpack .../04-libfontconfig1_2.15.0-2ubuntu1_s390x.deb ... 237s Unpacking libfontconfig1:s390x (2.15.0-2ubuntu1) ... 237s Selecting previously unselected package fontconfig. 237s Preparing to unpack .../05-fontconfig_2.15.0-2ubuntu1_s390x.deb ... 237s Unpacking fontconfig (2.15.0-2ubuntu1) ... 238s Selecting previously unselected package fonts-glyphicons-halflings. 238s Preparing to unpack .../06-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... 238s Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 238s Selecting previously unselected package libblas3:s390x. 238s Preparing to unpack .../07-libblas3_3.12.1-2_s390x.deb ... 238s Unpacking libblas3:s390x (3.12.1-2) ... 238s Selecting previously unselected package libpixman-1-0:s390x. 238s Preparing to unpack .../08-libpixman-1-0_0.44.0-3_s390x.deb ... 238s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 238s Selecting previously unselected package libxcb-render0:s390x. 238s Preparing to unpack .../09-libxcb-render0_1.17.0-2_s390x.deb ... 238s Unpacking libxcb-render0:s390x (1.17.0-2) ... 238s Selecting previously unselected package libxcb-shm0:s390x. 238s Preparing to unpack .../10-libxcb-shm0_1.17.0-2_s390x.deb ... 238s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 238s Selecting previously unselected package libxrender1:s390x. 238s Preparing to unpack .../11-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 238s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 238s Selecting previously unselected package libcairo2:s390x. 238s Preparing to unpack .../12-libcairo2_1.18.2-2_s390x.deb ... 238s Unpacking libcairo2:s390x (1.18.2-2) ... 238s Selecting previously unselected package libdatrie1:s390x. 238s Preparing to unpack .../13-libdatrie1_0.2.13-3build1_s390x.deb ... 238s Unpacking libdatrie1:s390x (0.2.13-3build1) ... 238s Selecting previously unselected package libdeflate0:s390x. 238s Preparing to unpack .../14-libdeflate0_1.23-1_s390x.deb ... 238s Unpacking libdeflate0:s390x (1.23-1) ... 238s Selecting previously unselected package libgfortran5:s390x. 238s Preparing to unpack .../15-libgfortran5_15-20250222-0ubuntu1_s390x.deb ... 238s Unpacking libgfortran5:s390x (15-20250222-0ubuntu1) ... 238s Selecting previously unselected package libgomp1:s390x. 238s Preparing to unpack .../16-libgomp1_15-20250222-0ubuntu1_s390x.deb ... 238s Unpacking libgomp1:s390x (15-20250222-0ubuntu1) ... 238s Selecting previously unselected package libgraphite2-3:s390x. 238s Preparing to unpack .../17-libgraphite2-3_1.3.14-2ubuntu1_s390x.deb ... 238s Unpacking libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 238s Selecting previously unselected package libharfbuzz0b:s390x. 238s Preparing to unpack .../18-libharfbuzz0b_10.2.0-1_s390x.deb ... 238s Unpacking libharfbuzz0b:s390x (10.2.0-1) ... 238s Selecting previously unselected package x11-common. 238s Preparing to unpack .../19-x11-common_1%3a7.7+23ubuntu3_all.deb ... 238s Unpacking x11-common (1:7.7+23ubuntu3) ... 238s Selecting previously unselected package libice6:s390x. 238s Preparing to unpack .../20-libice6_2%3a1.1.1-1_s390x.deb ... 238s Unpacking libice6:s390x (2:1.1.1-1) ... 238s Selecting previously unselected package libjpeg-turbo8:s390x. 238s Preparing to unpack .../21-libjpeg-turbo8_2.1.5-3ubuntu2_s390x.deb ... 238s Unpacking libjpeg-turbo8:s390x (2.1.5-3ubuntu2) ... 238s Selecting previously unselected package libjpeg8:s390x. 238s Preparing to unpack .../22-libjpeg8_8c-2ubuntu11_s390x.deb ... 238s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 238s Selecting previously unselected package libjs-bootstrap. 238s Preparing to unpack .../23-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... 238s Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... 238s Selecting previously unselected package liblapack3:s390x. 238s Preparing to unpack .../24-liblapack3_3.12.1-2_s390x.deb ... 238s Unpacking liblapack3:s390x (3.12.1-2) ... 238s Selecting previously unselected package libthai-data. 238s Preparing to unpack .../25-libthai-data_0.1.29-2build1_all.deb ... 238s Unpacking libthai-data (0.1.29-2build1) ... 238s Selecting previously unselected package libthai0:s390x. 238s Preparing to unpack .../26-libthai0_0.1.29-2build1_s390x.deb ... 238s Unpacking libthai0:s390x (0.1.29-2build1) ... 238s Selecting previously unselected package libpango-1.0-0:s390x. 238s Preparing to unpack .../27-libpango-1.0-0_1.56.2-1_s390x.deb ... 238s Unpacking libpango-1.0-0:s390x (1.56.2-1) ... 238s Selecting previously unselected package libpangoft2-1.0-0:s390x. 238s Preparing to unpack .../28-libpangoft2-1.0-0_1.56.2-1_s390x.deb ... 238s Unpacking libpangoft2-1.0-0:s390x (1.56.2-1) ... 238s Selecting previously unselected package libpangocairo-1.0-0:s390x. 238s Preparing to unpack .../29-libpangocairo-1.0-0_1.56.2-1_s390x.deb ... 238s Unpacking libpangocairo-1.0-0:s390x (1.56.2-1) ... 238s Selecting previously unselected package libpaper2:s390x. 238s Preparing to unpack .../30-libpaper2_2.2.5-0.3_s390x.deb ... 238s Unpacking libpaper2:s390x (2.2.5-0.3) ... 238s Selecting previously unselected package libpaper-utils. 238s Preparing to unpack .../31-libpaper-utils_2.2.5-0.3_s390x.deb ... 238s Unpacking libpaper-utils (2.2.5-0.3) ... 238s Selecting previously unselected package libsharpyuv0:s390x. 238s Preparing to unpack .../32-libsharpyuv0_1.5.0-0.1_s390x.deb ... 238s Unpacking libsharpyuv0:s390x (1.5.0-0.1) ... 238s Selecting previously unselected package libsm6:s390x. 238s Preparing to unpack .../33-libsm6_2%3a1.2.4-1_s390x.deb ... 238s Unpacking libsm6:s390x (2:1.2.4-1) ... 238s Selecting previously unselected package libtcl8.6:s390x. 238s Preparing to unpack .../34-libtcl8.6_8.6.16+dfsg-1_s390x.deb ... 238s Unpacking libtcl8.6:s390x (8.6.16+dfsg-1) ... 238s Selecting previously unselected package libjbig0:s390x. 238s Preparing to unpack .../35-libjbig0_2.1-6.1ubuntu2_s390x.deb ... 238s Unpacking libjbig0:s390x (2.1-6.1ubuntu2) ... 238s Selecting previously unselected package libwebp7:s390x. 238s Preparing to unpack .../36-libwebp7_1.5.0-0.1_s390x.deb ... 238s Unpacking libwebp7:s390x (1.5.0-0.1) ... 238s Selecting previously unselected package libtiff6:s390x. 238s Preparing to unpack .../37-libtiff6_4.5.1+git230720-4ubuntu4_s390x.deb ... 238s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 238s Selecting previously unselected package libxft2:s390x. 238s Preparing to unpack .../38-libxft2_2.3.6-1build1_s390x.deb ... 238s Unpacking libxft2:s390x (2.3.6-1build1) ... 238s Selecting previously unselected package libxss1:s390x. 238s Preparing to unpack .../39-libxss1_1%3a1.2.3-1build3_s390x.deb ... 238s Unpacking libxss1:s390x (1:1.2.3-1build3) ... 238s Selecting previously unselected package libtk8.6:s390x. 238s Preparing to unpack .../40-libtk8.6_8.6.16-1_s390x.deb ... 238s Unpacking libtk8.6:s390x (8.6.16-1) ... 238s Selecting previously unselected package libxt6t64:s390x. 238s Preparing to unpack .../41-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 238s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 238s Selecting previously unselected package node-html5shiv. 238s Preparing to unpack .../42-node-html5shiv_3.7.3+dfsg-5_all.deb ... 238s Unpacking node-html5shiv (3.7.3+dfsg-5) ... 238s Selecting previously unselected package zip. 238s Preparing to unpack .../43-zip_3.0-14ubuntu2_s390x.deb ... 238s Unpacking zip (3.0-14ubuntu2) ... 238s Selecting previously unselected package unzip. 238s Preparing to unpack .../44-unzip_6.0-28ubuntu6_s390x.deb ... 238s Unpacking unzip (6.0-28ubuntu6) ... 238s Selecting previously unselected package xdg-utils. 238s Preparing to unpack .../45-xdg-utils_1.2.1-2ubuntu1_all.deb ... 238s Unpacking xdg-utils (1.2.1-2ubuntu1) ... 238s Selecting previously unselected package r-base-core. 238s Preparing to unpack .../46-r-base-core_4.4.3-1_s390x.deb ... 238s Unpacking r-base-core (4.4.3-1) ... 238s Selecting previously unselected package r-cran-sys. 238s Preparing to unpack .../47-r-cran-sys_3.4.3-1_s390x.deb ... 238s Unpacking r-cran-sys (3.4.3-1) ... 238s Selecting previously unselected package r-cran-askpass. 238s Preparing to unpack .../48-r-cran-askpass_1.2.1-1_s390x.deb ... 238s Unpacking r-cran-askpass (1.2.1-1) ... 238s Selecting previously unselected package r-cran-brio. 238s Preparing to unpack .../49-r-cran-brio_1.1.5-1_s390x.deb ... 238s Unpacking r-cran-brio (1.1.5-1) ... 238s Selecting previously unselected package r-cran-ps. 238s Preparing to unpack .../50-r-cran-ps_1.9.0-1_s390x.deb ... 238s Unpacking r-cran-ps (1.9.0-1) ... 238s Selecting previously unselected package r-cran-r6. 238s Preparing to unpack .../51-r-cran-r6_2.6.1-1_all.deb ... 238s Unpacking r-cran-r6 (2.6.1-1) ... 238s Selecting previously unselected package r-cran-processx. 238s Preparing to unpack .../52-r-cran-processx_3.8.6-1_s390x.deb ... 238s Unpacking r-cran-processx (3.8.6-1) ... 238s Selecting previously unselected package r-cran-callr. 238s Preparing to unpack .../53-r-cran-callr_3.7.6-1_all.deb ... 238s Unpacking r-cran-callr (3.7.6-1) ... 238s Selecting previously unselected package r-cran-cli. 238s Preparing to unpack .../54-r-cran-cli_3.6.4-1_s390x.deb ... 238s Unpacking r-cran-cli (3.6.4-1) ... 238s Selecting previously unselected package r-cran-lattice. 238s Preparing to unpack .../55-r-cran-lattice_0.22-6-1_s390x.deb ... 238s Unpacking r-cran-lattice (0.22-6-1) ... 238s Selecting previously unselected package r-cran-coda. 238s Preparing to unpack .../56-r-cran-coda_0.19-4.1-1_all.deb ... 238s Unpacking r-cran-coda (0.19-4.1-1) ... 238s Selecting previously unselected package r-cran-digest. 238s Preparing to unpack .../57-r-cran-digest_0.6.37-1_s390x.deb ... 238s Unpacking r-cran-digest (0.6.37-1) ... 238s Selecting previously unselected package r-cran-jsonlite. 238s Preparing to unpack .../58-r-cran-jsonlite_1.9.1+dfsg-1_s390x.deb ... 238s Unpacking r-cran-jsonlite (1.9.1+dfsg-1) ... 238s Selecting previously unselected package r-cran-lazyeval. 238s Preparing to unpack .../59-r-cran-lazyeval_0.2.2-1build1_s390x.deb ... 238s Unpacking r-cran-lazyeval (0.2.2-1build1) ... 238s Selecting previously unselected package r-cran-rex. 238s Preparing to unpack .../60-r-cran-rex_1.2.1-1_all.deb ... 238s Unpacking r-cran-rex (1.2.1-1) ... 238s Selecting previously unselected package r-cran-curl. 238s Preparing to unpack .../61-r-cran-curl_6.2.1+dfsg-1ubuntu1_s390x.deb ... 238s Unpacking r-cran-curl (6.2.1+dfsg-1ubuntu1) ... 238s Selecting previously unselected package r-cran-mime. 238s Preparing to unpack .../62-r-cran-mime_0.12-2_s390x.deb ... 238s Unpacking r-cran-mime (0.12-2) ... 239s Selecting previously unselected package r-cran-openssl. 239s Preparing to unpack .../63-r-cran-openssl_2.3.2+dfsg-1_s390x.deb ... 239s Unpacking r-cran-openssl (2.3.2+dfsg-1) ... 239s Selecting previously unselected package r-cran-httr. 239s Preparing to unpack .../64-r-cran-httr_1.4.7+dfsg-1_all.deb ... 239s Unpacking r-cran-httr (1.4.7+dfsg-1) ... 239s Selecting previously unselected package r-cran-crayon. 239s Preparing to unpack .../65-r-cran-crayon_1.5.3-1_all.deb ... 239s Unpacking r-cran-crayon (1.5.3-1) ... 239s Selecting previously unselected package r-cran-withr. 239s Preparing to unpack .../66-r-cran-withr_3.0.2+dfsg-1_all.deb ... 239s Unpacking r-cran-withr (3.0.2+dfsg-1) ... 239s Selecting previously unselected package r-cran-yaml. 239s Preparing to unpack .../67-r-cran-yaml_2.3.10-1_s390x.deb ... 239s Unpacking r-cran-yaml (2.3.10-1) ... 239s Selecting previously unselected package r-cran-covr. 239s Preparing to unpack .../68-r-cran-covr_3.6.4+dfsg-1_s390x.deb ... 239s Unpacking r-cran-covr (3.6.4+dfsg-1) ... 239s Selecting previously unselected package r-cran-desc. 239s Preparing to unpack .../69-r-cran-desc_1.4.3-1_all.deb ... 239s Unpacking r-cran-desc (1.4.3-1) ... 239s Selecting previously unselected package r-cran-diffobj. 239s Preparing to unpack .../70-r-cran-diffobj_0.3.5-1_s390x.deb ... 239s Unpacking r-cran-diffobj (0.3.5-1) ... 239s Selecting previously unselected package r-cran-evaluate. 239s Preparing to unpack .../71-r-cran-evaluate_1.0.3-1_all.deb ... 239s Unpacking r-cran-evaluate (1.0.3-1) ... 239s Selecting previously unselected package r-cran-fansi. 239s Preparing to unpack .../72-r-cran-fansi_1.0.5-1_s390x.deb ... 239s Unpacking r-cran-fansi (1.0.5-1) ... 239s Selecting previously unselected package r-cran-fs. 239s Preparing to unpack .../73-r-cran-fs_1.6.5+dfsg-1_s390x.deb ... 239s Unpacking r-cran-fs (1.6.5+dfsg-1) ... 239s Selecting previously unselected package r-cran-glue. 239s Preparing to unpack .../74-r-cran-glue_1.8.0-1_s390x.deb ... 239s Unpacking r-cran-glue (1.8.0-1) ... 239s Selecting previously unselected package r-cran-rlang. 239s Preparing to unpack .../75-r-cran-rlang_1.1.5-1_s390x.deb ... 239s Unpacking r-cran-rlang (1.1.5-1) ... 239s Selecting previously unselected package r-cran-lifecycle. 239s Preparing to unpack .../76-r-cran-lifecycle_1.0.4+dfsg-1_all.deb ... 239s Unpacking r-cran-lifecycle (1.0.4+dfsg-1) ... 239s Selecting previously unselected package r-cran-magrittr. 239s Preparing to unpack .../77-r-cran-magrittr_2.0.3-1_s390x.deb ... 239s Unpacking r-cran-magrittr (2.0.3-1) ... 239s Selecting previously unselected package r-cran-matrix. 239s Preparing to unpack .../78-r-cran-matrix_1.7-3-1_s390x.deb ... 239s Unpacking r-cran-matrix (1.7-3-1) ... 239s Selecting previously unselected package r-cran-utf8. 239s Preparing to unpack .../79-r-cran-utf8_1.2.4-1_s390x.deb ... 239s Unpacking r-cran-utf8 (1.2.4-1) ... 239s Selecting previously unselected package r-cran-vctrs. 239s Preparing to unpack .../80-r-cran-vctrs_0.6.5-1_s390x.deb ... 239s Unpacking r-cran-vctrs (0.6.5-1) ... 239s Selecting previously unselected package r-cran-pillar. 239s Preparing to unpack .../81-r-cran-pillar_1.10.1+dfsg-1_all.deb ... 239s Unpacking r-cran-pillar (1.10.1+dfsg-1) ... 239s Selecting previously unselected package r-cran-pkgconfig. 239s Preparing to unpack .../82-r-cran-pkgconfig_2.0.3-2build1_all.deb ... 239s Unpacking r-cran-pkgconfig (2.0.3-2build1) ... 239s Selecting previously unselected package r-cran-tibble. 239s Preparing to unpack .../83-r-cran-tibble_3.2.1+dfsg-3_s390x.deb ... 239s Unpacking r-cran-tibble (3.2.1+dfsg-3) ... 239s Selecting previously unselected package r-cran-statnet.common. 239s Preparing to unpack .../84-r-cran-statnet.common_4.11.0-1_s390x.deb ... 239s Unpacking r-cran-statnet.common (4.11.0-1) ... 239s Selecting previously unselected package r-cran-network. 239s Preparing to unpack .../85-r-cran-network_1.19.0-1_s390x.deb ... 239s Unpacking r-cran-network (1.19.0-1) ... 239s Selecting previously unselected package r-cran-pkgbuild. 239s Preparing to unpack .../86-r-cran-pkgbuild_1.4.6-1_all.deb ... 239s Unpacking r-cran-pkgbuild (1.4.6-1) ... 239s Selecting previously unselected package r-cran-rprojroot. 239s Preparing to unpack .../87-r-cran-rprojroot_2.0.4-2_all.deb ... 239s Unpacking r-cran-rprojroot (2.0.4-2) ... 239s Selecting previously unselected package r-cran-pkgload. 239s Preparing to unpack .../88-r-cran-pkgload_1.4.0-1_all.deb ... 239s Unpacking r-cran-pkgload (1.4.0-1) ... 239s Selecting previously unselected package r-cran-praise. 239s Preparing to unpack .../89-r-cran-praise_1.0.0-4build1_all.deb ... 239s Unpacking r-cran-praise (1.0.0-4build1) ... 239s Selecting previously unselected package r-cran-sna. 239s Preparing to unpack .../90-r-cran-sna_2.8-1_s390x.deb ... 239s Unpacking r-cran-sna (2.8-1) ... 239s Selecting previously unselected package r-cran-waldo. 239s Preparing to unpack .../91-r-cran-waldo_0.6.1-2_all.deb ... 239s Unpacking r-cran-waldo (0.6.1-2) ... 239s Selecting previously unselected package r-cran-testthat. 239s Preparing to unpack .../92-r-cran-testthat_3.2.3-1_s390x.deb ... 239s Unpacking r-cran-testthat (3.2.3-1) ... 239s Setting up libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 239s Setting up libpixman-1-0:s390x (0.44.0-3) ... 239s Setting up libsharpyuv0:s390x (1.5.0-0.1) ... 239s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 239s Setting up libdatrie1:s390x (0.2.13-3build1) ... 239s Setting up libxcb-render0:s390x (1.17.0-2) ... 239s Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 239s Setting up unzip (6.0-28ubuntu6) ... 239s Setting up x11-common (1:7.7+23ubuntu3) ... 239s Setting up node-html5shiv (3.7.3+dfsg-5) ... 239s Setting up libdeflate0:s390x (1.23-1) ... 239s Setting up libxcb-shm0:s390x (1.17.0-2) ... 239s Setting up libgomp1:s390x (15-20250222-0ubuntu1) ... 239s Setting up libjbig0:s390x (2.1-6.1ubuntu2) ... 239s Setting up zip (3.0-14ubuntu2) ... 239s Setting up libblas3:s390x (3.12.1-2) ... 239s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 239s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 239s Setting up fonts-dejavu-mono (2.37-8) ... 239s Setting up libtcl8.6:s390x (8.6.16+dfsg-1) ... 239s Setting up fonts-dejavu-core (2.37-8) ... 239s Setting up libjpeg-turbo8:s390x (2.1.5-3ubuntu2) ... 239s Setting up libgfortran5:s390x (15-20250222-0ubuntu1) ... 239s Setting up libwebp7:s390x (1.5.0-0.1) ... 239s Setting up libharfbuzz0b:s390x (10.2.0-1) ... 239s Setting up libthai-data (0.1.29-2build1) ... 239s Setting up libxss1:s390x (1:1.2.3-1build3) ... 239s Setting up libpaper2:s390x (2.2.5-0.3) ... 239s Setting up xdg-utils (1.2.1-2ubuntu1) ... 239s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 239s Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 239s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 239s Setting up libice6:s390x (2:1.1.1-1) ... 239s Setting up liblapack3:s390x (3.12.1-2) ... 239s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 239s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 240s Setting up libpaper-utils (2.2.5-0.3) ... 240s Setting up libthai0:s390x (0.1.29-2build1) ... 240s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 240s Setting up libfontconfig1:s390x (2.15.0-2ubuntu1) ... 240s Setting up libsm6:s390x (2:1.2.4-1) ... 240s Setting up fontconfig (2.15.0-2ubuntu1) ... 242s Regenerating fonts cache... done. 242s Setting up libxft2:s390x (2.3.6-1build1) ... 242s Setting up libtk8.6:s390x (8.6.16-1) ... 242s Setting up libpango-1.0-0:s390x (1.56.2-1) ... 242s Setting up libcairo2:s390x (1.18.2-2) ... 242s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 242s Setting up libpangoft2-1.0-0:s390x (1.56.2-1) ... 242s Setting up libpangocairo-1.0-0:s390x (1.56.2-1) ... 242s Setting up r-base-core (4.4.3-1) ... 242s Creating config file /etc/R/Renviron with new version 242s Setting up r-cran-crayon (1.5.3-1) ... 242s Setting up r-cran-lattice (0.22-6-1) ... 242s Setting up r-cran-ps (1.9.0-1) ... 242s Setting up r-cran-lazyeval (0.2.2-1build1) ... 242s Setting up r-cran-r6 (2.6.1-1) ... 242s Setting up r-cran-coda (0.19-4.1-1) ... 242s Setting up r-cran-magrittr (2.0.3-1) ... 242s Setting up r-cran-fs (1.6.5+dfsg-1) ... 242s Setting up r-cran-curl (6.2.1+dfsg-1ubuntu1) ... 242s Setting up r-cran-brio (1.1.5-1) ... 242s Setting up r-cran-diffobj (0.3.5-1) ... 242s Setting up r-cran-rlang (1.1.5-1) ... 242s Setting up r-cran-sys (3.4.3-1) ... 242s Setting up r-cran-withr (3.0.2+dfsg-1) ... 242s Setting up r-cran-processx (3.8.6-1) ... 242s Setting up r-cran-mime (0.12-2) ... 242s Setting up r-cran-praise (1.0.0-4build1) ... 242s Setting up r-cran-digest (0.6.37-1) ... 242s Setting up r-cran-yaml (2.3.10-1) ... 242s Setting up r-cran-evaluate (1.0.3-1) ... 242s Setting up r-cran-fansi (1.0.5-1) ... 242s Setting up r-cran-glue (1.8.0-1) ... 242s Setting up r-cran-cli (3.6.4-1) ... 242s Setting up r-cran-lifecycle (1.0.4+dfsg-1) ... 242s Setting up r-cran-rprojroot (2.0.4-2) ... 242s Setting up r-cran-askpass (1.2.1-1) ... 242s Setting up r-cran-jsonlite (1.9.1+dfsg-1) ... 242s Setting up r-cran-pkgconfig (2.0.3-2build1) ... 242s Setting up r-cran-utf8 (1.2.4-1) ... 242s Setting up r-cran-rex (1.2.1-1) ... 242s Setting up r-cran-waldo (0.6.1-2) ... 242s Setting up r-cran-matrix (1.7-3-1) ... 242s Setting up r-cran-statnet.common (4.11.0-1) ... 242s Setting up r-cran-vctrs (0.6.5-1) ... 242s Setting up r-cran-pillar (1.10.1+dfsg-1) ... 242s Setting up r-cran-openssl (2.3.2+dfsg-1) ... 242s Setting up r-cran-callr (3.7.6-1) ... 242s Setting up r-cran-desc (1.4.3-1) ... 242s Setting up r-cran-tibble (3.2.1+dfsg-3) ... 242s Setting up r-cran-network (1.19.0-1) ... 242s Setting up r-cran-sna (2.8-1) ... 242s Setting up r-cran-httr (1.4.7+dfsg-1) ... 242s Setting up r-cran-covr (3.6.4+dfsg-1) ... 242s Setting up r-cran-pkgbuild (1.4.6-1) ... 242s Setting up r-cran-pkgload (1.4.0-1) ... 242s Setting up r-cran-testthat (3.2.3-1) ... 242s Processing triggers for libc-bin (2.41-1ubuntu2) ... 242s Processing triggers for man-db (2.13.0-1) ... 243s Processing triggers for install-info (7.1.1-1) ... 244s autopkgtest [18:16:56]: test run-unit-test: [----------------------- 244s BEGIN TEST general.tests.R 244s 244s R version 4.4.3 (2025-02-28) -- "Trophy Case" 244s Copyright (C) 2025 The R Foundation for Statistical Computing 244s Platform: s390x-ibm-linux-gnu 244s 244s R is free software and comes with ABSOLUTELY NO WARRANTY. 244s You are welcome to redistribute it under certain conditions. 244s Type 'license()' or 'licence()' for distribution details. 244s 244s R is a collaborative project with many contributors. 244s Type 'contributors()' for more information and 244s 'citation()' on how to cite R or R packages in publications. 244s 244s Type 'demo()' for some demos, 'help()' for on-line help, or 244s 'help.start()' for an HTML browser interface to help. 244s Type 'q()' to quit R. 244s 244s > #The following battery of tests is intended to verify the functionality of 244s > #the network library 244s > 244s > #Set to TRUE to run tests 244s > if(FALSE){ 244s + 244s + library(network) 244s + 244s + # ----- check assigning multiple attribute values in a single call ------ 244s + test<-network.initialize(3) 244s + set.vertex.attribute(test,c('a','b'),c(1,2)) 244s + if(!all(test%v%'a'==c(1,1,1) & test%v%'b'==c(2,2,2))){ 244s + stop('setting multiple attribute values with set.vertex.attribute failed') 244s + } 244s + 244s + test<-network.initialize(3) 244s + set.vertex.attribute(test,list('a','b'),c(1,2)) 244s + if(!all(test%v%'a'==c(1,1,1) & test%v%'b'==c(2,2,2))){ 244s + stop('setting multiple attribute values with set.vertex.attribute failed') 244s + } 244s + 244s + test<-network.initialize(3) 244s + set.vertex.attribute(test,c('a','b'),list(c(1,2,3),c(4,5,6))) 244s + if(!all(test%v%'a'==c(1,2,3) & test%v%'b'==c(4,5,6))){ 244s + stop('setting multiple attribute values with set.vertex.attribute failed') 244s + } 244s + 244s + test<-network.initialize(3) 244s + set.vertex.attribute(test,c('a','b'),list(list(1,2,3),list(4,5,6))) 244s + if(!all(test%v%'a'==c(1,2,3) & test%v%'b'==c(4,5,6))){ 244s + stop('setting multiple attribute values with set.vertex.attribute failed') 244s + } 244s + 244s + test<-network.initialize(3) 244s + obj<-list(one='a complex object',two=c('with muliple','parts')) 244s + set.vertex.attribute(test,c('a','b'),list(list(as.list(obj)),list(as.list(obj)))) 244s + if(!all(all.equal(get.vertex.attribute(test,'a',unlist=FALSE)[[1]],obj) & all.equal(get.vertex.attribute(test,'b',unlist=FALSE)[[1]],obj))){ 244s + stop('setting multiple attribute values with list values in set.vertex.attribute failed') 244s + } 244s + 244s + # check assignment to list of networks 244s + net <- network.initialize(2) 244s + netlist <- list(net) 244s + set.network.attribute(netlist[[1]],"test","a value") 244s + if (!"test" %in% list.network.attributes(netlist[[1]])) 244s + stop('assignment to list of networks failed') 244s + 244s + # test multiple assignment for network 244s + 244s + test<-network.initialize(3) 244s + set.network.attribute(test,c("a","b"),1:2) 244s + if (!all(test%n%'a'==1,test%n%'b'==2)){ 244s + stop('mulltiple attribute assignment failed for set.network.attribute') 244s + } 244s + 244s + test<-network.initialize(3) 244s + set.network.attribute(test,list("a","b"),as.list(1:2)) 244s + if (!all(test%n%'a'==1,test%n%'b'==2)){ 244s + stop('mulltiple attribute assignment failed for set.network.attribute') 244s + } 244s + 244s + 244s + 244s + # test multiple assignment for edges 244s + 244s + test<-network.initialize(3) 244s + add.edges(test,tail=1:3,head=c(2,3,1)) 244s + net<-test 244s + set.edge.attribute(net,c("a","b"),1:2) 244s + if (!all(net%n%'a'==1,net%n%'b'==2)){ 244s + stop('mulltiple attribute assignment failed for set.edge.attribute') 244s + } 244s + 244s + net<-test 244s + set.edge.attribute(net,c('a','b'),list(c(1,2,3),c(4,5,6))) 244s + if(!all(net%e%'a'==c(1,2,3) & net%e%'b'==c(4,5,6))){ 244s + stop('setting multiple attribute values with set.edge.attribute failed') 244s + } 244s + 244s + net<-test 244s + set.edge.attribute(net,c('a','b'),list(list(1,2,3),list(4,5,6))) 244s + if(!all(net%e%'a'==c(1,2,3) & net%e%'b'==c(4,5,6))){ 244s + stop('setting multiple attribute values with set.edge.attribute failed') 244s + } 244s + 244s + net<-test 244s + obj<-list(one='a complex object',two=c('with muliple','parts')) 244s + set.edge.attribute(net,c('a','b'),list(list(as.list(obj)),list(as.list(obj)))) 244s + if(!all(all.equal(get.edge.attribute(net,'a',unlist=FALSE)[[1]],obj) & all.equal(get.edge.attribute(net,'b',unlist=FALSE)[[1]],obj))){ 244s + stop('setting multiple attribute values with list values in set.edge.attribute failed') 244s + } 244s + 244s + 244s + 244s + # ---- checks for get.edge.attribute overloading and omit args ---- 244s + net<-network.initialize(3) 244s + add.edges(net,c(1,2,3),c(2,3,1)) 244s + set.edge.attribute(net,'test',"a") 244s + if(!all(get.edge.attribute(net,'test')==c("a","a","a"))){stop("overloading of get.edge.attribute to get.edge.value not working correctly ")} 244s + 244s + # check list output of get.edge.attribute with deleted.edges.omit 244s + delete.edges(net,2) 244s + set.edge.attribute(net,'foo','bar',1) 244s + if(!identical(list('bar',NULL,NULL),get.edge.attribute(net,'foo',unlist=FALSE, deleted.edges.omit = FALSE))){ 244s + stop("deleted.edges.omit argument causing bad return values in get.edge.attribute ") 244s + } 244s + if(!identical(list('bar',NULL),get.edge.attribute(net,'foo',unlist=FALSE, deleted.edges.omit = TRUE))){ 244s + stop("deleted.edges.omit argument causing bad return values in get.edge.attribute ") 244s + } 244s + 244s + # check unlisted output of get.edge.attribute with na.omit and deleted.edges.omit 244s + if(!identical(c('bar'),get.edge.attribute(net,'foo',unlist=TRUE,deleted.edges.omit=TRUE))){ 244s + stop("omission argument causing bad return values in get.edge.attribute") 244s + } 244s + if(!identical(c('bar'),get.edge.attribute(net,'foo',unlist=TRUE,deleted.edges.omit=TRUE))){ 244s + stop("omission arguments causing bad return values in get.edge.attribute") 244s + } 244s + 244s + # check for null.na recoding of non-set attributes 244s + if(!identical(c('bar'),get.edge.attribute(net,'foo',unlist=TRUE,null.na=FALSE))){ 244s + stop("null.na arguments causing bad return values in get.edge.attribute") 244s + } 244s + if(!identical(c('bar',NA),get.edge.attribute(net,'foo',unlist=TRUE,null.na=TRUE))){ 244s + stop("null.na arguments causing bad return values in get.edge.attribute") 244s + } 244s + if(!identical(list('bar',NULL,NULL),get.edge.attribute(net,'foo',unlist=FALSE,null.na=FALSE))){ 244s + stop("null.na arguments causing bad return values in get.edge.attribute") 244s + } 244s + if(!identical(list('bar',NULL,NA),get.edge.attribute(net,'foo',unlist=FALSE,null.na=TRUE))){ 244s + stop("null.na arguments causing bad return values in get.edge.attribute") 244s + } 244s + 244s + 244s + 244s + #mark an edge as missing to test na.omit 244s + set.edge.attribute(net,'na',TRUE,e=1) 244s + 244s + # check that values corresponding to missing edges are ommited 244s + if(!identical(list('bar',NULL,NULL),get.edge.attribute(net,'foo',unlist=FALSE,na.omit=FALSE))){ 244s + stop("na.omit argument causing bad return values in get.edge.attribute") 244s + } 244s + if(!identical(list(NULL,NULL),get.edge.attribute(net,'foo',unlist=FALSE,na.omit=TRUE))){ 244s + stop("na.omit argument causing bad return values in get.edge.attribute") 244s + } 244s + 244s + if(!identical(c('bar'),get.edge.attribute(net,'foo',unlist=TRUE,na.omit=FALSE))){ 244s + stop("na.omit argument causing bad return values in get.edge.attribute") 244s + } 244s + if(!identical(NULL,get.edge.attribute(net,'foo',unlist=TRUE,na.omit=TRUE))){ 244s + stop("na.omit argument causing bad return values in get.edge.attribute") 244s + } 244s + # check for behavior when querying the 'na' attribute 244s + if(!identical(c(TRUE,FALSE),get.edge.attribute(net,'na',na.omit=FALSE))){ 244s + stop("get.edge.attribute did not return correct values for 'na' attribute with na.omit=FALSE") 244s + } 244s + if(!identical(c(FALSE),get.edge.attribute(net,'na',na.omit=TRUE))){ 244s + stop("get.edge.attribute did not return correct values for 'na' attribute with na.omit=TRUE") 244s + } 244s + 244s + # check behavior on a network with no edges 244s + if(!identical(list(),get.edge.attribute(network.initialize(3),'foo',unlist=FALSE))){ 244s + stop("get.edge.attribute did not return correct values network with no edges") 244s + } 244s + 244s + if(!identical(NULL,get.edge.attribute(network.initialize(3),'foo',unlist=TRUE))){ 244s + stop("get.edge.attribute did not return correct values network with no edges") 244s + } 244s + 244s + if(!identical(NULL,get.edge.attribute(net,'bar'))){ 244s + stop("get.edge.attribute did not return correct values for attribute that does not exist") 244s + } 244s + 244s + 244s + # check for behavior of attribute values explicitly set to null 244s + net<-network.initialize(3) 244s + net[1,2]<-1 244s + net[1,3]<-1 244s + set.edge.attribute(net,'nullval',list(NULL)) 244s + 244s + # expect NULL,NULL 244s + if(!identical(list(NULL,NULL),get.edge.attribute(net,'nullval',unlist=FALSE,null.na=FALSE))){ 244s + stop("get.edge.attribute not returning NULL values stored as edge attribute correctly") 244s + } 244s + 244s + # expect that this should return NULL values, which will dissappear on unlisting 244s + # do NOT want to see NA,NA 244s + if(!identical(NULL,get.edge.attribute(net,'nullval',null.na=FALSE))){ 244s + stop("get.edge.attribute not returning NULL values stored as edge attribute correctly") 244s + } 244s + if(!identical(NULL,get.edge.attribute(net,'nullval',null.na=TRUE))){ 244s + stop("get.edge.attribute not returning NULL values stored as edge attribute correctly") 244s + } 244s + 244s + #End tests 244s + } 244s > 244s BEGIN TEST general.tests2.R 244s 244s R version 4.4.3 (2025-02-28) -- "Trophy Case" 244s Copyright (C) 2025 The R Foundation for Statistical Computing 244s Platform: s390x-ibm-linux-gnu 244s 244s R is free software and comes with ABSOLUTELY NO WARRANTY. 244s You are welcome to redistribute it under certain conditions. 244s Type 'license()' or 'licence()' for distribution details. 244s 244s R is a collaborative project with many contributors. 244s Type 'contributors()' for more information and 244s 'citation()' on how to cite R or R packages in publications. 244s 244s Type 'demo()' for some demos, 'help()' for on-line help, or 244s 'help.start()' for an HTML browser interface to help. 244s Type 'q()' to quit R. 244s 244s > #Set to TRUE to run tests 244s > if(FALSE){ 244s + 244s + # additional tests of misc network functionality split off from general.tests.R to avoid speed warnings 244s + library(network) 244s + 244s + # ----- check memory saftey with a big assignment --- 244s + net<-network.initialize(100000) 244s + net<-add.edges(net,1:99999,2:100000) 244s + set.edge.attribute(net,'LETTERS',LETTERS) 244s + 244s + # --- tests for get.induced.subgraph additions -- 244s + data(emon) 244s + # extract the network of responders in MtStHelens network with interaction Frequency of 4 244s + subG4<-get.inducedSubgraph(emon$MtStHelens,eid=which(emon$MtStHelens%e%'Frequency'==4)) 244s + if(network.size(subG4)!=24){ 244s + stop('wrong size eid induced subgraph') 244s + } 244s + 244s + if (any(subG4%e%'Frequency'!=4)){ 244s + stop('bad edges in eid induced subgraph') 244s + } 244s + 244s + # checks for error conditions 244s + # can't specify eid with v or alter 244s + # get.inducedSubgraph(v=1:2,emon$MtStHelens,eid=which(emon$MtStHelens%e%'Frequency'==4)) 244s + # get.inducedSubgraph(alter=1:2,emon$MtStHelens,eid=which(emon$MtStHelens%e%'Frequency'==4)) 244s + # get.inducedSubgraph(emon$MtStHelens,eid=200:300) 244s + 244s + 244s + # ---- tests for specific bugs/edgecases ----- 244s + 244s + # ticket #180 (used to throw error if no edges exist) 244s + set.edge.attribute(network.initialize(3),"test","a") 244s + 244s + # check for network of zero size --used to give error ticket #255 244s + set.vertex.attribute(network.initialize(0),'foo','bar') 244s + 244s + 244s + # check for is.na.network problems #619 244s + x2<-network.initialize(3) 244s + x2[1,2]<-NA 244s + if(is.na.network(x2)[1,2]!=1){ 244s + stop('problem iwth is.na.netowrk') 244s + } 244s + 244s + # check for na problems in which.matrix.type #926 244s + mat <- matrix(rbinom(200, 1, 0.2), nrow = 20) 244s + naIndices <- sample(1:200, 20) 244s + mat[naIndices] <- NA 244s + nw <- network(mat) 244s + 244s + # ---- check for undirected loops getID cases #327 #609 ----- 244s + net<-network.initialize(2,loops=TRUE,directed=FALSE) 244s + net[1,1]<-1 244s + net[1,2]<-1 244s + net[2,2]<-1 244s + if(get.edgeIDs(net,v=1,alter=1)!=1){ 244s + stop("problem with get.edgeIDs on undirected network with loops") 244s + } 244s + if(get.edgeIDs(net,v=2,alter=2)!=3){ 244s + stop("problem with get.edgeIDs on undirected network with loops") 244s + } 244s + 244s + net<-network.initialize(2,loops=TRUE,directed=FALSE) 244s + net[1,2]<-1 244s + if(length(get.edgeIDs(net,v=2,alter=2))>0){ 244s + stop("problem with get.edgeIDs on undirected network with loops") 244s + } 244s + 244s + # check for problem with as.network.edgelist with zero edges #1138 244s + result1 <- as.matrix.network.edgelist(network.initialize(5),as.sna.edgelist = TRUE) 244s + if (nrow(result1) != 0){ 244s + stop('as.matrix.network.edgelist did not return correct value for net with zero edges') 244s + } 244s + result1a <- tibble::as_tibble(network.initialize(5)) 244s + if (nrow(result1a) != 0){ 244s + stop('as_tibble.network did not return correct value for net with zero edges') 244s + } 244s + result2<-as.matrix.network.adjacency(network.initialize(5)) 244s + if(nrow(result2) != 5 & ncol(result2) != 5){ 244s + stop('as.matrix.network.adjacency did not return matrix with correct dimensions') 244s + } 244s + result3<-as.matrix.network.adjacency(network.initialize(0)) 244s + if(nrow(result3) != 0 & ncol(result3) != 0){ 244s + stop('as.matrix.network.adjacency did not return matrix with correct dimensions') 244s + } 244s + result4<-as.matrix.network.incidence(network.initialize(5)) 244s + if(nrow(result4) != 5 & ncol(result4) != 0){ 244s + stop('as.matrix.network.incidence did not return matrix with correct dimensions') 244s + } 244s + result5<-as.matrix.network.incidence(network.initialize(0)) 244s + if(nrow(result5) != 0 & ncol(result5) != 0){ 244s + stop('as.matrix.network.incidence did not return matrix with correct dimensions') 244s + } 244s + 244s + #End test 244s + } 244s > 244s BEGIN TEST list.attribute.tests.R 244s 244s R version 4.4.3 (2025-02-28) -- "Trophy Case" 244s Copyright (C) 2025 The R Foundation for Statistical Computing 244s Platform: s390x-ibm-linux-gnu 244s 244s R is free software and comes with ABSOLUTELY NO WARRANTY. 244s You are welcome to redistribute it under certain conditions. 244s Type 'license()' or 'licence()' for distribution details. 244s 244s R is a collaborative project with many contributors. 244s Type 'contributors()' for more information and 244s 'citation()' on how to cite R or R packages in publications. 244s 244s Type 'demo()' for some demos, 'help()' for on-line help, or 244s 'help.start()' for an HTML browser interface to help. 244s Type 'q()' to quit R. 244s 244s > #Set to TRUE to run tests 244s > if(FALSE){ 244s + 244s + require(network) 244s + 244s + # --------- test list.vertex.attributes --- 244s + 244s + net<-network.initialize(3) 244s + 244s + list.vertex.attributes(net) 244s + 244s + if(!all(list.vertex.attributes(net)==c('na','vertex.names'))){ 244s + stop('list.vertex.attribute did not report default attributes corrrectly') 244s + } 244s + 244s + set.vertex.attribute(net,'letters',c("a","b","c")) 244s + 244s + if(!all(list.vertex.attributes(net)==c('letters','na','vertex.names'))){ 244s + stop('list.vertex.attribute did not report added attributes corrrectly') 244s + } 244s + 244s + 244s + # ----- test list.edge.attributes ---- 244s + 244s + net<-network.initialize(3) 244s + if(length(list.edge.attributes(net))!=0){ 244s + stop("list.edge.attributes did not return empty list for network with no edges") 244s + } 244s + 244s + add.edges(net,1,2) 244s + add.edges(net,2,3) 244s + if(list.edge.attributes(net)!='na'){ 244s + stop("list.edge.attributes did not return 'na' for network with only edges") 244s + } 244s + 244s + set.edge.attribute(net,'letter',c("a","b")) 244s + if(!all(list.edge.attributes(net)==c('letter','na'))){ 244s + stop("list.edge.attributes did not return attribute names for network with edges") 244s + } 244s + 244s + delete.edges(net,eid=1) 244s + if(!all(list.edge.attributes(net)==c('letter','na'))){ 244s + stop("list.edge.attributes did not return attribute names for network deleted edge") 244s + } 244s + 244s + # ---- test list.network.attributes ---- 244s + net<-network.initialize(3) 244s + if(!all(list.network.attributes(net)==c("bipartite", "directed", "hyper","loops","mnext", "multiple","n" ))){ 244s + stop("list.network.attributes returned unexpected values for default attributes of a network") 244s + } 244s + 244s + set.network.attribute(net,'letter',"a") 244s + if(!all(list.network.attributes(net)==c("bipartite", "directed", "hyper","letter","loops","mnext", "multiple","n" ))){ 244s + stop("list.network.attributes returned unexpected values for network with attribute added") 244s + } 244s + 244s + # ----- tests for printing function for edges cases ------ 244s + net<-network.initialize(100) 244s + net%n%'a_matrix'<-matrix(1:100,nrow=10,ncol=10) 244s + net%n%'a_null'<-NULL 244s + net%n%'a_list'<-list(part1=list(c("A","B")),part2=list("c")) 244s + net%n%'a_desc_vec'<-numeric(rep(100,1)) 244s + net%n%'a_net'<-network.initialize(5) 244s + print.network(net) 244s + 244s + #End tests 244s + } 244s > 244s BEGIN TEST network.access.test.R 244s 244s R version 4.4.3 (2025-02-28) -- "Trophy Case" 244s Copyright (C) 2025 The R Foundation for Statistical Computing 244s Platform: s390x-ibm-linux-gnu 244s 244s R is free software and comes with ABSOLUTELY NO WARRANTY. 244s You are welcome to redistribute it under certain conditions. 244s Type 'license()' or 'licence()' for distribution details. 244s 244s R is a collaborative project with many contributors. 244s Type 'contributors()' for more information and 244s 'citation()' on how to cite R or R packages in publications. 244s 244s Type 'demo()' for some demos, 'help()' for on-line help, or 244s 'help.start()' for an HTML browser interface to help. 244s Type 'q()' to quit R. 244s 245s > #Set to TRUE to run tests 245s > if(FALSE){ 245s + 245s + library(network) 245s + 245s + binet = network.initialize(10, bipartite = 6) 245s + set.vertex.attribute(binet, 'myval', paste('b1', 1:6), v=1:6) 245s + set.vertex.attribute(binet, 'myval', paste('b2', 1:4), v=7:10) 245s + 245s + check <- vector() 245s + check[1] <- all(get.vertex.attribute(binet, 'myval') == c("b1 1", "b1 2", "b1 3", "b1 4", "b1 5", "b1 6", "b2 1", "b2 2", "b2 3" ,"b2 4")) 245s + 245s + # check for distinction between bipartite=FALSE and bipartite=0 245s + testA<-network.initialize(3,bipartite=0) 245s + if(!is.bipartite(testA)){ 245s + stop('failed test of is.bipartite for bipartite=0') 245s + } 245s + 245s + testB<-network.initialize(3,bipartite=FALSE) 245s + if(is.bipartite(testB)){ 245s + stop('failed test of is.bipartite for bipartite=FALSE') 245s + } 245s + 245s + testC<-network.initialize(3,bipartite=TRUE) 245s + if(!is.bipartite(testC)){ 245s + stop('failed test of is.bipartite for bipartite=TRUE') 245s + } 245s + 245s + if(!is.bipartite(binet)){ 245s + stop('failed test of is.bipartite for bipartite=6') 245s + } 245s + 245s + # add vertices to bipartite graphs 245s + g = binet; add.vertices(g, 5, last.mode=F) 245s + check[2] <- network.size(g) == 15 245s + check[3] <- get.network.attribute(g, 'bipartite') == 11 245s + check[4] <- identical(get.vertex.attribute(g, 'myval'), 245s + c("b1 1", "b1 2", "b1 3", "b1 4", "b1 5", "b1 6", NA,NA,NA,NA,NA,"b2 1","b2 2","b2 3","b2 4")) 245s + 245s + test<-network.initialize(3,bipartite=0) 245s + test%v%'letters'<-LETTERS[1:3] 245s + add.vertices(test,nv=1,last.mode=FALSE) 245s + if(!identical(test%v%'letters',c(NA,"A","B","C"))){ 245s + stop("Error adding vertices to first mode of network with biparite=0") 245s + } 245s + 245s + test<-network.initialize(3,bipartite=0) 245s + test%v%'letters'<-LETTERS[1:3] 245s + add.vertices(test,nv=1,last.mode=TRUE) 245s + if(!identical(test%v%'letters',c("A","B","C",NA))){ 245s + stop("Error adding vertices to last mode of network with biparite=0") 245s + } 245s + 245s + 245s + g = binet 245s + add.vertices(g, 5, last.mode=T) 245s + check[5] <- network.size(g) == 15 245s + check[6] <- get.network.attribute(g, 'bipartite') == 6 245s + check[7] <- identical(get.vertex.attribute(g, 'myval'), 245s + c("b1 1", "b1 2", "b1 3", "b1 4", "b1 5", "b1 6","b2 1","b2 2","b2 3","b2 4", NA,NA,NA,NA,NA)) 245s + 245s + # replacement operators should always replace 245s + y <- network.initialize(4,dir=FALSE) # This network can have at most 1 edge. 245s + y[1,2] <- NA # Assign NA to (1,2) 245s + y[1,2] <- NA 245s + check[8] <- network.edgecount(y) == 0 245s + check[9] <- network.edgecount(y, na.omit=F) == 1 245s + 245s + y[,] <- 1 245s + check[10] <- network.edgecount(y) == 6 245s + y[,] <- NA 245s + check[11] <- network.edgecount(y) == 0 245s + check[12] <- network.edgecount(y, na.omit=F) == 6 245s + y[,] <- 0 245s + check[13] <- network.edgecount(y, na.omit=F) == 0 245s + 245s + 245s + # ------ test valid.eids function 245s + net<-network.initialize(4) 245s + net[,]<-1 245s + delete.edges(net,eid=4:6) 245s + if(!all(valid.eids(net)==c(1,2,3,7,8,9,10,11,12))){ 245s + stop('valid.eids did not return correct ids for non-null elements of network') 245s + } 245s + 245s + #If everything worked, check is TRUE 245s + if(!all(check)){ #Should be TRUE 245s + stop(paste("network package test failed on test(s):",which(!check))) 245s + } 245s + 245s + #End tests 245s + } 245s > 245s BEGIN TEST network.battery.R 245s 245s R version 4.4.3 (2025-02-28) -- "Trophy Case" 245s Copyright (C) 2025 The R Foundation for Statistical Computing 245s Platform: s390x-ibm-linux-gnu 245s 245s R is free software and comes with ABSOLUTELY NO WARRANTY. 245s You are welcome to redistribute it under certain conditions. 245s Type 'license()' or 'licence()' for distribution details. 245s 245s R is a collaborative project with many contributors. 245s Type 'contributors()' for more information and 245s 'citation()' on how to cite R or R packages in publications. 245s 245s Type 'demo()' for some demos, 'help()' for on-line help, or 245s 'help.start()' for an HTML browser interface to help. 245s Type 'q()' to quit R. 245s 245s > #The following battery of tests is intended to verify the functionality of 245s > #the network library 245s > 245s > #Set to TRUE to run tests 245s > if(FALSE){ 245s + 245s + library(network) 245s + #These functions are intended to mimic functionality from the sna package. 245s + #Said package is not required to use network, but was used in creating this 245s + #battery of tests. 245s + rgraph<-function(n){ 245s + m<-matrix(rbinom(n*n,1,0.5),n,n) 245s + diag(m)<-0 245s + m 245s + } 245s + degree<-function(d,cmode = "freeman") 245s + { 245s + n <- dim(d)[1] 245s + diag(d) <- NA 245s + switch(cmode, indegree = apply(d, 2, sum, na.rm = TRUE), 245s + outdegree = apply(d, 1, sum, na.rm = TRUE), freeman = apply(d, 245s + 2, sum, na.rm = TRUE) + apply(d, 1, sum, na.rm = TRUE)) 245s + } 245s + #gctorture(TRUE) #Uncomment to perform a more intensive (SLOW) test 245s + 245s + # ---- Check assignment, deletion, and adjacency for dyadic graphs ---- 245s + check<-vector() 245s + temp<-network(matrix(0,5,5)) 245s + temp[1,2]<-1 #Add edge 245s + check[1]<-temp[1,2]==1 #Check adjacency 245s + check[2]<-get.network.attribute(temp,"mnext")==2 #Check count 245s + temp[1,2]<-1 #Should have no effect 245s + check[3]<-get.network.attribute(temp,"mnext")==2 #Check count 245s + temp[1,1]<-1 #Should have no effect 245s + check[4]<-temp[1,1]==0 #Shouldn't be present 245s + check[5]<-get.network.attribute(temp,"mnext")==2 #Check count 245s + temp[,2]<-1 #Should add 3 edges 245s + check[6]<-get.network.attribute(temp,"mnext")==5 #Check count 245s + check[7]<-all(temp[,2]==c(1,0,1,1,1)) #Verify row 245s + temp[3:4,3:4]<-1 #Should add 2 edges 245s + check[8]<-get.network.attribute(temp,"mnext")==7 #Check count 245s + temp[,]<-0 #Delete edges 245s + check[9]<-all(temp[,]==matrix(0,5,5)) #Verify that edges were removed 245s + temp[1:2,3:5]<-1 #Add new edges 245s + check[10]<-sum(temp[,])==6 #Check edge sum 245s + temp<-add.vertices(temp,3) #Add vertices 245s + check[11]<-network.size(temp)==8 245s + check[12]<-sum(temp[,])==6 #Edges should still be there 245s + check[13]<-all(temp[,5]==c(1,1,0,0,0,0,0,0)) 245s + temp[8,]<-1 #Add edges to new vertex 245s + check[14]<-all(temp[8,]==c(1,1,1,1,1,1,1,0)) #Verify 245s + temp<-delete.vertices(temp,c(7,8)) #Remove vertices 245s + check[15]<-network.size(temp)==6 #Verify removal 245s + check[16]<-sum(temp[,])==6 #Check edge sum 245s + check[17]<-!any(c(7,8)%in%c(sapply(temp$mel,"[[","inl"),sapply(temp$mel,"[[","outl"))) #Make sure they're really gone! 245s + temp<-network(matrix(0,5,5),directed=FALSE,loops=TRUE) #Create undir graph 245s + check[18]<-is.directed(temp)==FALSE #Some simple gal tests 245s + check[19]<-has.loops(temp)==TRUE 245s + temp[1,]<-1 245s + check[20]<-all(temp[,1]==temp[1,]) #Verify edges 245s + temp<-permute.vertexIDs(temp,5:1) #Permute 245s + check[21]<-all(temp[1,]==c(0,0,0,0,1)) #Verify permutation 245s + check[22]<-all(temp[,5]==rep(1,5)) 245s + check[23]<-all(get.neighborhood(temp,1)%in%c(5,1)) #Check neighborhoods 245s + check[24]<-all(sort(get.neighborhood(temp,5))==1:5) 245s + check[25]<-length(get.edges(temp,5))==5 #Check get.edges 245s + check[26]<-length(get.edges(temp,5,2))==1 245s + g<-rgraph(10) 245s + temp<-network(g) 245s + check[27]<-all(g==temp[,]) #Yet more edge checkage 245s + check[28]<-all(g[3:1,-(4:3)]==temp[3:1,-(4:3)]) 245s + temp[,,,names.eval="newval"]<-matrix(1:100,10,10) #Edge value assignment 245s + check[29]<-all(as.sociomatrix(temp,"newval")==matrix(1:100,10,10)*g) 245s + check[30]<-all(apply(as.matrix.network.incidence(temp),1,sum)==(degree(g,cmode="indegree")-degree(g,cmode="outdegree"))) #Check incidence matrix 245s + check[31]<-all(dim(as.matrix.network.incidence(temp))==c(10,sum(g))) 245s + check[32]<-all(apply(as.matrix.network.incidence(temp,"newval"),1,sum)==(degree(matrix(1:100,10,10)*g,cmode="indegree")-degree(matrix(1:100,10,10)*g,cmode="outdegree"))) 245s + check[33]<-all(as.matrix.network.edgelist(temp,"newval")==cbind(row(g)[g>0],col(g)[g>0],matrix(1:100,10,10)[g>0])) 245s + temp[1:3,1:5,names.eval="newval"]<-matrix(1:15,3,5) 245s + check[34]<-all(as.sociomatrix(temp,"newval")[1:3,1:5]==g[1:3,1:5]*matrix(1:15,3,5)) 245s + temp[,,"na"]<-TRUE #Verify NA filtering 245s + check[35]<-sum(temp[,,na.omit=TRUE])==0 245s + check[36]<-sum(is.na(temp[,,na.omit=FALSE]))==sum(g) 245s + 245s + #---- Check assignment, deletion, and adjacency for hypergraphs ---- 245s + temp<-network.initialize(10,directed=F,hyper=T,loops=T) 245s + check[37]<-sum(temp[,])==0 245s + temp<-add.edge(temp,1:4,1:4,"value",list(5)) 245s + temp<-add.edge(temp,3:5,3:5,"value",list(6)) 245s + temp<-add.edge(temp,4:7,4:7,"value",list(7)) 245s + temp<-add.edge(temp,6:10,6:10,"value",list(8)) 245s + check[38]<-all(as.matrix.network.incidence(temp)==cbind(c(1,1,1,1,0,0,0,0,0,0),c(0,0,1,1,1,0,0,0,0,0),c(0,0,0,1,1,1,1,0,0,0),c(0,0,0,0,0,1,1,1,1,1))) 245s + check[39]<-all(as.matrix.network.incidence(temp,"value")==cbind(5*c(1,1,1,1,0,0,0,0,0,0),6*c(0,0,1,1,1,0,0,0,0,0),7*c(0,0,0,1,1,1,1,0,0,0),8*c(0,0,0,0,0,1,1,1,1,1))) 245s + check[40]<-all(temp[,]==((as.matrix.network.incidence(temp)%*%t(as.matrix.network.incidence(temp)))>0)) 245s + 245s + #---- Check coercion and construction methods ---- 245s + g<-rgraph(10) 245s + temp<-network(g) 245s + check[41]<-all(temp[,]==g) 245s + temp<-as.network(g*matrix(1:100,10,10),names.eval="value",ignore.eval=FALSE) 245s + check[42]<-all(as.sociomatrix(temp,"value")==g*matrix(1:100,10,10)) 245s + temp<-as.network.matrix(as.matrix.network.edgelist(temp,"value"),matrix.type="edgelist",names.eval="value",ignore.eval=FALSE) 245s + check[43]<-all(as.sociomatrix(temp,"value")==g*matrix(1:100,10,10)) 245s + temp<-as.network.matrix(as.matrix.network.incidence(temp,"value"),matrix.type="incidence",names.eval="value",ignore.eval=FALSE) 245s + check[44]<-all(as.sociomatrix(temp,"value")==g*matrix(1:100,10,10)) 245s + 245s + # check functioning of na.rm argument #922 245s + plain<-as.network.matrix(matrix(c(0,1,NA,NA),ncol=2),na.rm=TRUE) 245s + if (network.naedgecount(plain) != 0){ 245s + stop('problem with na values in adjacency matrix coericon') 245s + } 245s + plain<-as.network.matrix(matrix(c(0,1,NA,NA),ncol=2),na.rm=FALSE) 245s + if (network.naedgecount(plain) != 1){ 245s + stop('problem with na values in adjacnecy matrix coericon') 245s + } 245s + 245s + 245s + 245s + # test for as.matrix.network edgelist bug #935 245s + x <- network.initialize(10) 245s + add.edge(x,1,2) 245s + add.edge(x,2,3) 245s + set.edge.attribute(x,'foo','bar',e=2) # i.e. the edge from 2 to 3 245s + if (!identical(as.matrix.network.edgelist(x,'foo'),structure(c("1", "2", "2", "3", NA, "bar"), .Dim = 2:3, n = 10, vnames = 1:10))){ 245s + stop("problem with as.matrix.network.edgelist with attribute and deleted edge") 245s + } 245s + 245s + 245s + 245s + #---- Check attribute assignment/access ---- 245s + g<-rgraph(10) 245s + temp<-network(g) 245s + temp<-set.vertex.attribute(temp,"value",1:10) 245s + check[45]<-all(get.vertex.attribute(temp,"value")==1:10) 245s + temp<-delete.vertex.attribute(temp,"value") 245s + check[46]<-all(is.na(get.vertex.attribute(temp,"value"))) 245s + temp<-set.vertex.attribute(temp,"value",1:5,c(2,4,6,8,10)) 245s + check[47]<-all(get.vertex.attribute(temp,"value")[c(2,4,6,8,10)]==1:5) 245s + temp<-set.network.attribute(temp,"value","pork!") 245s + check[48]<-get.network.attribute(temp,"value")=="pork!" 245s + temp<-delete.network.attribute(temp,"value") 245s + check[49]<-is.null(get.network.attribute(temp,"value")) 245s + temp<-set.edge.attribute(temp,"value",5) 245s + check[50]<-all(get.edge.attribute(temp$mel,"value")==5) 245s + temp<-delete.edge.attribute(temp,"value") 245s + check[51]<-all(is.null(get.edge.attribute(temp$mel,"value"))) 245s + temp<-set.edge.value(temp,"value",g*matrix(1:100,10,10)) 245s + check[52]<-all(get.edge.value(temp,"value")==(g*matrix(1:100,10,10))[g>0]) 245s + check[53]<-all(as.sociomatrix(temp,"value")==(g*matrix(1:100,10,10))) 245s + 245s + 245s + #---- Check additional operators ---- 245s + g<-rgraph(10) 245s + temp<-network(g,names.eval="value",ignore.eval=FALSE) 245s + temp2<-network(g*2,names.eval="value",ignore.eval=FALSE) 245s + check[54]<-all(g==as.sociomatrix(temp+temp2)) 245s + check[55]<-all(g*3==as.sociomatrix(sum(temp,temp2,attrname="value"),"value")) 245s + check[56]<-all(g==as.sociomatrix(temp*temp2)) 245s + check[57]<-all(g*2==as.sociomatrix(prod(temp,temp2,attrname="value"),"value")) 245s + check[58]<-all(0==as.sociomatrix(temp-temp2)) 245s + check[59]<-all(-g==as.sociomatrix(sum(temp,-as.sociomatrix(temp2,"value"),attrname="value"),"value")) 245s + check[60]<-all(((g%*%g)>0)==as.sociomatrix("%c%.network"(temp,temp2))) 245s + check[61]<-all(((g%*%g)>0)==as.sociomatrix(temp%c%temp2)) 245s + check[62]<-all(((!temp)[,]==!g)[diag(10)<1]) 245s + check[63]<-all((temp|temp2)[,]==g) 245s + check[64]<-all((temp&temp2)[,]==g) 245s + temp%v%"value"<-1:10 245s + check[65]<-all(temp%v%"value"==1:10) 245s + temp%n%"value"<-"pork!" 245s + check[66]<-temp%n%"value"=="pork!" 245s + 245s + # ---- Check to ensure that in-place modification is not producing side effects ---- 245s + g<-network.initialize(5); checkg<-g; add.vertices(g,3) 245s + check[67]<-(network.size(checkg)==5)&&(network.size(g)==8) 245s + g<-network.initialize(5); checkg<-g; delete.vertices(g,2) 245s + check[68]<-(network.size(checkg)==5)&&(network.size(g)==4) 245s + g<-network.initialize(5); checkg<-g; add.edge(g,2,3) 245s + check[69]<-(sum(checkg[,])==0)&&(sum(g[,])==1) 245s + g<-network.initialize(5); checkg<-g; add.edges(g,c(2,2,2),c(1,3,4)) 245s + check[70]<-(sum(checkg[,])==0)&&(sum(g[,])==3) 245s + g<-network.initialize(5); checkg<-g; g%v%"boo"<-1:5 245s + check[71]<-all(is.na(checkg%v%"boo"))&&all(g%v%"boo"==1:5) 245s + g<-network.initialize(5); checkg<-g; g%n%"boo"<-1:5 245s + check[72]<-is.null(checkg%n%"boo")&&all(g%n%"boo"==1:5) 245s + g<-network.initialize(5); g[1,]<-1; checkg<-g; g%e%"boo"<-col(matrix(0,5,5)) 245s + check[73]<-is.null(checkg%e%"boo")&&all(g%e%"boo"==2:5) 245s + g<-network.initialize(5); checkg<-g; permute.vertexIDs(g,5:1) 245s + check[74]<-all(checkg%v%"vertex.names"==1:5)&&all(g%v%"vertex.names"==5:1) 245s + g<-network.initialize(5); temp<-(function(){add.vertices(g,3); network.size(g)})() 245s + check[75]<-(network.size(g)==5)&&(temp==8) 245s + g<-network.initialize(5); (function(){g<-network.initialize(4); add.vertices(g,3)})() 245s + check[76]<-(network.size(g)==5) 245s + 245s + # check for operators with undirected edge error ticket #279 245s + # nw1 is assigned tail
head 245s + nw2<-network.initialize(3,directed=FALSE) 245s + nw2[2,1]<-1 245s + 245s + # Which, the binary network operators don't take into account: 245s + check[77]<-network.edgecount(nw1-nw2)==0 # Should have 0, has 1. 245s + check[78]<-network.edgecount(nw1|nw2)==1 # Should have 1, has 2 (1->2 and 2->1). 245s + check[79]<-network.edgecount(nw1&nw2)==1 # Should have 1, has 0 (since it treats 1->2 and 2->1 differently). 245s + check[80]<-network.edgecount(!nw1)==2 # Should have choose(3,2)-1=2, has 3. 245s + check[81]<-network.edgecount(!nw2)==2 # Should have choose(3,2)-1=2, has 2. 245s + 245s + #If everything worked, check is TRUE 245s + if(!all(check)){ #Should be TRUE 245s + stop(paste("network package test failed on test(s):",which(!check))) 245s + } 245s + 245s + #End test 245s + } 245s > 245s BEGIN TEST pathological.tests.R 245s 245s R version 4.4.3 (2025-02-28) -- "Trophy Case" 245s Copyright (C) 2025 The R Foundation for Statistical Computing 245s Platform: s390x-ibm-linux-gnu 245s 245s R is free software and comes with ABSOLUTELY NO WARRANTY. 245s You are welcome to redistribute it under certain conditions. 245s Type 'license()' or 'licence()' for distribution details. 245s 245s R is a collaborative project with many contributors. 245s Type 'contributors()' for more information and 245s 'citation()' on how to cite R or R packages in publications. 245s 245s Type 'demo()' for some demos, 'help()' for on-line help, or 245s 'help.start()' for an HTML browser interface to help. 245s Type 'q()' to quit R. 245s 245s > #Set to TRUE to run tests 245s > if(FALSE){ 245s + 245s + library(network) 245s + if (require(statnet.common,quietly=TRUE)){ 245s + 245s + opttest({ 245s + gctorture(TRUE) 245s + n <- 10 245s + test <- network.initialize(n) 245s + for (i in 1:(n-1)){ 245s + for (j in (i+1):n){ 245s + cat(i,j,'\n') 245s + get.inducedSubgraph(test,v=i:j) 245s + } 245s + } 245s + gctorture(FALSE) 245s + },'Ticket #180 Test 1','NETWORK_pathology_TESTS') 245s + 245s + opttest({ 245s + gctorture(TRUE) 245s + test <- network.initialize(10) 245s + delete.vertices(test,5) 245s + gctorture(FALSE) 245s + },'Ticket #180 Test 2','NETWORK_pathology_TESTS') 245s + 245s + opttest({ 245s + x <- network.initialize(10) 245s + x[,] <- 1 245s + try(set.edge.value(x,'foo',matrix('bar',5,5))) 245s + },'Ticket #827','NETWORK_pathology_TESTS') 245s + 245s + } 245s + 245s + #End tests 245s + } 245s > 245s BEGIN TEST plotflo.R 245s 245s R version 4.4.3 (2025-02-28) -- "Trophy Case" 245s Copyright (C) 2025 The R Foundation for Statistical Computing 245s Platform: s390x-ibm-linux-gnu 245s 245s R is free software and comes with ABSOLUTELY NO WARRANTY. 245s You are welcome to redistribute it under certain conditions. 245s Type 'license()' or 'licence()' for distribution details. 245s 245s R is a collaborative project with many contributors. 245s Type 'contributors()' for more information and 245s 'citation()' on how to cite R or R packages in publications. 245s 245s Type 'demo()' for some demos, 'help()' for on-line help, or 245s 'help.start()' for an HTML browser interface to help. 245s Type 'q()' to quit R. 245s 245s > #Set to TRUE to run tests 245s > if(FALSE){ 245s + 245s + # 245s + # load the library 245s + # 245s + library(network) 245s + # 245s + # attach the sociomatrix for the Florentine marriage data 245s + # This is not yet a graph object. 245s + # 245s + data(flo) 245s + # 245s + # print out the sociomatrix for the Florentine marriage data 245s + # 245s + flo 245s + # 245s + # Create a network object out of the adjacency matrix and print it out 245s + # 245s + nflo <- network(flo,directed=FALSE) 245s + nflo 245s + # 245s + # print out the sociomatrix for the Florentine marriage data 245s + # 245s + print(nflo,matrix.type="adjacency") 245s + # 245s + # plot the Florentine marriage data 245s + # 245s + plot(nflo) 245s + # 245s + # create a vector indicating the Medici family and add it as a covariate to the 245s + # graph object. 245s + # 245s + nflo <- set.vertex.attribute(nflo,"medici",c(0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0)) 245s + nflo 245s + # 245s + # create a vector indicating the Medici family for the graph 245s + # 245s + medici <- rep("",nrow(flo)) 245s + names(medici) <- dimnames(flo)[[1]] 245s + medici[names(medici)=="Medici"] <- "Medici" 245s + # 245s + # plot the marriage data, highlighting the Medici family 245s + # 245s + plot(nflo,vertex.col=1+get.vertex.attribute(nflo,"medici")) 245s + 245s + # plot the emon St. Helens network, with edge widths proportional 245s + # to 'Frequency', and edges labeled by their id 245s + data(emon) 245s + par(mar=c(0,0,0,0)) 245s + plot(emon[[5]],edge.label=TRUE,edge.label.cex=0.6, 245s + edge.col='gray',edge.lwd=(emon[[5]]%e%'Frequency')*2) 245s + 245s + #End tests 245s + } 245s > 245s BEGIN TEST speedTests.R 245s 245s R version 4.4.3 (2025-02-28) -- "Trophy Case" 245s Copyright (C) 2025 The R Foundation for Statistical Computing 245s Platform: s390x-ibm-linux-gnu 245s 245s R is free software and comes with ABSOLUTELY NO WARRANTY. 245s You are welcome to redistribute it under certain conditions. 245s Type 'license()' or 'licence()' for distribution details. 245s 245s R is a collaborative project with many contributors. 245s Type 'contributors()' for more information and 245s 'citation()' on how to cite R or R packages in publications. 245s 245s Type 'demo()' for some demos, 'help()' for on-line help, or 245s 'help.start()' for an HTML browser interface to help. 245s Type 'q()' to quit R. 245s 245s > #Set to TRUE to run tests 245s > if(FALSE){ 245s + 245s + # some really basic speed checks to help us know if we make changes that massively degrade performance 245s + require(network) 245s + 245s + init<-system.time(net<-network.initialize(100000))[3] 245s + setv<-system.time(set.vertex.attribute(net,"foo","bar"))[3] 245s + getv<-system.time(get.vertex.attribute(net,"foo"))[3] 245s + listv<-system.time(list.vertex.attributes(net))[3] 245s + adde<-system.time(add.edges(net,tail=1:99999,head=2:100000))[3] 245s + sete<-system.time(set.edge.attribute(net,"foo","bar"))[3] 245s + gete<-system.time(get.edge.attribute(net,"foo"))[3] 245s + liste<-system.time(list.edge.attributes(net))[3] 245s + addmoree<-system.time(add.edge(net,100000,1))[3] 245s + addmorev<-system.time(add.vertices(net,1))[3] 245s + 245s + 245s + # optionally compare to benchmarks saved in test folder to see if things have changed 245s + # benchmarks<-rbind(init,setv,getv,listv,adde,sete,gete,liste,addmoree,addmorev) 245s + # oldmarks<-read.table(file.choose(),header=TRUE,colClasses=c('character','numeric')) 245s + # all.equal(oldmarks[,1],benchmarks[,1],check.attributes=FALSE) 245s + 245s + # optionally save out benchmarks to test directory 245s + # write.table(benchmarks,file=file.choose()) 245s + 245s + # some absolute thresholds 245s + 245s + if(init>5){ 245s + stop("initializing network for large number of vertices took much longer than expected") 245s + } 245s + 245s + if(setv>5){ 245s + stop("set.vertex.attribute for large number of vertices took much longer than expected") 245s + } 245s + 245s + if(getv>5){ 245s + stop("get.vertex.attribute for large number of vertices took much longer than expected") 245s + } 245s + 245s + if(listv>1){ 245s + stop("list.vertex.attributes for large number of vertices took much longer than expected") 245s + } 245s + 245s + if(adde>5){ 245s + stop("add.edges for a large number of edges took much longer than expected") 245s + } 245s + 245s + if(sete>10){ 245s + stop("set.edge.attribute for a large number of edges took much longer than expected") 245s + } 245s + 245s + if(gete>1){ 245s + stop("get.edge.attribute for a large number of edges took much longer than expected") 245s + } 245s + 245s + if(liste>1){ 245s + stop("list.edge.attribute for a large number of edges took much longer than expected") 245s + } 245s + 245s + if(addmoree>5){ 245s + stop("add.edge for a network with a large number of edges took much longer than expected") 245s + } 245s + 245s + if(addmorev>5){ 245s + stop("add.vertices for a network with large number of vertices took longer than expected") 245s + } 245s + 245s + #End tests 245s + } 245s > 245s BEGIN TEST testthat.R 245s 245s R version 4.4.3 (2025-02-28) -- "Trophy Case" 245s Copyright (C) 2025 The R Foundation for Statistical Computing 245s Platform: s390x-ibm-linux-gnu 245s 245s R is free software and comes with ABSOLUTELY NO WARRANTY. 245s You are welcome to redistribute it under certain conditions. 245s Type 'license()' or 'licence()' for distribution details. 245s 245s R is a collaborative project with many contributors. 245s Type 'contributors()' for more information and 245s 'citation()' on how to cite R or R packages in publications. 245s 245s Type 'demo()' for some demos, 'help()' for on-line help, or 245s 'help.start()' for an HTML browser interface to help. 245s Type 'q()' to quit R. 245s 245s > library(testthat) 245s > library(network) 246s > 246s > test_check("network") 246s 246s ‘network’ 1.19.0 (2024-12-08), part of the Statnet Project 246s * ‘news(package="network")’ for changes since last version 246s * ‘citation("network")’ for citation information 246s * ‘https://statnet.org’ for help, support, and other information 246s 247s [ FAIL 0 | WARN 1 | SKIP 0 | PASS 234 ] 247s 247s [ FAIL 0 | WARN 1 | SKIP 0 | PASS 234 ] 247s > 247s BEGIN TEST vignette.R 247s 247s R version 4.4.3 (2025-02-28) -- "Trophy Case" 247s Copyright (C) 2025 The R Foundation for Statistical Computing 247s Platform: s390x-ibm-linux-gnu 247s 247s R is free software and comes with ABSOLUTELY NO WARRANTY. 247s You are welcome to redistribute it under certain conditions. 247s Type 'license()' or 'licence()' for distribution details. 247s 247s R is a collaborative project with many contributors. 247s Type 'contributors()' for more information and 247s 'citation()' on how to cite R or R packages in publications. 247s 247s Type 'demo()' for some demos, 'help()' for on-line help, or 247s 'help.start()' for an HTML browser interface to help. 247s Type 'q()' to quit R. 247s 247s > require("network") 247s Loading required package: network 247s 247s ‘network’ 1.19.0 (2024-12-08), part of the Statnet Project 247s * ‘news(package="network")’ for changes since last version 247s * ‘citation("network")’ for citation information 247s * ‘https://statnet.org’ for help, support, and other information 247s 247s > set.seed(1702) 247s > 247s > results = NULL 247s > 247s > data("flo") 247s > data("emon") 247s > 247s > net <- network.initialize(5) 247s > net 247s Network attributes: 247s vertices = 5 247s directed = TRUE 247s hyper = FALSE 247s loops = FALSE 247s multiple = FALSE 247s bipartite = FALSE 247s total edges= 0 247s missing edges= 0 247s non-missing edges= 0 247s 247s Vertex attribute names: 247s vertex.names 247s 247s No edge attributes 247s > 247s > nmat <- matrix(rbinom(25, 1, 0.5), nr = 5, nc = 5) 247s > net <- network(nmat, loops = TRUE) 247s > net 247s Network attributes: 247s vertices = 5 247s directed = TRUE 247s hyper = FALSE 247s loops = TRUE 247s multiple = FALSE 247s bipartite = FALSE 247s total edges= 9 247s missing edges= 0 247s non-missing edges= 9 247s 247s Vertex attribute names: 247s vertex.names 247s 247s No edge attributes 247s > 247s > summary(net) 247s Network attributes: 247s vertices = 5 247s directed = TRUE 247s hyper = FALSE 247s loops = TRUE 247s multiple = FALSE 247s bipartite = FALSE 247s total edges = 9 247s missing edges = 0 247s non-missing edges = 9 247s density = 0.36 247s 247s Vertex attributes: 247s vertex.names: 247s character valued attribute 247s 5 valid vertex names 247s 247s No edge attributes 247s 247s Network adjacency matrix: 247s 1 2 3 4 5 247s 1 1 0 1 0 1 247s 2 1 0 0 1 0 247s 3 1 0 1 1 0 247s 4 0 0 1 0 0 247s 5 0 0 0 0 0 247s > results[1] = all(nmat == net[,]) 247s > 247s > net <- as.network(nmat, loops = TRUE) 247s > results[2] = all(nmat == net[,]) 247s > 247s > nflo <- network(flo, directed = FALSE) 247s > nflo 247s Network attributes: 247s vertices = 16 247s directed = FALSE 247s hyper = FALSE 247s loops = FALSE 247s multiple = FALSE 247s bipartite = FALSE 247s total edges= 20 247s missing edges= 0 247s non-missing edges= 20 247s 247s Vertex attribute names: 247s vertex.names 247s 247s No edge attributes 247s > 247s > results[3] = all(nflo[9,] == c(1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1)) 247s > results[4] = nflo[9,1] == 1 247s > results[5] = nflo[9,4] == 0 247s > results[6] = is.adjacent(nflo, 9, 1) == TRUE 247s > results[7] = is.adjacent(nflo, 9, 4) == FALSE 247s > 247s > results[8] = network.size(nflo) == 16 247s > results[9] = network.edgecount(nflo) == 20 247s > results[10] = network.density(nflo) == 1/6 247s > results[11] = has.loops(nflo) == FALSE 247s > results[12] = is.bipartite(nflo) == FALSE 247s > results[13] = is.directed(nflo) == FALSE 247s > results[14] = is.hyper(nflo) == FALSE 247s > results[15] = is.multiplex(nflo) == FALSE 247s > 247s > as.sociomatrix(nflo) 247s Acciaiuoli Albizzi Barbadori Bischeri Castellani Ginori Guadagni 247s Acciaiuoli 0 0 0 0 0 0 0 247s Albizzi 0 0 0 0 0 1 1 247s Barbadori 0 0 0 0 1 0 0 247s Bischeri 0 0 0 0 0 0 1 247s Castellani 0 0 1 0 0 0 0 247s Ginori 0 1 0 0 0 0 0 247s Guadagni 0 1 0 1 0 0 0 247s Lamberteschi 0 0 0 0 0 0 1 247s Medici 1 1 1 0 0 0 0 247s Pazzi 0 0 0 0 0 0 0 247s Peruzzi 0 0 0 1 1 0 0 247s Pucci 0 0 0 0 0 0 0 247s Ridolfi 0 0 0 0 0 0 0 247s Salviati 0 0 0 0 0 0 0 247s Strozzi 0 0 0 1 1 0 0 247s Tornabuoni 0 0 0 0 0 0 1 247s Lamberteschi Medici Pazzi Peruzzi Pucci Ridolfi Salviati Strozzi 247s Acciaiuoli 0 1 0 0 0 0 0 0 247s Albizzi 0 1 0 0 0 0 0 0 247s Barbadori 0 1 0 0 0 0 0 0 247s Bischeri 0 0 0 1 0 0 0 1 247s Castellani 0 0 0 1 0 0 0 1 247s Ginori 0 0 0 0 0 0 0 0 247s Guadagni 1 0 0 0 0 0 0 0 247s Lamberteschi 0 0 0 0 0 0 0 0 247s Medici 0 0 0 0 0 1 1 0 247s Pazzi 0 0 0 0 0 0 1 0 247s Peruzzi 0 0 0 0 0 0 0 1 247s Pucci 0 0 0 0 0 0 0 0 247s Ridolfi 0 1 0 0 0 0 0 1 247s Salviati 0 1 1 0 0 0 0 0 247s Strozzi 0 0 0 1 0 1 0 0 247s Tornabuoni 0 1 0 0 0 1 0 0 247s Tornabuoni 247s Acciaiuoli 0 247s Albizzi 0 247s Barbadori 0 247s Bischeri 0 247s Castellani 0 247s Ginori 0 247s Guadagni 1 247s Lamberteschi 0 247s Medici 1 247s Pazzi 0 247s Peruzzi 0 247s Pucci 0 247s Ridolfi 1 247s Salviati 0 247s Strozzi 0 247s Tornabuoni 0 247s > 247s > results[16] = all(nflo[,] == as.sociomatrix(nflo)) 247s > results[17] = all(as.matrix(nflo) == as.sociomatrix(nflo)) 247s > as.matrix(nflo,matrix.type = "edgelist") 247s [,1] [,2] 247s [1,] 9 1 247s [2,] 6 2 247s [3,] 7 2 247s [4,] 9 2 247s [5,] 5 3 247s [6,] 9 3 247s [7,] 7 4 247s [8,] 11 4 247s [9,] 15 4 247s [10,] 11 5 247s [11,] 15 5 247s [12,] 8 7 247s [13,] 16 7 247s [14,] 13 9 247s [15,] 14 9 247s [16,] 16 9 247s [17,] 14 10 247s [18,] 15 11 247s [19,] 15 13 247s [20,] 16 13 247s attr(,"n") 247s [1] 16 247s attr(,"vnames") 247s [1] "Acciaiuoli" "Albizzi" "Barbadori" "Bischeri" "Castellani" 247s [6] "Ginori" "Guadagni" "Lamberteschi" "Medici" "Pazzi" 247s [11] "Peruzzi" "Pucci" "Ridolfi" "Salviati" "Strozzi" 247s [16] "Tornabuoni" 247s > 247s > net <- network.initialize(5, loops = TRUE) 247s > net[nmat>0] <- 1 247s > results[18] = all(nmat == net[,]) 247s > 247s > net[,] <- 0 247s > net[,] <- nmat 247s > results[19] = all(nmat == net[,]) 247s > 247s > net[,] <- 0 247s > for(i in 1:5) 247s + for(j in 1:5) 247s + if(nmat[i,j]) 247s + net[i,j] <- 1 247s > results[20] = all(nmat == net[,]) 247s > 247s > net[,] <- 0 247s > add.edges(net, row(nmat)[nmat>0], col(nmat)[nmat>0]) 247s > results[21] = all(nmat == net[,]) 247s > 247s > net[,] <- as.numeric(nmat[,]) 247s > results[22] = all(nmat == net[,]) 247s > 247s > net <- network.initialize(5) 247s > add.edge(net, 2, 3) 247s > net[,] 247s 1 2 3 4 5 247s 1 0 0 0 0 0 247s 2 0 0 1 0 0 247s 3 0 0 0 0 0 247s 4 0 0 0 0 0 247s 5 0 0 0 0 0 247s > results[23] = net[2,3] == 1 247s > 247s > add.edges(net, c(3, 5), c(4, 4)) 247s > net[,] 247s 1 2 3 4 5 247s 1 0 0 0 0 0 247s 2 0 0 1 0 0 247s 3 0 0 0 1 0 247s 4 0 0 0 0 0 247s 5 0 0 0 1 0 247s > results[24] = (net[3,4] == 1 && net[5,4] == 1) 247s > 247s > net[,2] <- 1 247s > net[,] 247s 1 2 3 4 5 247s 1 0 1 0 0 0 247s 2 0 0 1 0 0 247s 3 0 1 0 1 0 247s 4 0 1 0 0 0 247s 5 0 1 0 1 0 247s > results[25] = net[2,2] == 0 247s > 247s > delete.vertices(net, 4) 248s > results[26] = all(net[,] == matrix(c(0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0), byrow=T, nrow=4)) 248s > 248s > add.vertices(net, 2) 248s > net[,] 248s 1 2 3 5