0s autopkgtest [19:32:58]: starting date and time: 2024-03-16 19:32:58+0000 0s autopkgtest [19:32:58]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [19:32:58]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0dil1skb/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:r-base,src:curl,src:glib2.0,src:libpng1.6,src:libpsl,src:libtirpc,src:libxt,src:openssl,src:orthanc-python,src:readline,src:wp2latex --apt-upgrade r-cran-pracma --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 curl/8.5.0-2ubuntu7 glib2.0/2.79.3-3ubuntu5 libpng1.6/1.6.43-3 libpsl/0.21.2-1.1 libtirpc/1.3.4+ds-1.1 libxt/1:1.2.1-1.2 openssl/3.0.13-0ubuntu1 orthanc-python/4.1+ds-2build3 readline/8.2-3.1 wp2latex/4.4~ds-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-arm64-13.secgroup --name adt-noble-arm64-r-cran-pracma-20240316-193258-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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/ 170s autopkgtest [19:35:48]: testbed dpkg architecture: arm64 171s autopkgtest [19:35:49]: testbed apt version: 2.7.12 171s autopkgtest [19:35:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 172s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 173s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3657 kB] 174s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 174s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 174s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [474 kB] 174s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [646 kB] 175s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 175s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 175s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 175s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4013 kB] 175s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 175s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [55.5 kB] 175s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 189s Fetched 9065 kB in 6s (1403 kB/s) 189s Reading package lists... 198s Reading package lists... 199s Building dependency tree... 199s Reading state information... 201s Calculating upgrade... 203s The following packages will be REMOVED: 203s libglib2.0-0 libssl3 203s The following NEW packages will be installed: 203s libglib2.0-0t64 libssl3t64 xdg-user-dirs 203s The following packages have been kept back: 203s curl 203s The following packages will be upgraded: 203s gir1.2-glib-2.0 libglib2.0-data libtirpc-common openssl readline-common 203s 5 upgraded, 3 newly installed, 2 to remove and 1 not upgraded. 203s Need to get 4592 kB of archives. 203s After this operation, 211 kB of additional disk space will be used. 203s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 203s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 203s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu1 [983 kB] 204s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu1 [1770 kB] 204s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 204s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc-common all 1.3.4+ds-1.1 [8018 B] 204s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB] 204s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 205s Fetched 4592 kB in 1s (4937 kB/s) 206s (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 ... 75850 files and directories currently installed.) 206s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 206s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 206s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 206s udisks2 depends on libglib2.0-0 (>= 2.77.0). 206s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 206s python3-gi depends on libglib2.0-0 (>= 2.77.0). 206s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 206s netplan.io depends on libglib2.0-0 (>= 2.70.0). 206s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 206s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 206s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 206s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 206s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 206s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 206s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 206s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 206s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 206s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 207s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 207s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 207s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 207s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 207s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 207s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 207s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 207s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 207s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 207s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 207s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 207s fwupd depends on libglib2.0-0 (>= 2.79.0). 207s bolt depends on libglib2.0-0 (>= 2.56.0). 207s 207s (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 ... 75850 files and directories currently installed.) 207s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 207s Selecting previously unselected package libglib2.0-0t64:arm64. 207s (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 ... 75825 files and directories currently installed.) 207s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 207s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 207s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 207s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 207s Preparing to unpack .../openssl_3.0.13-0ubuntu1_arm64.deb ... 207s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 208s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 208s wget depends on libssl3 (>= 3.0.0). 208s u-boot-tools depends on libssl3 (>= 3.0.0). 208s tnftp depends on libssl3 (>= 3.0.0). 208s tcpdump depends on libssl3 (>= 3.0.0). 208s systemd-resolved depends on libssl3 (>= 3.0.0). 208s systemd depends on libssl3 (>= 3.0.0). 208s sudo depends on libssl3 (>= 3.0.0). 208s sbsigntool depends on libssl3 (>= 3.0.0). 208s rsync depends on libssl3 (>= 3.0.0). 208s python3-cryptography depends on libssl3 (>= 3.0.0). 208s openssh-server depends on libssl3 (>= 3.0.10). 208s openssh-client depends on libssl3 (>= 3.0.10). 208s mtd-utils depends on libssl3 (>= 3.0.0). 208s mokutil depends on libssl3 (>= 3.0.0). 208s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 208s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 208s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 208s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 208s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 208s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 208s libpython3.11-minimal:arm64 depends on libssl3 (>= 3.0.0). 208s libnvme1 depends on libssl3 (>= 3.0.0). 208s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 208s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 208s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 208s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 208s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 208s kmod depends on libssl3 (>= 3.0.0). 208s dhcpcd-base depends on libssl3 (>= 3.0.0). 208s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 208s 208s (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 ... 75850 files and directories currently installed.) 208s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 208s Selecting previously unselected package libssl3t64:arm64. 209s (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 ... 75839 files and directories currently installed.) 209s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu1_arm64.deb ... 209s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu1) ... 209s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 209s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 209s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 209s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 209s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 209s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 209s Selecting previously unselected package xdg-user-dirs. 209s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 209s Unpacking xdg-user-dirs (0.18-1) ... 209s Setting up xdg-user-dirs (0.18-1) ... 209s Setting up libssl3t64:arm64 (3.0.13-0ubuntu1) ... 209s Setting up libtirpc-common (1.3.4+ds-1.1) ... 209s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 209s No schema files found: doing nothing. 209s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 209s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 209s Setting up openssl (3.0.13-0ubuntu1) ... 210s Setting up readline-common (8.2-3.1) ... 210s Processing triggers for man-db (2.12.0-3) ... 212s Processing triggers for install-info (7.1-3) ... 212s Processing triggers for libc-bin (2.39-0ubuntu2) ... 213s Reading package lists... 214s Building dependency tree... 214s Reading state information... 216s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 217s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 217s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 217s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 217s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 225s Reading package lists... 225s Reading package lists... 226s Building dependency tree... 226s Reading state information... 228s Calculating upgrade... 229s The following packages have been kept back: 229s curl 230s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 230s Reading package lists... 231s Building dependency tree... 231s Reading state information... 233s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 238s autopkgtest [19:36:56]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 238s autopkgtest [19:36:56]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-pracma 241s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-pracma 2.4.4-1 (dsc) [2123 B] 241s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-pracma 2.4.4-1 (tar) [398 kB] 241s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-pracma 2.4.4-1 (diff) [3008 B] 242s gpgv: Signature made Tue Nov 21 15:31:55 2023 UTC 242s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 242s gpgv: issuer "tille@debian.org" 242s gpgv: Can't check signature: No public key 242s dpkg-source: warning: cannot verify inline signature for ./r-cran-pracma_2.4.4-1.dsc: no acceptable signature found 243s autopkgtest [19:37:01]: testing package r-cran-pracma version 2.4.4-1 243s autopkgtest [19:37:01]: build not needed 245s autopkgtest [19:37:03]: test run-unit-test: preparing testbed 253s Reading package lists... 254s Building dependency tree... 254s Reading state information... 256s Starting pkgProblemResolver with broken count: 0 256s Starting 2 pkgProblemResolver with broken count: 0 256s Done 258s The following additional packages will be installed: 258s curl fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 258s libblas3 libcairo2 libcurl4t64 libdatrie1 libdeflate0 libfontconfig1 258s libgfortran5 libgomp1 libgraphite2-3 libharfbuzz0b libice6 libjbig0 258s libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 libpango-1.0-0 258s libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 258s libpng16-16t64 libpsl5t64 libreadline8t64 libsharpyuv0 libsm6 libtcl8.6 258s libthai-data libthai0 libtiff6 libtirpc3t64 libtk8.6 libwebp7 libxcb-render0 258s libxcb-shm0 libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-pracma 258s r-cran-quadprog unzip x11-common xdg-utils zip 258s Suggested packages: 258s tcl8.6 tk8.6 elpa-ess r-doc-info | r-doc-pdf r-mathlib r-base-html 258s Recommended packages: 258s r-recommended r-base-dev r-doc-html libfile-mimeinfo-perl libnet-dbus-perl 258s libx11-protocol-perl x11-utils x11-xserver-utils 259s The following packages will be REMOVED: 259s libcurl4 libpng16-16 libpsl5 libreadline8 libtirpc3 259s The following NEW packages will be installed: 259s autopkgtest-satdep fontconfig fontconfig-config fonts-dejavu-core 259s fonts-dejavu-mono libblas3 libcairo2 libcurl4t64 libdatrie1 libdeflate0 259s libfontconfig1 libgfortran5 libgomp1 libgraphite2-3 libharfbuzz0b libice6 259s libjbig0 libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 libpango-1.0-0 259s libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 259s libpng16-16t64 libpsl5t64 libreadline8t64 libsharpyuv0 libsm6 libtcl8.6 259s libthai-data libthai0 libtiff6 libtirpc3t64 libtk8.6 libwebp7 libxcb-render0 259s libxcb-shm0 libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-pracma 259s r-cran-quadprog unzip x11-common xdg-utils zip 259s The following packages will be upgraded: 259s curl 259s 1 upgraded, 52 newly installed, 5 to remove and 0 not upgraded. 259s Need to get 39.4 MB/39.4 MB of archives. 259s After this operation, 77.4 MB of additional disk space will be used. 259s Get:1 /tmp/autopkgtest.gAKHKa/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [720 B] 259s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpsl5t64 arm64 0.21.2-1.1 [57.4 kB] 259s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 curl arm64 8.5.0-2ubuntu7 [222 kB] 259s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl4t64 arm64 8.5.0-2ubuntu7 [332 kB] 259s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpng16-16t64 arm64 1.6.43-3 [185 kB] 259s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline8t64 arm64 8.2-3.1 [153 kB] 259s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc3t64 arm64 1.3.4+ds-1.1 [83.5 kB] 260s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 260s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 260s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig-config arm64 2.15.0-1ubuntu1 [37.0 kB] 260s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libfontconfig1 arm64 2.15.0-1ubuntu1 [142 kB] 260s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig arm64 2.15.0-1ubuntu1 [190 kB] 260s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libblas3 arm64 3.12.0-3 [143 kB] 260s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 260s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB] 260s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 260s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 260s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libcairo2 arm64 1.18.0-1 [550 kB] 260s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libdatrie1 arm64 0.2.13-3 [21.7 kB] 260s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libdeflate0 arm64 1.19-1 [43.4 kB] 260s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran5 arm64 14-20240303-1ubuntu1 [444 kB] 260s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 260s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libgraphite2-3 arm64 1.3.14-2 [81.5 kB] 260s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libharfbuzz0b arm64 8.3.0-2 [463 kB] 260s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 260s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 260s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu1 [160 kB] 260s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 260s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack3 arm64 3.12.0-3 [2241 kB] 260s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu1 [153 kB] 260s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libthai-data all 0.1.29-2 [158 kB] 260s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libthai0 arm64 0.1.29-2 [18.1 kB] 261s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libpango-1.0-0 arm64 1.51.0+ds-4 [226 kB] 261s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libpangoft2-1.0-0 arm64 1.51.0+ds-4 [41.2 kB] 261s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libpangocairo-1.0-0 arm64 1.51.0+ds-4 [27.6 kB] 261s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libpaper1 arm64 1.1.29 [13.1 kB] 261s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libpaper-utils arm64 1.1.29 [8480 B] 261s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libsharpyuv0 arm64 1.3.2-0.4 [14.4 kB] 261s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 261s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtcl8.6 arm64 8.6.13+dfsg-2 [980 kB] 261s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libjbig0 arm64 2.1-6.1ubuntu1 [28.9 kB] 261s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libwebp7 arm64 1.3.2-0.4 [191 kB] 261s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libtiff6 arm64 4.5.1+git230720-3ubuntu1 [226 kB] 261s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libxft2 arm64 2.3.6-1 [43.3 kB] 261s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libxss1 arm64 1:1.2.3-1build2 [8252 B] 261s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libtk8.6 arm64 8.6.13-2 [760 kB] 261s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxt6t64 arm64 1:1.2.1-1.2 [168 kB] 261s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 zip arm64 3.0-13 [172 kB] 261s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 unzip arm64 6.0-28ubuntu3 [171 kB] 261s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] 261s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 r-base-core arm64 4.3.3-2build1 [26.8 MB] 263s Get:52 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-pracma all 2.4.4-1 [1690 kB] 263s Get:53 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-quadprog arm64 1.5-8-1build1 [29.8 kB] 265s Preconfiguring packages ... 265s Fetched 39.4 MB in 4s (9602 kB/s) 265s dpkg: libpsl5:arm64: dependency problems, but removing anyway as you requested: 265s wget depends on libpsl5 (>= 0.16.0). 265s libcurl4:arm64 depends on libpsl5 (>= 0.16.0). 265s libcurl3-gnutls:arm64 depends on libpsl5 (>= 0.16.0). 265s 266s (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 ... 75866 files and directories currently installed.) 266s Removing libpsl5:arm64 (0.21.2-1build1) ... 266s Selecting previously unselected package libpsl5t64:arm64. 266s (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 ... 75861 files and directories currently installed.) 266s Preparing to unpack .../libpsl5t64_0.21.2-1.1_arm64.deb ... 266s Unpacking libpsl5t64:arm64 (0.21.2-1.1) ... 266s Preparing to unpack .../curl_8.5.0-2ubuntu7_arm64.deb ... 266s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 266s (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 ... 75867 files and directories currently installed.) 266s Removing libcurl4:arm64 (8.5.0-2ubuntu2) ... 267s Selecting previously unselected package libcurl4t64:arm64. 267s (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 ... 75862 files and directories currently installed.) 267s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_arm64.deb ... 267s Unpacking libcurl4t64:arm64 (8.5.0-2ubuntu7) ... 267s dpkg: libpng16-16:arm64: dependency problems, but removing anyway as you requested: 267s libplymouth5:arm64 depends on libpng16-16 (>= 1.6.2). 267s libfreetype6:arm64 depends on libpng16-16 (>= 1.6.2-1). 267s 267s (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 ... 75868 files and directories currently installed.) 267s Removing libpng16-16:arm64 (1.6.43-1) ... 267s Selecting previously unselected package libpng16-16t64:arm64. 267s (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 ... 75858 files and directories currently installed.) 267s Preparing to unpack .../libpng16-16t64_1.6.43-3_arm64.deb ... 267s Unpacking libpng16-16t64:arm64 (1.6.43-3) ... 268s dpkg: libreadline8:arm64: dependency problems, but removing anyway as you requested: 268s parted depends on libreadline8 (>= 6.0). 268s libpython3.12-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 268s libpython3.11-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 268s gpgsm depends on libreadline8 (>= 6.0). 268s gpgconf depends on libreadline8 (>= 6.0). 268s gpg depends on libreadline8 (>= 6.0). 268s gawk depends on libreadline8 (>= 6.0). 268s fdisk depends on libreadline8 (>= 6.0). 268s 268s (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 ... 75869 files and directories currently installed.) 268s Removing libreadline8:arm64 (8.2-3) ... 268s Selecting previously unselected package libreadline8t64:arm64. 268s (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 ... 75857 files and directories currently installed.) 268s Preparing to unpack .../libreadline8t64_8.2-3.1_arm64.deb ... 268s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 268s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 268s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 268s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 268s Unpacking libreadline8t64:arm64 (8.2-3.1) ... 268s dpkg: libtirpc3:arm64: dependency problems, but removing anyway as you requested: 268s lsof depends on libtirpc3 (>= 1.0.2). 268s libpython3.12-stdlib:arm64 depends on libtirpc3 (>= 1.0.2). 268s libpython3.11-stdlib:arm64 depends on libtirpc3 (>= 1.0.2). 268s libnsl2:arm64 depends on libtirpc3 (>= 1.0.2). 268s iproute2 depends on libtirpc3 (>= 1.0.2). 268s 269s (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 ... 75877 files and directories currently installed.) 269s Removing libtirpc3:arm64 (1.3.4+ds-1build1) ... 269s Selecting previously unselected package libtirpc3t64:arm64. 269s (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 ... 75871 files and directories currently installed.) 269s Preparing to unpack .../00-libtirpc3t64_1.3.4+ds-1.1_arm64.deb ... 269s Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3 to /lib/aarch64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' 269s Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3.0.0 to /lib/aarch64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 269s Unpacking libtirpc3t64:arm64 (1.3.4+ds-1.1) ... 269s Selecting previously unselected package fonts-dejavu-mono. 269s Preparing to unpack .../01-fonts-dejavu-mono_2.37-8_all.deb ... 269s Unpacking fonts-dejavu-mono (2.37-8) ... 269s Selecting previously unselected package fonts-dejavu-core. 269s Preparing to unpack .../02-fonts-dejavu-core_2.37-8_all.deb ... 269s Unpacking fonts-dejavu-core (2.37-8) ... 270s Selecting previously unselected package fontconfig-config. 270s Preparing to unpack .../03-fontconfig-config_2.15.0-1ubuntu1_arm64.deb ... 271s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 271s Selecting previously unselected package libfontconfig1:arm64. 271s Preparing to unpack .../04-libfontconfig1_2.15.0-1ubuntu1_arm64.deb ... 271s Unpacking libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 271s Selecting previously unselected package fontconfig. 271s Preparing to unpack .../05-fontconfig_2.15.0-1ubuntu1_arm64.deb ... 271s Unpacking fontconfig (2.15.0-1ubuntu1) ... 271s Selecting previously unselected package libblas3:arm64. 271s Preparing to unpack .../06-libblas3_3.12.0-3_arm64.deb ... 271s Unpacking libblas3:arm64 (3.12.0-3) ... 271s Selecting previously unselected package libpixman-1-0:arm64. 271s Preparing to unpack .../07-libpixman-1-0_0.42.2-1_arm64.deb ... 271s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 271s Selecting previously unselected package libxcb-render0:arm64. 271s Preparing to unpack .../08-libxcb-render0_1.15-1_arm64.deb ... 271s Unpacking libxcb-render0:arm64 (1.15-1) ... 272s Selecting previously unselected package libxcb-shm0:arm64. 272s Preparing to unpack .../09-libxcb-shm0_1.15-1_arm64.deb ... 272s Unpacking libxcb-shm0:arm64 (1.15-1) ... 272s Selecting previously unselected package libxrender1:arm64. 272s Preparing to unpack .../10-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 272s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 272s Selecting previously unselected package libcairo2:arm64. 272s Preparing to unpack .../11-libcairo2_1.18.0-1_arm64.deb ... 272s Unpacking libcairo2:arm64 (1.18.0-1) ... 272s Selecting previously unselected package libdatrie1:arm64. 272s Preparing to unpack .../12-libdatrie1_0.2.13-3_arm64.deb ... 272s Unpacking libdatrie1:arm64 (0.2.13-3) ... 272s Selecting previously unselected package libdeflate0:arm64. 272s Preparing to unpack .../13-libdeflate0_1.19-1_arm64.deb ... 272s Unpacking libdeflate0:arm64 (1.19-1) ... 272s Selecting previously unselected package libgfortran5:arm64. 272s Preparing to unpack .../14-libgfortran5_14-20240303-1ubuntu1_arm64.deb ... 272s Unpacking libgfortran5:arm64 (14-20240303-1ubuntu1) ... 273s Selecting previously unselected package libgomp1:arm64. 273s Preparing to unpack .../15-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 273s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 273s Selecting previously unselected package libgraphite2-3:arm64. 273s Preparing to unpack .../16-libgraphite2-3_1.3.14-2_arm64.deb ... 273s Unpacking libgraphite2-3:arm64 (1.3.14-2) ... 273s Selecting previously unselected package libharfbuzz0b:arm64. 273s Preparing to unpack .../17-libharfbuzz0b_8.3.0-2_arm64.deb ... 273s Unpacking libharfbuzz0b:arm64 (8.3.0-2) ... 273s Selecting previously unselected package x11-common. 273s Preparing to unpack .../18-x11-common_1%3a7.7+23ubuntu2_all.deb ... 273s Unpacking x11-common (1:7.7+23ubuntu2) ... 273s Selecting previously unselected package libice6:arm64. 274s Preparing to unpack .../19-libice6_2%3a1.0.10-1build2_arm64.deb ... 274s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 274s Selecting previously unselected package libjpeg-turbo8:arm64. 274s Preparing to unpack .../20-libjpeg-turbo8_2.1.5-2ubuntu1_arm64.deb ... 274s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 274s Selecting previously unselected package libjpeg8:arm64. 274s Preparing to unpack .../21-libjpeg8_8c-2ubuntu11_arm64.deb ... 274s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 274s Selecting previously unselected package liblapack3:arm64. 274s Preparing to unpack .../22-liblapack3_3.12.0-3_arm64.deb ... 274s Unpacking liblapack3:arm64 (3.12.0-3) ... 274s Selecting previously unselected package liblerc4:arm64. 275s Preparing to unpack .../23-liblerc4_4.0.0+ds-4ubuntu1_arm64.deb ... 275s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 275s Selecting previously unselected package libthai-data. 275s Preparing to unpack .../24-libthai-data_0.1.29-2_all.deb ... 275s Unpacking libthai-data (0.1.29-2) ... 275s Selecting previously unselected package libthai0:arm64. 275s Preparing to unpack .../25-libthai0_0.1.29-2_arm64.deb ... 275s Unpacking libthai0:arm64 (0.1.29-2) ... 275s Selecting previously unselected package libpango-1.0-0:arm64. 275s Preparing to unpack .../26-libpango-1.0-0_1.51.0+ds-4_arm64.deb ... 275s Unpacking libpango-1.0-0:arm64 (1.51.0+ds-4) ... 275s Selecting previously unselected package libpangoft2-1.0-0:arm64. 275s Preparing to unpack .../27-libpangoft2-1.0-0_1.51.0+ds-4_arm64.deb ... 275s Unpacking libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 275s Selecting previously unselected package libpangocairo-1.0-0:arm64. 275s Preparing to unpack .../28-libpangocairo-1.0-0_1.51.0+ds-4_arm64.deb ... 275s Unpacking libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 275s Selecting previously unselected package libpaper1:arm64. 275s Preparing to unpack .../29-libpaper1_1.1.29_arm64.deb ... 275s Unpacking libpaper1:arm64 (1.1.29) ... 275s Selecting previously unselected package libpaper-utils. 275s Preparing to unpack .../30-libpaper-utils_1.1.29_arm64.deb ... 275s Unpacking libpaper-utils (1.1.29) ... 275s Selecting previously unselected package libsharpyuv0:arm64. 275s Preparing to unpack .../31-libsharpyuv0_1.3.2-0.4_arm64.deb ... 275s Unpacking libsharpyuv0:arm64 (1.3.2-0.4) ... 276s Selecting previously unselected package libsm6:arm64. 276s Preparing to unpack .../32-libsm6_2%3a1.2.3-1build2_arm64.deb ... 276s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 276s Selecting previously unselected package libtcl8.6:arm64. 276s Preparing to unpack .../33-libtcl8.6_8.6.13+dfsg-2_arm64.deb ... 276s Unpacking libtcl8.6:arm64 (8.6.13+dfsg-2) ... 276s Selecting previously unselected package libjbig0:arm64. 276s Preparing to unpack .../34-libjbig0_2.1-6.1ubuntu1_arm64.deb ... 276s Unpacking libjbig0:arm64 (2.1-6.1ubuntu1) ... 276s Selecting previously unselected package libwebp7:arm64. 276s Preparing to unpack .../35-libwebp7_1.3.2-0.4_arm64.deb ... 276s Unpacking libwebp7:arm64 (1.3.2-0.4) ... 277s Selecting previously unselected package libtiff6:arm64. 277s Preparing to unpack .../36-libtiff6_4.5.1+git230720-3ubuntu1_arm64.deb ... 277s Unpacking libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 277s Selecting previously unselected package libxft2:arm64. 277s Preparing to unpack .../37-libxft2_2.3.6-1_arm64.deb ... 277s Unpacking libxft2:arm64 (2.3.6-1) ... 277s Selecting previously unselected package libxss1:arm64. 277s Preparing to unpack .../38-libxss1_1%3a1.2.3-1build2_arm64.deb ... 277s Unpacking libxss1:arm64 (1:1.2.3-1build2) ... 277s Selecting previously unselected package libtk8.6:arm64. 277s Preparing to unpack .../39-libtk8.6_8.6.13-2_arm64.deb ... 277s Unpacking libtk8.6:arm64 (8.6.13-2) ... 278s Selecting previously unselected package libxt6t64:arm64. 278s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2_arm64.deb ... 278s Unpacking libxt6t64:arm64 (1:1.2.1-1.2) ... 278s Selecting previously unselected package zip. 278s Preparing to unpack .../41-zip_3.0-13_arm64.deb ... 278s Unpacking zip (3.0-13) ... 278s Selecting previously unselected package unzip. 278s Preparing to unpack .../42-unzip_6.0-28ubuntu3_arm64.deb ... 278s Unpacking unzip (6.0-28ubuntu3) ... 278s Selecting previously unselected package xdg-utils. 278s Preparing to unpack .../43-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... 278s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... 278s Selecting previously unselected package r-base-core. 278s Preparing to unpack .../44-r-base-core_4.3.3-2build1_arm64.deb ... 278s Unpacking r-base-core (4.3.3-2build1) ... 280s Selecting previously unselected package r-cran-pracma. 280s Preparing to unpack .../45-r-cran-pracma_2.4.4-1_all.deb ... 280s Unpacking r-cran-pracma (2.4.4-1) ... 280s Selecting previously unselected package r-cran-quadprog. 280s Preparing to unpack .../46-r-cran-quadprog_1.5-8-1build1_arm64.deb ... 280s Unpacking r-cran-quadprog (1.5-8-1build1) ... 281s Selecting previously unselected package autopkgtest-satdep. 281s Preparing to unpack .../47-1-autopkgtest-satdep.deb ... 281s Unpacking autopkgtest-satdep (0) ... 281s Setting up libgraphite2-3:arm64 (1.3.14-2) ... 281s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 281s Setting up libsharpyuv0:arm64 (1.3.2-0.4) ... 281s Setting up libpaper1:arm64 (1.1.29) ... 281s 281s Creating config file /etc/papersize with new version 282s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 282s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 282s Setting up libdatrie1:arm64 (0.2.13-3) ... 282s Setting up libtirpc3t64:arm64 (1.3.4+ds-1.1) ... 282s Setting up libxcb-render0:arm64 (1.15-1) ... 282s Setting up unzip (6.0-28ubuntu3) ... 282s Setting up x11-common (1:7.7+23ubuntu2) ... 284s Setting up libpsl5t64:arm64 (0.21.2-1.1) ... 284s Setting up libdeflate0:arm64 (1.19-1) ... 284s Setting up libxcb-shm0:arm64 (1.15-1) ... 284s Setting up libpaper-utils (1.1.29) ... 284s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 284s Setting up libjbig0:arm64 (2.1-6.1ubuntu1) ... 284s Setting up zip (3.0-13) ... 284s Setting up libblas3:arm64 (3.12.0-3) ... 284s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 284s Setting up fonts-dejavu-mono (2.37-8) ... 284s Setting up libpng16-16t64:arm64 (1.6.43-3) ... 284s Setting up libtcl8.6:arm64 (8.6.13+dfsg-2) ... 284s Setting up fonts-dejavu-core (2.37-8) ... 284s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 284s Setting up libgfortran5:arm64 (14-20240303-1ubuntu1) ... 284s Setting up libwebp7:arm64 (1.3.2-0.4) ... 284s Setting up libreadline8t64:arm64 (8.2-3.1) ... 284s Setting up libharfbuzz0b:arm64 (8.3.0-2) ... 284s Setting up libthai-data (0.1.29-2) ... 284s Setting up libxss1:arm64 (1:1.2.3-1build2) ... 284s Setting up xdg-utils (1.1.3-4.1ubuntu3) ... 284s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 284s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 284s Setting up libice6:arm64 (2:1.0.10-1build2) ... 284s Setting up liblapack3:arm64 (3.12.0-3) ... 284s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 284s Setting up libcurl4t64:arm64 (8.5.0-2ubuntu7) ... 284s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 285s Setting up libthai0:arm64 (0.1.29-2) ... 285s Setting up libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 285s Setting up curl (8.5.0-2ubuntu7) ... 285s Setting up libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 285s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 285s Setting up fontconfig (2.15.0-1ubuntu1) ... 287s Regenerating fonts cache... done. 287s Setting up libxft2:arm64 (2.3.6-1) ... 287s Setting up libtk8.6:arm64 (8.6.13-2) ... 287s Setting up libpango-1.0-0:arm64 (1.51.0+ds-4) ... 287s Setting up libcairo2:arm64 (1.18.0-1) ... 287s Setting up libxt6t64:arm64 (1:1.2.1-1.2) ... 287s Setting up libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 287s Setting up libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 287s Setting up r-base-core (4.3.3-2build1) ... 288s 288s Creating config file /etc/R/Renviron with new version 288s Setting up r-cran-quadprog (1.5-8-1build1) ... 288s Setting up r-cran-pracma (2.4.4-1) ... 288s Setting up autopkgtest-satdep (0) ... 288s Processing triggers for man-db (2.12.0-3) ... 290s Processing triggers for install-info (7.1-3) ... 290s Processing triggers for libc-bin (2.39-0ubuntu2) ... 303s (Reading database ... 78011 files and directories currently installed.) 303s Removing autopkgtest-satdep (0) ... 304s autopkgtest [19:38:02]: test run-unit-test: [----------------------- 304s BEGIN TEST blkdiag.R 305s 305s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 305s Copyright (C) 2024 The R Foundation for Statistical Computing 305s Platform: aarch64-unknown-linux-gnu (64-bit) 305s 305s R is free software and comes with ABSOLUTELY NO WARRANTY. 305s You are welcome to redistribute it under certain conditions. 305s Type 'license()' or 'licence()' for distribution details. 305s 305s R is a collaborative project with many contributors. 305s Type 'contributors()' for more information and 305s 'citation()' on how to cite R or R packages in publications. 305s 305s Type 'demo()' for some demos, 'help()' for on-line help, or 305s 'help.start()' for an HTML browser interface to help. 305s Type 'q()' to quit R. 305s 305s > ## 305s > ## r e p m a t . R Test Suite 305s > ## 305s > 305s > repmat <- pracma::repmat 305s > Reshape <- pracma::Reshape 305s > 305s > v <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) 305s > a <- matrix(v, 3, 4) 305s > identical(Reshape(a, 4, 3), matrix(v, 4, 3)) 305s [1] TRUE 305s > 305s > identical(repmat(matrix(1:4, 2, 2), 3), 305s + matrix(rep(c(rep(c(1,2), 3), rep(c(3, 4), 3)), 3), nrow=6, ncol=6)) 305s [1] TRUE 305s > 305s BEGIN TEST ceil.R 305s 305s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 305s Copyright (C) 2024 The R Foundation for Statistical Computing 305s Platform: aarch64-unknown-linux-gnu (64-bit) 305s 305s R is free software and comes with ABSOLUTELY NO WARRANTY. 305s You are welcome to redistribute it under certain conditions. 305s Type 'license()' or 'licence()' for distribution details. 305s 305s R is a collaborative project with many contributors. 305s Type 'contributors()' for more information and 305s 'citation()' on how to cite R or R packages in publications. 305s 305s Type 'demo()' for some demos, 'help()' for on-line help, or 305s 'help.start()' for an HTML browser interface to help. 305s Type 'q()' to quit R. 305s 306s > ## 306s > ## c e i l . R tests 306s > ## 306s > 306s > ceil <- pracma::ceil 306s > Fix <- pracma::Fix 306s > 306s > identical(ceil(0), 0) 306s [1] TRUE 306s > identical(ceil(-1), -1) 306s [1] TRUE 306s > identical(ceil(-1.5), -1) 306s [1] TRUE 306s > identical(ceil(1), 1) 306s [1] TRUE 306s > identical(ceil(1.5), 2) 306s [1] TRUE 306s > 306s > identical(Fix(0), 0) 306s [1] TRUE 306s > identical(Fix(-1), -1) 306s [1] TRUE 306s > identical(Fix(-1.5), -1) 306s [1] TRUE 306s > identical(Fix(1), 1) 306s [1] TRUE 306s > identical(Fix(1.5), 1) 306s [1] TRUE 306s > 306s BEGIN TEST chebyshev.R 306s 306s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 306s Copyright (C) 2024 The R Foundation for Statistical Computing 306s Platform: aarch64-unknown-linux-gnu (64-bit) 306s 306s R is free software and comes with ABSOLUTELY NO WARRANTY. 306s You are welcome to redistribute it under certain conditions. 306s Type 'license()' or 'licence()' for distribution details. 306s 306s R is a collaborative project with many contributors. 306s Type 'contributors()' for more information and 306s 'citation()' on how to cite R or R packages in publications. 306s 306s Type 'demo()' for some demos, 'help()' for on-line help, or 306s 'help.start()' for an HTML browser interface to help. 306s Type 'q()' to quit R. 306s 307s > ## 307s > ## c h e b P o l y . R Test suite 307s > ## 307s > 307s > 307s > chebPoly <- pracma::chebPoly 307s > chebCoeff <- pracma::chebCoeff 307s > chebApprox <- pracma::chebApprox 307s > 307s > identical(chebPoly(6), 307s + matrix( c(0, 0, 0, 0, 0, 0, 1, 307s + 0, 0, 0, 0, 0, 1, 0, 307s + 0, 0, 0, 0, 2, 0, -1, 307s + 0, 0, 0, 4, 0, -3, 0, 307s + 0, 0, 8, 0, -8, 0, 1, 307s + 0, 16, 0, -20, 0, 5, 0, 307s + 32, 0, -48, 0, 18, 0, -1), 307s + nrow = 7, ncol = 7, byrow=TRUE)) 307s [1] TRUE 307s > 307s > f <- function(x) 1 + x/1 + x^2/2 + x^3/6 + x^4/24 + x^5/120 + x^6/720 307s > cC <- chebCoeff(f, -1, 1, 6) 307s > cC[1] <- cC[1]/2 307s > all.equal(cC, 307s + c(1.26606, 1.13021, 0.27148, 0.04427, 0.00547, 0.00052, 0.00004), 307s + tol = 1e-5) 307s [1] TRUE 307s > 307s > x <- seq(-1, 1, length.out=7) 307s > y <- chebApprox(x, function(x) x^2, -1, 1, 6) 307s > all.equal(x^2, y, tol = 1e-7) 307s [1] TRUE 307s > 307s BEGIN TEST combs.R 307s 307s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 307s Copyright (C) 2024 The R Foundation for Statistical Computing 307s Platform: aarch64-unknown-linux-gnu (64-bit) 307s 307s R is free software and comes with ABSOLUTELY NO WARRANTY. 307s You are welcome to redistribute it under certain conditions. 307s Type 'license()' or 'licence()' for distribution details. 307s 307s R is a collaborative project with many contributors. 307s Type 'contributors()' for more information and 307s 'citation()' on how to cite R or R packages in publications. 307s 307s Type 'demo()' for some demos, 'help()' for on-line help, or 307s 'help.start()' for an HTML browser interface to help. 307s Type 'q()' to quit R. 307s 307s > ## 307s > ## c o m b s . R Test Suite 307s > ## 307s > 307s > combs <- pracma::combs 307s > randcomb <- pracma::randcomb 307s > 307s > identical(combs(2, 1), 2) 307s [1] TRUE 307s > identical(combs(c(1, 2, 3), 2), matrix(rep(c(1, 2, 3), each = 2), 3, 2)) 307s [1] TRUE 307s > identical(nrow(combs(1:6, 4)), 15L) 307s [1] TRUE 307s > 307s > all(c(1,2,3) %in% randcomb(c(1,2,3), 3)) 307s [1] TRUE 307s > 307s BEGIN TEST compan.R 308s 308s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 308s Copyright (C) 2024 The R Foundation for Statistical Computing 308s Platform: aarch64-unknown-linux-gnu (64-bit) 308s 308s R is free software and comes with ABSOLUTELY NO WARRANTY. 308s You are welcome to redistribute it under certain conditions. 308s Type 'license()' or 'licence()' for distribution details. 308s 308s R is a collaborative project with many contributors. 308s Type 'contributors()' for more information and 308s 'citation()' on how to cite R or R packages in publications. 308s 308s Type 'demo()' for some demos, 'help()' for on-line help, or 308s 'help.start()' for an HTML browser interface to help. 308s Type 'q()' to quit R. 308s 308s > ### 308s > ### compan.R +++ Test suite +++ 308s > ### 308s > 308s > 308s > test.compan <- function(input, expected) { 308s + output <- do.call(getFromNamespace("compan", "pracma"), input) 308s + identical(output, expected) 308s + } 308s > 308s > compan.expected.empty <- c() 308s > compan.expected.sngl1 <- c() 308s > compan.expected.sngl2 <- c() 308s > compan.expected.bspl1 <- matrix(c(0, 7, -6, 1, 0, 0, 0, 1, 0), 308s + nrow=3, ncol=3, byrow=TRUE) 308s > 308s > test.compan(list(p=c()), compan.expected.empty) 308s [1] TRUE 308s > test.compan(list(p=c(0)), compan.expected.sngl1) 308s [1] TRUE 308s > test.compan(list(p=c(1)), compan.expected.sngl2) 308s [1] TRUE 308s > test.compan(list(p=c(1,0,-7,6)), compan.expected.bspl1) 308s [1] TRUE 308s > 308s BEGIN TEST cond.R 309s 309s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 309s Copyright (C) 2024 The R Foundation for Statistical Computing 309s Platform: aarch64-unknown-linux-gnu (64-bit) 309s 309s R is free software and comes with ABSOLUTELY NO WARRANTY. 309s You are welcome to redistribute it under certain conditions. 309s Type 'license()' or 'licence()' for distribution details. 309s 309s R is a collaborative project with many contributors. 309s Type 'contributors()' for more information and 309s 'citation()' on how to cite R or R packages in publications. 309s 309s Type 'demo()' for some demos, 'help()' for on-line help, or 309s 'help.start()' for an HTML browser interface to help. 309s Type 'q()' to quit R. 309s 309s > ## 309s > ## c o n d . r Test suite 309s > ## 309s > 309s > 309s > cond <- pracma::cond 309s > normest <- pracma::normest 309s > 309s > hilb <- pracma::hilb 309s > all.equal(c(cond(hilb(1)), cond(hilb(2)), cond(hilb(3)), cond(hilb(4))), 309s + c(1, 19.281470, 524.056778, 15513.738739), 309s + tolerance = 1e-6) 309s [1] TRUE 309s > magic <- pracma::magic 309s > all.equal(normest(magic(5)), max(svd(magic(5))$d)) 309s [1] TRUE 309s > all.equal(normest(pracma::magic(100)), 500050) 309s [1] TRUE 309s > 309s BEGIN TEST conv.R 310s 310s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 310s Copyright (C) 2024 The R Foundation for Statistical Computing 310s Platform: aarch64-unknown-linux-gnu (64-bit) 310s 310s R is free software and comes with ABSOLUTELY NO WARRANTY. 310s You are welcome to redistribute it under certain conditions. 310s Type 'license()' or 'licence()' for distribution details. 310s 310s R is a collaborative project with many contributors. 310s Type 'contributors()' for more information and 310s 'citation()' on how to cite R or R packages in publications. 310s 310s Type 'demo()' for some demos, 'help()' for on-line help, or 310s 'help.start()' for an HTML browser interface to help. 310s Type 'q()' to quit R. 310s 310s > ## 310s > ## c o n v . r Test suite 310s > ## 310s > 310s > 310s > conv <- pracma::conv 310s > deconv <- pracma::deconv 310s > 310s > all.equal(conv(c(1, 1, 1), 1), c(1, 1, 1)) 310s [1] TRUE 310s > all.equal(conv(c(1, 1, 1), c(0, 0, 1)), c(0, 0, 1, 1, 1)) 310s [1] TRUE 310s > all.equal(conv(c(-0.5, 1, -1), c(0.5, 0, 1)), c(-0.25, 0.5, -1, 1, -1)) 310s [1] TRUE 310s > 310s > b <- c(-0.25, 0.5, -1, 1, -1) 310s > a <- c(0.5, 0, 1) 310s > d <- deconv(b, a) 310s > all.equal(d$q, c(-0.5, 1, -1)) 310s [1] TRUE 310s > all.equal(d$r, c(0, 0)) 310s [1] TRUE 310s > 310s BEGIN TEST cross.R 310s 310s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 310s Copyright (C) 2024 The R Foundation for Statistical Computing 310s Platform: aarch64-unknown-linux-gnu (64-bit) 310s 310s R is free software and comes with ABSOLUTELY NO WARRANTY. 310s You are welcome to redistribute it under certain conditions. 310s Type 'license()' or 'licence()' for distribution details. 310s 310s R is a collaborative project with many contributors. 310s Type 'contributors()' for more information and 310s 'citation()' on how to cite R or R packages in publications. 310s 310s Type 'demo()' for some demos, 'help()' for on-line help, or 310s 'help.start()' for an HTML browser interface to help. 310s Type 'q()' to quit R. 310s 311s > ### 311s > ### cross.R +++ Test suite +++ 311s > ### 311s > 311s > 311s > test.cross <- function(input, expected) { 311s + output <- do.call(getFromNamespace("cross", "pracma"), input) 311s + identical(output, expected) 311s + } 311s > 311s > cross.expected.1 <- c(-3, 6, -3) 311s > #cross.expected. <- 311s > #cross.expected. <- 311s > #cross.expected. <- 311s > 311s > test.cross(list(x=c(1, 2, 3), y=c(4, 5, 6)), cross.expected.1) 311s [1] TRUE 311s > #test.cross(list(), cross.expected.) 311s > #test.cross(list(), cross.expected.) 311s > #test.cross(list(), cross.expected.) 311s > 311s BEGIN TEST crossn.R 311s 311s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 311s Copyright (C) 2024 The R Foundation for Statistical Computing 311s Platform: aarch64-unknown-linux-gnu (64-bit) 311s 311s R is free software and comes with ABSOLUTELY NO WARRANTY. 311s You are welcome to redistribute it under certain conditions. 311s Type 'license()' or 'licence()' for distribution details. 311s 311s R is a collaborative project with many contributors. 311s Type 'contributors()' for more information and 311s 'citation()' on how to cite R or R packages in publications. 311s 311s Type 'demo()' for some demos, 'help()' for on-line help, or 311s 'help.start()' for an HTML browser interface to help. 311s Type 'q()' to quit R. 311s 312s > ## 312s > ## c r o s s n . R tests 312s > ## 312s > 312s > crossn <- pracma::crossn 312s > 312s > x <- c(1.0, 0.0, 0.0) 312s > y <- c(1.0, 0.5, 0.0) 312s > z <- c(0.0, 0.0, 1.0) 312s > identical(pracma::dot(x, crossn(rbind(y, z))), 312s + det(rbind(x, y, z))) 312s [1] TRUE 312s > 312s BEGIN TEST deval.R 312s 312s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 312s Copyright (C) 2024 The R Foundation for Statistical Computing 312s Platform: aarch64-unknown-linux-gnu (64-bit) 312s 312s R is free software and comes with ABSOLUTELY NO WARRANTY. 312s You are welcome to redistribute it under certain conditions. 312s Type 'license()' or 'licence()' for distribution details. 312s 312s R is a collaborative project with many contributors. 312s Type 'contributors()' for more information and 312s 'citation()' on how to cite R or R packages in publications. 312s 312s Type 'demo()' for some demos, 'help()' for on-line help, or 312s 'help.start()' for an HTML browser interface to help. 312s Type 'q()' to quit R. 312s 312s > ## 312s > ## d e v a l . R Test suite 312s > ## 312s > 312s > deval <- pracma::deval 312s > deeve <- pracma::deeve 312s > 312s > x <- seq(0, 10*pi, len=100) 312s > y <- zapsmall(sin(x)) 312s > 312s > all.equal(deval(x, y, c(-1e-5, 0, 1, 5, 10, 15, 20, 25, 30, x[100], 40)), 312s + as.matrix(c( NA, 312s + 0.0000000, 312s + 0.8358028, 312s + -0.9499175, 312s + -0.5372202, 312s + 0.6442378, 312s + 0.9117673, 312s + -0.1307134, 312s + -0.9756776, 312s + 0.0000000, 312s + NA)), 312s + tolerance = 1e-5 312s + ) 312s [1] TRUE 312s > 312s > all.equal(deeve(x, y), 312s + c(0.000000, 3.141206, 6.282671, 9.424329, 12.566114, 15.707963, 312s + 18.849812, 21.991597, 25.133255, 28.274720, 31.415927), 312s + tolerance = 1e-5) 312s [1] TRUE 312s > 312s BEGIN TEST diag.R 313s 313s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 313s Copyright (C) 2024 The R Foundation for Statistical Computing 313s Platform: aarch64-unknown-linux-gnu (64-bit) 313s 313s R is free software and comes with ABSOLUTELY NO WARRANTY. 313s You are welcome to redistribute it under certain conditions. 313s Type 'license()' or 'licence()' for distribution details. 313s 313s R is a collaborative project with many contributors. 313s Type 'contributors()' for more information and 313s 'citation()' on how to cite R or R packages in publications. 313s 313s Type 'demo()' for some demos, 'help()' for on-line help, or 313s 'help.start()' for an HTML browser interface to help. 313s Type 'q()' to quit R. 313s 313s > ## 313s > ## m t r a c e . R Test suite 313s > ## 313s > 313s > Diag <- pracma::Diag 313s > 313s > all.equal(Diag(matrix(1:12,3,4), 1), c(4,8,12)) 313s [1] TRUE 313s > all.equal(Diag(matrix(1:12,3,4), -1), c(2,6)) 313s [1] TRUE 313s > identical(Diag(Diag(c(1,5,9)), 0), c(1,5,9)) 313s [1] TRUE 313s > 313s BEGIN TEST distmat.R 313s 313s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 313s Copyright (C) 2024 The R Foundation for Statistical Computing 313s Platform: aarch64-unknown-linux-gnu (64-bit) 313s 313s R is free software and comes with ABSOLUTELY NO WARRANTY. 313s You are welcome to redistribute it under certain conditions. 313s Type 'license()' or 'licence()' for distribution details. 313s 313s R is a collaborative project with many contributors. 313s Type 'contributors()' for more information and 313s 'citation()' on how to cite R or R packages in publications. 313s 313s Type 'demo()' for some demos, 'help()' for on-line help, or 313s 'help.start()' for an HTML browser interface to help. 313s Type 'q()' to quit R. 313s 314s > ## 314s > ## d i s t m a t . R tests 314s > ## 314s > 314s > distmat <- pracma::distmat 314s > 314s > A <- c(0.0, 0.0, 0.0) 314s > B <- matrix(c( 314s + 0, 0, 0, 314s + 1, 0, 0, 314s + 0, 1, 0, 314s + 0, 0, 1, 314s + 0, 1, 1, 314s + 1, 0, 1, 314s + 1, 1, 0, 314s + 1, 1, 1), 314s + nrow = 8, ncol = 3, byrow = TRUE) 314s > 314s > all.equal(drop(distmat(A, B)), 314s + c(0, 1, 1, 1, sqrt(2), sqrt(2), sqrt(2), sqrt(3))) 314s [1] TRUE 314s > 314s BEGIN TEST dot.R 314s 314s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 314s Copyright (C) 2024 The R Foundation for Statistical Computing 314s Platform: aarch64-unknown-linux-gnu (64-bit) 314s 314s R is free software and comes with ABSOLUTELY NO WARRANTY. 314s You are welcome to redistribute it under certain conditions. 314s Type 'license()' or 'licence()' for distribution details. 314s 314s R is a collaborative project with many contributors. 314s Type 'contributors()' for more information and 314s 'citation()' on how to cite R or R packages in publications. 314s 314s Type 'demo()' for some demos, 'help()' for on-line help, or 314s 'help.start()' for an HTML browser interface to help. 314s Type 'q()' to quit R. 314s 315s > ### 315s > ### dot.R +++ Test suite +++ 315s > ### 315s > 315s > 315s > test.dot <- function(input, expected) { 315s + output <- do.call(getFromNamespace("dot", "pracma"), input) 315s + identical(output, expected) 315s + } 315s > 315s > dot.expected.empty <- 0 315s > dot.expected.55 <- 55 315s > dot.expected.t55 <- 55 315s > dot.expected.mm <- c(26, 44) 315s > dot.expected.00 <- 0 315s > dot.expected.neg <- -2 315s > 315s > test.dot(list(x=c(), y=c()), dot.expected.empty) 315s [1] TRUE 315s > test.dot(list(x=1:5, y=1:5), dot.expected.55) 315s [1] TRUE 315s > test.dot(list(x=1:5, y=t(t(1:5))), dot.expected.t55) 315s [1] TRUE 315s > test.dot(list(x=matrix(c(1,3,2,4), 2, 2), y=matrix(c(5,7,6,8), 2, 2)), 315s + dot.expected.mm) 315s [1] TRUE 315s > test.dot(list(x=c(0, 0), y=c(1, 2)), dot.expected.00) 315s [1] TRUE 315s > test.dot(list(x=c(1, 1), y=c(-1, -1)), dot.expected.neg) 315s [1] TRUE 315s > 315s BEGIN TEST eig.R 315s 315s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 315s Copyright (C) 2024 The R Foundation for Statistical Computing 315s Platform: aarch64-unknown-linux-gnu (64-bit) 315s 315s R is free software and comes with ABSOLUTELY NO WARRANTY. 315s You are welcome to redistribute it under certain conditions. 315s Type 'license()' or 'licence()' for distribution details. 315s 315s R is a collaborative project with many contributors. 315s Type 'contributors()' for more information and 315s 'citation()' on how to cite R or R packages in publications. 315s 315s Type 'demo()' for some demos, 'help()' for on-line help, or 315s 'help.start()' for an HTML browser interface to help. 315s Type 'q()' to quit R. 315s 316s > ### 316s > ### eig.R +++ Test suite +++ 316s > ### 316s > 316s > 316s > test.eig <- function(input, expected) { 316s + output <- do.call(getFromNamespace("eig", "pracma"), input) 316s + identical(output, expected) 316s + } 316s > 316s > eig.expected.empty <- matrix(0, nrow=0, ncol=0) 316s > eig.expected.singl <- 1 316s > eig.expected.mat1 <- c(2, 0) 316s > eig.expected.mat2 <- c(1+1i, 1-1i) 316s > eig.expected.mat3 <- c(1, -1) 316s > 316s > test.eig(list(a=c()), eig.expected.empty) 316s [1] TRUE 316s > test.eig(list(a=c(1)), eig.expected.singl) 316s [1] TRUE 316s > test.eig(list(a=matrix(c(1,-1,-1,1), 2, 2)), eig.expected.mat1) 316s [1] TRUE 316s > test.eig(list(a=matrix(c(1,1,-1,1), 2, 2)), eig.expected.mat2) 316s [1] TRUE 316s > test.eig(list(a=matrix(c(0,1i,-1i,0), 2, 2)), eig.expected.mat3) 316s [1] TRUE 316s > 316s BEGIN TEST factors.R 316s 316s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 316s Copyright (C) 2024 The R Foundation for Statistical Computing 316s Platform: aarch64-unknown-linux-gnu (64-bit) 316s 316s R is free software and comes with ABSOLUTELY NO WARRANTY. 316s You are welcome to redistribute it under certain conditions. 316s Type 'license()' or 'licence()' for distribution details. 316s 316s R is a collaborative project with many contributors. 316s Type 'contributors()' for more information and 316s 'citation()' on how to cite R or R packages in publications. 316s 316s Type 'demo()' for some demos, 'help()' for on-line help, or 316s 'help.start()' for an HTML browser interface to help. 316s Type 'q()' to quit R. 316s 317s > ### 317s > ### f a c t o r s . R +++ Test suite +++ 317s > ### 317s > 317s > 317s > test.factors <- function(input, expected) { 317s + output <- do.call(getFromNamespace("factors", "pracma"), input) 317s + identical(output, expected) 317s + } 317s > 317s > factors.expected.n2 <- 2 317s > factors.expected.n3 <- 3 317s > # factors.expected.prm <- 999983 317s > # factors.expected.pr2 <- c(9999889, 9999901) 317s > # factors.expected.prp <- c(65003, 65003) 317s > # factors.expected.nn <- c(2, 2, 2, 2, 2, 3, 3, 3, 3, 5, 5, 5, 7, 7, 11) 317s > # factors.expected.nm <- c(99989, 99991, 100003) 317s > # factors.expected.n32 <- c(3, 5, 17, 257, 65537) 317s > 317s > test.factors(list(n=2), factors.expected.n2) 317s [1] TRUE 317s > test.factors(list(n=3), factors.expected.n3) 317s [1] TRUE 317s > # test.factors(list(n=999983), factors.expected.prm) 317s > # test.factors(list(n=9999889*9999901), factors.expected.pr2) 317s > # test.factors(list(n=4225390009), factors.expected.prp) 317s > # test.factors(list(n=2^5 * 3^4 * 5^3 * 7^2 * 11), factors.expected.nn) 317s > # test.factors(list(n=99989*99991*100003), factors.expected.nm) 317s > # test.factors(list(n=2^32-1), factors.expected.n32) 317s > 317s BEGIN TEST find.R 317s 317s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 317s Copyright (C) 2024 The R Foundation for Statistical Computing 317s Platform: aarch64-unknown-linux-gnu (64-bit) 317s 317s R is free software and comes with ABSOLUTELY NO WARRANTY. 317s You are welcome to redistribute it under certain conditions. 317s Type 'license()' or 'licence()' for distribution details. 317s 317s R is a collaborative project with many contributors. 317s Type 'contributors()' for more information and 317s 'citation()' on how to cite R or R packages in publications. 317s 317s Type 'demo()' for some demos, 'help()' for on-line help, or 317s 'help.start()' for an HTML browser interface to help. 317s Type 'q()' to quit R. 317s 317s > ## 317s > ## f i n d . R tests 317s > ## 317s > 317s > finds <- pracma::finds 318s > 318s > v <- c(3, 2, 1, 1, 2, 3) 318s > identical(finds(v == 1), c(3L, 4L)) 318s [1] TRUE 318s > v <- c(1, 0, 4, -3, 0, 0, 0, 8, 6) 318s > identical(finds(v), as.integer(c(1, 3, 4, 8, 9))) 318s [1] TRUE 318s > identical(finds(v > 2), c(3L, 8L, 9L)) 318s [1] TRUE 318s > identical(finds(c()), integer(0)) 318s [1] TRUE 318s > identical(finds(c(TRUE, FALSE, TRUE, FALSE, TRUE)), c(1L, 3L, 5L)) 318s [1] TRUE 318s > 318s BEGIN TEST findintervals.R 318s 318s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 318s Copyright (C) 2024 The R Foundation for Statistical Computing 318s Platform: aarch64-unknown-linux-gnu (64-bit) 318s 318s R is free software and comes with ABSOLUTELY NO WARRANTY. 318s You are welcome to redistribute it under certain conditions. 318s Type 'license()' or 'licence()' for distribution details. 318s 318s R is a collaborative project with many contributors. 318s Type 'contributors()' for more information and 318s 'citation()' on how to cite R or R packages in publications. 318s 318s Type 'demo()' for some demos, 'help()' for on-line help, or 318s 'help.start()' for an HTML browser interface to help. 318s Type 'q()' to quit R. 318s 318s > ## 318s > ## f i n d i n t e r v a l s . R Test suite 318s > ## 318s > 318s > findintervals <- pracma::findintervals 318s > 318s > identical(findintervals(0, zapsmall(sin(seq(0, 10*pi, len=100)))), 318s + as.integer(c(1, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100))) 318s [1] TRUE 318s > 318s BEGIN TEST findpeaks.R 319s 319s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 319s Copyright (C) 2024 The R Foundation for Statistical Computing 319s Platform: aarch64-unknown-linux-gnu (64-bit) 319s 319s R is free software and comes with ABSOLUTELY NO WARRANTY. 319s You are welcome to redistribute it under certain conditions. 319s Type 'license()' or 'licence()' for distribution details. 319s 319s R is a collaborative project with many contributors. 319s Type 'contributors()' for more information and 319s 'citation()' on how to cite R or R packages in publications. 319s 319s Type 'demo()' for some demos, 'help()' for on-line help, or 319s 'help.start()' for an HTML browser interface to help. 319s Type 'q()' to quit R. 319s 319s > ## 319s > ## f i n d p e a k s . R Test suite 319s > ## 319s > 319s > 319s > findpeaks <- pracma::findpeaks 319s > 319s > x <- c(2, 12, 4, 6, 9, 4, 3, 1, 19, 7) 319s > identical(findpeaks(x), 319s + matrix(c(12,9,19, 2,5,9, 1,3,8, 3,8,10), nrow=3, ncol=4)) 319s [1] TRUE 319s > identical(findpeaks(x, npeaks = 1, sortstr = TRUE), 319s + matrix(c(19, 9, 8, 10), nrow = 1)) 319s [1] TRUE 319s > identical(findpeaks(x, minpeakheight = 15), 319s + matrix(c(19, 9, 8, 10), nrow = 1)) 319s [1] TRUE 319s > identical(findpeaks(x, threshold = 10), 319s + matrix(c(19, 9, 8, 10), nrow = 1)) 319s [1] TRUE 319s > # Not yet implemented 319s > # identical(findpeaks(x, threshold = 10), 319s > # c(19, 9, 8, 9)) 319s > 319s > 319s BEGIN TEST flipdim.R 319s 319s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 319s Copyright (C) 2024 The R Foundation for Statistical Computing 319s Platform: aarch64-unknown-linux-gnu (64-bit) 319s 319s R is free software and comes with ABSOLUTELY NO WARRANTY. 319s You are welcome to redistribute it under certain conditions. 319s Type 'license()' or 'licence()' for distribution details. 319s 319s R is a collaborative project with many contributors. 319s Type 'contributors()' for more information and 319s 'citation()' on how to cite R or R packages in publications. 319s 319s Type 'demo()' for some demos, 'help()' for on-line help, or 319s 'help.start()' for an HTML browser interface to help. 319s Type 'q()' to quit R. 319s 320s > ## 320s > ## f l i p d i m . R tests 320s > ## 320s > 320s > flipdim <- pracma::flipdim 320s > flipud <- pracma::flipud 320s > fliplr <- pracma::fliplr 320s > rot90 <- pracma::rot90 320s > 320s > a <- matrix(c(1,2,3, 4,5,6, 7,8,9, 10,11,12), nrow=3, ncol=4) 320s > b <- matrix(c(1,2, 3,4), nrow=2, ncol=2, byrow=TRUE) 320s > 320s > identical(flipdim(a, 1), flipud(a)) 320s [1] TRUE 320s > identical(fliplr(a), matrix(c(10,11,12, 7,8,9, 4,5,6, 1,2,3 ), 3, 4)) 320s [1] TRUE 320s > identical(rot90(b, k=1), matrix(c(2,1, 4,3), 2, 2)) 320s [1] TRUE 320s > identical(rot90(b, k=6), matrix(c(4,2, 3,1), 2, 2)) 320s [1] TRUE 320s > identical(rot90(b, k=-1), matrix(c(3,4, 1,2), 2, 2)) 320s [1] TRUE 320s > 320s BEGIN TEST fnorm.R 320s 320s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 320s Copyright (C) 2024 The R Foundation for Statistical Computing 320s Platform: aarch64-unknown-linux-gnu (64-bit) 320s 320s R is free software and comes with ABSOLUTELY NO WARRANTY. 320s You are welcome to redistribute it under certain conditions. 320s Type 'license()' or 'licence()' for distribution details. 320s 320s R is a collaborative project with many contributors. 320s Type 'contributors()' for more information and 320s 'citation()' on how to cite R or R packages in publications. 320s 320s Type 'demo()' for some demos, 'help()' for on-line help, or 320s 'help.start()' for an HTML browser interface to help. 320s Type 'q()' to quit R. 320s 321s > ## 321s > ## f n o r m Test suite 321s > ## 321s > 321s > 321s > fnorm <- pracma::fnorm 321s > 321s > identical(fnorm(log, sqrt, 1, 2, p = Inf), 1.0) 321s [1] TRUE 321s > identical(fnorm(log, sqrt, 1, 2, p = -Inf), sqrt(2) - log(2)) 321s [1] TRUE 321s > identical(fnorm(log, sqrt, 1, 2, p = 0), Inf) 321s [1] TRUE 321s > 321s BEGIN TEST gamma.R 321s 321s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 321s Copyright (C) 2024 The R Foundation for Statistical Computing 321s Platform: aarch64-unknown-linux-gnu (64-bit) 321s 321s R is free software and comes with ABSOLUTELY NO WARRANTY. 321s You are welcome to redistribute it under certain conditions. 321s Type 'license()' or 'licence()' for distribution details. 321s 321s R is a collaborative project with many contributors. 321s Type 'contributors()' for more information and 321s 'citation()' on how to cite R or R packages in publications. 321s 321s Type 'demo()' for some demos, 'help()' for on-line help, or 321s 'help.start()' for an HTML browser interface to help. 321s Type 'q()' to quit R. 321s 321s > ## 321s > ## g a m m a z . R Test suite 321s > ## 321s > 321s > 321s > gammaz <- pracma::gammaz 321s > 321s > ## Problematic on Solaris (2012-01-25) 321s > # y <- seq(from=0,to=5,by=0.5) 321s > # # z0 <- lngamma_complex(1+y*1i) 321s > # z0 <- c(0.0000000+0.0000000i, -0.1909455-0.2440583i, -0.6509232-0.3016403i, 321s > # -1.2344831-0.1629398i, -1.8760788+0.1296463i, -2.5499068+0.5426044i, 321s > # -3.2441443+1.0533508i, -3.9524671+1.6461926i, -4.6710996+2.3096981i, 321s > # -5.3976062+3.0351970i, -6.1303241-2.4672867i) 321s > # 321s > # all.equal(gammaz(1+y*1i), exp(z0), tolerance = 1e-7) 321s > 321s BEGIN TEST gradient.R 322s 322s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 322s Copyright (C) 2024 The R Foundation for Statistical Computing 322s Platform: aarch64-unknown-linux-gnu (64-bit) 322s 322s R is free software and comes with ABSOLUTELY NO WARRANTY. 322s You are welcome to redistribute it under certain conditions. 322s Type 'license()' or 'licence()' for distribution details. 322s 322s R is a collaborative project with many contributors. 322s Type 'contributors()' for more information and 322s 'citation()' on how to cite R or R packages in publications. 322s 322s Type 'demo()' for some demos, 'help()' for on-line help, or 322s 'help.start()' for an HTML browser interface to help. 322s Type 'q()' to quit R. 322s 322s > ## 322s > ## g r a d i e n t . R Test suite 322s > ## 322s > 322s > 322s > gradient <- pracma::gradient 322s > 322s > x <- c(0.0, 0.2, 0.4, 0.6, 0.8, 1.0) 322s > y <- c(1, 2, 3) 322s > 322s > Z <- matrix(c( 322s + 1, 1.04, 1.16, 1.36, 1.64, 2, 322s + 4, 4.04, 4.16, 4.36, 4.64, 5, 322s + 9, 9.04, 9.16, 9.36, 9.64, 10), nrow = 3, byrow = TRUE) 322s > 322s > X1 <- matrix(c( 322s + 0.04, 0.08, 0.16, 0.24, 0.32, 0.36, 322s + 0.04, 0.08, 0.16, 0.24, 0.32, 0.36, 322s + 0.04, 0.08, 0.16, 0.24, 0.32, 0.36), nrow = 3, byrow = TRUE) 322s > 322s > X2 <- matrix(c( 322s + 0.2, 0.4, 0.8, 1.2, 1.6, 1.8, 322s + 0.2, 0.4, 0.8, 1.2, 1.6, 1.8, 322s + 0.2, 0.4, 0.8, 1.2, 1.6, 1.8), nrow = 3, byrow = TRUE) 322s > 322s > Y <- matrix(c( 322s + 3, 3, 3, 3, 3, 3, 322s + 4, 4, 4, 4, 4, 4, 322s + 5, 5, 5, 5, 5, 5), nrow = 3, byrow = TRUE) 322s > 322s > all.equal(gradient(Z)$X, X1) 322s [1] TRUE 322s > all.equal(gradient(Z, x, y)$X, X2) 322s [1] TRUE 322s > all.equal(gradient(Z, x, y)$Y, Y) 322s [1] TRUE 322s > 322s BEGIN TEST hadamard.R 322s 322s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 322s Copyright (C) 2024 The R Foundation for Statistical Computing 322s Platform: aarch64-unknown-linux-gnu (64-bit) 322s 322s R is free software and comes with ABSOLUTELY NO WARRANTY. 322s You are welcome to redistribute it under certain conditions. 322s Type 'license()' or 'licence()' for distribution details. 322s 322s R is a collaborative project with many contributors. 322s Type 'contributors()' for more information and 322s 'citation()' on how to cite R or R packages in publications. 322s 322s Type 'demo()' for some demos, 'help()' for on-line help, or 322s 'help.start()' for an HTML browser interface to help. 322s Type 'q()' to quit R. 322s 323s > ## 323s > ## ha d a m a r d . R Test suite 323s > ## 323s > 323s > 323s > hadamard <- pracma::hadamard 323s > Toeplitz <- pracma::Toeplitz 323s > 323s > all.equal(hadamard(2), 323s + matrix(c(1, 1, 1, -1), 2, 2)) 323s [1] TRUE 323s > all.equal(hadamard(4), 323s + matrix(c(1, 1, 1, 1, 323s + 1, -1, 1, -1, 323s + 1, 1, -1, -1, 323s + 1, -1, -1, 1), 4, 4)) 323s [1] TRUE 323s > # H12 <- hadamard(12) 323s > # all.equal(t(H12) %*% H12, 323s > # diag(12, 12, 12)) 323s > # H20 <- hadamard(20) 323s > # all.equal(t(H20) %*% H20, 323s > # diag(20, 20, 20)) 323s > 323s > all.equal(Toeplitz(c(1, 2, 4, 6, 8), c(1, 3, 5, 7, 9)), 323s + matrix(c(1, 3, 5, 7, 9, 323s + 2, 1, 3, 5, 7, 323s + 4, 2, 1, 3, 5, 323s + 6, 4, 2, 1, 3, 323s + 8, 6, 4, 2, 1), 5, 5, byrow = TRUE)) 323s [1] TRUE 323s > 323s BEGIN TEST hankel.R 323s 323s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 323s Copyright (C) 2024 The R Foundation for Statistical Computing 323s Platform: aarch64-unknown-linux-gnu (64-bit) 323s 323s R is free software and comes with ABSOLUTELY NO WARRANTY. 323s You are welcome to redistribute it under certain conditions. 323s Type 'license()' or 'licence()' for distribution details. 323s 323s R is a collaborative project with many contributors. 323s Type 'contributors()' for more information and 323s 'citation()' on how to cite R or R packages in publications. 323s 323s Type 'demo()' for some demos, 'help()' for on-line help, or 323s 'help.start()' for an HTML browser interface to help. 323s Type 'q()' to quit R. 323s 324s > ## 324s > ## hankel.R Test 324s > ## 324s > 324s > hankel <- pracma::hankel 324s > 324s > identical(hankel(2), matrix(2, nrow=1, ncol=1)) 324s [1] TRUEWarning message: 324s In hankel(1:3, 2:1) : a[n] not equal to b[1], b[1] set to a[n]. 324s Warning message: 324s In hankel(1:2, 3:1) : a[n] not equal to b[1], b[1] set to a[n]. 324s 324s > identical(hankel(1:3), matrix(c(1,2,3,2,3,0,3,0,0), 3, 3)) 324s [1] TRUE 324s > identical(hankel(1:3, 3:1), matrix(c(1,2,3,2,3,2,3,2,1), 3, 3)) 324s [1] TRUE 324s > identical(hankel(1:3, 2:1), matrix(c(1,2,3,2,3,1), 3, 2)) 324s [1] TRUE 324s > identical(hankel(1:2, 3:1), matrix(c(1,2,2,2,2,1), 2, 3)) 324s [1] TRUE 324s > 324s BEGIN TEST hilb.R 324s 324s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 324s Copyright (C) 2024 The R Foundation for Statistical Computing 324s Platform: aarch64-unknown-linux-gnu (64-bit) 324s 324s R is free software and comes with ABSOLUTELY NO WARRANTY. 324s You are welcome to redistribute it under certain conditions. 324s Type 'license()' or 'licence()' for distribution details. 324s 324s R is a collaborative project with many contributors. 324s Type 'contributors()' for more information and 324s 'citation()' on how to cite R or R packages in publications. 324s 324s Type 'demo()' for some demos, 'help()' for on-line help, or 324s 'help.start()' for an HTML browser interface to help. 324s Type 'q()' to quit R. 324s 324s > ### 324s > ### hilb.R +++ Test suite +++ 324s > ### 324s > 324s > 324s > test.hilb <- function(input, expected) { 324s + output <- do.call(getFromNamespace("hilb", "pracma"), input) 324s + identical(output, expected) 324s + } 324s > 324s > hilb.expected.m1 <- matrix(NA, nrow=0, ncol=0) 324s > hilb.expected.0 <- matrix(0, nrow=0, ncol=0) 324s > hilb.expected.1 <- matrix(1, nrow=1, ncol=1) 324s > hilb.expected.5 <- 1 / matrix(c(1:5,2:6,3:7,4:8,5:9), nrow=5,ncol=5) 324s > 324s > test.hilb(list(n=-1), hilb.expected.m1) 325s [1] TRUE 325s > test.hilb(list(n=0), hilb.expected.0) 325s [1] TRUE 325s > test.hilb(list(n=1), hilb.expected.1) 325s [1] TRUE 325s > test.hilb(list(n=5), hilb.expected.5) 325s [1] TRUE 325s > 325s BEGIN TEST horner.R 325s 325s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 325s Copyright (C) 2024 The R Foundation for Statistical Computing 325s Platform: aarch64-unknown-linux-gnu (64-bit) 325s 325s R is free software and comes with ABSOLUTELY NO WARRANTY. 325s You are welcome to redistribute it under certain conditions. 325s Type 'license()' or 'licence()' for distribution details. 325s 325s R is a collaborative project with many contributors. 325s Type 'contributors()' for more information and 325s 'citation()' on how to cite R or R packages in publications. 325s 325s Type 'demo()' for some demos, 'help()' for on-line help, or 325s 'help.start()' for an HTML browser interface to help. 325s Type 'q()' to quit R. 325s 325s > ## 325s > ## h or n e r . R Test Suite 325s > ## 325s > 325s > 325s > horner <- pracma::horner 325s > hornerdefl <- pracma::hornerdefl 325s > 325s > p <- c(1, 0, 1) 325s > x <- c(-2, -1, 0, 1, 2) 325s > identical(horner(p, x)$y, x^2 + 1) 325s [1] TRUE 325s > identical(horner(p, x)$dy, 2*x) 325s [1] TRUE 325s > 325s > p <- c(1, -6, 11, -6) 325s > identical(hornerdefl(p, 3)$y, 0) 325s [1] TRUE 325s > identical(hornerdefl(p, 3)$q, (c(1, -3, 2))) 325s [1] TRUE 325s > 325s BEGIN TEST hypot.R 326s 326s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 326s Copyright (C) 2024 The R Foundation for Statistical Computing 326s Platform: aarch64-unknown-linux-gnu (64-bit) 326s 326s R is free software and comes with ABSOLUTELY NO WARRANTY. 326s You are welcome to redistribute it under certain conditions. 326s Type 'license()' or 'licence()' for distribution details. 326s 326s R is a collaborative project with many contributors. 326s Type 'contributors()' for more information and 326s 'citation()' on how to cite R or R packages in publications. 326s 326s Type 'demo()' for some demos, 'help()' for on-line help, or 326s 'help.start()' for an HTML browser interface to help. 326s Type 'q()' to quit R. 326s 326s > ### 326s > ### h y p o t Tests 326s > ### 326s > 326s > 326s > hypot <- pracma::hypot 326s > identical(hypot(3,4), 5) 326s [1] TRUE 326s > identical(hypot(c(0,0), c(3,4)), c(3,4)) 326s [1] TRUE 326s > 326s BEGIN TEST interp1.R 327s 327s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 327s Copyright (C) 2024 The R Foundation for Statistical Computing 327s Platform: aarch64-unknown-linux-gnu (64-bit) 327s 327s R is free software and comes with ABSOLUTELY NO WARRANTY. 327s You are welcome to redistribute it under certain conditions. 327s Type 'license()' or 'licence()' for distribution details. 327s 327s R is a collaborative project with many contributors. 327s Type 'contributors()' for more information and 327s 'citation()' on how to cite R or R packages in publications. 327s 327s Type 'demo()' for some demos, 'help()' for on-line help, or 327s 'help.start()' for an HTML browser interface to help. 327s Type 'q()' to quit R. 327s 327s > ## 327s > ## i n t e r p 1 . R Test suite 327s > ## 327s > 327s > 327s > interp1 <- pracma::interp1 327s > 327s > x <- c(0.0, 0.5, 1.0, 1.5) 327s > y <- x^2 327s > xi <- c(0.25, 0.75, 1.25) 327s > 327s > identical(interp1(x, y, xi, method="constant"), c(0.0, 0.25, 1.0)) 327s [1] TRUE 327s > identical(interp1(x, y, xi, method="linear"), c(0.125, 0.625, 1.625)) 327s [1] TRUE 327s > identical(interp1(x, y, xi, method="nearest"), c(0.25, 1.00, 2.25)) 327s [1] TRUE 327s > identical(interp1(x, y, xi, method="spline"), c(0.0625, 0.5625, 1.5625)) 327s [1] FALSE 327s > 327s > # Not yet implemented 327s > # identical(interp1(x, y, xi, method="cubic"), c(0.0781, 0.5547, 1.5547)) 327s > 327s BEGIN TEST interp2.R 328s 328s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 328s Copyright (C) 2024 The R Foundation for Statistical Computing 328s Platform: aarch64-unknown-linux-gnu (64-bit) 328s 328s R is free software and comes with ABSOLUTELY NO WARRANTY. 328s You are welcome to redistribute it under certain conditions. 328s Type 'license()' or 'licence()' for distribution details. 328s 328s R is a collaborative project with many contributors. 328s Type 'contributors()' for more information and 328s 'citation()' on how to cite R or R packages in publications. 328s 328s Type 'demo()' for some demos, 'help()' for on-line help, or 328s 'help.start()' for an HTML browser interface to help. 328s Type 'q()' to quit R. 328s 328s > ## 328s > ## i n t e r p 2 . R Test suite 328s > ## 328s > 328s > 328s > interp2 <- pracma::interp2 328s > 328s > x <- c(0.0, 0.2, 0.4, 0.6, 0.8, 1.0) 328s > y <- c(1, 2, 3) 328s > 328s > Z <- matrix(c( 328s + 1, 1.04, 1.16, 1.36, 1.64, 2, 328s + 4, 4.04, 4.16, 4.36, 4.64, 5, 328s + 9, 9.04, 9.16, 9.36, 9.64, 10), nrow = 3, byrow = TRUE) 328s > 328s > all.equal(interp2(x, y, Z, 0.55, 2.55, method = "constant"), 4.16) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 0.55, 2.55, method = "nearest"), 9.36) 328s [1] TRUE 328s > 328s > all.equal(interp2(x, y, Z, 0.5, 2.5, method = "linear"), 6.76) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 0.55, 2.5, method = "linear"), 6.81) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 0.5, 2.55, method = "linear"), 7.01) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 0.55, 2.55, method = "linear"), 7.06) 328s [1] TRUE 328s > 328s > all.equal(interp2(x, y, Z, 0.0, 1.5, method = "linear"), 2.5) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 0.1, 1.0, method = "linear"), 1.02) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 1.0, 2.5, method = "linear"), 7.5) 328s [1] TRUE 328s > all.equal(interp2(x, y, Z, 0.9, 3.0, method = "linear"), 9.82) 328s [1] TRUE 328s > 328s BEGIN TEST inv.R 329s 329s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 329s Copyright (C) 2024 The R Foundation for Statistical Computing 329s Platform: aarch64-unknown-linux-gnu (64-bit) 329s 329s R is free software and comes with ABSOLUTELY NO WARRANTY. 329s You are welcome to redistribute it under certain conditions. 329s Type 'license()' or 'licence()' for distribution details. 329s 329s R is a collaborative project with many contributors. 329s Type 'contributors()' for more information and 329s 'citation()' on how to cite R or R packages in publications. 329s 329s Type 'demo()' for some demos, 'help()' for on-line help, or 329s 'help.start()' for an HTML browser interface to help. 329s Type 'q()' to quit R. 329s 329s > ### 329s > ### eig.R +++ Test suite +++ 329s > ### 329s > 329s > 329s > test.inv <- function(input, expected) { 329s + output <- do.call(getFromNamespace("inv", "pracma"), input) 329s + identical(output, expected) 329s + } 329s > 329s > inv.expected.empty <- matrix(0, nrow=0, ncol=0) 329s > inv.expected.singl <- matrix(Inf, 2, 2) 329s > inv.expected.mat1 <- matrix(c(3,-3,1, -3,5,-2, 1,-2,1), 3, 3) 329s > 329s > test.inv(list(a=c()), inv.expected.empty) 329s [1] TRUE 329s > test.inv(list(a=matrix(1, 2, 2)), inv.expected.singl) 330s [1] TRUE 330s Warning message: 330s In (function (a) : Matrix appears to be singular. 330s > test.inv(list(a=matrix(c(1,1,1, 1,2,3, 1,3,6), 3, 3)), inv.expected.mat1) 330s [1] TRUE 330s > 330s BEGIN TEST isprime.R 330s 330s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 330s Copyright (C) 2024 The R Foundation for Statistical Computing 330s Platform: aarch64-unknown-linux-gnu (64-bit) 330s 330s R is free software and comes with ABSOLUTELY NO WARRANTY. 330s You are welcome to redistribute it under certain conditions. 330s Type 'license()' or 'licence()' for distribution details. 330s 330s R is a collaborative project with many contributors. 330s Type 'contributors()' for more information and 330s 'citation()' on how to cite R or R packages in publications. 330s 330s Type 'demo()' for some demos, 'help()' for on-line help, or 330s 'help.start()' for an HTML browser interface to help. 330s Type 'q()' to quit R. 330s 330s > ### 330s > ### ISPRIME.R +++ Test suite +++ 330s > ### 330s > 330s > 330s > test.isprime <- function(input, expected) { 330s + output <- do.call(getFromNamespace("isprime", "pracma"), input) 330s + identical(output, expected) 330s + } 330s > 330s > isprime.expected.n1 <- 0 330s > isprime.expected.n2 <- 1 330s > isprime.expected.n100 <- 330s + matrix(c(0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 330s + 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 330s + 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 330s + 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 330s + 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 330s + 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 330s + 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 330s + 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 330s + 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 330s + 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ), 330s + nrow=10, ncol=10, byrow=TRUE) 330s > 330s > test.isprime(list(x=1), isprime.expected.n1) 330s [1] TRUE 330s > test.isprime(list(x=2), isprime.expected.n2) 330s [1] TRUE 330s > test.isprime(list(x=matrix(1:100, 10, 10, byrow=TRUE)), 330s + isprime.expected.n100) 330s [1] TRUE 330s > 330s BEGIN TEST lambertW.R 331s 331s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 331s Copyright (C) 2024 The R Foundation for Statistical Computing 331s Platform: aarch64-unknown-linux-gnu (64-bit) 331s 331s R is free software and comes with ABSOLUTELY NO WARRANTY. 331s You are welcome to redistribute it under certain conditions. 331s Type 'license()' or 'licence()' for distribution details. 331s 331s R is a collaborative project with many contributors. 331s Type 'contributors()' for more information and 331s 'citation()' on how to cite R or R packages in publications. 331s 331s Type 'demo()' for some demos, 'help()' for on-line help, or 331s 'help.start()' for an HTML browser interface to help. 331s Type 'q()' to quit R. 331s 331s > ## 331s > ## l a m b e r t W . R test suite 331s > ## 331s > 331s > 331s > lambertWp <- pracma::lambertWp 331s > 331s > x <- seq(0, 10, len=21) 331s > # y <- lambert_W0(x) 331s > y0 <- c(0.0000000, 0.3517337, 0.5671433, 0.7258614, 0.8526055, 0.9585864, 331s + 1.0499089, 1.1302893, 1.2021679, 1.2672378, 1.3267247, 1.3815454, 331s + 1.4324048, 1.4798568, 1.5243452, 1.5662310, 1.6058120, 1.6433371, 331s + 1.6790164, 1.7130288, 1.7455280) 331s > 331s > all.equal(lambertWp(x), y0, tolerance = 1e-7) 331s [1] TRUE 331s > 331s BEGIN TEST linspace.R 332s 332s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 332s Copyright (C) 2024 The R Foundation for Statistical Computing 332s Platform: aarch64-unknown-linux-gnu (64-bit) 332s 332s R is free software and comes with ABSOLUTELY NO WARRANTY. 332s You are welcome to redistribute it under certain conditions. 332s Type 'license()' or 'licence()' for distribution details. 332s 332s R is a collaborative project with many contributors. 332s Type 'contributors()' for more information and 332s 'citation()' on how to cite R or R packages in publications. 332s 332s Type 'demo()' for some demos, 'help()' for on-line help, or 332s 'help.start()' for an HTML browser interface to help. 332s Type 'q()' to quit R. 332s 332s > ## 332s > ## l i n s p a c e . R 332s > ## 332s > 332s > linspace <- pracma::linspace 332s > logspace <- pracma::logspace 332s > logseq <- pracma::logseq 332s > 332s > identical(linspace(1, 100), as.numeric(1:100)) 332s [1] TRUE 332s > identical(linspace(0, 25, 5), c(0, 6.25, 12.50, 18.75, 25)) 332s [1] TRUE 332s > identical(linspace(1, 25, 1.5), 25) 332s [1] TRUE 332s > identical(all.equal(logspace(1, pi, n=5), 332s + c(10.0000, 7.4866, 5.6050, 4.1963, 3.1416), 332s + tolerance=0.0001), 332s + TRUE) 332s [1] TRUE 332s > all.equal(logseq(1, 100, 3), c(1, 10, 100)) 332s [1] TRUE 332s > 332s BEGIN TEST magic.R 333s 333s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 333s Copyright (C) 2024 The R Foundation for Statistical Computing 333s Platform: aarch64-unknown-linux-gnu (64-bit) 333s 333s R is free software and comes with ABSOLUTELY NO WARRANTY. 333s You are welcome to redistribute it under certain conditions. 333s Type 'license()' or 'licence()' for distribution details. 333s 333s R is a collaborative project with many contributors. 333s Type 'contributors()' for more information and 333s 'citation()' on how to cite R or R packages in publications. 333s 333s Type 'demo()' for some demos, 'help()' for on-line help, or 333s 'help.start()' for an HTML browser interface to help. 333s Type 'q()' to quit R. 333s 333s > ## 333s > ## ma g i c . R -- Test suite 333s > ## 333s > 333s > 333s > magic <- pracma::magic 333s > 333s > identical(magic(3), matrix(c(8, 1, 6, 333s + 3, 5, 7, 333s + 4, 9, 2), nrow = 3, ncol = 3, byrow = TRUE)) 333s [1] TRUE 333s > 333s > identical(magic(4), matrix(c(16, 2, 3, 13, 333s + 5, 11, 10, 8, 333s + 9, 7, 6, 12, 333s + 4, 14, 15, 1), 333s + nrow = 4, ncol = 4, byrow = TRUE)) 333s [1] TRUE 333s > 333s > identical(magic(6), matrix(c(35, 1, 6, 26, 19, 24, 333s + 3, 32, 7, 21, 23, 25, 333s + 31, 9, 2, 22, 27, 20, 333s + 8, 28, 33, 17, 10, 15, 333s + 30, 5, 34, 12, 14, 16, 333s + 4, 36, 29, 13, 18, 11), 333s + nrow = 6, ncol = 6, byrow = TRUE)) 333s [1] TRUE 333s > 333s > identical(magic(10), matrix(c(92, 99, 1, 8, 15, 67, 74, 51, 58, 40, 333s + 98, 80, 7, 14, 16, 73, 55, 57, 64, 41, 333s + 4, 81, 88, 20, 22, 54, 56, 63, 70, 47, 333s + 85, 87, 19, 21, 3, 60, 62, 69, 71, 28, 333s + 86, 93, 25, 2, 9, 61, 68, 75, 52, 34, 333s + 17, 24, 76, 83, 90, 42, 49, 26, 33, 65, 333s + 23, 5, 82, 89, 91, 48, 30, 32, 39, 66, 333s + 79, 6, 13, 95, 97, 29, 31, 38, 45, 72, 333s + 10, 12, 94, 96, 78, 35, 37, 44, 46, 53, 333s + 11, 18,100, 77, 84, 36, 43, 50, 27, 59), 333s + nrow = 10, ncol = 10, byrow = TRUE)) 333s [1] TRUE 333s > 333s BEGIN TEST meshgrid.R 334s 334s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 334s Copyright (C) 2024 The R Foundation for Statistical Computing 334s Platform: aarch64-unknown-linux-gnu (64-bit) 334s 334s R is free software and comes with ABSOLUTELY NO WARRANTY. 334s You are welcome to redistribute it under certain conditions. 334s Type 'license()' or 'licence()' for distribution details. 334s 334s R is a collaborative project with many contributors. 334s Type 'contributors()' for more information and 334s 'citation()' on how to cite R or R packages in publications. 334s 334s Type 'demo()' for some demos, 'help()' for on-line help, or 334s 'help.start()' for an HTML browser interface to help. 334s Type 'q()' to quit R. 334s 334s > ## 334s > ## m e s h g r i d . R Test suite 334s > ## 334s > 334s > 334s > meshgrid <- pracma::meshgrid 334s > 334s > identical(meshgrid(1:3, 10:14)$X, 335s + matrix(rep(c(1:3), each = 5), nr = 5, nc = 3)) 335s [1] TRUE 335s > identical(meshgrid(1:3, 10:14)$Y, 335s + matrix(rep(10:14, times = 3), nr = 5, nc = 3)) 335s [1] TRUE 335s > 335s BEGIN TEST mldivide.R 335s 335s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 335s Copyright (C) 2024 The R Foundation for Statistical Computing 335s Platform: aarch64-unknown-linux-gnu (64-bit) 335s 335s R is free software and comes with ABSOLUTELY NO WARRANTY. 335s You are welcome to redistribute it under certain conditions. 335s Type 'license()' or 'licence()' for distribution details. 335s 335s R is a collaborative project with many contributors. 335s Type 'contributors()' for more information and 335s 'citation()' on how to cite R or R packages in publications. 335s 335s Type 'demo()' for some demos, 'help()' for on-line help, or 335s 'help.start()' for an HTML browser interface to help. 335s Type 'q()' to quit R. 335s 335s > ## 335s > ## m l d i v i d e . R test suite 335s > ## 335s > 335s > 335s > mldivide <- pracma::mldivide 335s > mrdivide <- pracma::mrdivide 335s > 335s > A <- matrix(c(8,1,6, 3,5,7, 4,9,2), nrow = 3, ncol = 3, byrow = TRUE) 335s > identical(all.equal(mldivide(A, A), diag(1, 3, 3), tolerance=1e-7), TRUE) 335s [1] TRUE 335s > identical(all.equal(mrdivide(A, A), diag(1, 3, 3), tolerance=1e-7), TRUE) 335s [1] TRUE 335s > 335s BEGIN TEST mod.R 336s 336s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 336s Copyright (C) 2024 The R Foundation for Statistical Computing 336s Platform: aarch64-unknown-linux-gnu (64-bit) 336s 336s R is free software and comes with ABSOLUTELY NO WARRANTY. 336s You are welcome to redistribute it under certain conditions. 336s Type 'license()' or 'licence()' for distribution details. 336s 336s R is a collaborative project with many contributors. 336s Type 'contributors()' for more information and 336s 'citation()' on how to cite R or R packages in publications. 336s 336s Type 'demo()' for some demos, 'help()' for on-line help, or 336s 'help.start()' for an HTML browser interface to help. 336s Type 'q()' to quit R. 336s 336s > ## 336s > ## m o d . R tests 336s > ## 336s > 336s > mod <- pracma::mod 336s > rem <- pracma::rem 336s > 336s > identical(mod(0, 0), 0) 336s [1] TRUE 336s > identical(mod(1, 0), 1) 336s [1] TRUE 336s > identical(mod(0, 2), 0) 336s [1] TRUE 336s > identical(mod(5, 3), 2) 336s [1] TRUE 336s > identical(mod(5, -3), -1) 336s [1] TRUE 336s > identical(mod(-5, 3), 1) 336s [1] TRUE 336s > identical(mod(-5, -3), -2) 336s [1] TRUE 336s > 336s > identical(rem(0, 0), NaN) 336s [1] TRUE 336s > identical(rem(1, 0), NaN) 336s [1] TRUE 336s > identical(rem(0, 2), 0) 336s [1] TRUE 336s > identical(rem(5, 3), 2) 336s [1] TRUE 336s > identical(rem(5, -3), 2) 336s [1] TRUE 336s > identical(rem(-5, 3), -2) 336s [1] TRUE 336s > identical(rem(-5, -3), -2) 336s [1] TRUE 336s > 336s BEGIN TEST mode.R 337s 337s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 337s Copyright (C) 2024 The R Foundation for Statistical Computing 337s Platform: aarch64-unknown-linux-gnu (64-bit) 337s 337s R is free software and comes with ABSOLUTELY NO WARRANTY. 337s You are welcome to redistribute it under certain conditions. 337s Type 'license()' or 'licence()' for distribution details. 337s 337s R is a collaborative project with many contributors. 337s Type 'contributors()' for more information and 337s 'citation()' on how to cite R or R packages in publications. 337s 337s Type 'demo()' for some demos, 'help()' for on-line help, or 337s 'help.start()' for an HTML browser interface to help. 337s Type 'q()' to quit R. 337s 337s > ## 337s > ## m o d e . R 337s > ## 337s > 337s > 337s > Mode <- pracma::Mode 337s > 337s > x <- c(1:100, rep(5,3), rep(27,5), rep(71,4), rep(89,2), rep(100, 5)) 337s > identical(Mode(x), 27) 337s [1] TRUE 337s > 337s > x <- as.factor(x) 337s > identical(Mode(x), "27") 337s [1] TRUE 337s > 337s BEGIN TEST nextpow2.R 337s 337s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 337s Copyright (C) 2024 The R Foundation for Statistical Computing 337s Platform: aarch64-unknown-linux-gnu (64-bit) 337s 337s R is free software and comes with ABSOLUTELY NO WARRANTY. 337s You are welcome to redistribute it under certain conditions. 337s Type 'license()' or 'licence()' for distribution details. 337s 337s R is a collaborative project with many contributors. 337s Type 'contributors()' for more information and 337s 'citation()' on how to cite R or R packages in publications. 337s 337s Type 'demo()' for some demos, 'help()' for on-line help, or 337s 'help.start()' for an HTML browser interface to help. 337s Type 'q()' to quit R. 337s 338s > ### 338s > ### nextpow2.R +++ Test suite +++ 338s > ### 338s > 338s > 338s > test.nextpow2 <- function(input, expected) { 338s + output <- do.call(getFromNamespace("nextpow2", "pracma"), input) 338s + identical(output, expected) 338s + } 338s > 338s > nextpow2.expected.empty <- NULL 338s > nextpow2.expected.0 <- 0 338s > nextpow2.expected.vector <- c(0, 1, 2, 2, 3, 3, 3, 3, 4, 4) 338s > nextpow2.expected.matrix <- matrix(c(0, 1, 1, 0), 2, 2) 338s > nextpow2.expected.16 <- 4 338s > nextpow2.expected.m16 <- 4 338s > nextpow2.expected.m6 <- -19 338s > nextpow2.expected.mq <- -2 338s > 338s > test.nextpow2(list(x=c()), nextpow2.expected.empty) 338s [1] TRUE 338s > test.nextpow2(list(x=0), nextpow2.expected.0) 338s [1] TRUE 338s > test.nextpow2(list(x=1:10), nextpow2.expected.vector) 338s [1] TRUE 338s > test.nextpow2(list(x=matrix(c(1i, 2i, 2+0i, 0+0i), 2, 2)), 338s + nextpow2.expected.matrix) 338s [1] TRUE 338s > test.nextpow2(list(x=16), nextpow2.expected.16) 338s [1] TRUE 338s > test.nextpow2(list(x=-16), nextpow2.expected.m16) 338s [1] TRUE 338s > test.nextpow2(list(x=1e-6), nextpow2.expected.m6) 338s [1] TRUE 338s > test.nextpow2(list(x=-0.25), nextpow2.expected.mq) 338s [1] TRUE 338s > 338s BEGIN TEST norm.R 338s 338s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 338s Copyright (C) 2024 The R Foundation for Statistical Computing 338s Platform: aarch64-unknown-linux-gnu (64-bit) 338s 338s R is free software and comes with ABSOLUTELY NO WARRANTY. 338s You are welcome to redistribute it under certain conditions. 338s Type 'license()' or 'licence()' for distribution details. 338s 338s R is a collaborative project with many contributors. 338s Type 'contributors()' for more information and 338s 'citation()' on how to cite R or R packages in publications. 338s 338s Type 'demo()' for some demos, 'help()' for on-line help, or 338s 'help.start()' for an HTML browser interface to help. 338s Type 'q()' to quit R. 338s 339s > ## 339s > ## n o r m Test suite 339s > ## 339s > 339s > 339s > Norm <- pracma::Norm 339s > 339s > identical(Norm(c(3, 4)), 5) 339s [1] TRUE 339s > identical(Norm(c(1, 1, 1), p=2), sqrt(3)) 339s [1] TRUE 339s > identical(Norm(1:10, p = 1), sum(1:10)+0.0) 339s [1] TRUE 339s > identical(Norm(1:10, p = 0), Inf) 339s [1] TRUE 339s > identical(Norm(1:10, p = Inf), max(1:10)) 339s [1] TRUE 339s > identical(Norm(1:10, p = -Inf), min(1:10)) 339s [1] TRUE 339s > 339s BEGIN TEST nthroot.R 340s 340s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 340s Copyright (C) 2024 The R Foundation for Statistical Computing 340s Platform: aarch64-unknown-linux-gnu (64-bit) 340s 340s R is free software and comes with ABSOLUTELY NO WARRANTY. 340s You are welcome to redistribute it under certain conditions. 340s Type 'license()' or 'licence()' for distribution details. 340s 340s R is a collaborative project with many contributors. 340s Type 'contributors()' for more information and 340s 'citation()' on how to cite R or R packages in publications. 340s 340s Type 'demo()' for some demos, 'help()' for on-line help, or 340s 'help.start()' for an HTML browser interface to help. 340s Type 'q()' to quit R. 340s 340s > ### 340s > ### NTHROOT.R +++ Test suite +++ 340s > ### 340s > 340s > 340s > test.nthroot <- function(input, expected) { 340s + output <- do.call(getFromNamespace("nthroot", "pracma"), input) 340s + identical(output, expected) 340s + } 340s > 340s > nthroot.expected.n0 <- c(-1.2) 340s > nthroot.expected.n1 <- c(1, -2, 3) 340s > nthroot.expected.n2 <- c(1, 0, 3) 340s > nthroot.expected.n3 <- c(1, -2, 3) 340s > 340s > test.nthroot(list(x=-1.2^5, n=5), nthroot.expected.n0) 340s [1] TRUE 340s > test.nthroot(list(x=c(1,-2, 3), n=1), nthroot.expected.n1) 341s [1] TRUE 341s > test.nthroot(list(x=c(1, 0, 9), n=2), nthroot.expected.n2) 341s [1] TRUE 341s > test.nthroot(list(x=c(1,-8,27), n=3), nthroot.expected.n3) 341s [1] TRUE 341s > 341s BEGIN TEST pascal.R 341s 341s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 341s Copyright (C) 2024 The R Foundation for Statistical Computing 341s Platform: aarch64-unknown-linux-gnu (64-bit) 341s 341s R is free software and comes with ABSOLUTELY NO WARRANTY. 341s You are welcome to redistribute it under certain conditions. 341s Type 'license()' or 'licence()' for distribution details. 341s 341s R is a collaborative project with many contributors. 341s Type 'contributors()' for more information and 341s 'citation()' on how to cite R or R packages in publications. 341s 341s Type 'demo()' for some demos, 'help()' for on-line help, or 341s 'help.start()' for an HTML browser interface to help. 341s Type 'q()' to quit R. 341s 342s > ## 342s > ## p a s c a l . R Test Suite 342s > ## 342s > 342s > pascal <- pracma::pascal 342s > nchoosek <- pracma::nchoosek 342s > 342s > identical(pascal(3), 342s + matrix(c(1, 1, 1, 1, 2, 3, 1, 3, 6), 3, 3)) 342s [1] TRUE 342s > 342s > identical(nchoosek(6, 1), choose(6, 1)) 342s [1] TRUE 342s > identical(nchoosek(6, 2), choose(6, 2)) 342s [1] TRUE 342s > identical(nchoosek(6, 3), choose(6, 3)) 342s [1] TRUE 342s > identical(nchoosek(6, 4), choose(6, 4)) 342s [1] TRUE 342s > identical(nchoosek(6, 5), choose(6, 5)) 342s [1] TRUE 342s > identical(nchoosek(6, 6), choose(6, 6)) 342s [1] TRUE 342s > 342s BEGIN TEST pchip.R 342s 342s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 342s Copyright (C) 2024 The R Foundation for Statistical Computing 342s Platform: aarch64-unknown-linux-gnu (64-bit) 342s 342s R is free software and comes with ABSOLUTELY NO WARRANTY. 342s You are welcome to redistribute it under certain conditions. 342s Type 'license()' or 'licence()' for distribution details. 342s 342s R is a collaborative project with many contributors. 342s Type 'contributors()' for more information and 342s 'citation()' on how to cite R or R packages in publications. 342s 342s Type 'demo()' for some demos, 'help()' for on-line help, or 342s 'help.start()' for an HTML browser interface to help. 342s Type 'q()' to quit R. 342s 343s > ## 343s > ## p c h i p . R Test suite 343s > ## 343s > 343s > 343s > pchip <- pracma::pchip 343s > 343s > x <- c(1, 2, 3, 4, 5, 6) 343s > y <- c(16, 18, 21, 17, 15, 12) 343s > 343s > xs <- c(1.5, 2.5, 3.5, 4.5, 5.5) 343s > ys <- pchip(x, y, xs) 343s > # ys <- interp1(x, y, xs, method="cubic") # the same 343s > # 16.88750 19.80000 19.33333 15.96667 13.63750 343s > 343s > yml <- c(16.887499999999999, 19.800000000000001, 19.333333333333332, 343s + 15.966666666666667, 13.637499999999999) 343s > 343s > all.equal(ys, yml, tolerance = 1e-7) 343s [1] TRUE 343s > 343s BEGIN TEST perms.R 343s 343s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 343s Copyright (C) 2024 The R Foundation for Statistical Computing 343s Platform: aarch64-unknown-linux-gnu (64-bit) 343s 343s R is free software and comes with ABSOLUTELY NO WARRANTY. 343s You are welcome to redistribute it under certain conditions. 343s Type 'license()' or 'licence()' for distribution details. 343s 343s R is a collaborative project with many contributors. 343s Type 'contributors()' for more information and 343s 'citation()' on how to cite R or R packages in publications. 343s 343s Type 'demo()' for some demos, 'help()' for on-line help, or 343s 'help.start()' for an HTML browser interface to help. 343s Type 'q()' to quit R. 343s 343s > ## 343s > ## p e r m s . R Test Suite 344s > ## 344s > 344s > perms <- pracma::perms 344s > randperm <- pracma::randperm 344s > 344s > identical(perms(2), matrix(2, 1, 1)) 344s [1] TRUE 344s > identical(perms(c(1, 2)), matrix(c(2, 1, 1, 2), 2, 2)) 344s [1] TRUE 344s > identical(nrow(perms(1:6)), 720L) 344s [1] TRUE 344s > 344s > all(c(1,2,3) %in% randperm(c(1,2,3))) 344s [1] TRUE 344s > 344s BEGIN TEST piecewise.R 344s 344s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 344s Copyright (C) 2024 The R Foundation for Statistical Computing 344s Platform: aarch64-unknown-linux-gnu (64-bit) 344s 344s R is free software and comes with ABSOLUTELY NO WARRANTY. 344s You are welcome to redistribute it under certain conditions. 344s Type 'license()' or 'licence()' for distribution details. 344s 344s R is a collaborative project with many contributors. 344s Type 'contributors()' for more information and 344s 'citation()' on how to cite R or R packages in publications. 344s 344s Type 'demo()' for some demos, 'help()' for on-line help, or 344s 'help.start()' for an HTML browser interface to help. 344s Type 'q()' to quit R. 344s 344s > ## 344s > ## p i e c e w i s e . R Test suite 344s > ## 344s > 344s > 344s > piecewise <- pracma::piecewise 344s > 344s > x <- c(0, 1, 2, 3, 4, 5) 344s > y <- c(1, 1, -1, 0, 1, 0) 344s > identical(piecewise(x, y)$area, 1.5) 344s [1] TRUE 344s > identical(piecewise(x, y)$zeros, c(1.5, 3, 5)) 344s [1] TRUE 344s > identical(piecewise(x, y, abs = TRUE)$area, 3.0) 344s [1] TRUE 344s > identical(piecewise(x, y, abs = TRUE)$zeros, c(1.5, 3, 5)) 344s [1] TRUE 344s > 344s BEGIN TEST poly.R 345s 345s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 345s Copyright (C) 2024 The R Foundation for Statistical Computing 345s Platform: aarch64-unknown-linux-gnu (64-bit) 345s 345s R is free software and comes with ABSOLUTELY NO WARRANTY. 345s You are welcome to redistribute it under certain conditions. 345s Type 'license()' or 'licence()' for distribution details. 345s 345s R is a collaborative project with many contributors. 345s Type 'contributors()' for more information and 345s 'citation()' on how to cite R or R packages in publications. 345s 345s Type 'demo()' for some demos, 'help()' for on-line help, or 345s 'help.start()' for an HTML browser interface to help. 345s Type 'q()' to quit R. 345s 345s > ### 345s > ### Poly.R +++ Test suite +++ 345s > ### 345s > 345s > 345s > test.Poly <- function(input, expected) { 345s + output <- do.call(getFromNamespace("Poly", "pracma"), input) 345s + identical(output, expected) 345s + } 345s > 345s > Poly.expected.empty <- 1 345s > Poly.expected.1 <- c(1, -6, 11, -6) 345s > #Poly.expected.2 <- error 345s > Poly.expected.3 <- c(1, 0, 0, 0, -1) 345s > Poly.expected.4 <- c(1, -10, 35, -50, 24) 345s > Poly.expected.5 <- c(1, -4, 6, -4, 1) 345s > Poly.expected.6 <- c(1, -5) 345s > 345s > test.Poly(list(x=c()), Poly.expected.empty) 345s [1] TRUE 345s > test.Poly(list(x=c(1,2,3)), Poly.expected.1) 345s [1] TRUE 345s > #test.Poly(list(x=matrix(1:6, 2, 3)), Poly.expected.2) 345s > test.Poly(list(x=c(1,-1,1i,-1i)), Poly.expected.3) 345s [1] TRUE 345s > test.Poly(list(x=c(1,2,3,4)), Poly.expected.4) 345s [1] TRUE 345s > test.Poly(list(x=diag(4)), Poly.expected.5) 345s [1] TRUE 345s > test.Poly(list(x=5), Poly.expected.6) 345s [1] TRUE 345s > 345s BEGIN TEST polyadd.R 345s 345s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 345s Copyright (C) 2024 The R Foundation for Statistical Computing 345s Platform: aarch64-unknown-linux-gnu (64-bit) 345s 345s R is free software and comes with ABSOLUTELY NO WARRANTY. 345s You are welcome to redistribute it under certain conditions. 345s Type 'license()' or 'licence()' for distribution details. 345s 345s R is a collaborative project with many contributors. 345s Type 'contributors()' for more information and 345s 'citation()' on how to cite R or R packages in publications. 345s 345s Type 'demo()' for some demos, 'help()' for on-line help, or 345s 'help.start()' for an HTML browser interface to help. 345s Type 'q()' to quit R. 345s 346s > ## 346s > ## p o l y m u l . R Test suite 346s > ## 346s > 346s > 346s > polyadd <- pracma::polyadd 346s > 346s > identical(polyadd(c(1, 1, 1), 1), c(1, 1, 2)) 346s [1] TRUE 346s > identical(polyadd(c(1, 1, 1), c(0, 1)), c(1, 1, 2)) 346s [1] TRUE 346s > identical(polyadd(c(0.5, 1, 1), c(0.5, 1, -1)), c(1, 2, 0)) 346s [1] TRUE 346s > identical(polyadd(c(0.5, 1, 1), c(-0.5, -1, 1)), c(2)) 346s [1] TRUE 346s > identical(polyadd(c(0, 0, 1, 2, 2), c(0, 1, 2, 3, 4)), c(1, 3, 5, 6)) 346s [1] TRUE 346s > 346s BEGIN TEST polyarea.R 346s 346s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 346s Copyright (C) 2024 The R Foundation for Statistical Computing 346s Platform: aarch64-unknown-linux-gnu (64-bit) 346s 346s R is free software and comes with ABSOLUTELY NO WARRANTY. 346s You are welcome to redistribute it under certain conditions. 346s Type 'license()' or 'licence()' for distribution details. 346s 346s R is a collaborative project with many contributors. 346s Type 'contributors()' for more information and 346s 'citation()' on how to cite R or R packages in publications. 346s 346s Type 'demo()' for some demos, 'help()' for on-line help, or 346s 'help.start()' for an HTML browser interface to help. 346s Type 'q()' to quit R. 346s 347s > ### 347s > ### polyarea.R +++ Test suite +++ 347s > ### 347s > 347s > 347s > test.polyarea <- function(input, expected) { 347s + output <- do.call(getFromNamespace("polyarea", "pracma"), input) 347s + identical(output, expected) 347s + } 347s > 347s > polyarea.expected.empty <- 0 347s > polyarea.expected.gen1 <- 3.5 347s > polyarea.expected.gen2 <- 4 347s > polyarea.expected.mtrx <- c(4, 4) 347s > polyarea.expected.cmpl <- 0.5 347s > 347s > test.polyarea(list(x=c(), y=c()), polyarea.expected.empty) 347s [1] TRUE 347s > test.polyarea(list(x=c(0,2,2,1,0), y=c(0,-1,2,1,1)), polyarea.expected.gen1) 347s [1] TRUE 347s > test.polyarea(list(x=matrix(c(1,1,3,3,1), 5, 1), 347s + y=matrix(c(1,3,3,1,1), 5, 1)), 347s + polyarea.expected.gen2) 347s [1] FALSE 347s > test.polyarea(list(x=matrix(c(1,3,3,1,1,1,3,3), 4, 2), 347s + y=matrix(c(1,1,3,3,1,3,3,1), 4, 2)), 347s + polyarea.expected.mtrx) 347s [1] FALSE 347s > test.polyarea(list(x=c(0,1,1,0), y=c(0,0,1i,0)), polyarea.expected.cmpl) 347s [1] FALSE 347s > 347s BEGIN TEST polyder.R 347s 347s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 347s Copyright (C) 2024 The R Foundation for Statistical Computing 347s Platform: aarch64-unknown-linux-gnu (64-bit) 347s 347s R is free software and comes with ABSOLUTELY NO WARRANTY. 347s You are welcome to redistribute it under certain conditions. 347s Type 'license()' or 'licence()' for distribution details. 347s 347s R is a collaborative project with many contributors. 347s Type 'contributors()' for more information and 347s 'citation()' on how to cite R or R packages in publications. 347s 347s Type 'demo()' for some demos, 'help()' for on-line help, or 347s 'help.start()' for an HTML browser interface to help. 347s Type 'q()' to quit R. 347s 348s > ### 348s > ### polyder.R +++ Test suite +++ 348s > ### 348s > 348s > 348s > test.polyder <- function(input, expected) { 348s + output <- do.call(getFromNamespace("polyder", "pracma"), input) 348s + identical(output, expected) 348s + } 348s > 348s > polyder.expected.0 <- 0 348s > polyder.expected.1 <- 0 348s > polyder.expected.5 <- c(4, 3, 2, 1) 348s > polyder.expected.3 <- c(2, 0) 348s > polyder.expected.2 <- c(12, 36, 42, 18) 348s > 348s > 348s > test.polyder(list(p=c()), polyder.expected.0) 348s [1] TRUE 348s > test.polyder(list(p=c(1)), polyder.expected.1) 348s [1] TRUE 348s > test.polyder(list(p=c(1,1,1,1,1)), polyder.expected.5) 348s [1] TRUE 348s > test.polyder(list(p=c(1,0,0), q=c(0,0,1)), polyder.expected.3) 348s [1] TRUE 348s > test.polyder(list(p=c(3,6,9), q=c(1,2,0)), polyder.expected.2) 348s [1] TRUE 348s > 348s BEGIN TEST polyfit.R 348s 348s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 348s Copyright (C) 2024 The R Foundation for Statistical Computing 348s Platform: aarch64-unknown-linux-gnu (64-bit) 348s 348s R is free software and comes with ABSOLUTELY NO WARRANTY. 348s You are welcome to redistribute it under certain conditions. 348s Type 'license()' or 'licence()' for distribution details. 348s 348s R is a collaborative project with many contributors. 348s Type 'contributors()' for more information and 348s 'citation()' on how to cite R or R packages in publications. 348s 348s Type 'demo()' for some demos, 'help()' for on-line help, or 348s 'help.start()' for an HTML browser interface to help. 348s Type 'q()' to quit R. 348s 349s > ### 349s > ### polyfit.R +++ Test suite +++ 349s > ### 349s > 349s > 349s > test.polyfit <- function(input, expected) { 349s + output <- do.call(getFromNamespace("polyfit", "pracma"), input) 349s + identical(all.equal(output, 349s + expected, 349s + tolerance=1e-7), 349s + TRUE 349s + ) 349s + } 349s > 349s > polyfit.expected.n1 <- c(1, 0) 349s > polyfit.expected.n23 <- c(0, 1, 1, 1) 349s > polyfit.expected.n4 <- c(-1, 0, 7, 0, 0) / 6 349s > polyfit.expected.mat <- c(0, 1, -14, 65, -112, 60) / 12 349s > 349s > test.polyfit(list(x=c(1,2,3), y=c(1,2,3)), polyfit.expected.n1) 349s [1] TRUE 349s > test.polyfit(list(x=c(-2,-1,0,1,2), y=c(3,1,1,3,7), n=3), polyfit.expected.n23) 349s [1] TRUE 349s > test.polyfit(list(x=c(-2,-1,0,1,2), y=c(2,1,0,1,2), n=4), polyfit.expected.n4) 349s [1] TRUE 349s > test.polyfit(list(x=matrix(1:6, nrow=2, ncol=3, byrow=TRUE), 349s + y=matrix(c(0,0,1,1,0,0), nrow=2, ncol=3, byrow=TRUE), 349s + n=5), polyfit.expected.mat) 349s [1] TRUE 349s > 349s > 349s BEGIN TEST polyint.R 349s 349s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 349s Copyright (C) 2024 The R Foundation for Statistical Computing 349s Platform: aarch64-unknown-linux-gnu (64-bit) 349s 349s R is free software and comes with ABSOLUTELY NO WARRANTY. 349s You are welcome to redistribute it under certain conditions. 349s Type 'license()' or 'licence()' for distribution details. 349s 349s R is a collaborative project with many contributors. 349s Type 'contributors()' for more information and 349s 'citation()' on how to cite R or R packages in publications. 349s 349s Type 'demo()' for some demos, 'help()' for on-line help, or 349s 'help.start()' for an HTML browser interface to help. 349s Type 'q()' to quit R. 349s 349s > ### 349s > ### polyint.R +++ Test suite +++ 349s > ### 349s > 349s > 349s > test.polyint <- function(input, expected) { 349s + output <- do.call(getFromNamespace("polyint", "pracma"), input) 349s + identical(output, expected) 349s + } 349s > 349s > polyint.expected.1 <- c(1, 0) 349s > polyint.expected.2 <- c(1/6, 1/5, 1/4, 1/3, 1/2, 1, 1) 350s > 350s > test.polyint(list(p=c(1)), polyint.expected.1) 350s [1] TRUE 350s > test.polyint(list(p=c(1,1,1,1,1,1), k=1), polyint.expected.2) 350s [1] TRUE 350s > 350s BEGIN TEST polymul.R 350s 350s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 350s Copyright (C) 2024 The R Foundation for Statistical Computing 350s Platform: aarch64-unknown-linux-gnu (64-bit) 350s 350s R is free software and comes with ABSOLUTELY NO WARRANTY. 350s You are welcome to redistribute it under certain conditions. 350s Type 'license()' or 'licence()' for distribution details. 350s 350s R is a collaborative project with many contributors. 350s Type 'contributors()' for more information and 350s 'citation()' on how to cite R or R packages in publications. 350s 350s Type 'demo()' for some demos, 'help()' for on-line help, or 350s 'help.start()' for an HTML browser interface to help. 350s Type 'q()' to quit R. 350s 350s > ## 350s > ## p o l y m u l . R Test suite 350s > ## 350s > 350s > 350s > polymul <- pracma::polymul 350s > 350s > identical(polymul(c(0.5), c(2, 4, 8)), c(1, 2, 4)) 350s [1] TRUE 350s > identical(polymul(c(2.5, 1.5, 0.5), c(2)), c(5, 3, 1)) 350s [1] TRUE 350s > identical(polymul(c(1, 1, 1), c(0, 1, 1, 1)), c(1, 2, 3, 2, 1)) 350s [1] TRUE 350s > identical(polymul(c(1, 0, 0), c(0, 0, 1)), c(1, 0, 0)) 350s [1] TRUE 350s > 350s BEGIN TEST polyval.R 351s 351s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 351s Copyright (C) 2024 The R Foundation for Statistical Computing 351s Platform: aarch64-unknown-linux-gnu (64-bit) 351s 351s R is free software and comes with ABSOLUTELY NO WARRANTY. 351s You are welcome to redistribute it under certain conditions. 351s Type 'license()' or 'licence()' for distribution details. 351s 351s R is a collaborative project with many contributors. 351s Type 'contributors()' for more information and 351s 'citation()' on how to cite R or R packages in publications. 351s 351s Type 'demo()' for some demos, 'help()' for on-line help, or 351s 'help.start()' for an HTML browser interface to help. 351s Type 'q()' to quit R. 351s 351s > ### 351s > ### polyval.R +++ Test suite +++ 351s > ### 351s > 351s > 351s > test.polyval <- function(input, expected) { 351s + output <- do.call(getFromNamespace("polyval", "pracma"), input) 351s + identical(output, expected) 351s + } 351s > 351s > polyval.expected.empty1 <- c() 351s > polyval.expected.empty2 <- c(0, 0) 351s > polyval.expected.vec <- c(3, 1, 1, 3, 7) 351s > polyval.expected.mat <- matrix(c(1, 4, 9, 16), nrow=2, ncol=2) 351s > 351s > test.polyval(list(p=c(1,1), x=c()), polyval.expected.empty1) 351s [1] TRUE 351s > test.polyval(list(p=c(), x=c(1,1)), polyval.expected.empty2) 351s [1] TRUE 351s > test.polyval(list(p=c(1,1,1), x=-2:2), polyval.expected.vec) 351s [1] TRUE 351s > test.polyval(list(p=c(1,0,0), x=matrix(1:4, 2, 2)), polyval.expected.mat) 351s [1] TRUE 351s > 351s BEGIN TEST pow2.R 351s 351s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 351s Copyright (C) 2024 The R Foundation for Statistical Computing 351s Platform: aarch64-unknown-linux-gnu (64-bit) 351s 351s R is free software and comes with ABSOLUTELY NO WARRANTY. 351s You are welcome to redistribute it under certain conditions. 351s Type 'license()' or 'licence()' for distribution details. 351s 351s R is a collaborative project with many contributors. 351s Type 'contributors()' for more information and 351s 'citation()' on how to cite R or R packages in publications. 351s 351s Type 'demo()' for some demos, 'help()' for on-line help, or 351s 'help.start()' for an HTML browser interface to help. 351s Type 'q()' to quit R. 351s 352s > ### 352s > ### pow2.R +++ Test suite +++ 352s > ### 352s > 352s > 352s > test.pow2 <- function(input, expected) { 352s + output <- do.call(getFromNamespace("pow2", "pracma"), input) 352s + identical(output, expected) 352s + } 352s > 352s > pow2.expected.00 <- 0 352s > pow2.expected.m1 <- -0.5 352s > pow2.expected.f <- c(1, 2, 4, 8) 352s > pow2.expected.fe <- c(0, 0.5, -8, 24) 352s > pow2.expected.c <- c(2^(1i), 2^(-1i)) 352s > 352s > test.pow2(list(f=0, e=0), pow2.expected.00) 352s [1] TRUE 352s > test.pow2(list(f=-1, e=-1), pow2.expected.m1) 352s [1] TRUE 352s > test.pow2(list(f=c(0,1,2,3)), pow2.expected.f) 352s [1] TRUE 352s > test.pow2(list(f=c(0,1,-2,3), e=c(0,-1,2,3)), pow2.expected.fe) 352s [1] TRUE 352s > test.pow2(list(f=c(1i, -1i)), pow2.expected.c) 352s [1] TRUE 352s > 352s BEGIN TEST primes.R 352s 352s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 352s Copyright (C) 2024 The R Foundation for Statistical Computing 352s Platform: aarch64-unknown-linux-gnu (64-bit) 352s 352s R is free software and comes with ABSOLUTELY NO WARRANTY. 352s You are welcome to redistribute it under certain conditions. 352s Type 'license()' or 'licence()' for distribution details. 352s 352s R is a collaborative project with many contributors. 352s Type 'contributors()' for more information and 352s 'citation()' on how to cite R or R packages in publications. 352s 352s Type 'demo()' for some demos, 'help()' for on-line help, or 352s 'help.start()' for an HTML browser interface to help. 352s Type 'q()' to quit R. 352s 353s > ### 353s > ### PRIMES.R +++ Test suite +++ 353s > ### 353s > 353s > 353s > test.primes <- function(input, expected) { 353s + output <- do.call(getFromNamespace("primes", "pracma"), input) 353s + identical(output, expected) 353s + } 353s > 353s > primes.expected.n1 <- NULL 353s > primes.expected.n2 <- 2 353s > primes.expected.n3 <- c(2, 3) 353s > primes.expected.n5 <- c(2, 3, 5) 353s > primes.expected.n8 <- c(2, 3, 5, 7) 353s > primes.expected.101 <- c( 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 353s + 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97,101) 353s > 353s > test.primes(list(n=1), primes.expected.n1) 353s [1] TRUE 353s > test.primes(list(n=2), primes.expected.n2) 353s [1] TRUE 353s > test.primes(list(n=3), primes.expected.n3) 353s [1] TRUE 353s > test.primes(list(n=5), primes.expected.n5) 353s [1] TRUE 353s > test.primes(list(n=8), primes.expected.n8) 353s [1] TRUE 353s > test.primes(list(n=101), primes.expected.101) 353s [1] TRUE 353s > 353s BEGIN TEST quad.R 353s 353s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 353s Copyright (C) 2024 The R Foundation for Statistical Computing 353s Platform: aarch64-unknown-linux-gnu (64-bit) 353s 353s R is free software and comes with ABSOLUTELY NO WARRANTY. 353s You are welcome to redistribute it under certain conditions. 353s Type 'license()' or 'licence()' for distribution details. 353s 353s R is a collaborative project with many contributors. 353s Type 'contributors()' for more information and 353s 'citation()' on how to cite R or R packages in publications. 353s 353s Type 'demo()' for some demos, 'help()' for on-line help, or 353s 'help.start()' for an HTML browser interface to help. 353s Type 'q()' to quit R. 353s 354s > ## 354s > ## q u a d . R Test suite 354s > ## 354s > 354s > 354s > quad <- pracma::quad 354s > 354s > all.equal(quad(sin, 0, pi), 2, tol = 1e-7) 354s [1] TRUE 354s > all.equal(quad(sin, 0, 2*pi), 0, tol = 1e-7) 354s [1] TRUE 354s > all.equal(quad(exp, 0, 1), exp(1) - 1, tol=1e-7) 354s [1] TRUE 354s > 354s BEGIN TEST quadrature.R 354s 354s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 354s Copyright (C) 2024 The R Foundation for Statistical Computing 354s Platform: aarch64-unknown-linux-gnu (64-bit) 354s 354s R is free software and comes with ABSOLUTELY NO WARRANTY. 354s You are welcome to redistribute it under certain conditions. 354s Type 'license()' or 'licence()' for distribution details. 354s 354s R is a collaborative project with many contributors. 354s Type 'contributors()' for more information and 354s 'citation()' on how to cite R or R packages in publications. 354s 354s Type 'demo()' for some demos, 'help()' for on-line help, or 354s 'help.start()' for an HTML browser interface to help. 354s Type 'q()' to quit R. 354s 354s > ## 354s > ## q u a d r a t u r e . R Test suite 354s > ## 354s > 354s > 354s > quad <- pracma::quad 354s > quadl <- pracma::quadl 354s > quadgk <- pracma::quadgk 354s > quadgr <- pracma::quadgr 354s > quadinf <- pracma::quadinf 354s > quad2d <- pracma::quad2d 354s > dblquad <- pracma::dblquad 354s > 354s > simpson2d <- pracma::simpson2d 354s > simpadpt <- pracma::simpadpt 354s > gauss_kronrod <- pracma::gauss_kronrod 354s > clenshaw_curtis <- pracma::clenshaw_curtis 354s > romberg <- pracma::romberg 354s > 354s > gaussLegendre <- pracma::gaussLegendre 354s > gaussHermite <- pracma::gaussHermite 354s > gaussLaguerre <- pracma::gaussLaguerre 354s > 354s > ## F i n i t e I n t e r v a l s 354s > 354s > f1 <- function(x) exp(x)*sin(x) # [0, pi] 12.0703463163896 = 1/2*(1+e^pi) 354s > f2 <- pracma::runge # [-1, 1] 0.549360306778006 354s > f3 <- function(x) 1/(x^3 - 2*x - 5) # [0, 2] -0.460501533846733 354s > f4 <- function(x) abs(sin(10*x)) # [0, pi] 2.0 354s > 354s > # quad (Adaptive Simpson) 354s > all.equal(quad(f1, 0, pi, tol=1e-12), 12.0703463163896, 354s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quad(f2, -1, 1, tol=1e-12), 0.549360306778006, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quad(f3, 0, 2, tol=1e-12), -0.460501533846733, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quad(f4, 0, pi, tol=1e-12), 2.0, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > 355s > # quadl (Adaptive Lobatto) 355s > all.equal(quadl(f1, 0, pi, tol=1e-9), 12.0703463163896, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quadl(f2, -1, 1, tol=1e-9), 0.549360306778006, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quadl(f3, 0, 2, tol=1e-9), -0.460501533846733, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quadl(f4, 0, pi, tol=1e-12), 2.0, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > 355s > # quadgr (Gauss-Richardson) 355s > all.equal(quadgr(f1, 0, pi, tol=1e-12)$value, 12.0703463163896, 355s + tolerance = 1e-13) 355s [1] TRUE 355s > all.equal(quadgr(f2, -1, 1, tol=1e-12)$value, 0.549360306778006, 355s + tolerance = 1e-15) 355s [1] TRUE 355s > all.equal(quadgr(f3, 0, 2, tol=1e-12)$value, -0.460501533846733, 355s + tolerance = 1e-15) 355s [1] TRUE 355s > all.equal(quadgr(f4, 0, pi, tol=1e-12)$value, 2.0, 355s + tolerance = 1e-15) 355s [1] TRUE 355s > 355s > # quadgk (Adaptive Gauss-Kronrod) 355s > all.equal(quadgk(f1, 0, pi), 12.0703463163896, 355s + tolerance = 1e-13) 355s [1] TRUE 355s > all.equal(quadgk(f2, -1, 1), 0.549360306778006, 355s + tolerance = 1e-15) 355s [1] TRUE 355s > all.equal(quadgk(f3, 0, 2), -0.460501533846733, 355s + tolerance = 1e-13) 355s [1] TRUE 355s > all.equal(quadgk(f4, 0, pi, tol = 1e-12), 2.0, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > 355s > # Adaptive Simpson (simpadpt) 355s > all.equal(simpadpt(f1, 0, pi, tol=1e-12), 12.0703463163896, 355s + tolerance = 1e-13) 355s [1] TRUE 355s > all.equal(simpadpt(f2, -1, 1, tol=1e-12), 0.549360306778006, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(simpadpt(f3, 0, 2, tol=1e-12), -0.460501533846733, 355s + tolerance = 1e-13) 355s [1] TRUE 355s > all.equal(simpadpt(f4, 0, pi, tol=1e-12), 2.0, 355s + tolerance = 1e-14) 355s [1] TRUE 355s > 355s > # Gauss-Kronrod 355s > all.equal(gauss_kronrod(f1, 0, pi)$value, 12.0703463163896, 355s + tolerance = 1e-13) 355s [1] TRUE 355s > all.equal(gauss_kronrod(f2, -1, 1)$value, 0.549360306778006, # BAD 355s + tolerance = 1e-2) 355s [1] TRUE 355s > all.equal(gauss_kronrod(f3, 0, 2)$value, -0.460501533846733, # Bad 355s + tolerance = 1e-5) 355s [1] TRUE 355s > all.equal(gauss_kronrod(f4, 0, pi)$value, 2.0, # BAD 355s + tolerance = 1e-0) 355s [1] TRUE 355s > 355s > # Clenshaw-Curtis 355s > all.equal(clenshaw_curtis(f1, 0, pi, n = 128), 12.0703463163896, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(clenshaw_curtis(f2, -1, 1, n = 128), 0.549360306778006, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(clenshaw_curtis(f3, 0, 2, n = 128), -0.460501533846733, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(clenshaw_curtis(f4, 0, pi, n = 1024), 2.0, # Bad 355s + tolerance = 2e-5) 355s [1] TRUE 355s > 355s > # romberg 355s > all.equal(romberg(f1, 0, pi, tol=1e-12)$value, 12.0703463163896, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(romberg(f2, -1, 1, tol=1e-12)$value, 0.549360306778006, 355s + tolerance = 1e-12) 355s [1] "Mean relative difference: 1.660053e-10" 355s > all.equal(romberg(f3, 0, 2, tol=1e-12)$value, -0.460501533846733, # BAD 355s + tolerance = 1e-3) 355s [1] TRUE 355s > all.equal(romberg(f4, 0, pi, tol=1e-12)$value, 2.0, 355s + tolerance = 1e-12) 355s [1] "Mean absolute difference: 2" 355s > 355s > f5 <- function(x) log(x)*sin(x)/x # pi/2 * gamma , cannot be computed ! 355s > f6 <- function(x) sin(x)^2 * exp(-x) # [0, Inf] , 0.4 355s > f7 <- function(x) sin(x)^2 * exp(-x^2) # [-Inf, Inf] , (e-1)*sqrt(pi)/(4*e) 355s > x7 <- (exp(1)-1) * sqrt(pi) / (2*exp(1)) 355s > 355s > # quadinf 355s > all.equal(quadinf(f6, 0, Inf), 0.4, tolerance = 1e-15) 355s [1] "Modes: list, numeric" 355s [2] "names for target but not for current" 355s [3] "Length mismatch: comparison on first 1 components" 355s > all.equal(quadinf(f7, -Inf, Inf), x7, tolerance = 1e-15) 355s [1] "Modes: list, numeric" 355s [2] "names for target but not for current" 355s [3] "Length mismatch: comparison on first 1 components" 355s [4] "Component 1: Mean relative difference: 5.529293e-14" 355s > 355s > all.equal(quadgr(f6, 0, Inf)$value, 0.4, tolerance = 1e-11) 355s [1] TRUEWarning messages: 355s 355s > all.equal(quadgr(f7, -Inf, Inf)$value, x7, tolerance = 1e-9) 355s 1: In sin(x) : NaNs produced 355s 2: In sin(x) : NaNs produced 355s 3: In sin(x) : NaNs produced 355s 4: In sin(x) : NaNs produced 355s [1] TRUE 355s Warning messages: 355s 1: In sin(x) :> NaNs produced 355s 2: In sin(x) : NaNs produced 355s 3: In sin(x) : NaNs produced 355s 4: In sin(x) : NaNs produced 355s 5: In sin(x) : NaNs produced 355s 6: In sin(x) : NaNs produced 355s 7: In sin(x) : NaNs produced 355s 355s > gL <- gaussLaguerre(64) 355s > all.equal(sum(gL$w * sin(gL$x)^2), 0.4, tolerance = 1e-15) 355s [1] "Mean relative difference: 3.469447e-15" 355s > gH <- gaussHermite(64) 355s > all.equal(sum(gH$w * sin(gH$x)^2), x7, tolerance = 1e-14) 355s [1] TRUE 355s > 355s > f8 <- function(x, y) y * sin(x) # [0, pi/2]x[0, 1] , 1/2 355s > f9 <- function(x, y) ifelse(x^2 + y^2 <= 1, 1-x^2-y^2, 0) 355s > 355s > # quad2d 355s > all.equal(quad2d(f8, 0, pi/2, 0, 1), 0.5, tolerance = 1e-15) 355s [1] "Mean relative difference: 1.110223e-15" 355s > all.equal(quad2d(f9, -1, 1, 0, 1, n = 128), pi/4, tolerance = 1e-6) 355s [1] TRUE 355s > 355s > # dblquad 355s > all.equal(dblquad(f8, 0, pi/2, 0, 1), 0.5, tolerance = 1e-15) 355s [1] TRUE 355s > #all.equal(dblquad(f9, -1, 1, 0, 1), pi/4, tolerance = 1e-6) 355s > # disabled because of problems with Fedora and Solaris 355s > 355s > # simpson2d 355s > all.equal(simpson2d(f8, 0, pi/2, 0, 1), 0.5, tolerance = 1e-9) 355s [1] TRUE 355s > all.equal(simpson2d(f9, -1, 1, 0, 1), pi/4, tolerance = 1e-5) 355s [1] TRUE 355s > 355s > # Integrals with singularities at boundaries: 355s > f11 <- function(t) log(1-t) / t # [1, 0] pi^2/6 , dilogarithm 355s > f12 <- function(t) log(-log(t)) # [0, 1] gamma = 0.57721 56649 01532 ... 355s > f13 <- function(t) 1 / sqrt(t) # [0, 1] 2.0 355s > 355s > all.equal(quad(f11, 1, 0, tol = 1e-12), 1.64493406684823, 355s + tolerance = 1e-10) 355s [1] TRUE 355s > all.equal(quad(f12, 0, 1, tol = 1e-12), -0.577215664901533, 355s + tolerance = 5e-10) 355s [1] TRUE 355s > all.equal(quad(f13, 0, 1, tol = 1e-12), 2.0, 355s + tolerance = 1e-4) # Bad 355s [1] TRUE 355s > 355s > all.equal(quadl(f11, 1, 0, tol = 1e-12), 1.64493406684823, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quadl(f12, 0, 1, tol = 1e-12), -0.577215664901533, 355s + tolerance = 5e-12) 355s [1] TRUE 355s > all.equal(quadl(f13, 0, 1, tol = 1e-12), 2.0, 355s + tolerance = 1e-7) # Bad 355s [1] TRUE 355s > 355s > all.equal(quadgr(f11, 1, 0, tol = 1e-12)$value, 1.64493406684823, 355s + tolerance = 1e-12) 355s [1] TRUE 355s > all.equal(quadgr(f12, 0, 1, tol = 1e-12)$value, -0.577215664901533, 355s + tolerance = 5e-12) 356s [1] TRUE 356s > all.equal(quadgr(f13, 0, 1, tol = 1e-12)$value, 2.0, 356s + tolerance = 1e-12) 356s [1] TRUE 356s > 356s > all.equal(simpadpt(f11, 1, 0, tol = 1e-12), 1.64493406684823, 356s + tolerance = 1e-11) 356s [1] TRUE 356s > all.equal(simpadpt(f12, 0, 1, tol = 1e-12), -0.577215664901533, 356s + tolerance = 5e-11) 356s [1] TRUE 356s > all.equal(simpadpt(f13, 0, 1, tol = 1e-10), 2.0, 356s + tolerance = 1e-7) # Bad 356s [1] TRUE 356s > 356s > ## E o F 356s > 356s BEGIN TEST rank.R 356s 356s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 356s Copyright (C) 2024 The R Foundation for Statistical Computing 356s Platform: aarch64-unknown-linux-gnu (64-bit) 356s 356s R is free software and comes with ABSOLUTELY NO WARRANTY. 356s You are welcome to redistribute it under certain conditions. 356s Type 'license()' or 'licence()' for distribution details. 356s 356s R is a collaborative project with many contributors. 356s Type 'contributors()' for more information and 356s 'citation()' on how to cite R or R packages in publications. 356s 356s Type 'demo()' for some demos, 'help()' for on-line help, or 356s 'help.start()' for an HTML browser interface to help. 356s Type 'q()' to quit R. 356s 356s > ## 356s > ## r a n k . r Test suite 356s > ## 356s > 356s > 356s > Rank <- pracma::Rank 356s > nullspace <- pracma::nullspace 356s > 356s > magic <- pracma::magic 356s > all.equal(Rank(c()), 0) 356s [1] TRUE 356s > r <- numeric(8) 356s > for (i in 3:10){ 356s + r[i-2] <- Rank(magic(i)) 356s + } 356s > identical(r, c(3, 3, 5, 5, 7, 3, 9, 7)) 356s [1] TRUE 356s > 356s > hilb <- pracma::hilb 356s > identical(Rank(hilb(6)), 6L) 356s [1] TRUE 356s > 356s > # Vorzeichenwechsel moeglich 356s > # N <- nullspace(magic(4)) 356s > # all.equal(as.numeric(N), c(0.2236, 0.6708, -0.6708, -0.2236), 356s > # tolerance = 1e-5) 356s > 357s BEGIN TEST rectint.R 357s 357s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 357s Copyright (C) 2024 The R Foundation for Statistical Computing 357s Platform: aarch64-unknown-linux-gnu (64-bit) 357s 357s R is free software and comes with ABSOLUTELY NO WARRANTY. 357s You are welcome to redistribute it under certain conditions. 357s Type 'license()' or 'licence()' for distribution details. 357s 357s R is a collaborative project with many contributors. 357s Type 'contributors()' for more information and 357s 'citation()' on how to cite R or R packages in publications. 357s 357s Type 'demo()' for some demos, 'help()' for on-line help, or 357s 'help.start()' for an HTML browser interface to help. 357s Type 'q()' to quit R. 357s 357s > ## 357s > ## r e c t i n t . R Tests 357s > ## 357s > 357s > rectint <- pracma::rectint 357s > 357s > x <- matrix(c(0, 0, 1, 1), ncol = 4) 357s > y <- matrix(c( 0.75,-0.25, 0.5, 0.5, 357s + 0.75, 0.25, 0.5, 0.5, 357s + 0.75, 0.25, 0.2, 0.5, 357s + 0.75, 0.75, 0.5, 0.5, 357s + 0.75,-0.25, 0.5, 1.5), ncol = 4, byrow = TRUE) 357s > 357s > all.equal(rectint(x, y), 357s + matrix(c(0.0625, 0.125, 0.1, 0.0625, 0.25), nrow = 1)) 357s [1] TRUE 357s > 357s BEGIN TEST regexp.R 357s 357s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 357s Copyright (C) 2024 The R Foundation for Statistical Computing 357s Platform: aarch64-unknown-linux-gnu (64-bit) 357s 357s R is free software and comes with ABSOLUTELY NO WARRANTY. 357s You are welcome to redistribute it under certain conditions. 357s Type 'license()' or 'licence()' for distribution details. 357s 357s R is a collaborative project with many contributors. 357s Type 'contributors()' for more information and 357s 'citation()' on how to cite R or R packages in publications. 357s 357s Type 'demo()' for some demos, 'help()' for on-line help, or 357s 'help.start()' for an HTML browser interface to help. 357s Type 'q()' to quit R. 357s 358s > ## 358s > ## r e g e x p . R Test suite 358s > ## 358s > 358s > 358s > regexp <- pracma::regexp 358s > regexpi <- pracma::regexpi 358s > regexprep <- pracma::regexprep 358s > refindall <- pracma::refindall 358s > 358s > s <- "bat cat can car COAT court cut ct CAT-scan" 358s > pat <- 'c[aeiou]+t' 358s > identical(regexp(s, pat)$match, 358s + c("cat", "cut")) 358s [1] TRUE 358s > identical(regexpi(s, pat)$match, 358s + c("cat", "COAT", "cut", "CAT")) 358s [1] TRUE 358s > identical(regexp(s, pat, once = TRUE)$match, 358s + c("cat")) 358s [1] TRUE 358s > identical(regexp(s, pat, ignorecase = TRUE, split = TRUE)$split, 358s + c("bat ", " can car ", " court ", " ct ", "-scan")) 358s [1] TRUE 358s > 358s > identical(regexprep(s, pat, '---'), 358s + c("bat --- can car COAT court --- ct CAT-scan")) 358s [1] TRUE 358s > identical(regexprep(s, pat, '---', once = TRUE), 358s + c("bat --- can car COAT court cut ct CAT-scan")) 358s [1] TRUE 358s > identical(regexprep(s, pat, '---', ignorecase = TRUE), 358s + c("bat --- can car --- court --- ct ----scan")) 358s [1] TRUE 358s > 358s > identical(refindall("AbababaBa", 'aba'), c(3, 5)) 358s [1] TRUE 358s > identical(refindall("AbababaBa", 'aba', ignorecase = TRUE), c(1, 3, 5, 7)) 358s [1] TRUE 358s > 358s BEGIN TEST roots.R 358s 358s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 358s Copyright (C) 2024 The R Foundation for Statistical Computing 358s Platform: aarch64-unknown-linux-gnu (64-bit) 358s 358s R is free software and comes with ABSOLUTELY NO WARRANTY. 358s You are welcome to redistribute it under certain conditions. 358s Type 'license()' or 'licence()' for distribution details. 358s 358s R is a collaborative project with many contributors. 358s Type 'contributors()' for more information and 358s 'citation()' on how to cite R or R packages in publications. 358s 358s Type 'demo()' for some demos, 'help()' for on-line help, or 358s 'help.start()' for an HTML browser interface to help. 358s Type 'q()' to quit R. 358s 359s > ### 359s > ### roots.R +++ Test suite +++ 359s > ### 359s > 359s > 359s > test.roots <- function(input, expected) { 359s + output <- do.call(getFromNamespace("roots", "pracma"), input) 359s + identical(output, expected) 359s + } 359s > 359s > roots.expected.empty <- matrix(0, nrow=0, ncol=0) 359s > roots.expected.singl <- matrix(0, nrow=0, ncol=0) 359s > roots.expected.bspl1 <- c(0, 2, -2, 1, -1) # Matlab: c(0, -2, -1, 1, 2) 359s > c(0, 2, -2, 1, -1) 359s [1] 0 2 -2 1 -1 359s > roots.expected.bspl2 <- c(0.5, -0.2) 359s > roots.expected.bspl3 <- -c(0, 0, -1, 1) 359s > 359s > test.roots(list(p=c()), roots.expected.empty) 359s [1] TRUE 359s > test.roots(list(p=c(0)), roots.expected.singl) 359s [1] TRUE 359s > #test.roots(list(p=c(1,0,-5,0,4,0)), roots.expected.bspl1) # zapsmall 359s > test.roots(list(p=c(1,-0.3,-0.1)), roots.expected.bspl2) 359s [1] TRUE 359s > test.roots(list(p=c(1,0,-1,0,0)), roots.expected.bspl3) 359s [1] TRUE 359s > 359s BEGIN TEST size.R 359s 359s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 359s Copyright (C) 2024 The R Foundation for Statistical Computing 359s Platform: aarch64-unknown-linux-gnu (64-bit) 359s 359s R is free software and comes with ABSOLUTELY NO WARRANTY. 359s You are welcome to redistribute it under certain conditions. 359s Type 'license()' or 'licence()' for distribution details. 359s 359s R is a collaborative project with many contributors. 359s Type 'contributors()' for more information and 359s 'citation()' on how to cite R or R packages in publications. 359s 359s Type 'demo()' for some demos, 'help()' for on-line help, or 359s 'help.start()' for an HTML browser interface to help. 359s Type 'q()' to quit R. 359s 359s > ## 359s > ## s i z e . R tests 359s > ## 359s > 359s > size <- pracma::size 360s > numel <- pracma::numel 360s > ndims <- pracma::ndims 360s > isempty <- pracma::isempty 360s > 360s > identical(size(1:8), c(1, 8)) 360s [1] TRUE 360s > identical(size(1:8, 1), 1) 360s [1] TRUE 360s > identical(size(1:8, 2), 8) 360s [1] TRUE 360s > identical(size(1:8, 3), 1) 360s [1] TRUE 360s > identical(size(matrix(1:12, 3, 4)), c(3L, 4L)) 360s [1] TRUE 360s > 360s > identical(numel(array(0, c(4,4,2))), 32) 360s [1] TRUE 360s > identical(numel(1:100), 100) 360s [1] TRUE 360s > 360s > identical(ndims(array(NA, c(4,4,2))), 3L) 360s [1] TRUE 360s > identical(ndims(list(a=1:5)), 2L) 360s [1] FALSE 360s > 360s > identical(isempty(numeric(0)), TRUE) 360s [1] TRUE 360s > identical(isempty(matrix(0, 1, 0)), TRUE) 360s [1] TRUE 360s > identical(isempty(matrix(0, 1, 1)), FALSE) 360s [1] TRUE 360s > identical(isempty(array(NA, c(2,2,2))), FALSE) 360s [1] TRUE 360s > identical(isempty(array(NA, c(2,0,2))), TRUE) 360s [1] TRUE 360s > 360s BEGIN TEST std.R 360s 360s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 360s Copyright (C) 2024 The R Foundation for Statistical Computing 360s Platform: aarch64-unknown-linux-gnu (64-bit) 360s 360s R is free software and comes with ABSOLUTELY NO WARRANTY. 360s You are welcome to redistribute it under certain conditions. 360s Type 'license()' or 'licence()' for distribution details. 360s 360s R is a collaborative project with many contributors. 360s Type 'contributors()' for more information and 360s 'citation()' on how to cite R or R packages in publications. 360s 360s Type 'demo()' for some demos, 'help()' for on-line help, or 360s 'help.start()' for an HTML browser interface to help. 360s Type 'q()' to quit R. 360s 360s > ## 360s > ## s t d . r tests 360s > ## 360s > 360s > std <- pracma::std 360s > std_err <- pracma::std_err 360s > 360s > all.equal(std(1:10), 3.0277, tolerance=0.0001) 360s [1] TRUE 360s > all.equal(std(1:10, flag=0), 3.0277, tolerance=0.0001) 360s [1] TRUE 360s > all.equal(std(1:10, flag=1), 2.8723, tolerance=0.0001) 360s [1] TRUE 360s > 360s > all.equal(std_err(1:10), 0.9574271, tolerance=0.0001) 360s [1] TRUE 360s > 360s BEGIN TEST strfind.R 361s 361s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 361s Copyright (C) 2024 The R Foundation for Statistical Computing 361s Platform: aarch64-unknown-linux-gnu (64-bit) 361s 361s R is free software and comes with ABSOLUTELY NO WARRANTY. 361s You are welcome to redistribute it under certain conditions. 361s Type 'license()' or 'licence()' for distribution details. 361s 361s R is a collaborative project with many contributors. 361s Type 'contributors()' for more information and 361s 'citation()' on how to cite R or R packages in publications. 361s 361s Type 'demo()' for some demos, 'help()' for on-line help, or 361s 'help.start()' for an HTML browser interface to help. 361s Type 'q()' to quit R. 361s 361s > ## 361s > ## s t r f i n d . R Test suite 361s > ## 361s > 361s > 361s > strfind <- pracma::strfind 361s > strfindi <- pracma::strfindi 361s > #findstr <- pracma::findstr 361s > 361s > identical(strfind("", "aba"), NULL) 361s [1] TRUE 361s > identical(strfind("ab", "aba"), NULL) 361s [1] TRUE 361s > identical(strfind("aba", "aba"), 1) 361s [1] TRUE 361s > identical(strfind("ababa", "aba"), c(1, 3)) 361s [1] TRUE 361s > identical(strfind("ababa", "aba", overlap=FALSE), 1) 361s [1] TRUE 361s > 361s > identical(strfindi("ABA", "aba"), 1) 361s [1] TRUE 361s > identical(strfindi("aba", "ABA"), 1) 361s [1] TRUE 361s > identical(strfindi("ABABA", "aba"), c(1, 3)) 361s [1] TRUE 361s > identical(strfindi("aBaBa", "AbA", overlap=FALSE), 1) 361s [1] TRUE 361s > 361s BEGIN TEST strings.R 361s 361s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 361s Copyright (C) 2024 The R Foundation for Statistical Computing 361s Platform: aarch64-unknown-linux-gnu (64-bit) 361s 361s R is free software and comes with ABSOLUTELY NO WARRANTY. 361s You are welcome to redistribute it under certain conditions. 361s Type 'license()' or 'licence()' for distribution details. 361s 361s R is a collaborative project with many contributors. 361s Type 'contributors()' for more information and 361s 'citation()' on how to cite R or R packages in publications. 361s 361s Type 'demo()' for some demos, 'help()' for on-line help, or 361s 'help.start()' for an HTML browser interface to help. 361s Type 'q()' to quit R. 361s 362s > ## 362s > ## s t r i n g s . R tests 362s > ## 362s > 362s > strcat <- pracma::strcat 362s > strcmp <- pracma::strcmp 362s > strcmpi <- pracma::strcmpi 362s > 362s > strcmp(" empty", " empty") # T 362s [1] TRUE 362s > !strcmp("empty ", "empty") # F 362s [1] TRUE 362s > !strcmp("foobar", "barfoo") # F 362s [1] TRUE 362s > !strcmp("string", "String") # F 362s [1] TRUE 362s > !strcmp(c("yes", "no"), c("yes", "on")) # F 362s [1] TRUE 362s > !strcmp(c("abc", "abc"), c("abc")) # F 362s [1] TRUE 362s > strcmp(c("yes", "no"), c("yes", "no")) # T 362s [1] TRUE 362s > 362s > strcmpi("string", "String") # T 362s [1] TRUE 362s > strcmpi(c("yes", "no"), c("Yes", "No")) # T 362s [1] TRUE 362s > 362s > blanks <- pracma::blanks 362s > deblank <- pracma::deblank 362s > strTrim <- pracma::strTrim 362s > strjust <- pracma::strjust 362s > strRep <- pracma::strRep 362s > 362s > identical(c(blanks(0), blanks(1), blanks(2)), c("", " ", " ")) 362s [1] TRUE 362s > s <- c(" abc", "abc ", " abc ", " a b c ", "abc", "a b c") 362s > identical(deblank(s), c(" abc", "abc", " abc", " a b c", "abc", "a b c")) 362s [1] TRUE 362s > identical(strTrim(s), c("abc", "abc", "abc", "a b c", "abc", "a b c")) 362s [1] TRUE 362s > identical(strjust(s, justify = "center"), 362s + c(" abc ", " abc ", " abc ", "a b c", " abc ", "a b c")) 362s [1] TRUE 362s > s <- c('This is a good example.', "He has a good character.", 362s + 'This is good, good food.', "How goodgood this is!") 362s > identical(strRep(s, 'good', 'great'), 362s + c('This is a great example.', "He has a great character.", 362s + 'This is great, great food.', "How greatgreat this is!")) 362s [1] TRUE 362s > 362s BEGIN TEST subspace.R 362s 362s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 362s Copyright (C) 2024 The R Foundation for Statistical Computing 362s Platform: aarch64-unknown-linux-gnu (64-bit) 362s 362s R is free software and comes with ABSOLUTELY NO WARRANTY. 362s You are welcome to redistribute it under certain conditions. 362s Type 'license()' or 'licence()' for distribution details. 362s 362s R is a collaborative project with many contributors. 362s Type 'contributors()' for more information and 362s 'citation()' on how to cite R or R packages in publications. 362s 362s Type 'demo()' for some demos, 'help()' for on-line help, or 362s 'help.start()' for an HTML browser interface to help. 362s Type 'q()' to quit R. 362s 363s > ## 363s > ## s u b s p a c e . r Test suite 363s > ## 363s > 363s > 363s > orth <- pracma::orth 363s > subspace <- pracma::subspace 363s > 363s > is.null(orth(c())) 363s [1] TRUE 363s > M <- matrix(1:12, 3, 4) 363s > all.equal(orth(M), 363s + matrix(c(-0.504533, -0.760776, 363s + -0.574516, -0.057141, 363s + -0.644497, 0.646495), 3, 2, byrow = TRUE), 363s + tolerance = 1e-5) 363s [1] "Mean relative difference: 2" 363s > 363s > H <- pracma::hadamard(8) 363s > A <- H[, 2:4] 363s > B <- H[, 5:8] 363s > all.equal(subspace(A, B), pi/2, tolerance = 1e-10) 363s [1] TRUE 363s > 363s BEGIN TEST trace.R 363s 363s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 363s Copyright (C) 2024 The R Foundation for Statistical Computing 363s Platform: aarch64-unknown-linux-gnu (64-bit) 363s 363s R is free software and comes with ABSOLUTELY NO WARRANTY. 363s You are welcome to redistribute it under certain conditions. 363s Type 'license()' or 'licence()' for distribution details. 363s 363s R is a collaborative project with many contributors. 363s Type 'contributors()' for more information and 363s 'citation()' on how to cite R or R packages in publications. 363s 363s Type 'demo()' for some demos, 'help()' for on-line help, or 363s 'help.start()' for an HTML browser interface to help. 363s Type 'q()' to quit R. 363s 364s > ## 364s > ## m t r a c e . R Test suite 364s > ## 364s > 364s > Trace <- pracma::Trace 364s > 364s > identical(Trace(1), 1) 364s [1] TRUE 364s > identical(Trace(matrix(c(1,2,3,4,5,6,7,8,9), 3, 3)), 15) 364s [1] TRUE 364s > # Error: Trace(matrix(1:12, 3, 4)) 364s > 364s BEGIN TEST trapz.R 364s 364s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 364s Copyright (C) 2024 The R Foundation for Statistical Computing 364s Platform: aarch64-unknown-linux-gnu (64-bit) 364s 364s R is free software and comes with ABSOLUTELY NO WARRANTY. 364s You are welcome to redistribute it under certain conditions. 364s Type 'license()' or 'licence()' for distribution details. 364s 364s R is a collaborative project with many contributors. 364s Type 'contributors()' for more information and 364s 'citation()' on how to cite R or R packages in publications. 364s 364s Type 'demo()' for some demos, 'help()' for on-line help, or 364s 'help.start()' for an HTML browser interface to help. 364s Type 'q()' to quit R. 364s 364s > ### 364s > ### trapz.R +++ Test suite +++ 364s > ### 364s > 364s > 364s > test.trapz <- function(input, expected) { 364s + output <- do.call(getFromNamespace("trapz", "pracma"), input) 364s + identical(output, expected) 364s + } 364s > 364s > trapz.expected.empty1 <- 0 364s > trapz.expected.empty2 <- 0 364s > trapz.expected.gen1 <- 12 364s > trapz.expected.gen2 <- 6 364s > trapz.expected.cmpl1 <- 0+0.5i 364s > trapz.expected.cmpl2 <- 0+0.5i 364s > 364s > test.trapz(list(x=c()), trapz.expected.empty1) 364s [1] TRUE 364s > test.trapz(list(x=c(), y=c()), trapz.expected.empty2) 365s [1] TRUE 365s > test.trapz(list(x=1:5), trapz.expected.gen1) 365s [1] TRUE 365s > test.trapz(list(x=seq(0,2,by=0.5), y=1:5), trapz.expected.gen2) 365s [1] TRUE 365s > test.trapz(list(x=c(0,1), y=c(0,1i)), trapz.expected.cmpl1) 365s [1] TRUE 365s > test.trapz(list(x=c(0,1i), y=c(0,1)), trapz.expected.cmpl2) 365s [1] TRUE 365s > 365s BEGIN TEST vander.R 365s 365s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 365s Copyright (C) 2024 The R Foundation for Statistical Computing 365s Platform: aarch64-unknown-linux-gnu (64-bit) 365s 365s R is free software and comes with ABSOLUTELY NO WARRANTY. 365s You are welcome to redistribute it under certain conditions. 365s Type 'license()' or 'licence()' for distribution details. 365s 365s R is a collaborative project with many contributors. 365s Type 'contributors()' for more information and 365s 'citation()' on how to cite R or R packages in publications. 365s 365s Type 'demo()' for some demos, 'help()' for on-line help, or 365s 'help.start()' for an HTML browser interface to help. 365s Type 'q()' to quit R. 365s 366s > ### 366s > ### VANDER.R +++ Test suite +++ 366s > ### 366s > 366s > test.vander <- function(input, expected) { 366s + output <- do.call(getFromNamespace("vander", "pracma"), input) 366s + identical(output, expected) 366s + } 366s > 366s > vander.expected.empty <- matrix(as.numeric(NA), nrow=0, ncol=0) 366s > vander.expected.scalar <- matrix(1.0, nrow=1, ncol=1) 366s > vander.expected.seq3 <- matrix(c( 1, 1, 1, 1, 1, 366s + 5.0625, 3.375, 2.25, 1.5, 1, 366s + 16, 8, 4, 2, 1, 366s + 39.0625, 15.625, 6.25, 2.5, 1, 366s + 81, 27, 9, 3, 1), 366s + nrow=5, ncol=5, byrow=TRUE) 366s > vander.expected.complex <- matrix(c(-1, 0.0 + 1i, 1.0, 366s + -4, 0.0 + 2i, 1.0, 366s + -9, 0.0 + 3i, 1.0), 366s + nrow=3, ncol=3, byrow=TRUE) 366s > 366s > test.vander(list(x=numeric()), vander.expected.empty) 366s [1] TRUE 366s > test.vander(list(x=1), vander.expected.scalar) 366s [1] TRUE 366s > test.vander(list(x=seq(from=1, to=3, by=0.5)), vander.expected.seq3) 366s [1] TRUE 366s > test.vander(list(x=c(1,2,3)*1i), vander.expected.complex) 366s [1] TRUE 366s > 366s BEGIN TEST wilkinson.R 366s 366s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 366s Copyright (C) 2024 The R Foundation for Statistical Computing 366s Platform: aarch64-unknown-linux-gnu (64-bit) 366s 366s R is free software and comes with ABSOLUTELY NO WARRANTY. 366s You are welcome to redistribute it under certain conditions. 366s Type 'license()' or 'licence()' for distribution details. 366s 366s R is a collaborative project with many contributors. 366s Type 'contributors()' for more information and 366s 'citation()' on how to cite R or R packages in publications. 366s 366s Type 'demo()' for some demos, 'help()' for on-line help, or 366s 'help.start()' for an HTML browser interface to help. 366s Type 'q()' to quit R. 366s 366s > ### 366s > ### wilkinson.R +++ Test suite +++ 366s > ### 366s > 366s > wilkinson <- pracma::wilkinson 366s > 366s > identical(wilkinson(0), NULL) 366s [1] TRUE 366s > identical(wilkinson(1), matrix(0, nrow=1, ncol=1)) 366s [1] TRUE 366s > identical(wilkinson(3), matrix(c(1,1,0, 1,0,1, 0,1,1), 3, 3)) 366s [1] TRUE 366s > 367s autopkgtest [19:39:05]: test run-unit-test: -----------------------] 368s autopkgtest [19:39:06]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 368s run-unit-test PASS 368s autopkgtest [19:39:06]: test pkg-r-autopkgtest: preparing testbed 371s Reading package lists... 372s Building dependency tree... 372s Reading state information... 374s Starting pkgProblemResolver with broken count: 0 374s Starting 2 pkgProblemResolver with broken count: 0 374s Done 376s The following additional packages will be installed: 376s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 376s dctrl-tools g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc 376s gcc-13 gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu gfortran gfortran-13 376s gfortran-13-aarch64-linux-gnu gfortran-aarch64-linux-gnu icu-devtools 376s libasan8 libatomic1 libblas-dev libbz2-dev libc-dev-bin libc6-dev libcc1-0 376s libcrypt-dev libgcc-13-dev libgfortran-13-dev libhwasan0 libicu-dev libisl23 376s libitm1 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 376s liblzma-dev libmpc3 libncurses-dev libnsl-dev libpcre2-16-0 libpcre2-32-0 376s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev 376s libstdc++-13-dev libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkg-config 376s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 376s Suggested packages: 376s cpp-doc gcc-13-locales cpp-13-doc debtags gcc-13-doc gcc-multilib 377s manpages-dev autoconf automake libtool flex bison gdb gcc-doc 377s gdb-aarch64-linux-gnu gfortran-doc gfortran-13-doc libcoarrays-dev 377s liblapack-doc glibc-doc icu-doc liblzma-doc ncurses-doc readline-doc 377s libstdc++-13-doc texlive-base texlive-latex-base texlive-plain-generic 377s texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils 377s texlive-latex-recommended texlive-latex-extra texinfo 377s Recommended packages: 377s bzip2-doc manpages manpages-dev libc-devtools libpng-tools 377s The following NEW packages will be installed: 377s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu 377s cpp-aarch64-linux-gnu dctrl-tools g++ g++-13 g++-13-aarch64-linux-gnu 377s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu 377s gcc-aarch64-linux-gnu gfortran gfortran-13 gfortran-13-aarch64-linux-gnu 377s gfortran-aarch64-linux-gnu icu-devtools libasan8 libatomic1 libblas-dev 377s libbz2-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libgcc-13-dev 377s libgfortran-13-dev libhwasan0 libicu-dev libisl23 libitm1 libjpeg-dev 377s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 liblzma-dev libmpc3 377s libncurses-dev libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 377s libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev libstdc++-13-dev 377s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkg-config pkg-r-autopkgtest 377s pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 377s 0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded. 377s Need to get 92.8 MB/92.8 MB of archives. 377s After this operation, 343 MB of additional disk space will be used. 377s Get:1 /tmp/autopkgtest.gAKHKa/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [732 B] 377s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 377s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 378s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 378s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc-dev arm64 1.3.4+ds-1.1 [201 kB] 378s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 378s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 378s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 378s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 378s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 378s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 378s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 378s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 378s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 378s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 378s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 378s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 378s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 379s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 379s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 379s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 379s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 379s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 379s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 380s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 380s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 380s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 380s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 380s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 381s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 381s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 381s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 381s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 381s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 dctrl-tools arm64 2.24-3build2 [65.2 kB] 381s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran-13-dev arm64 13.2.0-17ubuntu2 [478 kB] 381s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.8 MB] 382s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-13 arm64 13.2.0-17ubuntu2 [10.3 kB] 382s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1022 B] 382s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran arm64 4:13.2.0-7ubuntu1 [1164 B] 382s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 icu-devtools arm64 74.2-1ubuntu1 [209 kB] 382s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libblas-dev arm64 3.12.0-3 [111 kB] 382s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libbz2-dev arm64 1.0.8-5ubuntu1 [35.8 kB] 382s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libicu-dev arm64 74.2-1ubuntu1 [11.9 MB] 382s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8-dev arm64 2.1.5-2ubuntu1 [304 kB] 383s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8-dev arm64 8c-2ubuntu11 [1484 B] 383s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-dev arm64 8c-2ubuntu11 [1482 B] 383s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack-dev arm64 3.12.0-3 [4293 kB] 383s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libncurses-dev arm64 6.4+20240113-1ubuntu1 [385 kB] 383s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 383s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 383s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 383s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 383s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 383s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 383s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpng-dev arm64 1.6.43-3 [267 kB] 383s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline-dev arm64 8.2-3.1 [177 kB] 383s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 383s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 383s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 pkg-config arm64 1.8.1-2 [7170 B] 383s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 liblzma-dev arm64 5.4.5-0.3 [209 kB] 383s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 r-base-dev all 4.3.3-2build1 [4334 B] 383s Get:62 http://ftpmaster.internal/ubuntu noble/universe arm64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 385s Fetched 92.8 MB in 6s (15.1 MB/s) 386s Selecting previously unselected package libc-dev-bin. 386s (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 ... 78011 files and directories currently installed.) 386s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 386s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 386s Selecting previously unselected package linux-libc-dev:arm64. 386s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_arm64.deb ... 386s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 388s Selecting previously unselected package libcrypt-dev:arm64. 388s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 388s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 388s Selecting previously unselected package libtirpc-dev:arm64. 388s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1.1_arm64.deb ... 388s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1.1) ... 388s Selecting previously unselected package libnsl-dev:arm64. 388s Preparing to unpack .../04-libnsl-dev_1.3.0-3_arm64.deb ... 388s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 388s Selecting previously unselected package rpcsvc-proto. 388s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 388s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 388s Selecting previously unselected package libc6-dev:arm64. 388s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_arm64.deb ... 388s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 389s Selecting previously unselected package libisl23:arm64. 389s Preparing to unpack .../07-libisl23_0.26-3_arm64.deb ... 389s Unpacking libisl23:arm64 (0.26-3) ... 390s Selecting previously unselected package libmpc3:arm64. 390s Preparing to unpack .../08-libmpc3_1.3.1-1_arm64.deb ... 390s Unpacking libmpc3:arm64 (1.3.1-1) ... 390s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 390s Preparing to unpack .../09-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 390s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 391s Selecting previously unselected package cpp-13. 391s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 391s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 392s Selecting previously unselected package cpp-aarch64-linux-gnu. 392s Preparing to unpack .../11-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 392s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 392s Selecting previously unselected package cpp. 392s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 392s Unpacking cpp (4:13.2.0-7ubuntu1) ... 392s Selecting previously unselected package libcc1-0:arm64. 392s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 392s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 392s Selecting previously unselected package libitm1:arm64. 392s Preparing to unpack .../14-libitm1_14-20240303-1ubuntu1_arm64.deb ... 392s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 392s Selecting previously unselected package libatomic1:arm64. 392s Preparing to unpack .../15-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 392s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 392s Selecting previously unselected package libasan8:arm64. 392s Preparing to unpack .../16-libasan8_14-20240303-1ubuntu1_arm64.deb ... 392s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 393s Selecting previously unselected package liblsan0:arm64. 393s Preparing to unpack .../17-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 393s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 393s Selecting previously unselected package libtsan2:arm64. 393s Preparing to unpack .../18-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 393s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 394s Selecting previously unselected package libubsan1:arm64. 394s Preparing to unpack .../19-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 394s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 394s Selecting previously unselected package libhwasan0:arm64. 394s Preparing to unpack .../20-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 394s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 395s Selecting previously unselected package libgcc-13-dev:arm64. 395s Preparing to unpack .../21-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 395s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 396s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 396s Preparing to unpack .../22-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 396s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 399s Selecting previously unselected package gcc-13. 399s Preparing to unpack .../23-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 399s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 400s Selecting previously unselected package gcc-aarch64-linux-gnu. 400s Preparing to unpack .../24-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 400s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 400s Selecting previously unselected package gcc. 400s Preparing to unpack .../25-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 400s Unpacking gcc (4:13.2.0-7ubuntu1) ... 400s Selecting previously unselected package libstdc++-13-dev:arm64. 400s Preparing to unpack .../26-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 400s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 402s Selecting previously unselected package g++-13-aarch64-linux-gnu. 402s Preparing to unpack .../27-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 402s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 404s Selecting previously unselected package g++-13. 404s Preparing to unpack .../28-g++-13_13.2.0-17ubuntu2_arm64.deb ... 404s Unpacking g++-13 (13.2.0-17ubuntu2) ... 404s Selecting previously unselected package g++-aarch64-linux-gnu. 404s Preparing to unpack .../29-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 404s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 404s Selecting previously unselected package g++. 404s Preparing to unpack .../30-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 404s Unpacking g++ (4:13.2.0-7ubuntu1) ... 404s Selecting previously unselected package build-essential. 404s Preparing to unpack .../31-build-essential_12.10ubuntu1_arm64.deb ... 404s Unpacking build-essential (12.10ubuntu1) ... 404s Selecting previously unselected package dctrl-tools. 405s Preparing to unpack .../32-dctrl-tools_2.24-3build2_arm64.deb ... 405s Unpacking dctrl-tools (2.24-3build2) ... 405s Selecting previously unselected package libgfortran-13-dev:arm64. 405s Preparing to unpack .../33-libgfortran-13-dev_13.2.0-17ubuntu2_arm64.deb ... 405s Unpacking libgfortran-13-dev:arm64 (13.2.0-17ubuntu2) ... 405s Selecting previously unselected package gfortran-13-aarch64-linux-gnu. 405s Preparing to unpack .../34-gfortran-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 405s Unpacking gfortran-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 407s Selecting previously unselected package gfortran-13. 407s Preparing to unpack .../35-gfortran-13_13.2.0-17ubuntu2_arm64.deb ... 407s Unpacking gfortran-13 (13.2.0-17ubuntu2) ... 407s Selecting previously unselected package gfortran-aarch64-linux-gnu. 407s Preparing to unpack .../36-gfortran-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 407s Unpacking gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 407s Selecting previously unselected package gfortran. 407s Preparing to unpack .../37-gfortran_4%3a13.2.0-7ubuntu1_arm64.deb ... 407s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 407s Selecting previously unselected package icu-devtools. 407s Preparing to unpack .../38-icu-devtools_74.2-1ubuntu1_arm64.deb ... 407s Unpacking icu-devtools (74.2-1ubuntu1) ... 407s Selecting previously unselected package libblas-dev:arm64. 407s Preparing to unpack .../39-libblas-dev_3.12.0-3_arm64.deb ... 407s Unpacking libblas-dev:arm64 (3.12.0-3) ... 408s Selecting previously unselected package libbz2-dev:arm64. 408s Preparing to unpack .../40-libbz2-dev_1.0.8-5ubuntu1_arm64.deb ... 408s Unpacking libbz2-dev:arm64 (1.0.8-5ubuntu1) ... 408s Selecting previously unselected package libicu-dev:arm64. 408s Preparing to unpack .../41-libicu-dev_74.2-1ubuntu1_arm64.deb ... 408s Unpacking libicu-dev:arm64 (74.2-1ubuntu1) ... 410s Selecting previously unselected package libjpeg-turbo8-dev:arm64. 410s Preparing to unpack .../42-libjpeg-turbo8-dev_2.1.5-2ubuntu1_arm64.deb ... 410s Unpacking libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ... 410s Selecting previously unselected package libjpeg8-dev:arm64. 410s Preparing to unpack .../43-libjpeg8-dev_8c-2ubuntu11_arm64.deb ... 410s Unpacking libjpeg8-dev:arm64 (8c-2ubuntu11) ... 410s Selecting previously unselected package libjpeg-dev:arm64. 410s Preparing to unpack .../44-libjpeg-dev_8c-2ubuntu11_arm64.deb ... 410s Unpacking libjpeg-dev:arm64 (8c-2ubuntu11) ... 410s Selecting previously unselected package liblapack-dev:arm64. 410s Preparing to unpack .../45-liblapack-dev_3.12.0-3_arm64.deb ... 410s Unpacking liblapack-dev:arm64 (3.12.0-3) ... 411s Selecting previously unselected package libncurses-dev:arm64. 411s Preparing to unpack .../46-libncurses-dev_6.4+20240113-1ubuntu1_arm64.deb ... 411s Unpacking libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ... 411s Selecting previously unselected package libpcre2-16-0:arm64. 411s Preparing to unpack .../47-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 411s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 411s Selecting previously unselected package libpcre2-32-0:arm64. 411s Preparing to unpack .../48-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 411s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 412s Selecting previously unselected package libpcre2-posix3:arm64. 412s Preparing to unpack .../49-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 412s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 412s Selecting previously unselected package libpcre2-dev:arm64. 412s Preparing to unpack .../50-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 412s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 412s Selecting previously unselected package libpkgconf3:arm64. 412s Preparing to unpack .../51-libpkgconf3_1.8.1-2_arm64.deb ... 412s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 412s Selecting previously unselected package zlib1g-dev:arm64. 412s Preparing to unpack .../52-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 412s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 412s Selecting previously unselected package libpng-dev:arm64. 412s Preparing to unpack .../53-libpng-dev_1.6.43-3_arm64.deb ... 412s Unpacking libpng-dev:arm64 (1.6.43-3) ... 412s Selecting previously unselected package libreadline-dev:arm64. 413s Preparing to unpack .../54-libreadline-dev_8.2-3.1_arm64.deb ... 413s Unpacking libreadline-dev:arm64 (8.2-3.1) ... 413s Selecting previously unselected package pkgconf-bin. 413s Preparing to unpack .../55-pkgconf-bin_1.8.1-2_arm64.deb ... 413s Unpacking pkgconf-bin (1.8.1-2) ... 413s Selecting previously unselected package pkgconf:arm64. 413s Preparing to unpack .../56-pkgconf_1.8.1-2_arm64.deb ... 413s Unpacking pkgconf:arm64 (1.8.1-2) ... 413s Selecting previously unselected package pkg-config:arm64. 413s Preparing to unpack .../57-pkg-config_1.8.1-2_arm64.deb ... 413s Unpacking pkg-config:arm64 (1.8.1-2) ... 413s Selecting previously unselected package liblzma-dev:arm64. 413s Preparing to unpack .../58-liblzma-dev_5.4.5-0.3_arm64.deb ... 413s Unpacking liblzma-dev:arm64 (5.4.5-0.3) ... 413s Selecting previously unselected package r-base-dev. 413s Preparing to unpack .../59-r-base-dev_4.3.3-2build1_all.deb ... 413s Unpacking r-base-dev (4.3.3-2build1) ... 413s Selecting previously unselected package pkg-r-autopkgtest. 413s Preparing to unpack .../60-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 413s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 414s Selecting previously unselected package autopkgtest-satdep. 414s Preparing to unpack .../61-2-autopkgtest-satdep.deb ... 414s Unpacking autopkgtest-satdep (0) ... 414s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 414s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 414s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 414s Setting up libtirpc-dev:arm64 (1.3.4+ds-1.1) ... 414s Setting up libpkgconf3:arm64 (1.8.1-2) ... 414s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 414s Setting up libmpc3:arm64 (1.3.1-1) ... 414s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 414s Setting up icu-devtools (74.2-1ubuntu1) ... 414s Setting up pkgconf-bin (1.8.1-2) ... 414s Setting up liblzma-dev:arm64 (5.4.5-0.3) ... 414s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 414s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 414s Setting up libnsl-dev:arm64 (1.3.0-3) ... 414s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 414s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 414s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 414s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 414s Setting up libisl23:arm64 (0.26-3) ... 414s Setting up libc-dev-bin (2.39-0ubuntu2) ... 414s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 414s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 414s Setting up libblas-dev:arm64 (3.12.0-3) ... 414s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so to provide /usr/lib/aarch64-linux-gnu/libblas.so (libblas.so-aarch64-linux-gnu) in auto mode 414s Setting up dctrl-tools (2.24-3build2) ... 414s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 414s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 414s Setting up pkgconf:arm64 (1.8.1-2) ... 414s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 414s Setting up liblapack-dev:arm64 (3.12.0-3) ... 414s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so to provide /usr/lib/aarch64-linux-gnu/liblapack.so (liblapack.so-aarch64-linux-gnu) in auto mode 414s Setting up pkg-config:arm64 (1.8.1-2) ... 414s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 414s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 414s Setting up libgfortran-13-dev:arm64 (13.2.0-17ubuntu2) ... 414s Setting up libicu-dev:arm64 (74.2-1ubuntu1) ... 414s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 414s Setting up libbz2-dev:arm64 (1.0.8-5ubuntu1) ... 414s Setting up libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ... 414s Setting up libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ... 414s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 414s Setting up cpp-13 (13.2.0-17ubuntu2) ... 414s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 414s Setting up libreadline-dev:arm64 (8.2-3.1) ... 414s Setting up gcc-13 (13.2.0-17ubuntu2) ... 414s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 414s Setting up cpp (4:13.2.0-7ubuntu1) ... 414s Setting up libjpeg8-dev:arm64 (8c-2ubuntu11) ... 414s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 414s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 414s Setting up g++-13 (13.2.0-17ubuntu2) ... 414s Setting up libpng-dev:arm64 (1.6.43-3) ... 414s Setting up libjpeg-dev:arm64 (8c-2ubuntu11) ... 414s Setting up gfortran-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 414s Setting up gcc (4:13.2.0-7ubuntu1) ... 414s Setting up gfortran-13 (13.2.0-17ubuntu2) ... 414s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 415s Setting up gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 415s Setting up gfortran (4:13.2.0-7ubuntu1) ... 415s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 415s 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 415s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 415s 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 415s Setting up g++ (4:13.2.0-7ubuntu1) ... 415s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 415s Setting up build-essential (12.10ubuntu1) ... 415s Setting up r-base-dev (4.3.3-2build1) ... 415s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 415s Setting up autopkgtest-satdep (0) ... 415s Processing triggers for man-db (2.12.0-3) ... 418s Processing triggers for install-info (7.1-3) ... 419s Processing triggers for libc-bin (2.39-0ubuntu2) ... 430s (Reading database ... 81570 files and directories currently installed.) 430s Removing autopkgtest-satdep (0) ... 432s autopkgtest [19:40:10]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 432s autopkgtest [19:40:10]: test pkg-r-autopkgtest: [----------------------- 432s Test: Try to load the R library pracma 433s 433s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 433s Copyright (C) 2024 The R Foundation for Statistical Computing 433s Platform: aarch64-unknown-linux-gnu (64-bit) 433s 433s R is free software and comes with ABSOLUTELY NO WARRANTY. 433s You are welcome to redistribute it under certain conditions. 433s Type 'license()' or 'licence()' for distribution details. 433s 433s R is a collaborative project with many contributors. 433s Type 'contributors()' for more information and 433s 'citation()' on how to cite R or R packages in publications. 433s 433s Type 'demo()' for some demos, 'help()' for on-line help, or 433s 'help.start()' for an HTML browser interface to help. 433s Type 'q()' to quit R. 433s 433s > library('pracma') 433s > 433s > 433s Other tests are currently unsupported! 433s They will be progressively added. 434s autopkgtest [19:40:12]: test pkg-r-autopkgtest: -----------------------] 435s autopkgtest [19:40:13]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 435s pkg-r-autopkgtest PASS 435s autopkgtest [19:40:13]: @@@@@@@@@@@@@@@@@@@@ summary 435s run-unit-test PASS 435s pkg-r-autopkgtest PASS 453s Creating nova instance adt-noble-arm64-r-cran-pracma-20240316-193258-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240316.img (UUID 9d2e92bf-2787-45c2-ae22-99fb4bcc175e)...