0s autopkgtest [04:15:58]: starting date and time: 2024-03-23 04:15:58+0000 0s autopkgtest [04:15:58]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [04:15:58]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gz07o38l/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:r-base --apt-upgrade r-cran-matlab --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-90.secgroup --name adt-noble-i386-r-cran-matlab-20240323-041558-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 80s autopkgtest [04:17:18]: testbed dpkg architecture: amd64 80s autopkgtest [04:17:18]: testbed apt version: 2.7.12 80s autopkgtest [04:17:18]: test architecture: i386 80s autopkgtest [04:17:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 81s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 81s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [4001 kB] 81s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [495 kB] 81s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 81s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [57.7 kB] 81s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [695 kB] 81s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [460 kB] 81s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [3508 B] 81s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [6700 B] 81s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [30.5 kB] 81s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 81s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [1303 kB] 81s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [4407 kB] 81s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [9396 B] 81s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 Packages [96.8 kB] 81s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse i386 Packages [27.6 kB] 81s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [196 B] 84s Fetched 11.7 MB in 2s (6926 kB/s) 84s Reading package lists... 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Calculating upgrade... 87s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 88s sh: Attempting to set up Debian/Ubuntu apt sources automatically 88s sh: Distribution appears to be Ubuntu 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s eatmydata is already the newest version (131-1). 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s dbus is already the newest version (1.14.10-4ubuntu1). 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s rng-tools-debian is already the newest version (2.4). 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s The following packages will be REMOVED: 91s cloud-init* python3-configobj* python3-debconf* 91s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 91s After this operation, 3256 kB disk space will be freed. 92s (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 ... 71864 files and directories currently installed.) 92s Removing cloud-init (24.1.2-0ubuntu1) ... 92s Removing python3-configobj (5.0.8-3) ... 92s Removing python3-debconf (1.5.86) ... 92s Processing triggers for man-db (2.12.0-3) ... 93s (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 ... 71475 files and directories currently installed.) 93s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 93s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 93s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 93s invoke-rc.d: policy-rc.d denied execution of try-restart. 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s linux-generic is already the newest version (6.8.0-11.11+1). 94s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 94s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 94s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 94s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 96s Reading package lists... 96s Reading package lists... 96s Building dependency tree... 96s Reading state information... 97s Calculating upgrade... 97s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 97s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 97s autopkgtest [04:17:35]: rebooting testbed after setup commands that affected boot 115s autopkgtest [04:17:53]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 00:29:05 UTC 2024 115s autopkgtest [04:17:53]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-matlab 116s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-matlab 1.0.4-1 (dsc) [2058 B] 116s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-matlab 1.0.4-1 (tar) [232 kB] 116s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-matlab 1.0.4-1 (diff) [4900 B] 116s gpgv: Signature made Thu Jun 23 08:47:11 2022 UTC 116s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 116s gpgv: issuer "tille@debian.org" 116s gpgv: Can't check signature: No public key 116s dpkg-source: warning: cannot verify inline signature for ./r-cran-matlab_1.0.4-1.dsc: no acceptable signature found 116s autopkgtest [04:17:54]: testing package r-cran-matlab version 1.0.4-1 116s autopkgtest [04:17:54]: build not needed 118s autopkgtest [04:17:56]: test run-unit-test: preparing testbed 120s Note, using file '/tmp/autopkgtest.Ad0pQg/1-autopkgtest-satdep.dsc' to get the build dependencies 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 121s Starting pkgProblemResolver with broken count: 0 121s Starting 2 pkgProblemResolver with broken count: 0 121s Done 121s The following NEW packages will be installed: 121s build-essential cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu 121s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono g++ g++-13 121s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 121s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libatomic1 libblas3 121s libc-dev-bin libc6-dev libcairo2 libcc1-0 libcrypt-dev libdatrie1 121s libdeflate0 libfontconfig1 libgcc-13-dev libgfortran5 libgomp1 121s libgraphite2-3 libharfbuzz0b libhwasan0 libice6 libisl23 libitm1 libjbig0 121s libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 liblsan0 libmpc3 libnsl-dev 121s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils 121s libpaper1 libpixman-1-0 libquadmath0 libsharpyuv0 libsm6 libstdc++-13-dev 121s libtcl8.6 libthai-data libthai0 libtiff6 libtirpc-dev libtk8.6 libtsan2 121s libubsan1 libwebp7 libxcb-render0 libxcb-shm0 libxft2 libxrender1 libxss1 121s libxt6 linux-libc-dev r-base-core r-cran-matlab rpcsvc-proto unzip 121s x11-common xdg-utils zip 121s 0 upgraded, 78 newly installed, 0 to remove and 0 not upgraded. 121s Need to get 104 MB of archives. 121s After this operation, 322 MB of additional disk space will be used. 121s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 libc-dev-bin amd64 2.39-0ubuntu2 [20.4 kB] 121s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 linux-libc-dev amd64 6.8.0-11.11 [1595 kB] 121s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 libcrypt-dev amd64 1:4.4.36-4 [128 kB] 121s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 libtirpc-dev amd64 1.3.4+ds-1build1 [222 kB] 121s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 libnsl-dev amd64 1.3.0-3 [71.2 kB] 121s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB] 121s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 libc6-dev amd64 2.39-0ubuntu2 [2126 kB] 121s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libisl23 amd64 0.26-3 [741 kB] 121s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libmpc3 amd64 1.3.1-1 [54.1 kB] 121s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [11.2 MB] 121s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13 amd64 13.2.0-17ubuntu2 [1030 B] 121s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 121s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 121s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 libcc1-0 amd64 14-20240303-1ubuntu1 [47.7 kB] 121s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libgomp1 amd64 14-20240303-1ubuntu1 [147 kB] 121s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libitm1 amd64 14-20240303-1ubuntu1 [29.1 kB] 121s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libatomic1 amd64 14-20240303-1ubuntu1 [10.4 kB] 121s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libasan8 amd64 14-20240303-1ubuntu1 [3026 kB] 121s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 liblsan0 amd64 14-20240303-1ubuntu1 [1310 kB] 121s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libtsan2 amd64 14-20240303-1ubuntu1 [2732 kB] 121s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 libubsan1 amd64 14-20240303-1ubuntu1 [1172 kB] 121s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libhwasan0 amd64 14-20240303-1ubuntu1 [1629 kB] 121s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libquadmath0 amd64 14-20240303-1ubuntu1 [155 kB] 121s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 libgcc-13-dev amd64 13.2.0-17ubuntu2 [2687 kB] 121s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [21.9 MB] 122s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13 amd64 13.2.0-17ubuntu2 [477 kB] 122s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 122s Get:28 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 122s Get:29 http://ftpmaster.internal/ubuntu noble/main amd64 libstdc++-13-dev amd64 13.2.0-17ubuntu2 [2340 kB] 122s Get:30 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [12.5 MB] 122s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13 amd64 13.2.0-17ubuntu2 [14.5 kB] 122s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 122s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 122s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 122s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 122s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 122s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 fontconfig-config amd64 2.15.0-1ubuntu1 [36.9 kB] 122s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 libfontconfig1 amd64 2.15.0-1ubuntu1 [139 kB] 122s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 fontconfig amd64 2.15.0-1ubuntu1 [180 kB] 122s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 libblas3 amd64 3.12.0-3 [238 kB] 122s Get:41 http://ftpmaster.internal/ubuntu noble/main amd64 libpixman-1-0 amd64 0.42.2-1 [268 kB] 122s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 libxcb-render0 amd64 1.15-1 [16.3 kB] 122s Get:43 http://ftpmaster.internal/ubuntu noble/main amd64 libxcb-shm0 amd64 1.15-1 [5740 B] 122s Get:44 http://ftpmaster.internal/ubuntu noble/main amd64 libxrender1 amd64 1:0.9.10-1.1 [20.0 kB] 122s Get:45 http://ftpmaster.internal/ubuntu noble/main amd64 libcairo2 amd64 1.18.0-1 [572 kB] 122s Get:46 http://ftpmaster.internal/ubuntu noble/main amd64 libdatrie1 amd64 0.2.13-3 [20.9 kB] 122s Get:47 http://ftpmaster.internal/ubuntu noble/main amd64 libdeflate0 amd64 1.19-1 [43.7 kB] 122s Get:48 http://ftpmaster.internal/ubuntu noble/main amd64 libgfortran5 amd64 14-20240303-1ubuntu1 [924 kB] 122s Get:49 http://ftpmaster.internal/ubuntu noble/main amd64 libgraphite2-3 amd64 1.3.14-2 [83.1 kB] 122s Get:50 http://ftpmaster.internal/ubuntu noble/main amd64 libharfbuzz0b amd64 8.3.0-2 [469 kB] 122s Get:51 http://ftpmaster.internal/ubuntu noble/main amd64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 122s Get:52 http://ftpmaster.internal/ubuntu noble/main amd64 libice6 amd64 2:1.0.10-1build2 [42.6 kB] 122s Get:53 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-turbo8 amd64 2.1.5-2ubuntu1 [147 kB] 122s Get:54 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 122s Get:55 http://ftpmaster.internal/ubuntu noble/main amd64 liblapack3 amd64 3.12.0-3 [2649 kB] 122s Get:56 http://ftpmaster.internal/ubuntu noble/main amd64 liblerc4 amd64 4.0.0+ds-4ubuntu1 [184 kB] 122s Get:57 http://ftpmaster.internal/ubuntu noble/main amd64 libthai-data all 0.1.29-2 [158 kB] 122s Get:58 http://ftpmaster.internal/ubuntu noble/main amd64 libthai0 amd64 0.1.29-2 [18.8 kB] 122s Get:59 http://ftpmaster.internal/ubuntu noble/main amd64 libpango-1.0-0 amd64 1.51.0+ds-4 [228 kB] 122s Get:60 http://ftpmaster.internal/ubuntu noble/main amd64 libpangoft2-1.0-0 amd64 1.51.0+ds-4 [42.1 kB] 122s Get:61 http://ftpmaster.internal/ubuntu noble/main amd64 libpangocairo-1.0-0 amd64 1.51.0+ds-4 [29.0 kB] 122s Get:62 http://ftpmaster.internal/ubuntu noble/main amd64 libpaper1 amd64 1.1.29 [13.4 kB] 122s Get:63 http://ftpmaster.internal/ubuntu noble/main amd64 libpaper-utils amd64 1.1.29 [8658 B] 122s Get:64 http://ftpmaster.internal/ubuntu noble/main amd64 libsharpyuv0 amd64 1.3.2-0.4 [15.6 kB] 122s Get:65 http://ftpmaster.internal/ubuntu noble/main amd64 libsm6 amd64 2:1.2.3-1build2 [16.7 kB] 122s Get:66 http://ftpmaster.internal/ubuntu noble/main amd64 libtcl8.6 amd64 8.6.13+dfsg-2 [984 kB] 122s Get:67 http://ftpmaster.internal/ubuntu noble/main amd64 libjbig0 amd64 2.1-6.1ubuntu1 [29.3 kB] 122s Get:68 http://ftpmaster.internal/ubuntu noble/main amd64 libwebp7 amd64 1.3.2-0.4 [230 kB] 122s Get:69 http://ftpmaster.internal/ubuntu noble/main amd64 libtiff6 amd64 4.5.1+git230720-3ubuntu1 [232 kB] 122s Get:70 http://ftpmaster.internal/ubuntu noble/main amd64 libxft2 amd64 2.3.6-1 [44.5 kB] 122s Get:71 http://ftpmaster.internal/ubuntu noble/main amd64 libxss1 amd64 1:1.2.3-1build2 [8476 B] 122s Get:72 http://ftpmaster.internal/ubuntu noble/main amd64 libtk8.6 amd64 8.6.14-1 [779 kB] 122s Get:73 http://ftpmaster.internal/ubuntu noble/main amd64 libxt6 amd64 1:1.2.1-1.1 [173 kB] 122s Get:74 http://ftpmaster.internal/ubuntu noble/main amd64 zip amd64 3.0-13 [176 kB] 122s Get:75 http://ftpmaster.internal/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu3 [174 kB] 122s Get:76 http://ftpmaster.internal/ubuntu noble/main amd64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] 122s Get:77 http://ftpmaster.internal/ubuntu noble/universe amd64 r-base-core amd64 4.3.2-1build1 [27.0 MB] 122s Get:78 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-matlab all 1.0.4-1 [182 kB] 122s Preconfiguring packages ... 123s Fetched 104 MB in 1s (90.6 MB/s) 123s Selecting previously unselected package libc-dev-bin. 123s (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 ... 71420 files and directories currently installed.) 123s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_amd64.deb ... 123s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 123s Selecting previously unselected package linux-libc-dev:amd64. 123s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_amd64.deb ... 123s Unpacking linux-libc-dev:amd64 (6.8.0-11.11) ... 123s Selecting previously unselected package libcrypt-dev:amd64. 123s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_amd64.deb ... 123s Unpacking libcrypt-dev:amd64 (1:4.4.36-4) ... 123s Selecting previously unselected package libtirpc-dev:amd64. 123s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_amd64.deb ... 123s Unpacking libtirpc-dev:amd64 (1.3.4+ds-1build1) ... 123s Selecting previously unselected package libnsl-dev:amd64. 123s Preparing to unpack .../04-libnsl-dev_1.3.0-3_amd64.deb ... 123s Unpacking libnsl-dev:amd64 (1.3.0-3) ... 123s Selecting previously unselected package rpcsvc-proto. 123s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ... 123s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 123s Selecting previously unselected package libc6-dev:amd64. 123s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_amd64.deb ... 123s Unpacking libc6-dev:amd64 (2.39-0ubuntu2) ... 123s Selecting previously unselected package libisl23:amd64. 123s Preparing to unpack .../07-libisl23_0.26-3_amd64.deb ... 123s Unpacking libisl23:amd64 (0.26-3) ... 123s Selecting previously unselected package libmpc3:amd64. 123s Preparing to unpack .../08-libmpc3_1.3.1-1_amd64.deb ... 123s Unpacking libmpc3:amd64 (1.3.1-1) ... 123s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 123s Preparing to unpack .../09-cpp-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 123s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 123s Selecting previously unselected package cpp-13. 123s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_amd64.deb ... 123s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 123s Selecting previously unselected package cpp-x86-64-linux-gnu. 123s Preparing to unpack .../11-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 123s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 124s Selecting previously unselected package cpp. 124s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 124s Unpacking cpp (4:13.2.0-7ubuntu1) ... 124s Selecting previously unselected package libcc1-0:amd64. 124s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libcc1-0:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libgomp1:amd64. 124s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libgomp1:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libitm1:amd64. 124s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libitm1:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libatomic1:amd64. 124s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libatomic1:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libasan8:amd64. 124s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libasan8:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package liblsan0:amd64. 124s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking liblsan0:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libtsan2:amd64. 124s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libtsan2:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libubsan1:amd64. 124s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libubsan1:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libhwasan0:amd64. 124s Preparing to unpack .../21-libhwasan0_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libhwasan0:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libquadmath0:amd64. 124s Preparing to unpack .../22-libquadmath0_14-20240303-1ubuntu1_amd64.deb ... 124s Unpacking libquadmath0:amd64 (14-20240303-1ubuntu1) ... 124s Selecting previously unselected package libgcc-13-dev:amd64. 124s Preparing to unpack .../23-libgcc-13-dev_13.2.0-17ubuntu2_amd64.deb ... 124s Unpacking libgcc-13-dev:amd64 (13.2.0-17ubuntu2) ... 124s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 124s Preparing to unpack .../24-gcc-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 124s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 124s Selecting previously unselected package gcc-13. 124s Preparing to unpack .../25-gcc-13_13.2.0-17ubuntu2_amd64.deb ... 124s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 124s Selecting previously unselected package gcc-x86-64-linux-gnu. 124s Preparing to unpack .../26-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 124s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 124s Selecting previously unselected package gcc. 124s Preparing to unpack .../27-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 124s Unpacking gcc (4:13.2.0-7ubuntu1) ... 124s Selecting previously unselected package libstdc++-13-dev:amd64. 124s Preparing to unpack .../28-libstdc++-13-dev_13.2.0-17ubuntu2_amd64.deb ... 124s Unpacking libstdc++-13-dev:amd64 (13.2.0-17ubuntu2) ... 125s Selecting previously unselected package g++-13-x86-64-linux-gnu. 125s Preparing to unpack .../29-g++-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 125s Unpacking g++-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 125s Selecting previously unselected package g++-13. 125s Preparing to unpack .../30-g++-13_13.2.0-17ubuntu2_amd64.deb ... 125s Unpacking g++-13 (13.2.0-17ubuntu2) ... 125s Selecting previously unselected package g++-x86-64-linux-gnu. 125s Preparing to unpack .../31-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 125s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 125s Selecting previously unselected package g++. 125s Preparing to unpack .../32-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 125s Unpacking g++ (4:13.2.0-7ubuntu1) ... 125s Selecting previously unselected package build-essential. 125s Preparing to unpack .../33-build-essential_12.10ubuntu1_amd64.deb ... 125s Unpacking build-essential (12.10ubuntu1) ... 125s Selecting previously unselected package fonts-dejavu-mono. 125s Preparing to unpack .../34-fonts-dejavu-mono_2.37-8_all.deb ... 125s Unpacking fonts-dejavu-mono (2.37-8) ... 125s Selecting previously unselected package fonts-dejavu-core. 125s Preparing to unpack .../35-fonts-dejavu-core_2.37-8_all.deb ... 125s Unpacking fonts-dejavu-core (2.37-8) ... 125s Selecting previously unselected package fontconfig-config. 125s Preparing to unpack .../36-fontconfig-config_2.15.0-1ubuntu1_amd64.deb ... 125s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 125s Selecting previously unselected package libfontconfig1:amd64. 125s Preparing to unpack .../37-libfontconfig1_2.15.0-1ubuntu1_amd64.deb ... 125s Unpacking libfontconfig1:amd64 (2.15.0-1ubuntu1) ... 125s Selecting previously unselected package fontconfig. 125s Preparing to unpack .../38-fontconfig_2.15.0-1ubuntu1_amd64.deb ... 125s Unpacking fontconfig (2.15.0-1ubuntu1) ... 125s Selecting previously unselected package libblas3:amd64. 125s Preparing to unpack .../39-libblas3_3.12.0-3_amd64.deb ... 125s Unpacking libblas3:amd64 (3.12.0-3) ... 125s Selecting previously unselected package libpixman-1-0:amd64. 125s Preparing to unpack .../40-libpixman-1-0_0.42.2-1_amd64.deb ... 125s Unpacking libpixman-1-0:amd64 (0.42.2-1) ... 125s Selecting previously unselected package libxcb-render0:amd64. 125s Preparing to unpack .../41-libxcb-render0_1.15-1_amd64.deb ... 125s Unpacking libxcb-render0:amd64 (1.15-1) ... 125s Selecting previously unselected package libxcb-shm0:amd64. 125s Preparing to unpack .../42-libxcb-shm0_1.15-1_amd64.deb ... 125s Unpacking libxcb-shm0:amd64 (1.15-1) ... 125s Selecting previously unselected package libxrender1:amd64. 125s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1_amd64.deb ... 125s Unpacking libxrender1:amd64 (1:0.9.10-1.1) ... 125s Selecting previously unselected package libcairo2:amd64. 125s Preparing to unpack .../44-libcairo2_1.18.0-1_amd64.deb ... 125s Unpacking libcairo2:amd64 (1.18.0-1) ... 125s Selecting previously unselected package libdatrie1:amd64. 125s Preparing to unpack .../45-libdatrie1_0.2.13-3_amd64.deb ... 125s Unpacking libdatrie1:amd64 (0.2.13-3) ... 125s Selecting previously unselected package libdeflate0:amd64. 125s Preparing to unpack .../46-libdeflate0_1.19-1_amd64.deb ... 125s Unpacking libdeflate0:amd64 (1.19-1) ... 126s Selecting previously unselected package libgfortran5:amd64. 126s Preparing to unpack .../47-libgfortran5_14-20240303-1ubuntu1_amd64.deb ... 126s Unpacking libgfortran5:amd64 (14-20240303-1ubuntu1) ... 126s Selecting previously unselected package libgraphite2-3:amd64. 126s Preparing to unpack .../48-libgraphite2-3_1.3.14-2_amd64.deb ... 126s Unpacking libgraphite2-3:amd64 (1.3.14-2) ... 126s Selecting previously unselected package libharfbuzz0b:amd64. 126s Preparing to unpack .../49-libharfbuzz0b_8.3.0-2_amd64.deb ... 126s Unpacking libharfbuzz0b:amd64 (8.3.0-2) ... 126s Selecting previously unselected package x11-common. 126s Preparing to unpack .../50-x11-common_1%3a7.7+23ubuntu2_all.deb ... 126s Unpacking x11-common (1:7.7+23ubuntu2) ... 126s Selecting previously unselected package libice6:amd64. 126s Preparing to unpack .../51-libice6_2%3a1.0.10-1build2_amd64.deb ... 126s Unpacking libice6:amd64 (2:1.0.10-1build2) ... 126s Selecting previously unselected package libjpeg-turbo8:amd64. 126s Preparing to unpack .../52-libjpeg-turbo8_2.1.5-2ubuntu1_amd64.deb ... 126s Unpacking libjpeg-turbo8:amd64 (2.1.5-2ubuntu1) ... 126s Selecting previously unselected package libjpeg8:amd64. 126s Preparing to unpack .../53-libjpeg8_8c-2ubuntu11_amd64.deb ... 126s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 126s Selecting previously unselected package liblapack3:amd64. 126s Preparing to unpack .../54-liblapack3_3.12.0-3_amd64.deb ... 126s Unpacking liblapack3:amd64 (3.12.0-3) ... 126s Selecting previously unselected package liblerc4:amd64. 126s Preparing to unpack .../55-liblerc4_4.0.0+ds-4ubuntu1_amd64.deb ... 126s Unpacking liblerc4:amd64 (4.0.0+ds-4ubuntu1) ... 126s Selecting previously unselected package libthai-data. 126s Preparing to unpack .../56-libthai-data_0.1.29-2_all.deb ... 126s Unpacking libthai-data (0.1.29-2) ... 126s Selecting previously unselected package libthai0:amd64. 126s Preparing to unpack .../57-libthai0_0.1.29-2_amd64.deb ... 126s Unpacking libthai0:amd64 (0.1.29-2) ... 126s Selecting previously unselected package libpango-1.0-0:amd64. 126s Preparing to unpack .../58-libpango-1.0-0_1.51.0+ds-4_amd64.deb ... 126s Unpacking libpango-1.0-0:amd64 (1.51.0+ds-4) ... 126s Selecting previously unselected package libpangoft2-1.0-0:amd64. 126s Preparing to unpack .../59-libpangoft2-1.0-0_1.51.0+ds-4_amd64.deb ... 126s Unpacking libpangoft2-1.0-0:amd64 (1.51.0+ds-4) ... 126s Selecting previously unselected package libpangocairo-1.0-0:amd64. 126s Preparing to unpack .../60-libpangocairo-1.0-0_1.51.0+ds-4_amd64.deb ... 126s Unpacking libpangocairo-1.0-0:amd64 (1.51.0+ds-4) ... 126s Selecting previously unselected package libpaper1:amd64. 126s Preparing to unpack .../61-libpaper1_1.1.29_amd64.deb ... 126s Unpacking libpaper1:amd64 (1.1.29) ... 126s Selecting previously unselected package libpaper-utils. 126s Preparing to unpack .../62-libpaper-utils_1.1.29_amd64.deb ... 126s Unpacking libpaper-utils (1.1.29) ... 126s Selecting previously unselected package libsharpyuv0:amd64. 126s Preparing to unpack .../63-libsharpyuv0_1.3.2-0.4_amd64.deb ... 126s Unpacking libsharpyuv0:amd64 (1.3.2-0.4) ... 126s Selecting previously unselected package libsm6:amd64. 126s Preparing to unpack .../64-libsm6_2%3a1.2.3-1build2_amd64.deb ... 126s Unpacking libsm6:amd64 (2:1.2.3-1build2) ... 126s Selecting previously unselected package libtcl8.6:amd64. 126s Preparing to unpack .../65-libtcl8.6_8.6.13+dfsg-2_amd64.deb ... 126s Unpacking libtcl8.6:amd64 (8.6.13+dfsg-2) ... 126s Selecting previously unselected package libjbig0:amd64. 126s Preparing to unpack .../66-libjbig0_2.1-6.1ubuntu1_amd64.deb ... 126s Unpacking libjbig0:amd64 (2.1-6.1ubuntu1) ... 126s Selecting previously unselected package libwebp7:amd64. 126s Preparing to unpack .../67-libwebp7_1.3.2-0.4_amd64.deb ... 126s Unpacking libwebp7:amd64 (1.3.2-0.4) ... 126s Selecting previously unselected package libtiff6:amd64. 126s Preparing to unpack .../68-libtiff6_4.5.1+git230720-3ubuntu1_amd64.deb ... 126s Unpacking libtiff6:amd64 (4.5.1+git230720-3ubuntu1) ... 126s Selecting previously unselected package libxft2:amd64. 126s Preparing to unpack .../69-libxft2_2.3.6-1_amd64.deb ... 126s Unpacking libxft2:amd64 (2.3.6-1) ... 126s Selecting previously unselected package libxss1:amd64. 126s Preparing to unpack .../70-libxss1_1%3a1.2.3-1build2_amd64.deb ... 126s Unpacking libxss1:amd64 (1:1.2.3-1build2) ... 126s Selecting previously unselected package libtk8.6:amd64. 126s Preparing to unpack .../71-libtk8.6_8.6.14-1_amd64.deb ... 126s Unpacking libtk8.6:amd64 (8.6.14-1) ... 126s Selecting previously unselected package libxt6:amd64. 126s Preparing to unpack .../72-libxt6_1%3a1.2.1-1.1_amd64.deb ... 126s Unpacking libxt6:amd64 (1:1.2.1-1.1) ... 126s Selecting previously unselected package zip. 126s Preparing to unpack .../73-zip_3.0-13_amd64.deb ... 126s Unpacking zip (3.0-13) ... 126s Selecting previously unselected package unzip. 126s Preparing to unpack .../74-unzip_6.0-28ubuntu3_amd64.deb ... 126s Unpacking unzip (6.0-28ubuntu3) ... 126s Selecting previously unselected package xdg-utils. 126s Preparing to unpack .../75-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... 126s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... 126s Selecting previously unselected package r-base-core. 126s Preparing to unpack .../76-r-base-core_4.3.2-1build1_amd64.deb ... 126s Unpacking r-base-core (4.3.2-1build1) ... 127s Selecting previously unselected package r-cran-matlab. 127s Preparing to unpack .../77-r-cran-matlab_1.0.4-1_all.deb ... 127s Unpacking r-cran-matlab (1.0.4-1) ... 127s Setting up libgraphite2-3:amd64 (1.3.14-2) ... 127s Setting up libpixman-1-0:amd64 (0.42.2-1) ... 127s Setting up libsharpyuv0:amd64 (1.3.2-0.4) ... 127s Setting up libpaper1:amd64 (1.1.29) ... 127s 127s Creating config file /etc/papersize with new version 127s Setting up liblerc4:amd64 (4.0.0+ds-4ubuntu1) ... 127s Setting up libxrender1:amd64 (1:0.9.10-1.1) ... 127s Setting up libdatrie1:amd64 (0.2.13-3) ... 127s Setting up libxcb-render0:amd64 (1.15-1) ... 127s Setting up unzip (6.0-28ubuntu3) ... 127s Setting up x11-common (1:7.7+23ubuntu2) ... 127s Setting up libdeflate0:amd64 (1.19-1) ... 127s Setting up linux-libc-dev:amd64 (6.8.0-11.11) ... 127s Setting up libxcb-shm0:amd64 (1.15-1) ... 127s Setting up libpaper-utils (1.1.29) ... 127s Setting up libgomp1:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libjbig0:amd64 (2.1-6.1ubuntu1) ... 127s Setting up zip (3.0-13) ... 127s Setting up libblas3:amd64 (3.12.0-3) ... 127s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 127s Setting up libtirpc-dev:amd64 (1.3.4+ds-1build1) ... 127s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 127s Setting up libquadmath0:amd64 (14-20240303-1ubuntu1) ... 127s Setting up fonts-dejavu-mono (2.37-8) ... 127s Setting up libmpc3:amd64 (1.3.1-1) ... 127s Setting up libatomic1:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libtcl8.6:amd64 (8.6.13+dfsg-2) ... 127s Setting up fonts-dejavu-core (2.37-8) ... 127s Setting up libjpeg-turbo8:amd64 (2.1.5-2ubuntu1) ... 127s Setting up libgfortran5:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libwebp7:amd64 (1.3.2-0.4) ... 127s Setting up libubsan1:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libnsl-dev:amd64 (1.3.0-3) ... 127s Setting up libhwasan0:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libcrypt-dev:amd64 (1:4.4.36-4) ... 127s Setting up libasan8:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libharfbuzz0b:amd64 (8.3.0-2) ... 127s Setting up libthai-data (0.1.29-2) ... 127s Setting up libxss1:amd64 (1:1.2.3-1build2) ... 127s Setting up libtsan2:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libisl23:amd64 (0.26-3) ... 127s Setting up libc-dev-bin (2.39-0ubuntu2) ... 127s Setting up xdg-utils (1.1.3-4.1ubuntu3) ... 127s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 127s Setting up libcc1-0:amd64 (14-20240303-1ubuntu1) ... 127s Setting up liblsan0:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libitm1:amd64 (14-20240303-1ubuntu1) ... 127s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 127s Setting up libice6:amd64 (2:1.0.10-1build2) ... 127s Setting up liblapack3:amd64 (3.12.0-3) ... 127s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 127s Setting up cpp-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 127s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 128s Setting up libthai0:amd64 (0.1.29-2) ... 128s Setting up libgcc-13-dev:amd64 (13.2.0-17ubuntu2) ... 128s Setting up libtiff6:amd64 (4.5.1+git230720-3ubuntu1) ... 128s Setting up libc6-dev:amd64 (2.39-0ubuntu2) ... 128s Setting up libfontconfig1:amd64 (2.15.0-1ubuntu1) ... 128s Setting up libsm6:amd64 (2:1.2.3-1build2) ... 128s Setting up libstdc++-13-dev:amd64 (13.2.0-17ubuntu2) ... 128s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 128s Setting up fontconfig (2.15.0-1ubuntu1) ... 130s Regenerating fonts cache... done. 130s Setting up libxft2:amd64 (2.3.6-1) ... 130s Setting up cpp-13 (13.2.0-17ubuntu2) ... 130s Setting up gcc-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 130s Setting up libtk8.6:amd64 (8.6.14-1) ... 130s Setting up libpango-1.0-0:amd64 (1.51.0+ds-4) ... 130s Setting up libcairo2:amd64 (1.18.0-1) ... 130s Setting up gcc-13 (13.2.0-17ubuntu2) ... 130s Setting up libxt6:amd64 (1:1.2.1-1.1) ... 130s Setting up cpp (4:13.2.0-7ubuntu1) ... 130s Setting up libpangoft2-1.0-0:amd64 (1.51.0+ds-4) ... 130s Setting up libpangocairo-1.0-0:amd64 (1.51.0+ds-4) ... 130s Setting up g++-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 130s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 130s Setting up gcc (4:13.2.0-7ubuntu1) ... 130s Setting up r-base-core (4.3.2-1build1) ... 130s 130s Creating config file /etc/R/Renviron with new version 130s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 130s Setting up r-cran-matlab (1.0.4-1) ... 130s Setting up g++-13 (13.2.0-17ubuntu2) ... 130s Setting up g++ (4:13.2.0-7ubuntu1) ... 130s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 130s Setting up build-essential (12.10ubuntu1) ... 130s Processing triggers for libc-bin (2.39-0ubuntu2) ... 130s Processing triggers for man-db (2.12.0-3) ... 131s Processing triggers for install-info (7.1-3) ... 133s Reading package lists... 134s Building dependency tree... 134s Reading state information... 134s Starting pkgProblemResolver with broken count: 0 134s Starting 2 pkgProblemResolver with broken count: 0 134s Done 134s The following NEW packages will be installed: 134s autopkgtest-satdep 134s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 134s Need to get 0 B/704 B of archives. 134s After this operation, 0 B of additional disk space will be used. 134s Get:1 /tmp/autopkgtest.Ad0pQg/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [704 B] 135s Selecting previously unselected package autopkgtest-satdep. 135s (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 ... 76500 files and directories currently installed.) 135s Preparing to unpack .../2-autopkgtest-satdep.deb ... 135s Unpacking autopkgtest-satdep (0) ... 135s Setting up autopkgtest-satdep (0) ... 136s (Reading database ... 76500 files and directories currently installed.) 136s Removing autopkgtest-satdep (0) ... 136s autopkgtest [04:18:14]: test run-unit-test: [----------------------- 137s BEGIN TEST ceil.R 137s 137s R version 4.3.2 (2023-10-31) -- "Eye Holes" 137s Copyright (C) 2023 The R Foundation for Statistical Computing 137s Platform: x86_64-pc-linux-gnu (64-bit) 137s 137s R is free software and comes with ABSOLUTELY NO WARRANTY. 137s You are welcome to redistribute it under certain conditions. 137s Type 'license()' or 'licence()' for distribution details. 137s 137s R is a collaborative project with many contributors. 137s Type 'contributors()' for more information and 137s 'citation()' on how to cite R or R packages in publications. 137s 137s Type 'demo()' for some demos, 'help()' for on-line help, or 137s 'help.start()' for an HTML browser interface to help. 137s Type 'q()' to quit R. 137s 137s > ### 137s > ### $Id: ceil.R 22 2022-05-30 18:03:47Z proebuck $ 137s > ### 137s > 137s > 137s > ##----------------------------------------------------------------------------- 137s > test.ceil <- function(input, expected) { 137s + output <- do.call(getFromNamespace("ceil", "matlab"), input) 137s + identical(output, expected) 137s + } 137s > 137s > X <- c(-1.9, -0.2, 3.4, 5.6, 7) 137s > ceil.expected <- c(-1, 0, 4, 6, 7) 137s > 137s > test.ceil(list(X), ceil.expected) 137s [1] TRUE 137s > 137s > 137s BEGIN TEST cell.R 137s 137s R version 4.3.2 (2023-10-31) -- "Eye Holes" 137s Copyright (C) 2023 The R Foundation for Statistical Computing 137s Platform: x86_64-pc-linux-gnu (64-bit) 137s 137s R is free software and comes with ABSOLUTELY NO WARRANTY. 137s You are welcome to redistribute it under certain conditions. 137s Type 'license()' or 'licence()' for distribution details. 137s 137s R is a collaborative project with many contributors. 137s Type 'contributors()' for more information and 137s 'citation()' on how to cite R or R packages in publications. 137s 137s Type 'demo()' for some demos, 'help()' for on-line help, or 137s 'help.start()' for an HTML browser interface to help. 137s Type 'q()' to quit R. 137s 137s > ### 137s > ### $Id: cell.R 22 2022-05-30 18:03:47Z proebuck $ 137s > ### 137s > 137s > 137s > ##----------------------------------------------------------------------------- 137s > test.cell <- function(input, expected) { 137s + output <- do.call(getFromNamespace("cell", "matlab"), input) 137s + identical(output, expected) 137s + } 137s > 137s > cell.expected.2x2 <- list() 137s > length(cell.expected.2x2) <- prod(dims <- c(2, 2)) 137s > dim(cell.expected.2x2) <- dims 137s > 137s > cell.expected.4x2 <- list() 137s > length(cell.expected.4x2) <- prod(dims <- c(4, 2)) 137s > dim(cell.expected.4x2) <- dims 137s > 137s > test.cell(list(n = 2), cell.expected.2x2) 137s [1] FALSE 137s > test.cell(list(n = c(4, 2)), cell.expected.4x2) 137s [1] FALSE 137s > test.cell(list(n = 4, m = 2), cell.expected.4x2) 137s [1] FALSE 137s > test.cell(list(n = matlab::size(matlab::ones(2))), cell.expected.2x2) 137s [1] FALSE 137s > 137s > 137s BEGIN TEST eye.R 137s 137s R version 4.3.2 (2023-10-31) -- "Eye Holes" 137s Copyright (C) 2023 The R Foundation for Statistical Computing 137s Platform: x86_64-pc-linux-gnu (64-bit) 137s 137s R is free software and comes with ABSOLUTELY NO WARRANTY. 137s You are welcome to redistribute it under certain conditions. 137s Type 'license()' or 'licence()' for distribution details. 137s 137s R is a collaborative project with many contributors. 137s Type 'contributors()' for more information and 137s 'citation()' on how to cite R or R packages in publications. 137s 137s Type 'demo()' for some demos, 'help()' for on-line help, or 137s 'help.start()' for an HTML browser interface to help. 137s Type 'q()' to quit R. 137s 137s > ### 137s > ### $Id: eye.R 22 2022-05-30 18:03:47Z proebuck $ 137s > ### 137s > 137s > 137s > ##----------------------------------------------------------------------------- 137s > test.eye <- function(input, expected) { 137s + output <- do.call(getFromNamespace("eye", "matlab"), input) 137s + identical(output, expected) 137s + } 137s > 137s > eye.expected.3x3 <- matrix(c(1, 0, 0, 137s + 0, 1, 0, 137s + 0, 0, 1), nrow = 3, ncol = 3, byrow = TRUE) 137s > eye.expected.4x2 <- matrix(c(1, 0, 137s + 0, 1, 137s + 0, 0, 137s + 0, 0), nrow = 4, ncol = 2, byrow = TRUE) 137s > 137s > test.eye(list(m = 3), eye.expected.3x3) 137s [1] TRUE 137s > test.eye(list(m = c(4, 2)), eye.expected.4x2) 137s [1] TRUE 137s > test.eye(list(m = 4, n = 2), eye.expected.4x2) 137s [1] TRUE 137s > test.eye(list(m = matlab::size(eye.expected.4x2)), eye.expected.4x2) 137s [1] TRUE 137s > 137s > 137s BEGIN TEST factors.R 137s 137s R version 4.3.2 (2023-10-31) -- "Eye Holes" 137s Copyright (C) 2023 The R Foundation for Statistical Computing 137s Platform: x86_64-pc-linux-gnu (64-bit) 137s 137s R is free software and comes with ABSOLUTELY NO WARRANTY. 137s You are welcome to redistribute it under certain conditions. 137s Type 'license()' or 'licence()' for distribution details. 137s 137s R is a collaborative project with many contributors. 137s Type 'contributors()' for more information and 137s 'citation()' on how to cite R or R packages in publications. 137s 137s Type 'demo()' for some demos, 'help()' for on-line help, or 137s 'help.start()' for an HTML browser interface to help. 137s Type 'q()' to quit R. 137s 137s > ### 137s > ### $Id: factors.R 22 2022-05-30 18:03:47Z proebuck $ 137s > ### 137s > 137s > 137s > ##----------------------------------------------------------------------------- 137s > test.factors <- function(input, expected) { 137s + output <- do.call(getFromNamespace("factors", "matlab"), input) 137s + identical(output, expected) 137s + } 137s > 137s > factors.expected.n2 <- 2 137s > factors.expected.n3 <- 3 137s > factors.expected.prm <- 999983 137s > factors.expected.pr2 <- c(9999889, 9999901) 137s > factors.expected.prp <- c(65003, 65003) 137s > factors.expected.nn <- c(2, 2, 2, 2, 2, 3, 3, 3, 3, 5, 5, 5, 7, 7, 11) 137s > factors.expected.nm <- c(99989, 99991, 100003) 137s > factors.expected.n32 <- c(3, 5, 17, 257, 65537) 137s > 137s > test.factors(list(n=2), factors.expected.n2) 137s [1] TRUE 137s > test.factors(list(n=3), factors.expected.n3) 137s [1] TRUE 137s > test.factors(list(n=999983), factors.expected.prm) 137s [1] TRUE 137s > #test.factors(list(n=9999889*9999901), factors.expected.pr2) 137s > test.factors(list(n=4225390009), factors.expected.prp) 138s [1] TRUE 138s > test.factors(list(n=2^5 * 3^4 * 5^3 * 7^2 * 11), factors.expected.nn) 138s [1] TRUE 138s > test.factors(list(n=99989*99991*100003), factors.expected.nm) 139s [1] TRUE 139s > test.factors(list(n=2^32-1), factors.expected.n32) 139s [1] TRUE 139s > 139s > 139s BEGIN TEST fileparts.R 139s 139s R version 4.3.2 (2023-10-31) -- "Eye Holes" 139s Copyright (C) 2023 The R Foundation for Statistical Computing 139s Platform: x86_64-pc-linux-gnu (64-bit) 139s 139s R is free software and comes with ABSOLUTELY NO WARRANTY. 139s You are welcome to redistribute it under certain conditions. 139s Type 'license()' or 'licence()' for distribution details. 139s 139s R is a collaborative project with many contributors. 139s Type 'contributors()' for more information and 139s 'citation()' on how to cite R or R packages in publications. 139s 139s Type 'demo()' for some demos, 'help()' for on-line help, or 139s 'help.start()' for an HTML browser interface to help. 139s Type 'q()' to quit R. 139s 139s > ### 139s > ### $Id: fileparts.R 22 2022-05-30 18:03:47Z proebuck $ 139s > ### 139s > 139s > 139s > ##----------------------------------------------------------------------------- 139s > test.fileparts <- function(input, expected) { 139s + output <- do.call(getFromNamespace("fileparts", "matlab"), input) 139s + identical(output, expected) 139s + } 139s > 139s > ext <- ".ext" 139s > gz <- ".gz" 139s > file.without.ext <- "myfile" 139s > file.with.ext <- paste(file.without.ext, ext, sep = "") 139s > file.with.ext.gz <- paste(file.with.ext, gz, sep = "") 139s > hidden.file <- ".profile" 139s > user.name <- "luser" 139s > abs.dir <- paste("", "home", user.name, sep = "/") 139s > rel.cur.dir <- "." 139s > rel.parent.dir <- ".." 139s > tilde.dir <- "~" 139s > tilde.user.dir <- paste(tilde.dir, user.name, sep = "") 139s > 139s > abs.dir.file.with.ext <- paste(abs.dir, file.with.ext, sep = "/") 139s > abs.dir.file.with.ext.gz <- paste(abs.dir, file.with.ext.gz, sep = "/") 139s > abs.dir.file.without.ext <- paste(abs.dir, file.without.ext, sep = "/") 139s > abs.dir.hidden.file <- paste(abs.dir, hidden.file, sep = "/") 139s > abs.dir.trailing.slash <- paste(abs.dir, "", sep = "/") 139s > abs.rel.cur.dir <- paste(abs.dir, rel.cur.dir, sep = "/") 139s > abs.rel.parent.dir <- paste(abs.dir, rel.parent.dir, sep = "/") 139s > rel.cur.dir.file.with.ext <- paste(rel.cur.dir, file.with.ext, sep = "/") 139s > rel.cur.dir.file.without.ext <- paste(rel.cur.dir, file.without.ext, sep = "/") 139s > rel.cur.dir.hidden.file <- paste(rel.cur.dir, hidden.file, sep = "/") 139s > rel.cur.dir.trailing.slash <- paste(rel.cur.dir, "", sep = "/") 139s > tilde.dir.trailing.slash <- paste(tilde.dir, "", sep = "/") 139s > tilde.user.dir.trailing.slash <- paste(tilde.user.dir, "", sep = "/") 139s > 139s > 139s > ## 'myfile.ext' 139s > test.fileparts(list(file.with.ext), 139s + list(pathstr = "", 139s + name = file.without.ext, 139s + ext = ext, 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '/home/luser/myfile.ext' 139s > test.fileparts(list(abs.dir.file.with.ext), 139s + list(pathstr = abs.dir, 139s + name = file.without.ext, 139s + ext = ext, 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '/home/luser/myfile.ext.gz' 139s > test.fileparts(list(abs.dir.file.with.ext.gz), 139s + list(pathstr = abs.dir, 139s + name = file.with.ext, 139s + ext = gz, 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '/home/luser/myfile' 139s > test.fileparts(list(abs.dir.file.without.ext), 139s + list(pathstr = abs.dir, 139s + name = file.without.ext, 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '/home/luser/.profile' 139s > test.fileparts(list(abs.dir.hidden.file), 139s + list(pathstr = abs.dir, 139s + name = character(0), 139s + ext = hidden.file, 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '/home/luser' 139s > test.fileparts(list(abs.dir), 139s + list(pathstr = dirname(abs.dir), 139s + name = basename(abs.dir), 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '/home/luser/' 139s > test.fileparts(list(abs.dir.trailing.slash), 139s + list(pathstr = abs.dir, 139s + name = character(0), 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## './myfile.ext' 139s > test.fileparts(list(rel.cur.dir.file.with.ext), 139s + list(pathstr = rel.cur.dir, 139s + name = file.without.ext, 139s + ext = ext, 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## './myfile' 139s > test.fileparts(list(rel.cur.dir.file.without.ext), 139s + list(pathstr = rel.cur.dir, 139s + name = file.without.ext, 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## './.profile' 139s > test.fileparts(list(rel.cur.dir.hidden.file), 139s + list(pathstr = rel.cur.dir, 139s + name = character(0), 139s + ext = hidden.file, 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '.' 139s > test.fileparts(list(rel.cur.dir), 139s + list(pathstr = "", 139s + name = character(0), 139s + ext = ".", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## '..' 139s > test.fileparts(list(rel.parent.dir), 139s + list(pathstr = "", 139s + name = ".", 139s + ext = ".", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## './' 139s > test.fileparts(list(rel.cur.dir.trailing.slash), 139s + list(pathstr = rel.cur.dir, 139s + name = character(0), 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## "~" 139s > test.fileparts(list(tilde.dir), 139s + list(pathstr = "", 139s + name = tilde.dir, 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## "~/" 139s > test.fileparts(list(tilde.dir.trailing.slash), 139s + list(pathstr = tilde.dir, 139s + name = character(0), 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## "~luser" 139s > test.fileparts(list(tilde.user.dir), 139s + list(pathstr = "", 139s + name = tilde.user.dir, 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > ## "~luser/" 139s > test.fileparts(list(tilde.user.dir.trailing.slash), 139s + list(pathstr = tilde.user.dir, 139s + name = character(0), 139s + ext = "", 139s + versn = "")) 139s [1] TRUE 139s > 139s > 139s BEGIN TEST find.R 139s 139s R version 4.3.2 (2023-10-31) -- "Eye Holes" 139s Copyright (C) 2023 The R Foundation for Statistical Computing 139s Platform: x86_64-pc-linux-gnu (64-bit) 139s 139s R is free software and comes with ABSOLUTELY NO WARRANTY. 139s You are welcome to redistribute it under certain conditions. 139s Type 'license()' or 'licence()' for distribution details. 139s 139s R is a collaborative project with many contributors. 139s Type 'contributors()' for more information and 139s 'citation()' on how to cite R or R packages in publications. 139s 139s Type 'demo()' for some demos, 'help()' for on-line help, or 139s 'help.start()' for an HTML browser interface to help. 139s Type 'q()' to quit R. 139s 139s > ### 139s > ### $Id: find.R 22 2022-05-30 18:03:47Z proebuck $ 139s > ### 139s > 139s > 139s > ##----------------------------------------------------------------------------- 139s > test.find <- function(input, expected) { 139s + output <- do.call(getFromNamespace("find", "matlab"), input) 139s + identical(output, expected) 139s + } 139s > 139s > X <- c(3, 2, 1, 1, 2, 3) 139s > find.expected.eq.one <- c(3, 4) 139s > 139s > test.find(list(X == 1), find.expected.eq.one) 139s [1] FALSE 139s > 139s > X <- c(1, 0, 4, -3, 0, 0, 0, 8, 6) 139s > find.expected.nonzero <- c(1, 3, 4, 8, 9) 139s > find.expected.gt.two <- c(3, 8, 9) 139s > 139s > test.find(list(X), find.expected.nonzero) 139s [1] FALSE 139s > test.find(list(X > 2), find.expected.gt.two) 139s [1] FALSE 139s > 139s > 139s BEGIN TEST fix.R 139s 139s R version 4.3.2 (2023-10-31) -- "Eye Holes" 139s Copyright (C) 2023 The R Foundation for Statistical Computing 139s Platform: x86_64-pc-linux-gnu (64-bit) 139s 139s R is free software and comes with ABSOLUTELY NO WARRANTY. 139s You are welcome to redistribute it under certain conditions. 139s Type 'license()' or 'licence()' for distribution details. 139s 139s R is a collaborative project with many contributors. 139s Type 'contributors()' for more information and 139s 'citation()' on how to cite R or R packages in publications. 139s 139s Type 'demo()' for some demos, 'help()' for on-line help, or 139s 'help.start()' for an HTML browser interface to help. 139s Type 'q()' to quit R. 139s 139s > ### 139s > ### $Id: fix.R 22 2022-05-30 18:03:47Z proebuck $ 139s > ### 139s > 139s > 139s > ##----------------------------------------------------------------------------- 139s > test.fix <- function(input, expected) { 139s + output <- do.call(getFromNamespace("fix", "matlab"), input) 139s + identical(output, expected) 139s + } 139s > 139s > X <- c(-1.9, -0.2, 3.4, 5.6, 7.0) 139s > fix.expected <- c(-1, 0, 3, 5, 7) 139s > 139s > test.fix(list(X), fix.expected) 140s [1] TRUE 140s > 140s > 140s BEGIN TEST fliplr.R 140s 140s R version 4.3.2 (2023-10-31) -- "Eye Holes" 140s Copyright (C) 2023 The R Foundation for Statistical Computing 140s Platform: x86_64-pc-linux-gnu (64-bit) 140s 140s R is free software and comes with ABSOLUTELY NO WARRANTY. 140s You are welcome to redistribute it under certain conditions. 140s Type 'license()' or 'licence()' for distribution details. 140s 140s R is a collaborative project with many contributors. 140s Type 'contributors()' for more information and 140s 'citation()' on how to cite R or R packages in publications. 140s 140s Type 'demo()' for some demos, 'help()' for on-line help, or 140s 'help.start()' for an HTML browser interface to help. 140s Type 'q()' to quit R. 140s 140s > ### 140s > ### $Id: fliplr.R 22 2022-05-30 18:03:47Z proebuck $ 140s > ### 140s > 140s > 140s > ##----------------------------------------------------------------------------- 140s > test.fliplr <- function(input, expected) { 140s + output <- do.call(getFromNamespace("fliplr", "matlab"), input) 140s + identical(output, expected) 140s + } 140s > 140s > X.mat <- matrix(1:6, 2, 3, byrow = TRUE) 140s > fliplr.expected.X.mat <- matrix(c(3:1, 6:4), 2, 3, byrow = TRUE) 140s > 140s > test.fliplr(list(X.mat), fliplr.expected.X.mat) 140s [1] TRUE 140s > 140s > X.vec <- seq(1, 9, by = 2) 140s > fliplr.expected.X.vec <- seq(9, 1, by = -2) 140s > 140s > test.fliplr(list(X.vec), fliplr.expected.X.vec) 140s [1] TRUE 140s > 140s > 140s BEGIN TEST flipud.R 140s 140s R version 4.3.2 (2023-10-31) -- "Eye Holes" 140s Copyright (C) 2023 The R Foundation for Statistical Computing 140s Platform: x86_64-pc-linux-gnu (64-bit) 140s 140s R is free software and comes with ABSOLUTELY NO WARRANTY. 140s You are welcome to redistribute it under certain conditions. 140s Type 'license()' or 'licence()' for distribution details. 140s 140s R is a collaborative project with many contributors. 140s Type 'contributors()' for more information and 140s 'citation()' on how to cite R or R packages in publications. 140s 140s Type 'demo()' for some demos, 'help()' for on-line help, or 140s 'help.start()' for an HTML browser interface to help. 140s Type 'q()' to quit R. 140s 140s > ### 140s > ### $Id: flipud.R 22 2022-05-30 18:03:47Z proebuck $ 140s > ### 140s > 140s > 140s > ##----------------------------------------------------------------------------- 140s > test.flipud <- function(input, expected) { 140s + output <- do.call(getFromNamespace("flipud", "matlab"), input) 140s + identical(output, expected) 140s + } 140s > 140s > X.mat <- matrix(1:6, 3, 2) 140s > flipud.expected.X.mat <- matrix(c(3:1, 6:4), 3, 2) 140s > 140s > test.flipud(list(X.mat), flipud.expected.X.mat) 140s [1] TRUE 140s > 140s > X.vec <- seq(1, 9, by = 2) 140s > flipud.expected.X.vec <- seq(9, 1, by = -2) 140s > 140s > test.flipud(list(X.vec), flipud.expected.X.vec) 140s [1] TRUE 140s > 140s > ## Since R does not really have concept of row/column vectors 140s > ## identical(test.fliplr(X.vec, flipud.expected.X.vec), 140s > ## test.flipud(X.vec, flipud.expected.X.vec)) 140s > 140s > 140s BEGIN TEST fullfile.R 140s 140s R version 4.3.2 (2023-10-31) -- "Eye Holes" 140s Copyright (C) 2023 The R Foundation for Statistical Computing 140s Platform: x86_64-pc-linux-gnu (64-bit) 140s 140s R is free software and comes with ABSOLUTELY NO WARRANTY. 140s You are welcome to redistribute it under certain conditions. 140s Type 'license()' or 'licence()' for distribution details. 140s 140s R is a collaborative project with many contributors. 140s Type 'contributors()' for more information and 140s 'citation()' on how to cite R or R packages in publications. 140s 140s Type 'demo()' for some demos, 'help()' for on-line help, or 140s 'help.start()' for an HTML browser interface to help. 140s Type 'q()' to quit R. 140s 140s > ### 140s > ### $Id: fullfile.R 22 2022-05-30 18:03:47Z proebuck $ 140s > ### 140s > 140s > 140s > ##----------------------------------------------------------------------------- 140s > test.fullfile <- function(input, expected) { 140s + output <- do.call(getFromNamespace("fullfile", "matlab"), input) 140s + identical(output, expected) 140s + } 140s > 140s > fullfile.expected <- file.path(path.expand("~"), "somedir", "foo.txt") 140s > 140s > test.fullfile(list(dir = path.expand("~"), 140s + subdir = "somedir", 140s + file = "foo.txt"), fullfile.expected) 140s [1] TRUE 140s > 140s > 140s BEGIN TEST hilb.R 140s 140s R version 4.3.2 (2023-10-31) -- "Eye Holes" 140s Copyright (C) 2023 The R Foundation for Statistical Computing 140s Platform: x86_64-pc-linux-gnu (64-bit) 140s 140s R is free software and comes with ABSOLUTELY NO WARRANTY. 140s You are welcome to redistribute it under certain conditions. 140s Type 'license()' or 'licence()' for distribution details. 140s 140s R is a collaborative project with many contributors. 140s Type 'contributors()' for more information and 140s 'citation()' on how to cite R or R packages in publications. 140s 140s Type 'demo()' for some demos, 'help()' for on-line help, or 140s 'help.start()' for an HTML browser interface to help. 140s Type 'q()' to quit R. 140s 140s > ### 140s > ### $Id: hilb.R 22 2022-05-30 18:03:47Z proebuck $ 140s > ### 140s > 140s > 140s > ##----------------------------------------------------------------------------- 140s > test.hilb <- function(input, expected) { 140s + output <- do.call(getFromNamespace("hilb", "matlab"), input) 140s + identical(output, expected) 140s + } 140s > 140s > hilb.expected.na.nodim <- matrix(NA, nrow=0, ncol=0) 140s > hilb.expected.zero.nodim <- matrix(0, nrow=0, ncol=0) 140s > hilb.expected.one <- matrix(1, nrow=1, ncol=1) 140s > hilb.expected.five <- 1 / matrix(c(1:5,2:6,3:7,4:8,5:9), nrow=5, ncol=5) 140s > 140s > test.hilb(list(n=-1), hilb.expected.na.nodim) 140s [1] TRUE 140s > test.hilb(list(n=0), hilb.expected.zero.nodim) 140s [1] TRUE 140s > test.hilb(list(n=1), hilb.expected.one) 140s [1] TRUE 140s > test.hilb(list(n=5), hilb.expected.five) 140s [1] TRUE 140s > 140s > 140s BEGIN TEST isempty.R 141s 141s R version 4.3.2 (2023-10-31) -- "Eye Holes" 141s Copyright (C) 2023 The R Foundation for Statistical Computing 141s Platform: x86_64-pc-linux-gnu (64-bit) 141s 141s R is free software and comes with ABSOLUTELY NO WARRANTY. 141s You are welcome to redistribute it under certain conditions. 141s Type 'license()' or 'licence()' for distribution details. 141s 141s R is a collaborative project with many contributors. 141s Type 'contributors()' for more information and 141s 'citation()' on how to cite R or R packages in publications. 141s 141s Type 'demo()' for some demos, 'help()' for on-line help, or 141s 'help.start()' for an HTML browser interface to help. 141s Type 'q()' to quit R. 141s 141s > ### 141s > ### $Id: isempty.R 22 2022-05-30 18:03:47Z proebuck $ 141s > ### 141s > 141s > 141s > ##----------------------------------------------------------------------------- 141s > test.isempty <- function(input, expected) { 141s + output <- do.call(getFromNamespace("isempty", "matlab"), input) 141s + identical(output, expected) 141s + } 141s > 141s > test.isempty(list(A = 1:3), FALSE) 141s [1] TRUE 141s > test.isempty(list(A = numeric(0)), TRUE) 141s [1] TRUE 141s > test.isempty(list(A = matrix(NA, nrow = 2, ncol = 2)), FALSE) 141s [1] TRUE 141s > test.isempty(list(A = matrix(NA, nrow = 0, ncol = 2)), TRUE) 141s [1] TRUE 141s > test.isempty(list(A = array(NA, c(2, 2, 2))), FALSE) 141s [1] TRUE 141s > test.isempty(list(A = array(NA, c(2, 0, 2))), TRUE) 141s [1] TRUE 141s > 141s > 141s BEGIN TEST isprime.R 141s 141s R version 4.3.2 (2023-10-31) -- "Eye Holes" 141s Copyright (C) 2023 The R Foundation for Statistical Computing 141s Platform: x86_64-pc-linux-gnu (64-bit) 141s 141s R is free software and comes with ABSOLUTELY NO WARRANTY. 141s You are welcome to redistribute it under certain conditions. 141s Type 'license()' or 'licence()' for distribution details. 141s 141s R is a collaborative project with many contributors. 141s Type 'contributors()' for more information and 141s 'citation()' on how to cite R or R packages in publications. 141s 141s Type 'demo()' for some demos, 'help()' for on-line help, or 141s 'help.start()' for an HTML browser interface to help. 141s Type 'q()' to quit R. 141s 141s > ### 141s > ### $Id: isprime.R 22 2022-05-30 18:03:47Z proebuck $ 141s > ### 141s > 141s > 141s > ##----------------------------------------------------------------------------- 141s > test.isprime <- function(input, expected) { 141s + output <- do.call(getFromNamespace("isprime", "matlab"), input) 141s + identical(output, expected) 141s + } 141s > 141s > isprime.expected.n1 <- 0 141s > isprime.expected.n2 <- 1 141s > isprime.expected.n100 <- c(0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 141s + 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 141s + 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 141s + 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 141s + 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 141s + 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 141s + 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 141s + 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 141s + 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 141s + 0, 0, 0, 0, 0, 0, 1, 0, 0, 0) 141s > isprime.expected.10x10 <- matrix(isprime.expected.n100, 141s + nrow=10, ncol=10, byrow=TRUE) 141s > 141s > test.isprime(list(x=1), isprime.expected.n1) 141s [1] FALSE 141s > test.isprime(list(x=2), isprime.expected.n2) 141s [1] FALSE 141s > test.isprime(list(x=1:100), isprime.expected.n100) 141s [1] FALSE 141s > test.isprime(list(x=matrix(1:100, nrow=10, 10, byrow=TRUE)), 141s + isprime.expected.n100) 141s [1] FALSE 141s > 141s > 141s BEGIN TEST jet.colors.R 141s 141s R version 4.3.2 (2023-10-31) -- "Eye Holes" 141s Copyright (C) 2023 The R Foundation for Statistical Computing 141s Platform: x86_64-pc-linux-gnu (64-bit) 141s 141s R is free software and comes with ABSOLUTELY NO WARRANTY. 141s You are welcome to redistribute it under certain conditions. 141s Type 'license()' or 'licence()' for distribution details. 141s 141s R is a collaborative project with many contributors. 141s Type 'contributors()' for more information and 141s 'citation()' on how to cite R or R packages in publications. 141s 141s Type 'demo()' for some demos, 'help()' for on-line help, or 141s 'help.start()' for an HTML browser interface to help. 141s Type 'q()' to quit R. 141s 141s > ### 141s > ### $Id: jet.colors.R 22 2022-05-30 18:03:47Z proebuck $ 141s > ### 141s > 141s > 141s > ##----------------------------------------------------------------------------- 141s > test.jet.colors <- function(input, expected) { 141s + output <- do.call(getFromNamespace("jet.colors", "matlab"), input) 141s + identical(output, expected) 141s + } 141s > 141s > jet.expected.m0 <- character(0) 141s > jet.expected.m1 <- "#00FFFF" 141s > jet.expected.m8 <- c("#0000FF", 141s + "#0080FF", 141s + "#00FFFF", 141s + "#80FF80", 141s + "#FFFF00", 141s + "#FF8000", 141s + "#FF0000", 141s + "#800000") 141s > 141s > test.jet.colors(list(n = 0), jet.expected.m0) 141s [1] TRUE 141s > test.jet.colors(list(n = 1), jet.expected.m1) 141s [1] TRUE 141s > test.jet.colors(list(n = 8), jet.expected.m8) 141s [1] TRUE 141s > 141s > 141s BEGIN TEST linspace.R 141s 141s R version 4.3.2 (2023-10-31) -- "Eye Holes" 141s Copyright (C) 2023 The R Foundation for Statistical Computing 141s Platform: x86_64-pc-linux-gnu (64-bit) 141s 141s R is free software and comes with ABSOLUTELY NO WARRANTY. 141s You are welcome to redistribute it under certain conditions. 141s Type 'license()' or 'licence()' for distribution details. 141s 141s R is a collaborative project with many contributors. 141s Type 'contributors()' for more information and 141s 'citation()' on how to cite R or R packages in publications. 141s 141s Type 'demo()' for some demos, 'help()' for on-line help, or 141s 'help.start()' for an HTML browser interface to help. 141s Type 'q()' to quit R. 141s 141s > ### 141s > ### $Id: linspace.R 22 2022-05-30 18:03:47Z proebuck $ 141s > ### 141s > 141s > 141s > ##----------------------------------------------------------------------------- 141s > test.linspace <- function(input, expected) { 141s + output <- do.call(getFromNamespace("linspace", "matlab"), input) 141s + identical(output, expected) 141s + } 141s > 141s > linspace.expected.100 <- as.numeric(1:100) 141s > linspace.expected.25x5 <- c(0, 6.25, 12.50, 18.75, 25) 141s > linspace.expected.len1 <- 25 141s > 141s > test.linspace(list(a = 1, b = 100), linspace.expected.100) 141s [1] TRUE 141s > test.linspace(list(a = 0, b = 25, n = 5), linspace.expected.25x5) 141s [1] TRUE 141s > test.linspace(list(a = 1, b = 25, n = 1), linspace.expected.len1) 141s [1] TRUE 141s > 141s > ## more rigorously this time 141s > test.linspace(list(a = 0, b = 1, n = 2.5), 0:1) ## HWB 2011/02/03 141s [1] FALSE 141s > test.linspace(list(a = 0, b = 1, n = 3.9), seq(0, 1, length=floor(3))) 141s [1] TRUE 141s > 141s > 141s BEGIN TEST logspace.R 141s 141s R version 4.3.2 (2023-10-31) -- "Eye Holes" 141s Copyright (C) 2023 The R Foundation for Statistical Computing 141s Platform: x86_64-pc-linux-gnu (64-bit) 141s 141s R is free software and comes with ABSOLUTELY NO WARRANTY. 141s You are welcome to redistribute it under certain conditions. 141s Type 'license()' or 'licence()' for distribution details. 141s 141s R is a collaborative project with many contributors. 141s Type 'contributors()' for more information and 141s 'citation()' on how to cite R or R packages in publications. 141s 141s Type 'demo()' for some demos, 'help()' for on-line help, or 141s 'help.start()' for an HTML browser interface to help. 141s Type 'q()' to quit R. 141s 142s > ### 142s > ### $Id: logspace.R 22 2022-05-30 18:03:47Z proebuck $ 142s > ### 142s > 142s > 142s > ##----------------------------------------------------------------------------- 142s > test.logspace <- function(input, expected) { 142s + output <- do.call(getFromNamespace("logspace", "matlab"), input) 142s + identical(all.equal(output, 142s + expected, 142s + tolerance = 0.0001), 142s + TRUE) 142s + } 142s > 142s > logspace.expected.1topi <- c(10.0000, 7.4866, 5.6050, 4.1963, 3.1416) 142s > 142s > test.logspace(list(a = 1, b = pi, n = 5), logspace.expected.1topi) 142s [1] TRUE 142s > 142s > ## more rigorously this time 142s > test.logspace(list(a = 0, b = 1, n = 0), 10) ## HWB 2011/02/03 142s [1] TRUE 142s > test.logspace(list(a = 0, b = 10, n = 1), 10^10) ## HWB 2011/02/03 142s [1] TRUE 142s > test.logspace(list(a = 0, b = 1, n = 1.5), 10) ## HWB 2011/02/03 142s [1] TRUE 142s > 142s > 142s BEGIN TEST magic.R 142s 142s R version 4.3.2 (2023-10-31) -- "Eye Holes" 142s Copyright (C) 2023 The R Foundation for Statistical Computing 142s Platform: x86_64-pc-linux-gnu (64-bit) 142s 142s R is free software and comes with ABSOLUTELY NO WARRANTY. 142s You are welcome to redistribute it under certain conditions. 142s Type 'license()' or 'licence()' for distribution details. 142s 142s R is a collaborative project with many contributors. 142s Type 'contributors()' for more information and 142s 'citation()' on how to cite R or R packages in publications. 142s 142s Type 'demo()' for some demos, 'help()' for on-line help, or 142s 'help.start()' for an HTML browser interface to help. 142s Type 'q()' to quit R. 142s 142s > ### 142s > ### $Id: magic.R 22 2022-05-30 18:03:47Z proebuck $ 142s > ### 142s > 142s > 142s > ##----------------------------------------------------------------------------- 142s > test.magic <- function(input, expected) { 142s + output <- do.call(getFromNamespace("magic", "matlab"), input) 142s + identical(output, expected) 142s + } 142s > 142s > magic.expected.3 <- matrix(c(8, 1, 6, 142s + 3, 5, 7, 142s + 4, 9, 2), 142s + nrow = 3, ncol = 3, byrow = TRUE) 142s > 142s > magic.expected.4 <- matrix(c(16, 2, 3, 13, 142s + 5, 11, 10, 8, 142s + 9, 7, 6, 12, 142s + 4, 14, 15, 1), 142s + nrow = 4, ncol = 4, byrow = TRUE) 142s > 142s > magic.expected.6 <- matrix(c(35, 1, 6, 26, 19, 24, 142s + 3, 32, 7, 21, 23, 25, 142s + 31, 9, 2, 22, 27, 20, 142s + 8, 28, 33, 17, 10, 15, 142s + 30, 5, 34, 12, 14, 16, 142s + 4, 36, 29, 13, 18, 11), 142s + nrow = 6, ncol = 6, byrow = TRUE) 142s > 142s > magic.expected.10 <- matrix(c(92, 99, 1, 8, 15, 67, 74, 51, 58, 40, 142s + 98, 80, 7, 14, 16, 73, 55, 57, 64, 41, 142s + 4, 81, 88, 20, 22, 54, 56, 63, 70, 47, 142s + 85, 87, 19, 21, 3, 60, 62, 69, 71, 28, 142s + 86, 93, 25, 2, 9, 61, 68, 75, 52, 34, 142s + 17, 24, 76, 83, 90, 42, 49, 26, 33, 65, 142s + 23, 5, 82, 89, 91, 48, 30, 32, 39, 66, 142s + 79, 6, 13, 95, 97, 29, 31, 38, 45, 72, 142s + 10, 12, 94, 96, 78, 35, 37, 44, 46, 53, 142s + 11, 18,100, 77, 84, 36, 43, 50, 27, 59), 142s + nrow = 10, ncol = 10, byrow = TRUE) 142s > 142s > 142s > test.magic(list(n = 3), magic.expected.3) # 'n' odd 142s [1] TRUE 142s > test.magic(list(n = 4), magic.expected.4) # 'n' divisible by four 142s [1] TRUE 142s > test.magic(list(n = 6), magic.expected.6) # 'n' even but not divisible by four 142s [1] TRUE 142s > test.magic(list(n = 10), magic.expected.10) 142s [1] TRUE 142s > 142s > 142s BEGIN TEST meshgrid.R 142s 142s R version 4.3.2 (2023-10-31) -- "Eye Holes" 142s Copyright (C) 2023 The R Foundation for Statistical Computing 142s Platform: x86_64-pc-linux-gnu (64-bit) 142s 142s R is free software and comes with ABSOLUTELY NO WARRANTY. 142s You are welcome to redistribute it under certain conditions. 142s Type 'license()' or 'licence()' for distribution details. 142s 142s R is a collaborative project with many contributors. 142s Type 'contributors()' for more information and 142s 'citation()' on how to cite R or R packages in publications. 142s 142s Type 'demo()' for some demos, 'help()' for on-line help, or 142s 'help.start()' for an HTML browser interface to help. 142s Type 'q()' to quit R. 142s 142s > ### 142s > ### $Id: meshgrid.R 22 2022-05-30 18:03:47Z proebuck $ 142s > ### 142s > 142s > 142s > ##----------------------------------------------------------------------------- 142s > test.meshgrid <- function(input, expected) { 142s + output <- do.call(getFromNamespace("meshgrid", "matlab"), input) 142s + identical(output, expected) 142s + } 142s > 142s > x1 <- 1:3 142s > y1 <- 10:14 142s > meshgrid.expected.xy <- list(x = matrix(rep(x1, length(y1)), 142s + nrow = length(y1), 142s + ncol = length(x1), byrow = TRUE), 142s + y = matrix(rep(y1, length(x1)), 142s + nrow = length(y1), 142s + ncol = length(x1))) 142s > 142s > test.meshgrid(list(x = 0), meshgrid.expected.xy) 142s [1] FALSE 142s > test.meshgrid(list(x = x1, y = y1), meshgrid.expected.xy) 142s [1] TRUE 142s > 142s > x2 <- 5:8 142s > y2 <- 10:14 142s > z2 <- 2:3 142s > meshgrid.expected.xyz <- list(x = array(matrix(rep(x2, length(y2)), 142s + nrow = length(y2), 142s + ncol = length(x2), byrow = TRUE), 142s + c(length(y2), length(x2), length(z2))), 142s + y = array(rep(y2, length(x2)), 142s + c(length(y2), length(x2), length(z2))), 142s + z = array(sapply(z2, 142s + function(val, len) rep(val, len), 142s + length(y2) * length(x2)), 142s + c(length(y2), length(x2), length(z2)))) 142s > 142s > test.meshgrid(list(x = x2, y = y2, z = z2, nargout = 3), meshgrid.expected.xyz) 142s [1] TRUE 142s > 142s > 142s BEGIN TEST mkconstarray.R 142s 142s R version 4.3.2 (2023-10-31) -- "Eye Holes" 142s Copyright (C) 2023 The R Foundation for Statistical Computing 142s Platform: x86_64-pc-linux-gnu (64-bit) 142s 142s R is free software and comes with ABSOLUTELY NO WARRANTY. 142s You are welcome to redistribute it under certain conditions. 142s Type 'license()' or 'licence()' for distribution details. 142s 142s R is a collaborative project with many contributors. 142s Type 'contributors()' for more information and 142s 'citation()' on how to cite R or R packages in publications. 142s 142s Type 'demo()' for some demos, 'help()' for on-line help, or 142s 'help.start()' for an HTML browser interface to help. 142s Type 'q()' to quit R. 142s 142s > ### 142s > ### $Id: mkconstarray.R 22 2022-05-30 18:03:47Z proebuck $ 142s > ### 142s > 142s > 142s > ##----------------------------------------------------------------------------- 142s > test.mkconstarray <- function(input, expected) { 142s + output <- do.call(getFromNamespace("mkconstarray", "matlab"), input) 142s + identical(output, expected) 142s + } 142s > 142s > test.mkconstarray(list(class.type = "double", value = pi, size = 4), rep(pi, 4)) 142s [1] FALSE 142s > 142s > 142s BEGIN TEST mod.R 142s 142s R version 4.3.2 (2023-10-31) -- "Eye Holes" 142s Copyright (C) 2023 The R Foundation for Statistical Computing 142s Platform: x86_64-pc-linux-gnu (64-bit) 142s 142s R is free software and comes with ABSOLUTELY NO WARRANTY. 142s You are welcome to redistribute it under certain conditions. 142s Type 'license()' or 'licence()' for distribution details. 142s 142s R is a collaborative project with many contributors. 142s Type 'contributors()' for more information and 142s 'citation()' on how to cite R or R packages in publications. 142s 142s Type 'demo()' for some demos, 'help()' for on-line help, or 142s 'help.start()' for an HTML browser interface to help. 142s Type 'q()' to quit R. 142s 143s > ### 143s > ### $Id: mod.R 22 2022-05-30 18:03:47Z proebuck $ 143s > ### 143s > 143s > 143s > ##----------------------------------------------------------------------------- 143s > test.mod <- function(input, expected) { 143s + output <- do.call(getFromNamespace("mod", "matlab"), input) 143s + identical(output, expected) 143s + } 143s > 143s > mod.expected.scalar <- 3 143s > mod.expected.vec <- c(1, 2, 0, 1, 2) 143s > 143s > test.mod(list(x = 13, y = 5), mod.expected.scalar) 143s [1] TRUE 143s > test.mod(list(x = 1:5, y = 3), mod.expected.vec) 143s [1] TRUE 143s > 143s > ## by convention 143s > any.nonzero <- 1 143s > test.mod(list(x = any.nonzero, y = 0), any.nonzero) ## HWB 2011/03/08 143s [1] TRUE 143s > test.mod(list(x = any.nonzero, y = any.nonzero), 0) 143s [1] TRUE 143s > 143s > ## get complicated 143s > test.mod(list(x = 5, y = c(1, 2, 0, NaN, Inf)), c(0, 1, 5, NaN, NaN)) 143s [1] FALSE 143s > test.mod(list(x = 1:5, y = c(1, 2, 0, NaN, Inf)), c(0, 0, 3, NaN, NaN)) 143s [1] FALSE 143s > 143s > ## rem & mod give same results with X, Y having same sign 143s > test.mod(list(x = 5, y = 3), matlab::rem(5, 3)) 143s [1] TRUE 143s > test.mod(list(x = -5, y = -3), matlab::rem(-5, -3)) 143s [1] TRUE 143s > 143s > ## alternate formula used when X, Y having different signs 143s > test.mod(list(x = 5, y = -3), (matlab::rem(5, -3) - -3)) 143s [1] FALSE 143s > test.mod(list(x = -5, y = 3), (matlab::rem(-5, 3) - 3)) 143s [1] FALSE 143s > 143s > 143s BEGIN TEST ndims.R 143s 143s R version 4.3.2 (2023-10-31) -- "Eye Holes" 143s Copyright (C) 2023 The R Foundation for Statistical Computing 143s Platform: x86_64-pc-linux-gnu (64-bit) 143s 143s R is free software and comes with ABSOLUTELY NO WARRANTY. 143s You are welcome to redistribute it under certain conditions. 143s Type 'license()' or 'licence()' for distribution details. 143s 143s R is a collaborative project with many contributors. 143s Type 'contributors()' for more information and 143s 'citation()' on how to cite R or R packages in publications. 143s 143s Type 'demo()' for some demos, 'help()' for on-line help, or 143s 'help.start()' for an HTML browser interface to help. 143s Type 'q()' to quit R. 143s 143s > ### 143s > ### $Id: ndims.R 22 2022-05-30 18:03:47Z proebuck $ 143s > ### 143s > 143s > 143s > ##----------------------------------------------------------------------------- 143s > test.ndims <- function(input, expected) { 143s + output <- do.call(getFromNamespace("ndims", "matlab"), input) 143s + identical(output, expected) 143s + } 143s > 143s > test.ndims(list(A = array(NA, c(4, 4, 2))), 3) 143s [1] FALSE 143s > test.ndims(list(A = matlab::magic(4)), 2) 143s [1] FALSE 143s > test.ndims(list(A = 1:5), 2) 143s [1] FALSE 143s > 143s > 143s BEGIN TEST nextpow2.R 143s 143s R version 4.3.2 (2023-10-31) -- "Eye Holes" 143s Copyright (C) 2023 The R Foundation for Statistical Computing 143s Platform: x86_64-pc-linux-gnu (64-bit) 143s 143s R is free software and comes with ABSOLUTELY NO WARRANTY. 143s You are welcome to redistribute it under certain conditions. 143s Type 'license()' or 'licence()' for distribution details. 143s 143s R is a collaborative project with many contributors. 143s Type 'contributors()' for more information and 143s 'citation()' on how to cite R or R packages in publications. 143s 143s Type 'demo()' for some demos, 'help()' for on-line help, or 143s 'help.start()' for an HTML browser interface to help. 143s Type 'q()' to quit R. 143s 143s > ### 143s > ### $Id: nextpow2.R 22 2022-05-30 18:03:47Z proebuck $ 143s > ### 143s > 143s > 143s > ##----------------------------------------------------------------------------- 143s > test.nextpow2 <- function(input, expected) { 143s + output <- do.call(getFromNamespace("nextpow2", "matlab"), input) 143s + identical(output, expected) 143s + } 143s > 143s > nextpow2.expected.0 <- 0 143s > nextpow2.expected.vector <- c(0, 1, 2, 2, 3, 3, 3, 3, 4, 4) 143s > nextpow2.expected.matrix <- matrix(c(0, 1, 1, 0), nrow=2, ncol=2) 143s > nextpow2.expected.16 <- 4 143s > nextpow2.expected.m16 <- 4 143s > nextpow2.expected.m6 <- -19 143s > nextpow2.expected.mq <- -2 143s > 143s > test.nextpow2(list(x=0), nextpow2.expected.0) 143s [1] TRUE 143s > test.nextpow2(list(x=1:10), nextpow2.expected.vector) 143s [1] TRUE 143s > test.nextpow2(list(x=matrix(c(1i, 2i, 2+0i, 0+0i), nrow=2, ncol=2)), 143s + nextpow2.expected.matrix) 143s [1] TRUE 143s > test.nextpow2(list(x=16), nextpow2.expected.16) 143s [1] TRUE 143s > test.nextpow2(list(x=-16), nextpow2.expected.m16) 143s [1] TRUE 143s > test.nextpow2(list(x=1e-6), nextpow2.expected.m6) 143s [1] TRUE 143s > test.nextpow2(list(x=-0.25), nextpow2.expected.mq) 143s [1] TRUE 143s > 143s > 143s BEGIN TEST numel.R 143s 143s R version 4.3.2 (2023-10-31) -- "Eye Holes" 143s Copyright (C) 2023 The R Foundation for Statistical Computing 143s Platform: x86_64-pc-linux-gnu (64-bit) 143s 143s R is free software and comes with ABSOLUTELY NO WARRANTY. 143s You are welcome to redistribute it under certain conditions. 143s Type 'license()' or 'licence()' for distribution details. 143s 143s R is a collaborative project with many contributors. 143s Type 'contributors()' for more information and 143s 'citation()' on how to cite R or R packages in publications. 143s 143s Type 'demo()' for some demos, 'help()' for on-line help, or 143s 'help.start()' for an HTML browser interface to help. 143s Type 'q()' to quit R. 143s 143s > ### 143s > ### $Id: numel.R 22 2022-05-30 18:03:47Z proebuck $ 143s > ### 143s > 143s > 143s > ##----------------------------------------------------------------------------- 143s > test.numel <- function(input, expected) { 143s + output <- do.call(getFromNamespace("numel", "matlab"), input) 143s + identical(output, expected) 143s + } 143s > 143s > a <- array(NA, c(4, 4, 2)) 143s > a[,,1] <- matlab::magic(4) 143s > a[,,2] <- t(a[,,1]) 143s > 143s > numel.expected.4x4x2 <- 32 143s > 143s > test.numel(list(A = a), numel.expected.4x4x2) 143s [1] TRUE 143s > 143s > 143s BEGIN TEST ones.R 143s 143s R version 4.3.2 (2023-10-31) -- "Eye Holes" 143s Copyright (C) 2023 The R Foundation for Statistical Computing 143s Platform: x86_64-pc-linux-gnu (64-bit) 143s 143s R is free software and comes with ABSOLUTELY NO WARRANTY. 143s You are welcome to redistribute it under certain conditions. 143s Type 'license()' or 'licence()' for distribution details. 143s 143s R is a collaborative project with many contributors. 143s Type 'contributors()' for more information and 143s 'citation()' on how to cite R or R packages in publications. 143s 143s Type 'demo()' for some demos, 'help()' for on-line help, or 143s 'help.start()' for an HTML browser interface to help. 143s Type 'q()' to quit R. 143s 143s > ### 143s > ### $Id: ones.R 22 2022-05-30 18:03:47Z proebuck $ 143s > ### 143s > 143s > 143s > ##----------------------------------------------------------------------------- 143s > test.ones <- function(input, expected) { 143s + output <- do.call(getFromNamespace("ones", "matlab"), input) 143s + identical(output, expected) 143s + } 143s > 143s > ones.expected.3x3 <- matrix(1, nrow = 3, ncol = 3) 143s > ones.expected.4x2 <- matrix(1, nrow = 4, ncol = 2) 143s > 143s > test.ones(list(n = 3), ones.expected.3x3) 144s [1] TRUE 144s > test.ones(list(n = c(4, 2)), ones.expected.4x2) 144s [1] TRUE 144s > test.ones(list(m = 4, n = 2), ones.expected.4x2) 144s [1] TRUE 144s > test.ones(list(n = matlab::size(ones.expected.4x2)), ones.expected.4x2) 144s [1] TRUE 144s > 144s > 144s BEGIN TEST padarray.R 144s 144s R version 4.3.2 (2023-10-31) -- "Eye Holes" 144s Copyright (C) 2023 The R Foundation for Statistical Computing 144s Platform: x86_64-pc-linux-gnu (64-bit) 144s 144s R is free software and comes with ABSOLUTELY NO WARRANTY. 144s You are welcome to redistribute it under certain conditions. 144s Type 'license()' or 'licence()' for distribution details. 144s 144s R is a collaborative project with many contributors. 144s Type 'contributors()' for more information and 144s 'citation()' on how to cite R or R packages in publications. 144s 144s Type 'demo()' for some demos, 'help()' for on-line help, or 144s 'help.start()' for an HTML browser interface to help. 144s Type 'q()' to quit R. 144s 144s > ### 144s > ### $Id: padarray.R 22 2022-05-30 18:03:47Z proebuck $ 144s > ### 144s > 144s > 144s > ##----------------------------------------------------------------------------- 144s > test.padarray <- function(input, expected) { 144s + output <- do.call(getFromNamespace("padarray", "matlab"), input) 144s + identical(output, expected) 144s + } 144s > 144s > 144s > ## Add three elements of padding to beginning of vector 144s > ## The padding elements contain mirror copies of the array 144s > padarray.expected.mat4x4 <- matrix(1:4, 4, 4, byrow = TRUE) 144s > test.padarray(list(A = 1:4, 144s + padsize = 3, 144s + padval = "symmetric", 144s + direction = "pre"), 144s + padarray.expected.mat4x4) 144s [1] TRUE 144s > 144s > ## Add three elements of padding to the end of the first dimension of array 144s > ## and two elements of padding to the end of the second dimension. 144s > ## Use value of the last array element as the padding value. 144s > Amat.2x2 <- matrix(as.numeric(1:4), nrow = 2, ncol = 2, byrow = TRUE) 144s > padarray.expected.mat5x4 <- matrix(c(1, 2, 2, 2, 144s + 3, 4, 4, 4, 144s + 3, 4, 4, 4, 144s + 3, 4, 4, 4, 144s + 3, 4, 4, 4), 144s + nrow = 5, ncol = 4, byrow = TRUE) 144s > test.padarray(list(A = Amat.2x2, 144s + padsize = c(3, 2), 144s + padval = "replicate", 144s + direction = "post"), 144s + padarray.expected.mat5x4) 144s [1] TRUE 144s > 144s > ## Add three elements of padding to each dimension of a three-dimensional array. 144s > ## Each pad element contains the value zero. 144s > Bmat.2x2 <- matrix(5:8, nrow = 2, ncol = 2, byrow = TRUE) 144s > Carr.2x2x2 <- array(c(Amat.2x2, Bmat.2x2), c(2, 2, 2)) 144s > padarray.expected.arr8x8x2 <- { 144s + A <- array(0, c(8, 8, 2)) 144s + A[4:5, 4:5, 1] <- Amat.2x2 144s + A[4:5, 4:5, 2] <- Bmat.2x2 144s + A 144s + } 144s > test.padarray(list(A = Carr.2x2x2, 144s + padsize = c(3, 3), 144s + padval = 0, 144s + direction = "both"), 144s + padarray.expected.arr8x8x2) 144s [1] TRUE 144s > 144s > ## Add three elements of padding to end of vector 144s > ## The padding elements contain a mirror copy of the vector 144s > padarray.expected.vec <- c(letters[1:5], rev(letters[3:5])) 144s > test.padarray(list(A = letters[1:5], 144s + padsize = c(0, 3), 144s + padval = "symmetric", 144s + direction = "post"), 144s + padarray.expected.vec) 144s [1] TRUE 144s > 144s > 144s BEGIN TEST pascal.R 144s 144s R version 4.3.2 (2023-10-31) -- "Eye Holes" 144s Copyright (C) 2023 The R Foundation for Statistical Computing 144s Platform: x86_64-pc-linux-gnu (64-bit) 144s 144s R is free software and comes with ABSOLUTELY NO WARRANTY. 144s You are welcome to redistribute it under certain conditions. 144s Type 'license()' or 'licence()' for distribution details. 144s 144s R is a collaborative project with many contributors. 144s Type 'contributors()' for more information and 144s 'citation()' on how to cite R or R packages in publications. 144s 144s Type 'demo()' for some demos, 'help()' for on-line help, or 144s 'help.start()' for an HTML browser interface to help. 144s Type 'q()' to quit R. 144s 144s > ### 144s > ### $Id: pascal.R 22 2022-05-30 18:03:47Z proebuck $ 144s > ### 144s > 144s > 144s > ##----------------------------------------------------------------------------- 144s > test.pascal <- function(input, expected) { 144s + output <- do.call(getFromNamespace("pascal", "matlab"), input) 144s + identical(output, expected) 144s + } 144s > 144s > pascal.expected.n4 <- matrix(c(1, 1, 1, 1, 144s + 1, 2, 3, 4, 144s + 1, 3, 6, 10, 144s + 1, 4, 10, 20), 4, byrow = TRUE) 144s > test.pascal(list(n = 4), pascal.expected.n4) 144s [1] TRUE 144s > 144s > pascal.expected.n3k1 <- matrix(c(1, 0, 0, 144s + 1, -1, 0, 144s + 1, -2, 1), 3, byrow = TRUE) 144s > test.pascal(list(n = 3, k = 1), pascal.expected.n3k1) 144s [1] TRUE 144s > 144s > pascal.expected.n3k2 <- matrix(c(1, 1, 1, 144s + -2, -1, 0, 144s + 1, 0, 0), 3, byrow = TRUE) 144s > test.pascal(list(n = 3, k = 2), pascal.expected.n3k2) 144s [1] TRUE 144s > 144s > 144s BEGIN TEST pow2.R 144s 144s R version 4.3.2 (2023-10-31) -- "Eye Holes" 144s Copyright (C) 2023 The R Foundation for Statistical Computing 144s Platform: x86_64-pc-linux-gnu (64-bit) 144s 144s R is free software and comes with ABSOLUTELY NO WARRANTY. 144s You are welcome to redistribute it under certain conditions. 144s Type 'license()' or 'licence()' for distribution details. 144s 144s R is a collaborative project with many contributors. 144s Type 'contributors()' for more information and 144s 'citation()' on how to cite R or R packages in publications. 144s 144s Type 'demo()' for some demos, 'help()' for on-line help, or 144s 'help.start()' for an HTML browser interface to help. 144s Type 'q()' to quit R. 144s 144s > ### 144s > ### $Id: pow2.R 22 2022-05-30 18:03:47Z proebuck $ 144s > ### 144s > 144s > 144s > ##----------------------------------------------------------------------------- 144s > test.pow2 <- function(input, expected) { 144s + output <- do.call(getFromNamespace("pow2", "matlab"), input) 144s + identical(output, expected) 144s + } 144s > 144s > pow2.expected.00 <- 0 144s > pow2.expected.m1 <- -0.5 144s > pow2.expected.f <- c(1, 2, 4, 8) 144s > pow2.expected.fe <- c(0, 0.5, -8, 24) 144s > pow2.expected.complex <- c(2^(1i), 2^(-1i)) 144s > 144s > test.pow2(list(f=0, e=0), pow2.expected.00) 144s [1] TRUE 144s > test.pow2(list(f=-1, e=-1), pow2.expected.m1) 144s [1] TRUE 144s > test.pow2(list(f=0:3), pow2.expected.f) 144s [1] TRUE 144s > test.pow2(list(f=c(0, 1, -2, 3), e=c(0, -1, 2, 3)), pow2.expected.fe) 144s [1] TRUE 144s > test.pow2(list(f=c(1i, -1i)), pow2.expected.complex) 144s [1] TRUE 144s > 144s > 144s BEGIN TEST primes.R 144s 144s R version 4.3.2 (2023-10-31) -- "Eye Holes" 144s Copyright (C) 2023 The R Foundation for Statistical Computing 144s Platform: x86_64-pc-linux-gnu (64-bit) 144s 144s R is free software and comes with ABSOLUTELY NO WARRANTY. 144s You are welcome to redistribute it under certain conditions. 144s Type 'license()' or 'licence()' for distribution details. 144s 144s R is a collaborative project with many contributors. 144s Type 'contributors()' for more information and 144s 'citation()' on how to cite R or R packages in publications. 144s 144s Type 'demo()' for some demos, 'help()' for on-line help, or 144s 'help.start()' for an HTML browser interface to help. 144s Type 'q()' to quit R. 144s 144s > ### 144s > ### $Id: primes.R 22 2022-05-30 18:03:47Z proebuck $ 144s > ### 144s > 144s > 144s > ##----------------------------------------------------------------------------- 144s > test.primes <- function(input, expected) { 144s + output <- do.call(getFromNamespace("primes", "matlab"), input) 144s + identical(output, expected) 144s + } 144s > 144s > primes.expected.101 <- c( 2, 3, 5, 7, 11, 144s + 13, 17, 19, 23, 29, 144s + 31, 37, 41, 43, 47, 144s + 53, 59, 61, 67, 71, 144s + 73, 79, 83, 89, 97, 101) 144s > primes.expected.n37 <- primes.expected.101[1:12] 144s > primes.expected.n13 <- primes.expected.101[1:6] 144s > primes.expected.n8 <- c(2, 3, 5, 7) 144s > primes.expected.n5 <- c(2, 3, 5) 144s > primes.expected.n3 <- c(2, 3) 144s > primes.expected.n2 <- 2 144s > primes.expected.n1 <- NULL 144s > 144s > test.primes(list(n=1), primes.expected.n1) 145s [1] TRUE 145s > test.primes(list(n=2), primes.expected.n2) 145s [1] TRUE 145s > test.primes(list(n=3), primes.expected.n3) 145s [1] TRUE 145s > test.primes(list(n=5), primes.expected.n5) 145s [1] TRUE 145s > test.primes(list(n=8), primes.expected.n8) 145s [1] TRUE 145s > test.primes(list(n=13), primes.expected.n13) 145s [1] TRUE 145s > test.primes(list(n=37), primes.expected.n37) 145s [1] TRUE 145s > test.primes(list(n=101), primes.expected.101) 145s [1] TRUE 145s > 145s > 145s BEGIN TEST rem.R 145s 145s R version 4.3.2 (2023-10-31) -- "Eye Holes" 145s Copyright (C) 2023 The R Foundation for Statistical Computing 145s Platform: x86_64-pc-linux-gnu (64-bit) 145s 145s R is free software and comes with ABSOLUTELY NO WARRANTY. 145s You are welcome to redistribute it under certain conditions. 145s Type 'license()' or 'licence()' for distribution details. 145s 145s R is a collaborative project with many contributors. 145s Type 'contributors()' for more information and 145s 'citation()' on how to cite R or R packages in publications. 145s 145s Type 'demo()' for some demos, 'help()' for on-line help, or 145s 'help.start()' for an HTML browser interface to help. 145s Type 'q()' to quit R. 145s 145s > ### 145s > ### $Id: rem.R 30 2022-05-30 23:11:34Z proebuck $ 145s > ### 145s > 145s > 145s > ##----------------------------------------------------------------------------- 145s > test.rem <- function(input, expected) { 145s + output <- do.call(getFromNamespace("rem", "matlab"), input) 145s + identical(output, expected) 145s + } 145s > 145s > 145s > ## Remainder After Division of Scalar 145s > rem.expected.div.scalar <- 3 145s > test.rem(list(x = 23, y = 5), rem.expected.div.scalar) 145s [1] TRUE 145s > 145s > ## Remainder After Division of Vector 145s > X.vec <- 1:5 145s > rem.expected.div.vec <- c(1, 2, 0, 1, 2) 145s > test.rem(list(x = X.vec, y = 3), rem.expected.div.vec) 145s [1] TRUE 145s > 145s > ## Remainder After Division of Vector by Zero 145s > X.vec <- 1:5 145s > rem.expected.div.vec.by0 <- rep(NaN, length(X.vec)) 145s > test.rem(list(x = X.vec, y = 0), rem.expected.div.vec.by0) 145s [1] TRUE 145s > 145s > ## Remainder After Division for Positive and Negative Values 145s > ## Note that nonzero results have the same sign as the dividend. 145s > X.posneg.vec <- c(-4, -1, 7, 9) 145s > rem.expected.div.posneg.vec <- c(-1, -1, 1, 0) 145s > test.rem(list(x = X.posneg.vec, y = 3), rem.expected.div.posneg.vec) 145s [1] TRUE 145s > 145s > ## Remainder After Division for Floating-Point Values 145s > X.theta <- c(0.0, 3.5, 5.9, 6.2, 9.0, 4 * pi) 145s > b <- 2 * pi; 145s > expected.div.fp.vec <- c(0, 3.5, 5.9, 6.2, 2.716815, 0) 145s > test.rem(list(x = X.theta, y = b), expected.div.fp.vec) 145s [1] FALSE 145s > 145s > ## Remainder After Division of Matrix 145s > X.mat <- matrix(1:9, nrow = 3, byrow = TRUE) 145s > rem.expected.X.mat <- matrix(c(3:1, 6:4, 9:7), nrow = 3, byrow = TRUE) 145s > rem.expected.X.mat.Y0 <- matrix(rep(NaN, length(X.mat)), nrow = nrow(X.mat)) 145s > rem.expected.X.mat.Y1 <- matrix(rep(1, length(X.mat)), nrow = nrow(X.mat)) 145s > rem.expected.X.mat.Y2 <- matrix(rep(c(1, 0), 5)[1:length(X.mat)], 145s + nrow = nrow(X.mat)) 145s > rem.expected.X.mat.Y3 <- matrix(rep(c(1, 2, 0), nrow(X.mat)), 145s + nrow = nrow(X.mat), 145s + byrow = TRUE) 145s > 145s > test.rem(list(x = X.mat, y = 0), rem.expected.X.mat.Y0) 145s [1] TRUE 145s > test.rem(list(x = X.mat, y = 1), rem.expected.X.mat.Y1) 145s [1] FALSE 145s > test.rem(list(x = X.mat, y = 2), rem.expected.X.mat.Y2) 145s [1] TRUE 145s > test.rem(list(x = X.mat, y = 3), rem.expected.X.mat) 145s [1] FALSE 145s > 145s > 145s > ## rem & mod give same results with X, Y having same sign 145s > test.rem(list(x = 5, y = 3), matlab::mod(5, 3)) 145s [1] TRUE 145s > test.rem(list(x = -5, y = -3), matlab::mod(-5, -3)) 145s [1] TRUE 145s > 145s > ## alternate formula used when X, Y having different signs 145s > test.rem(list(x = 5, y = -3), (matlab::mod(5, -3) - -3)) 145s [1] TRUE 145s > test.rem(list(x = -5, y = 3), (matlab::mod(-5, 3) - 3)) 145s [1] TRUE 145s > 145s > 145s BEGIN TEST repmat.R 145s 145s R version 4.3.2 (2023-10-31) -- "Eye Holes" 145s Copyright (C) 2023 The R Foundation for Statistical Computing 145s Platform: x86_64-pc-linux-gnu (64-bit) 145s 145s R is free software and comes with ABSOLUTELY NO WARRANTY. 145s You are welcome to redistribute it under certain conditions. 145s Type 'license()' or 'licence()' for distribution details. 145s 145s R is a collaborative project with many contributors. 145s Type 'contributors()' for more information and 145s 'citation()' on how to cite R or R packages in publications. 145s 145s Type 'demo()' for some demos, 'help()' for on-line help, or 145s 'help.start()' for an HTML browser interface to help. 145s Type 'q()' to quit R. 145s 145s > ### 145s > ### $Id: repmat.R 22 2022-05-30 18:03:47Z proebuck $ 145s > ### 145s > 145s > 145s > ##----------------------------------------------------------------------------- 145s > test.repmat <- function(input, expected) { 145s + output <- do.call(getFromNamespace("repmat", "matlab"), input) 145s + identical(output, expected) 145s + } 145s > 145s > X.scalar <- 1 145s > repmat.expected.ones.3x3 <- matlab::ones(3) 145s > repmat.expected.ones.4x2 <- matlab::ones(4, 2) 145s > test.repmat(list(A = X.scalar, n = 3), repmat.expected.ones.3x3) 145s [1] TRUE 145s > test.repmat(list(A = X.scalar, m = c(4, 2)), repmat.expected.ones.4x2) 145s [1] TRUE 145s > test.repmat(list(A = X.scalar, m = 4, n = 2), repmat.expected.ones.4x2) 145s [1] TRUE 145s > test.repmat(list(A = X.scalar, n = matlab::size(repmat.expected.ones.4x2)), 145s + repmat.expected.ones.4x2) 145s [1] TRUE 145s > 145s > X.mat <- matlab::eye(2) 145s > repmat.expected.pat1 <- matrix(c(rep(c(1,0), times=3), rep(c(0,1), times=3)), 145s + nrow = 6, 145s + ncol = 6) 145s > test.repmat(list(A = X.mat, m = 3), repmat.expected.pat1) 145s [1] TRUE 145s > test.repmat(list(A = X.mat[, 1], c(1, 1)), X.mat[, 1]) 145s [1] TRUE 145s > 145s > X.vec <- as.numeric(1:8) 145s > repmat.expected.pat2 <- matrix(rep(X.vec, 5), nrow = 5, byrow = TRUE) 145s > test.repmat(list(A = as.matrix(X.vec), m = c(5, 1)), repmat.expected.pat2) 145s [1] TRUE 145s > 145s > X.str <- "value" 145s > repmat.expected.str <- matrix(rep(X.str, 4), nrow = 1) 145s > test.repmat(list(A = X.str, m = 1, n = 4), repmat.expected.str) 145s [1] TRUE 145s > 145s > 145s BEGIN TEST reshape.R 145s 145s R version 4.3.2 (2023-10-31) -- "Eye Holes" 145s Copyright (C) 2023 The R Foundation for Statistical Computing 145s Platform: x86_64-pc-linux-gnu (64-bit) 145s 145s R is free software and comes with ABSOLUTELY NO WARRANTY. 145s You are welcome to redistribute it under certain conditions. 145s Type 'license()' or 'licence()' for distribution details. 145s 145s R is a collaborative project with many contributors. 145s Type 'contributors()' for more information and 145s 'citation()' on how to cite R or R packages in publications. 145s 145s Type 'demo()' for some demos, 'help()' for on-line help, or 145s 'help.start()' for an HTML browser interface to help. 145s Type 'q()' to quit R. 145s 145s > ### 145s > ### $Id: reshape.R 22 2022-05-30 18:03:47Z proebuck $ 145s > ### 145s > 145s > 145s > ##----------------------------------------------------------------------------- 145s > test.reshape <- function(input, expected, drop = FALSE) { 145s + ans <- do.call(getFromNamespace("reshape", "matlab"), input) 145s + output <- if (drop) { 145s + drop(ans) 145s + } else { 145s + ans 145s + } 145s + identical(output, expected) 145s + } 145s > 145s > Xmat.4x3 <- matrix(1:12, nrow = 4, ncol = 3) 145s > reshape.expected.mat6x2 <- matrix(1:12, nrow = 6, ncol = 2) 145s > 145s > test.reshape(list(A = Xmat.4x3, m = 6, n = 2), reshape.expected.mat6x2) 145s [1] TRUE 145s > test.reshape(list(A = Xmat.4x3, m = 6, n = 2, p = 1), 145s + reshape.expected.mat6x2, drop = TRUE) 145s [1] TRUE 145s > test.reshape(list(A = Xmat.4x3, c(6, 2)), reshape.expected.mat6x2) 145s [1] TRUE 145s > test.reshape(list(A = Xmat.4x3, matlab::size(reshape.expected.mat6x2)), 145s + reshape.expected.mat6x2) 145s [1] TRUE 145s > 145s > 145s BEGIN TEST rot90.R 145s 145s R version 4.3.2 (2023-10-31) -- "Eye Holes" 145s Copyright (C) 2023 The R Foundation for Statistical Computing 145s Platform: x86_64-pc-linux-gnu (64-bit) 145s 145s R is free software and comes with ABSOLUTELY NO WARRANTY. 145s You are welcome to redistribute it under certain conditions. 145s Type 'license()' or 'licence()' for distribution details. 145s 145s R is a collaborative project with many contributors. 145s Type 'contributors()' for more information and 145s 'citation()' on how to cite R or R packages in publications. 145s 145s Type 'demo()' for some demos, 'help()' for on-line help, or 145s 'help.start()' for an HTML browser interface to help. 145s Type 'q()' to quit R. 145s 145s > ### 145s > ### $Id: rot90.R 22 2022-05-30 18:03:47Z proebuck $ 145s > ### 145s > 145s > 145s > ##----------------------------------------------------------------------------- 145s > test.rot90 <- function(input, expected) { 145s + output <- do.call(getFromNamespace("rot90", "matlab"), input) 145s + identical(output, expected) 145s + } 145s > 145s > X.mat <- matrix(1:9, nrow = 3, byrow = TRUE) 145s > rot90.expected.X.mat <- matrix(c(3:1, 6:4, 9:7), nrow = 3) 145s > rot180.expected.X.mat <- matrix(c(9:7, 6:4, 3:1), nrow = 3, byrow = TRUE) 145s > rot270.expected.X.mat <- matrix(c(7:9, 4:6, 1:3), nrow = 3) 145s > rot360.expected.X.mat <- X.mat 145s > 145s > test.rot90(list(A = X.mat, k = 1), rot90.expected.X.mat) 145s [1] TRUE 145s > test.rot90(list(A = X.mat, k = 2), rot180.expected.X.mat) 146s [1] TRUE 146s > test.rot90(list(A = X.mat, k = 3), rot270.expected.X.mat) 146s [1] TRUE 146s > test.rot90(list(A = X.mat, k = 4), rot360.expected.X.mat) 146s [1] TRUE 146s > 146s > 146s BEGIN TEST size.R 146s 146s R version 4.3.2 (2023-10-31) -- "Eye Holes" 146s Copyright (C) 2023 The R Foundation for Statistical Computing 146s Platform: x86_64-pc-linux-gnu (64-bit) 146s 146s R is free software and comes with ABSOLUTELY NO WARRANTY. 146s You are welcome to redistribute it under certain conditions. 146s Type 'license()' or 'licence()' for distribution details. 146s 146s R is a collaborative project with many contributors. 146s Type 'contributors()' for more information and 146s 'citation()' on how to cite R or R packages in publications. 146s 146s Type 'demo()' for some demos, 'help()' for on-line help, or 146s 'help.start()' for an HTML browser interface to help. 146s Type 'q()' to quit R. 146s 146s > ### 146s > ### $Id: size.R 22 2022-05-30 18:03:47Z proebuck $ 146s > ### 146s > 146s > 146s > ##----------------------------------------------------------------------------- 146s > test.size <- function(input, expected) { 146s + output <- do.call(getFromNamespace("size", "matlab"), input) 146s + identical(as.integer(output), expected) 146s + } 146s > 146s > X.vec <- 2:9 146s > size.expected.X.vec <- c(1, length(X.vec)) 146s > 146s > test.size(list(X = X.vec), size.expected.X.vec) 146s [1] FALSE 146s > test.size(list(X = X.vec, 1), as.integer(1)) 146s [1] TRUE 146s > test.size(list(X = X.vec, 2), length(X.vec)) 146s [1] TRUE 146s > 146s > 146s > X.mat <- matrix(X.vec, 4, 2) 146s > size.expected.X.mat <- dim(X.mat) 146s > 146s > test.size(list(X = X.mat), size.expected.X.mat) 146s [1] TRUE 146s > test.size(list(X = X.mat, 1), size.expected.X.mat[1]) 146s [1] TRUE 146s > test.size(list(X = X.mat, 2), size.expected.X.mat[2]) 146s [1] TRUE 146s > test.size(list(X = X.mat, 3), as.integer(1)) # singleton dimension 146s [1] TRUE 146s > 146s > X.arr <- array(2:25, c(4, 3, 2)) 146s > size.expected.X.arr <- dim(X.arr) 146s > 146s > test.size(list(X = X.arr), size.expected.X.arr) 146s [1] TRUE 146s > test.size(list(X = X.arr, 1), size.expected.X.arr[1]) 146s [1] TRUE 146s > test.size(list(X = X.arr, 2), size.expected.X.arr[2]) 146s [1] TRUE 146s > test.size(list(X = X.arr, 3), size.expected.X.arr[3]) 146s [1] TRUE 146s > 146s > 146s BEGIN TEST std.R 146s 146s R version 4.3.2 (2023-10-31) -- "Eye Holes" 146s Copyright (C) 2023 The R Foundation for Statistical Computing 146s Platform: x86_64-pc-linux-gnu (64-bit) 146s 146s R is free software and comes with ABSOLUTELY NO WARRANTY. 146s You are welcome to redistribute it under certain conditions. 146s Type 'license()' or 'licence()' for distribution details. 146s 146s R is a collaborative project with many contributors. 146s Type 'contributors()' for more information and 146s 'citation()' on how to cite R or R packages in publications. 146s 146s Type 'demo()' for some demos, 'help()' for on-line help, or 146s 'help.start()' for an HTML browser interface to help. 146s Type 'q()' to quit R. 146s 146s > ### 146s > ### $Id: std.R 22 2022-05-30 18:03:47Z proebuck $ 146s > ### 146s > 146s > 146s > ##----------------------------------------------------------------------------- 146s > test.std <- function(input, expected) { 146s + output <- do.call(getFromNamespace("std", "matlab"), input) 146s + identical(all.equal(output, 146s + expected, 146s + tolerance = 0.0001), 146s + TRUE) 146s + } 146s > 146s > X.mat <- matrix(c(1, 5, 9, 7, 15, 22), 2, 3, byrow = TRUE) 146s > std.expected.by.col <- c(4.2426, 7.0711, 9.1924) 146s > std.expected.by.row <- c(4.000, 7.5056) 146s > 146s > test.std(list(x = X.mat), std.expected.by.col) 146s [1] FALSE 146s > test.std(list(x = t(X.mat)), std.expected.by.row) 146s [1] FALSE 146s > 146s > 146s BEGIN TEST strcmp.R 146s 146s R version 4.3.2 (2023-10-31) -- "Eye Holes" 146s Copyright (C) 2023 The R Foundation for Statistical Computing 146s Platform: x86_64-pc-linux-gnu (64-bit) 146s 146s R is free software and comes with ABSOLUTELY NO WARRANTY. 146s You are welcome to redistribute it under certain conditions. 146s Type 'license()' or 'licence()' for distribution details. 146s 146s R is a collaborative project with many contributors. 146s Type 'contributors()' for more information and 146s 'citation()' on how to cite R or R packages in publications. 146s 146s Type 'demo()' for some demos, 'help()' for on-line help, or 146s 'help.start()' for an HTML browser interface to help. 146s Type 'q()' to quit R. 146s 146s > ### 146s > ### $Id: strcmp.R 22 2022-05-30 18:03:47Z proebuck $ 146s > ### 146s > 146s > 146s > ##----------------------------------------------------------------------------- 146s > test.strcmp <- function(input, expected) { 146s + output <- do.call(getFromNamespace("strcmp", "matlab"), input) 146s + identical(output, expected) 146s + } 146s > 146s > test.strcmp(list(S = "foo", T = "foo"), TRUE) 146s [1] TRUE 146s > test.strcmp(list(S = "foo", T = "bar"), FALSE) 146s [1] TRUE 146s > test.strcmp(list(S = c("foo", "bar"), 146s + T = c("foo", "bar")), TRUE) 146s [1] TRUE 146s > # Case matters... 146s > test.strcmp(list(S = c("foo", "bar"), 146s + T = c("FOO", "BAR")), FALSE) 146s [1] TRUE 146s > # Number of elements of each must match... 146s > test.strcmp(list(S = c("foo", "bar"), 146s + T = c("foo", "bar", "baz")), FALSE) 146s [1] TRUE 146s > test.strcmp(list(S = c("foo", "bar", "baz"), 146s + T = c("xxx", "bar", "xxx")), FALSE) 146s [1] TRUE 146s > 146s > 146s BEGIN TEST sum.R 146s 146s R version 4.3.2 (2023-10-31) -- "Eye Holes" 146s Copyright (C) 2023 The R Foundation for Statistical Computing 146s Platform: x86_64-pc-linux-gnu (64-bit) 146s 146s R is free software and comes with ABSOLUTELY NO WARRANTY. 146s You are welcome to redistribute it under certain conditions. 146s Type 'license()' or 'licence()' for distribution details. 146s 146s R is a collaborative project with many contributors. 146s Type 'contributors()' for more information and 146s 'citation()' on how to cite R or R packages in publications. 146s 146s Type 'demo()' for some demos, 'help()' for on-line help, or 146s 'help.start()' for an HTML browser interface to help. 146s Type 'q()' to quit R. 146s 146s > ### 146s > ### $Id: sum.R 22 2022-05-30 18:03:47Z proebuck $ 146s > ### 146s > 146s > 146s > ##----------------------------------------------------------------------------- 146s > test.sum <- function(input, expected) { 146s + output <- do.call(getFromNamespace("sum", "matlab"), input) 146s + identical(all.equal(output, 146s + expected, 146s + tolerance = 0.0001), 146s + TRUE) 146s + } 146s > 146s > X.vec <- 1:9 146s > sum.expected.vec <- 45 146s > 146s > cat("vector test", "\n") 146s vector test 146s > test.sum(list(x = X.vec, na.rm = FALSE), sum.expected.vec) 146s [1] TRUE 146s > 146s > X.mat <- matrix(X.vec, 3, 3, byrow = TRUE) 146s > sum.expected.mat.by.col <- c(12, 15, 18) 146s > sum.expected.mat.by.row <- c(6, 15, 24) 146s > 146s > cat("matrix test", "\n") 146s matrix test 146s > test.sum(list(x = X.mat, na.rm = FALSE), sum.expected.mat.by.col) 146s [1] TRUE 146s > test.sum(list(x = t(X.mat), na.rm = FALSE), sum.expected.mat.by.row) 146s [1] TRUE 146s > 146s > X.log <- c(TRUE, TRUE, FALSE, TRUE) 146s > sum.expected.log <- 3 146s > 146s > cat("logical test", "\n") 146s logical test 146s > test.sum(list(x = X.log, na.rm = FALSE), sum.expected.log) 146s [1] TRUE 146s > 146s > 146s BEGIN TEST tictoc.R 147s 147s R version 4.3.2 (2023-10-31) -- "Eye Holes" 147s Copyright (C) 2023 The R Foundation for Statistical Computing 147s Platform: x86_64-pc-linux-gnu (64-bit) 147s 147s R is free software and comes with ABSOLUTELY NO WARRANTY. 147s You are welcome to redistribute it under certain conditions. 147s Type 'license()' or 'licence()' for distribution details. 147s 147s R is a collaborative project with many contributors. 147s Type 'contributors()' for more information and 147s 'citation()' on how to cite R or R packages in publications. 147s 147s Type 'demo()' for some demos, 'help()' for on-line help, or 147s 'help.start()' for an HTML browser interface to help. 147s Type 'q()' to quit R. 147s 147s > ### 147s > ### $Id: tictoc.R 22 2022-05-30 18:03:47Z proebuck $ 147s > ### 147s > 147s > 147s > ##----------------------------------------------------------------------------- 147s > test.toc <- function(delay, expected) { 147s + Sys.sleep(delay) 147s + output <- matlab::toc(FALSE) 147s + all.equal(output, 147s + expected, 147s + tolerance = 0.10) 147s + } 147s > 147s > matlab::tic() 147s > try(test.toc(4, 4)) 151s [1] "names for target but not for current" 151s > try(test.toc(2, 4+2)) 153s [1] "names for target but not for current" 153s > 153s > 153s BEGIN TEST vander.R 153s 153s R version 4.3.2 (2023-10-31) -- "Eye Holes" 153s Copyright (C) 2023 The R Foundation for Statistical Computing 153s Platform: x86_64-pc-linux-gnu (64-bit) 153s 153s R is free software and comes with ABSOLUTELY NO WARRANTY. 153s You are welcome to redistribute it under certain conditions. 153s Type 'license()' or 'licence()' for distribution details. 153s 153s R is a collaborative project with many contributors. 153s Type 'contributors()' for more information and 153s 'citation()' on how to cite R or R packages in publications. 153s 153s Type 'demo()' for some demos, 'help()' for on-line help, or 153s 'help.start()' for an HTML browser interface to help. 153s Type 'q()' to quit R. 153s 153s > ### 153s > ### $Id: vander.R 22 2022-05-30 18:03:47Z proebuck $ 153s > ### 153s > 153s > 153s > ##----------------------------------------------------------------------------- 153s > test.vander <- function(input, expected) { 153s + output <- do.call(getFromNamespace("vander", "matlab"), input) 153s + identical(output, expected) 153s + } 153s > 153s > vander.expected.empty <- matrix(as.numeric(NA), nrow=0, ncol=0) 153s > vander.expected.scalar <- matrix(1.0, nrow=1, ncol=1) 153s > vander.expected.seq3 <- matrix(c( 1, 1, 1, 1, 1, 153s + 5.0625, 3.375, 2.25, 1.5, 1, 153s + 16, 8, 4, 2, 1, 153s + 39.0625, 15.625, 6.25, 2.5, 1, 153s + 81, 27, 9, 3, 1), 153s + nrow=5, ncol=5, byrow=TRUE) 153s > vander.expected.complex <- matrix(c(-1, 0.0 + 1i, 1.0, 153s + -4, 0.0 + 2i, 1.0, 153s + -9, 0.0 + 3i, 1.0), 153s + nrow=3, ncol=3, byrow=TRUE) 153s > 153s > test.vander(list(v=numeric()), vander.expected.empty) 153s [1] TRUE 153s > test.vander(list(v=1), vander.expected.scalar) 153s [1] TRUE 153s > test.vander(list(v=seq(from=1, to=3, by=0.5)), vander.expected.seq3) 153s [1] TRUE 153s > test.vander(list(v=c(1,2,3)*1i), vander.expected.complex) 153s [1] TRUE 153s > 153s > 153s BEGIN TEST zeros.R 153s 153s R version 4.3.2 (2023-10-31) -- "Eye Holes" 153s Copyright (C) 2023 The R Foundation for Statistical Computing 153s Platform: x86_64-pc-linux-gnu (64-bit) 153s 153s R is free software and comes with ABSOLUTELY NO WARRANTY. 153s You are welcome to redistribute it under certain conditions. 153s Type 'license()' or 'licence()' for distribution details. 153s 153s R is a collaborative project with many contributors. 153s Type 'contributors()' for more information and 153s 'citation()' on how to cite R or R packages in publications. 153s 153s Type 'demo()' for some demos, 'help()' for on-line help, or 153s 'help.start()' for an HTML browser interface to help. 153s Type 'q()' to quit R. 153s 153s > ### 153s > ### $Id: zeros.R 22 2022-05-30 18:03:47Z proebuck $ 153s > ### 153s > 153s > 153s > ##----------------------------------------------------------------------------- 153s > test.zeros <- function(input, expected) { 153s + output <- do.call(getFromNamespace("zeros", "matlab"), input) 153s + identical(output, expected) 153s + } 153s > 153s > zeros.expected.3x3 <- matrix(0, nrow = 3, ncol = 3) 153s > zeros.expected.4x2 <- matrix(0, nrow = 4, ncol = 2) 153s > 153s > test.zeros(list(n = 3), zeros.expected.3x3) 153s [1] TRUE 153s > test.zeros(list(n = c(4, 2)), zeros.expected.4x2) 153s [1] TRUE 153s > test.zeros(list(m = 4, n = 2), zeros.expected.4x2) 153s [1] TRUE 153s > test.zeros(list(n = matlab::size(zeros.expected.4x2)), zeros.expected.4x2) 153s [1] TRUE 153s > 153s > 154s autopkgtest [04:18:32]: test run-unit-test: -----------------------] 154s autopkgtest [04:18:32]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 154s run-unit-test PASS 154s autopkgtest [04:18:32]: test pkg-r-autopkgtest: preparing testbed 156s Note, using file '/tmp/autopkgtest.Ad0pQg/3-autopkgtest-satdep.dsc' to get the build dependencies 156s Reading package lists... 156s Building dependency tree... 156s Reading state information... 156s Starting pkgProblemResolver with broken count: 0 156s Starting 2 pkgProblemResolver with broken count: 0 156s Done 157s The following NEW packages will be installed: 157s dctrl-tools gfortran gfortran-13 gfortran-13-x86-64-linux-gnu 157s gfortran-x86-64-linux-gnu icu-devtools libblas-dev libbz2-dev 157s libgfortran-13-dev libicu-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 157s liblapack-dev liblzma-dev libncurses-dev libpcre2-16-0 libpcre2-32-0 157s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev 157s pkg-config pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev zlib1g-dev 157s 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. 157s Need to get 33.6 MB of archives. 157s After this operation, 130 MB of additional disk space will be used. 157s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 dctrl-tools amd64 2.24-3build2 [66.9 kB] 157s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 libgfortran-13-dev amd64 13.2.0-17ubuntu2 [942 kB] 157s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [11.6 MB] 157s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-13 amd64 13.2.0-17ubuntu2 [10.3 kB] 157s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1024 B] 157s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran amd64 4:13.2.0-7ubuntu1 [1176 B] 157s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 icu-devtools amd64 74.2-1ubuntu1 [212 kB] 157s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libblas-dev amd64 3.12.0-3 [170 kB] 157s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libbz2-dev amd64 1.0.8-5ubuntu1 [33.6 kB] 157s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 libicu-dev amd64 74.2-1ubuntu1 [11.9 MB] 157s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-turbo8-dev amd64 2.1.5-2ubuntu1 [294 kB] 157s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg8-dev amd64 8c-2ubuntu11 [1484 B] 157s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-dev amd64 8c-2ubuntu11 [1482 B] 157s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 liblapack-dev amd64 3.12.0-3 [5196 kB] 157s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libncurses-dev amd64 6.4+20240113-1ubuntu1 [384 kB] 157s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu1 [211 kB] 157s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu1 [198 kB] 157s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu1 [6808 B] 157s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-dev amd64 10.42-4ubuntu1 [743 kB] 157s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libpkgconf3 amd64 1.8.1-2 [31.1 kB] 157s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3ubuntu1 [896 kB] 157s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libpng-dev amd64 1.6.43-1 [264 kB] 157s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libreadline-dev amd64 8.2-3 [167 kB] 157s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 pkgconf-bin amd64 1.8.1-2 [20.7 kB] 157s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 pkgconf amd64 1.8.1-2 [16.8 kB] 157s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 pkg-config amd64 1.8.1-2 [7170 B] 157s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 liblzma-dev amd64 5.4.5-0.3 [205 kB] 157s Get:28 http://ftpmaster.internal/ubuntu noble/universe amd64 r-base-dev all 4.3.2-1build1 [4336 B] 157s Get:29 http://ftpmaster.internal/ubuntu noble/universe amd64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 157s Fetched 33.6 MB in 0s (83.8 MB/s) 157s Selecting previously unselected package dctrl-tools. 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 ... 76500 files and directories currently installed.) 157s Preparing to unpack .../00-dctrl-tools_2.24-3build2_amd64.deb ... 157s Unpacking dctrl-tools (2.24-3build2) ... 157s Selecting previously unselected package libgfortran-13-dev:amd64. 157s Preparing to unpack .../01-libgfortran-13-dev_13.2.0-17ubuntu2_amd64.deb ... 157s Unpacking libgfortran-13-dev:amd64 (13.2.0-17ubuntu2) ... 157s Selecting previously unselected package gfortran-13-x86-64-linux-gnu. 157s Preparing to unpack .../02-gfortran-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 157s Unpacking gfortran-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 158s Selecting previously unselected package gfortran-13. 158s Preparing to unpack .../03-gfortran-13_13.2.0-17ubuntu2_amd64.deb ... 158s Unpacking gfortran-13 (13.2.0-17ubuntu2) ... 158s Selecting previously unselected package gfortran-x86-64-linux-gnu. 158s Preparing to unpack .../04-gfortran-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 158s Unpacking gfortran-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 158s Selecting previously unselected package gfortran. 158s Preparing to unpack .../05-gfortran_4%3a13.2.0-7ubuntu1_amd64.deb ... 158s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 158s Selecting previously unselected package icu-devtools. 158s Preparing to unpack .../06-icu-devtools_74.2-1ubuntu1_amd64.deb ... 158s Unpacking icu-devtools (74.2-1ubuntu1) ... 158s Selecting previously unselected package libblas-dev:amd64. 158s Preparing to unpack .../07-libblas-dev_3.12.0-3_amd64.deb ... 158s Unpacking libblas-dev:amd64 (3.12.0-3) ... 158s Selecting previously unselected package libbz2-dev:amd64. 158s Preparing to unpack .../08-libbz2-dev_1.0.8-5ubuntu1_amd64.deb ... 158s Unpacking libbz2-dev:amd64 (1.0.8-5ubuntu1) ... 158s Selecting previously unselected package libicu-dev:amd64. 158s Preparing to unpack .../09-libicu-dev_74.2-1ubuntu1_amd64.deb ... 158s Unpacking libicu-dev:amd64 (74.2-1ubuntu1) ... 158s Selecting previously unselected package libjpeg-turbo8-dev:amd64. 158s Preparing to unpack .../10-libjpeg-turbo8-dev_2.1.5-2ubuntu1_amd64.deb ... 158s Unpacking libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu1) ... 158s Selecting previously unselected package libjpeg8-dev:amd64. 158s Preparing to unpack .../11-libjpeg8-dev_8c-2ubuntu11_amd64.deb ... 158s Unpacking libjpeg8-dev:amd64 (8c-2ubuntu11) ... 158s Selecting previously unselected package libjpeg-dev:amd64. 158s Preparing to unpack .../12-libjpeg-dev_8c-2ubuntu11_amd64.deb ... 158s Unpacking libjpeg-dev:amd64 (8c-2ubuntu11) ... 158s Selecting previously unselected package liblapack-dev:amd64. 158s Preparing to unpack .../13-liblapack-dev_3.12.0-3_amd64.deb ... 158s Unpacking liblapack-dev:amd64 (3.12.0-3) ... 158s Selecting previously unselected package libncurses-dev:amd64. 158s Preparing to unpack .../14-libncurses-dev_6.4+20240113-1ubuntu1_amd64.deb ... 158s Unpacking libncurses-dev:amd64 (6.4+20240113-1ubuntu1) ... 158s Selecting previously unselected package libpcre2-16-0:amd64. 158s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_amd64.deb ... 158s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu1) ... 158s Selecting previously unselected package libpcre2-32-0:amd64. 158s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_amd64.deb ... 158s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu1) ... 158s Selecting previously unselected package libpcre2-posix3:amd64. 158s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_amd64.deb ... 158s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu1) ... 158s Selecting previously unselected package libpcre2-dev:amd64. 158s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_amd64.deb ... 158s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu1) ... 158s Selecting previously unselected package libpkgconf3:amd64. 158s Preparing to unpack .../19-libpkgconf3_1.8.1-2_amd64.deb ... 158s Unpacking libpkgconf3:amd64 (1.8.1-2) ... 158s Selecting previously unselected package zlib1g-dev:amd64. 158s Preparing to unpack .../20-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_amd64.deb ... 158s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3ubuntu1) ... 158s Selecting previously unselected package libpng-dev:amd64. 158s Preparing to unpack .../21-libpng-dev_1.6.43-1_amd64.deb ... 158s Unpacking libpng-dev:amd64 (1.6.43-1) ... 159s Selecting previously unselected package libreadline-dev:amd64. 159s Preparing to unpack .../22-libreadline-dev_8.2-3_amd64.deb ... 159s Unpacking libreadline-dev:amd64 (8.2-3) ... 159s Selecting previously unselected package pkgconf-bin. 159s Preparing to unpack .../23-pkgconf-bin_1.8.1-2_amd64.deb ... 159s Unpacking pkgconf-bin (1.8.1-2) ... 159s Selecting previously unselected package pkgconf:amd64. 159s Preparing to unpack .../24-pkgconf_1.8.1-2_amd64.deb ... 159s Unpacking pkgconf:amd64 (1.8.1-2) ... 159s Selecting previously unselected package pkg-config:amd64. 159s Preparing to unpack .../25-pkg-config_1.8.1-2_amd64.deb ... 159s Unpacking pkg-config:amd64 (1.8.1-2) ... 159s Selecting previously unselected package liblzma-dev:amd64. 159s Preparing to unpack .../26-liblzma-dev_5.4.5-0.3_amd64.deb ... 159s Unpacking liblzma-dev:amd64 (5.4.5-0.3) ... 159s Selecting previously unselected package r-base-dev. 159s Preparing to unpack .../27-r-base-dev_4.3.2-1build1_all.deb ... 159s Unpacking r-base-dev (4.3.2-1build1) ... 159s Selecting previously unselected package pkg-r-autopkgtest. 159s Preparing to unpack .../28-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 159s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 159s Setting up libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu1) ... 159s Setting up libncurses-dev:amd64 (6.4+20240113-1ubuntu1) ... 159s Setting up libreadline-dev:amd64 (8.2-3) ... 159s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu1) ... 159s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu1) ... 159s Setting up libpkgconf3:amd64 (1.8.1-2) ... 159s Setting up icu-devtools (74.2-1ubuntu1) ... 159s Setting up pkgconf-bin (1.8.1-2) ... 159s Setting up liblzma-dev:amd64 (5.4.5-0.3) ... 159s Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3ubuntu1) ... 159s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu1) ... 159s Setting up libjpeg8-dev:amd64 (8c-2ubuntu11) ... 159s Setting up libgfortran-13-dev:amd64 (13.2.0-17ubuntu2) ... 159s Setting up libicu-dev:amd64 (74.2-1ubuntu1) ... 159s Setting up libblas-dev:amd64 (3.12.0-3) ... 159s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode 159s Setting up dctrl-tools (2.24-3build2) ... 159s Setting up libbz2-dev:amd64 (1.0.8-5ubuntu1) ... 159s Setting up libpcre2-dev:amd64 (10.42-4ubuntu1) ... 159s Setting up libpng-dev:amd64 (1.6.43-1) ... 159s Setting up libjpeg-dev:amd64 (8c-2ubuntu11) ... 159s Setting up gfortran-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 159s Setting up pkgconf:amd64 (1.8.1-2) ... 159s Setting up gfortran-13 (13.2.0-17ubuntu2) ... 159s Setting up liblapack-dev:amd64 (3.12.0-3) ... 159s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode 159s Setting up pkg-config:amd64 (1.8.1-2) ... 159s Setting up gfortran-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 159s Setting up gfortran (4:13.2.0-7ubuntu1) ... 159s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 159s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 159s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 159s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 159s Setting up r-base-dev (4.3.2-1build1) ... 159s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 159s Processing triggers for libc-bin (2.39-0ubuntu2) ... 159s Processing triggers for man-db (2.12.0-3) ... 159s Processing triggers for install-info (7.1-3) ... 162s Reading package lists... 162s Building dependency tree... 162s Reading state information... 163s Starting pkgProblemResolver with broken count: 0 163s Starting 2 pkgProblemResolver with broken count: 0 163s Done 163s The following NEW packages will be installed: 163s autopkgtest-satdep 163s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 163s Need to get 0 B/700 B of archives. 163s After this operation, 0 B of additional disk space will be used. 163s Get:1 /tmp/autopkgtest.Ad0pQg/4-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [700 B] 163s Selecting previously unselected package autopkgtest-satdep. 163s (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 ... 77229 files and directories currently installed.) 163s Preparing to unpack .../4-autopkgtest-satdep.deb ... 163s Unpacking autopkgtest-satdep (0) ... 164s Setting up autopkgtest-satdep (0) ... 165s (Reading database ... 77229 files and directories currently installed.) 165s Removing autopkgtest-satdep (0) ... 165s autopkgtest [04:18:43]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 165s autopkgtest [04:18:43]: test pkg-r-autopkgtest: [----------------------- 165s Test: Try to load the R library matlab 165s 165s R version 4.3.2 (2023-10-31) -- "Eye Holes" 165s Copyright (C) 2023 The R Foundation for Statistical Computing 165s Platform: x86_64-pc-linux-gnu (64-bit) 165s 165s R is free software and comes with ABSOLUTELY NO WARRANTY. 165s You are welcome to redistribute it under certain conditions. 165s Type 'license()' or 'licence()' for distribution details. 165s 165s R is a collaborative project with many contributors. 165s Type 'contributors()' for more information and 165s 'citation()' on how to cite R or R packages in publications. 165s 165s Type 'demo()' for some demos, 'help()' for on-line help, or 165s 'help.start()' for an HTML browser interface to help. 165s Type 'q()' to quit R. 165s 165s > library('matlab') 165s 165s Attaching package: ‘matlab’ 165s 165s The following object is masked from ‘package:stats’: 165s 165s reshape 165s 165s The following objects are masked from ‘package:utils’: 165s 165s find, fix 165s 165s > 165s > 165s The following object is masked from ‘package:base’: 165s 165s sum 165s 165s Other tests are currently unsupported! 165s They will be progressively added. 166s autopkgtest [04:18:44]: test pkg-r-autopkgtest: -----------------------] 166s autopkgtest [04:18:44]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 166s pkg-r-autopkgtest PASS 166s autopkgtest [04:18:44]: @@@@@@@@@@@@@@@@@@@@ summary 166s run-unit-test PASS 166s pkg-r-autopkgtest PASS 177s Creating nova instance adt-noble-i386-r-cran-matlab-20240323-041558-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-amd64-server-20240323.img (UUID 5df8a563-0957-4fdd-8453-862df650aaf8)...