0s autopkgtest [22:01:38]: starting date and time: 2025-03-15 22:01:38+0000 0s autopkgtest [22:01:38]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [22:01:38]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.djhcttgm/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade r-cran-actuar --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-18.secgroup --name adt-plucky-amd64-r-cran-actuar-20250315-220138-juju-7f2275-prod-proposed-migration-environment-2-dc8cef36-9ec6-4541-b4ea-afd21f2696d6 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 62s autopkgtest [22:02:40]: testbed dpkg architecture: amd64 63s autopkgtest [22:02:41]: testbed apt version: 2.9.31ubuntu1 63s autopkgtest [22:02:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [22:02:41]: testbed release detected to be: None 64s autopkgtest [22:02:42]: updating testbed package index (apt update) 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 65s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 65s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 65s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 65s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [44.1 kB] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [369 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.5 kB] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [67.4 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [85.7 kB] 65s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [1852 B] 65s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [116 B] 65s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [342 kB] 65s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [174 kB] 65s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [15.3 kB] 65s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [16.1 kB] 65s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [8544 B] 65s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [628 B] 65s Fetched 1265 kB in 1s (1506 kB/s) 66s Reading package lists... 67s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s Calculating upgrade... 69s The following package was automatically installed and is no longer required: 69s libnl-genl-3-200 69s Use 'sudo apt autoremove' to remove it. 69s The following NEW packages will be installed: 69s bpftool libdebuginfod-common libdebuginfod1t64 linux-headers-6.14.0-10 69s linux-headers-6.14.0-10-generic linux-image-6.14.0-10-generic 69s linux-modules-6.14.0-10-generic linux-modules-extra-6.14.0-10-generic 69s linux-perf linux-tools-6.14.0-10 linux-tools-6.14.0-10-generic pnp.ids 69s The following packages will be upgraded: 69s apparmor apt apt-utils binutils binutils-common binutils-x86-64-linux-gnu 69s cloud-init cloud-init-base curl dosfstools exfatprogs fwupd gcc-15-base 69s gir1.2-girepository-2.0 gir1.2-glib-2.0 htop hwdata initramfs-tools 69s initramfs-tools-bin initramfs-tools-core libapparmor1 libapt-pkg7.0 69s libassuan9 libatomic1 libaudit-common libaudit1 libbinutils libbrotli1 69s libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libctf-nobfd0 libctf0 69s libcurl3t64-gnutls libcurl4t64 libestr0 libftdi1-2 libfwupd3 libgcc-s1 69s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data libgpgme11t64 69s libgprofng0 libjemalloc2 liblz4-1 liblzma5 libmm-glib0 libncurses6 69s libncursesw6 libnewt0.52 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 69s libnss-systemd libpam-systemd libparted2t64 libpci3 libpython3-stdlib 69s libpython3.13 libpython3.13-minimal libpython3.13-stdlib libseccomp2 69s libselinux1 libsemanage-common libsemanage2 libsframe1 libsqlite3-0 69s libstdc++6 libsystemd-shared libsystemd0 libtinfo6 libudev1 libxml2 69s linux-firmware linux-generic linux-headers-generic linux-headers-virtual 69s linux-image-generic linux-image-virtual linux-libc-dev linux-tools-common 69s linux-virtual locales media-types ncurses-base ncurses-bin ncurses-term 69s parted pci.ids pciutils pinentry-curses python-apt-common python3 69s python3-apt python3-bcrypt python3-cffi-backend python3-dbus python3-gi 69s python3-jinja2 python3-lazr.uri python3-markupsafe python3-minimal 69s python3-newt python3-rpds-py python3-systemd python3-yaml python3.13 69s python3.13-gdbm python3.13-minimal rsync rsyslog strace systemd 69s systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 69s ubuntu-kernel-accessories ubuntu-minimal ubuntu-standard udev whiptail 69s xz-utils 69s 126 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 69s Need to get 829 MB of archives. 69s After this operation, 325 MB of additional disk space will be used. 69s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-bin amd64 6.5+20250216-2 [194 kB] 69s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libc-dev-bin amd64 2.41-1ubuntu1 [24.7 kB] 69s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libc6-dev amd64 2.41-1ubuntu1 [2182 kB] 69s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 locales all 2.41-1ubuntu1 [4246 kB] 70s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libc6 amd64 2.41-1ubuntu1 [3327 kB] 70s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libc-bin amd64 2.41-1ubuntu1 [701 kB] 70s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-libc-dev amd64 6.14.0-10.10 [1723 kB] 70s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 15-20250222-0ubuntu1 [10.4 kB] 70s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-15-base amd64 15-20250222-0ubuntu1 [53.4 kB] 70s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 15-20250222-0ubuntu1 [77.8 kB] 70s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 15-20250222-0ubuntu1 [798 kB] 70s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-base all 6.5+20250216-2 [25.9 kB] 70s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-term all 6.5+20250216-2 [276 kB] 70s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 liblz4-1 amd64 1.10.0-4 [66.4 kB] 70s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 liblzma5 amd64 5.6.4-1 [157 kB] 70s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd0 amd64 257.3-1ubuntu3 [595 kB] 70s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libnss-systemd amd64 257.3-1ubuntu3 [199 kB] 70s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-sysv amd64 257.3-1ubuntu3 [11.9 kB] 70s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-resolved amd64 257.3-1ubuntu3 [345 kB] 70s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-systemd amd64 257.3-1ubuntu3 [302 kB] 70s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd-shared amd64 257.3-1ubuntu3 [2371 kB] 70s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd amd64 257.3-1ubuntu3 [3052 kB] 70s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-timesyncd amd64 257.3-1ubuntu3 [42.1 kB] 70s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-cryptsetup amd64 257.3-1ubuntu3 [124 kB] 70s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 udev amd64 257.3-1ubuntu3 [1404 kB] 70s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libudev1 amd64 257.3-1ubuntu3 [215 kB] 70s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit-common all 1:4.0.2-2ubuntu2 [6628 B] 70s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4build1 [15.6 kB] 70s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit1 amd64 1:4.0.2-2ubuntu2 [54.0 kB] 70s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libseccomp2 amd64 2.5.5-1ubuntu6 [53.5 kB] 70s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1 amd64 3.7-3ubuntu3 [87.3 kB] 70s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libapparmor1 amd64 4.1.0~beta5-0ubuntu8 [55.0 kB] 70s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libapt-pkg7.0 amd64 2.9.33 [1138 kB] 70s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 apt amd64 2.9.33 [1439 kB] 70s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 apt-utils amd64 2.9.33 [222 kB] 70s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-minimal amd64 3.13.2-2 [27.7 kB] 70s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 python3 amd64 3.13.2-2 [24.0 kB] 70s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13 amd64 3.13.2-2 [2341 kB] 70s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 media-types all 13.0.0 [29.9 kB] 70s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libncurses6 amd64 6.5+20250216-2 [126 kB] 70s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libncursesw6 amd64 6.5+20250216-2 [165 kB] 70s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libtinfo6 amd64 6.5+20250216-2 [119 kB] 70s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libsqlite3-0 amd64 3.46.1-2 [715 kB] 70s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.2-2 [735 kB] 70s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.2-2 [2365 kB] 71s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.2-2 [883 kB] 71s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.2-2 [2066 kB] 71s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3-stdlib amd64 3.13.2-2 [10.4 kB] 71s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 rsync amd64 3.4.1+ds1-3 [482 kB] 71s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod-common all 0.192-4 [15.4 kB] 71s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage-common all 3.7-2.1build1 [7268 B] 71s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage2 amd64 3.7-2.1build1 [106 kB] 71s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libassuan9 amd64 3.0.2-2 [43.1 kB] 71s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-girepository-2.0 amd64 1.83.4-1 [25.3 kB] 71s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0 amd64 2.84.0-1 [184 kB] 71s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-0t64 amd64 2.84.0-1 [1669 kB] 71s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-1.0-1 amd64 1.83.4-1 [89.5 kB] 71s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libestr0 amd64 0.1.11-2 [8340 B] 71s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-data all 2.84.0-1 [53.0 kB] 71s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-newt amd64 0.52.24-4ubuntu2 [21.1 kB] 71s Get:61 http://ftpmaster.internal/ubuntu plucky/main amd64 libnewt0.52 amd64 0.52.24-4ubuntu2 [55.7 kB] 71s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2ubuntu5 [772 kB] 71s Get:63 http://ftpmaster.internal/ubuntu plucky/main amd64 python-apt-common all 2.9.9build1 [21.3 kB] 71s Get:64 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-apt amd64 2.9.9build1 [172 kB] 71s Get:65 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-cffi-backend amd64 1.17.1-2build2 [96.6 kB] 71s Get:66 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dbus amd64 1.3.2-5build5 [102 kB] 71s Get:67 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-gi amd64 3.50.0-4build1 [252 kB] 71s Get:68 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-yaml amd64 6.0.2-1build2 [144 kB] 71s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 rsyslog amd64 8.2412.0-2ubuntu2 [555 kB] 71s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 whiptail amd64 0.52.24-4ubuntu2 [19.1 kB] 71s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-minimal amd64 1.549 [11.5 kB] 71s Get:72 http://ftpmaster.internal/ubuntu plucky/main amd64 apparmor amd64 4.1.0~beta5-0ubuntu8 [701 kB] 71s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 dosfstools amd64 4.2-1.2 [95.0 kB] 71s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-genl-3-200 amd64 3.7.0-1 [12.2 kB] 71s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-route-3-200 amd64 3.7.0-1 [191 kB] 71s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-3-200 amd64 3.7.0-1 [64.9 kB] 71s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 parted amd64 3.6-5 [53.9 kB] 71s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 libparted2t64 amd64 3.6-5 [158 kB] 71s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 pci.ids all 0.0~2025.03.09-1 [285 kB] 71s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 pciutils amd64 1:3.13.0-2 [110 kB] 71s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 libpci3 amd64 1:3.13.0-2 [39.8 kB] 71s Get:82 http://ftpmaster.internal/ubuntu plucky/main amd64 strace amd64 6.13+ds-1ubuntu1 [622 kB] 71s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 xz-utils amd64 5.6.4-1 [278 kB] 71s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-standard amd64 1.549 [11.5 kB] 71s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.44-3ubuntu1 [886 kB] 71s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.44-3ubuntu1 [96.5 kB] 71s Get:87 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.44-3ubuntu1 [98.9 kB] 71s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.44-3ubuntu1 [1108 kB] 71s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.44-3ubuntu1 [585 kB] 71s Get:90 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.44-3ubuntu1 [208 kB] 71s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.44-3ubuntu1 [215 kB] 71s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.44-3ubuntu1 [14.8 kB] 71s Get:93 http://ftpmaster.internal/ubuntu plucky/main amd64 hwdata all 0.393-3 [1562 B] 71s Get:94 http://ftpmaster.internal/ubuntu plucky/main amd64 pnp.ids all 0.393-3 [29.5 kB] 71s Get:95 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-common all 6.14.0-10.10 [295 kB] 71s Get:96 http://ftpmaster.internal/ubuntu plucky/main amd64 bpftool amd64 7.6.0+6.14.0-10.10 [1147 kB] 71s Get:97 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-markupsafe amd64 2.1.5-1build4 [13.4 kB] 71s Get:98 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 71s Get:99 http://ftpmaster.internal/ubuntu plucky/main amd64 cloud-init-base all 25.1-0ubuntu3 [616 kB] 71s Get:100 http://ftpmaster.internal/ubuntu plucky/main amd64 libbrotli1 amd64 1.1.0-2build4 [365 kB] 71s Get:101 http://ftpmaster.internal/ubuntu plucky/main amd64 curl amd64 8.12.1-3ubuntu1 [258 kB] 71s Get:102 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl4t64 amd64 8.12.1-3ubuntu1 [437 kB] 72s Get:103 http://ftpmaster.internal/ubuntu plucky/main amd64 exfatprogs amd64 1.2.8-1 [76.3 kB] 72s Get:104 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl3t64-gnutls amd64 8.12.1-3ubuntu1 [432 kB] 72s Get:105 http://ftpmaster.internal/ubuntu plucky/main amd64 fwupd amd64 2.0.6-4 [5408 kB] 72s Get:106 http://ftpmaster.internal/ubuntu plucky/main amd64 libfwupd3 amd64 2.0.6-4 [136 kB] 72s Get:107 http://ftpmaster.internal/ubuntu plucky/main amd64 libmm-glib0 amd64 1.23.4-0ubuntu3 [251 kB] 72s Get:108 http://ftpmaster.internal/ubuntu plucky/main amd64 htop amd64 3.4.0-2 [195 kB] 72s Get:109 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-firmware amd64 20250310.git9e1370d3-0ubuntu1 [571 MB] 92s Get:110 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools all 0.146ubuntu1 [7920 B] 92s Get:111 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools-core all 0.146ubuntu1 [51.9 kB] 92s Get:112 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools-bin amd64 0.146ubuntu1 [26.2 kB] 92s Get:113 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod1t64 amd64 0.192-4 [21.0 kB] 92s Get:114 http://ftpmaster.internal/ubuntu plucky/main amd64 libftdi1-2 amd64 1.5-8build1 [30.2 kB] 92s Get:115 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.24.2-1ubuntu2 [155 kB] 92s Get:116 http://ftpmaster.internal/ubuntu plucky/main amd64 libjemalloc2 amd64 5.3.0-3 [277 kB] 92s Get:117 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-modules-6.14.0-10-generic amd64 6.14.0-10.10 [41.2 MB] 94s Get:118 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-6.14.0-10-generic amd64 6.14.0-10.10 [15.3 MB] 95s Get:119 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-modules-extra-6.14.0-10-generic amd64 6.14.0-10.10 [120 MB] 100s Get:120 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-generic amd64 6.14.0-10.10 [1730 B] 100s Get:121 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-generic amd64 6.14.0-10.10 [11.1 kB] 100s Get:122 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-virtual amd64 6.14.0-10.10 [1722 B] 100s Get:123 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-virtual amd64 6.14.0-10.10 [11.1 kB] 100s Get:124 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-virtual amd64 6.14.0-10.10 [1642 B] 100s Get:125 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-6.14.0-10 all 6.14.0-10.10 [14.2 MB] 100s Get:126 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-6.14.0-10-generic amd64 6.14.0-10.10 [3915 kB] 100s Get:127 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-generic amd64 6.14.0-10.10 [11.0 kB] 100s Get:128 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-perf amd64 6.14.0-10.10 [4122 kB] 100s Get:129 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-6.14.0-10 amd64 6.14.0-10.10 [1394 kB] 100s Get:130 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-6.14.0-10-generic amd64 6.14.0-10.10 [830 B] 100s Get:131 http://ftpmaster.internal/ubuntu plucky/main amd64 pinentry-curses amd64 1.3.1-2ubuntu3 [42.3 kB] 100s Get:132 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-lazr.uri all 1.0.6-6 [13.7 kB] 100s Get:133 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-rpds-py amd64 0.21.0-2ubuntu2 [278 kB] 100s Get:134 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build6 [43.9 kB] 100s Get:135 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.2-2 [31.9 kB] 100s Get:136 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-kernel-accessories amd64 1.549 [11.2 kB] 100s Get:137 http://ftpmaster.internal/ubuntu plucky/main amd64 cloud-init all 25.1-0ubuntu3 [2100 B] 100s Get:138 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-bcrypt amd64 4.2.0-2.1build1 [221 kB] 101s Preconfiguring packages ... 101s Fetched 829 MB in 32s (26.1 MB/s) 102s (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 ... 109140 files and directories currently installed.) 102s Preparing to unpack .../ncurses-bin_6.5+20250216-2_amd64.deb ... 102s Unpacking ncurses-bin (6.5+20250216-2) over (6.5+20250216-1) ... 102s Setting up ncurses-bin (6.5+20250216-2) ... 102s (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 ... 109140 files and directories currently installed.) 102s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu1_amd64.deb ... 102s Unpacking libc-dev-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 102s Preparing to unpack .../libc6-dev_2.41-1ubuntu1_amd64.deb ... 102s Unpacking libc6-dev:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 102s Preparing to unpack .../locales_2.41-1ubuntu1_all.deb ... 102s Unpacking locales (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 102s Preparing to unpack .../libc6_2.41-1ubuntu1_amd64.deb ... 103s Checking for services that may need to be restarted... 103s Checking init scripts... 103s Checking for services that may need to be restarted... 103s Checking init scripts... 103s Stopping some services possibly affected by the upgrade (will be restarted later): 103s cron: stopping...done. 103s 103s Unpacking libc6:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 103s Setting up libc6:amd64 (2.41-1ubuntu1) ... 103s Checking for services that may need to be restarted... 103s Checking init scripts... 103s Restarting services possibly affected by the upgrade: 103s cron: restarting...done. 103s 103s Services restarted successfully. 103s (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 ... 109141 files and directories currently installed.) 103s Preparing to unpack .../libc-bin_2.41-1ubuntu1_amd64.deb ... 103s Unpacking libc-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 103s Setting up libc-bin (2.41-1ubuntu1) ... 104s (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 ... 109141 files and directories currently installed.) 104s Preparing to unpack .../linux-libc-dev_6.14.0-10.10_amd64.deb ... 104s Unpacking linux-libc-dev:amd64 (6.14.0-10.10) over (6.12.0-16.16) ... 104s Preparing to unpack .../libatomic1_15-20250222-0ubuntu1_amd64.deb ... 104s Unpacking libatomic1:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 104s Preparing to unpack .../gcc-15-base_15-20250222-0ubuntu1_amd64.deb ... 104s Unpacking gcc-15-base:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 104s Setting up gcc-15-base:amd64 (15-20250222-0ubuntu1) ... 104s (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 ... 109146 files and directories currently installed.) 104s Preparing to unpack .../libgcc-s1_15-20250222-0ubuntu1_amd64.deb ... 104s Unpacking libgcc-s1:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 104s Setting up libgcc-s1:amd64 (15-20250222-0ubuntu1) ... 104s (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 ... 109146 files and directories currently installed.) 105s Preparing to unpack .../libstdc++6_15-20250222-0ubuntu1_amd64.deb ... 105s Unpacking libstdc++6:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 105s Setting up libstdc++6:amd64 (15-20250222-0ubuntu1) ... 105s (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 ... 109146 files and directories currently installed.) 105s Preparing to unpack .../ncurses-base_6.5+20250216-2_all.deb ... 105s Unpacking ncurses-base (6.5+20250216-2) over (6.5+20250216-1) ... 105s Setting up ncurses-base (6.5+20250216-2) ... 105s (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 ... 109146 files and directories currently installed.) 105s Preparing to unpack .../ncurses-term_6.5+20250216-2_all.deb ... 105s Unpacking ncurses-term (6.5+20250216-2) over (6.5+20250216-1) ... 106s Preparing to unpack .../liblz4-1_1.10.0-4_amd64.deb ... 106s Unpacking liblz4-1:amd64 (1.10.0-4) over (1.10.0-3) ... 106s Setting up liblz4-1:amd64 (1.10.0-4) ... 106s (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 ... 109146 files and directories currently installed.) 106s Preparing to unpack .../liblzma5_5.6.4-1_amd64.deb ... 106s Unpacking liblzma5:amd64 (5.6.4-1) over (5.6.3-1) ... 106s Setting up liblzma5:amd64 (5.6.4-1) ... 106s (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 ... 109146 files and directories currently installed.) 106s Preparing to unpack .../libsystemd0_257.3-1ubuntu3_amd64.deb ... 106s Unpacking libsystemd0:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 106s Setting up libsystemd0:amd64 (257.3-1ubuntu3) ... 106s (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 ... 109146 files and directories currently installed.) 106s Preparing to unpack .../libnss-systemd_257.3-1ubuntu3_amd64.deb ... 106s Unpacking libnss-systemd:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 106s Preparing to unpack .../systemd-sysv_257.3-1ubuntu3_amd64.deb ... 106s Unpacking systemd-sysv (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 106s Preparing to unpack .../systemd-resolved_257.3-1ubuntu3_amd64.deb ... 106s Unpacking systemd-resolved (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 106s Preparing to unpack .../libpam-systemd_257.3-1ubuntu3_amd64.deb ... 106s Unpacking libpam-systemd:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 106s Preparing to unpack .../libsystemd-shared_257.3-1ubuntu3_amd64.deb ... 106s Unpacking libsystemd-shared:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 106s Setting up libsystemd-shared:amd64 (257.3-1ubuntu3) ... 106s (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 ... 109146 files and directories currently installed.) 106s Preparing to unpack .../systemd_257.3-1ubuntu3_amd64.deb ... 106s Unpacking systemd (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 107s Preparing to unpack .../systemd-timesyncd_257.3-1ubuntu3_amd64.deb ... 107s Unpacking systemd-timesyncd (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 107s Preparing to unpack .../systemd-cryptsetup_257.3-1ubuntu3_amd64.deb ... 107s Unpacking systemd-cryptsetup (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 107s Preparing to unpack .../udev_257.3-1ubuntu3_amd64.deb ... 107s Unpacking udev (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 107s Preparing to unpack .../libudev1_257.3-1ubuntu3_amd64.deb ... 107s Unpacking libudev1:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 107s Setting up libudev1:amd64 (257.3-1ubuntu3) ... 107s (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 ... 109146 files and directories currently installed.) 107s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu2_all.deb ... 107s Unpacking libaudit-common (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 107s Setting up libaudit-common (1:4.0.2-2ubuntu2) ... 107s (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 ... 109146 files and directories currently installed.) 107s Preparing to unpack .../libcap-ng0_0.8.5-4build1_amd64.deb ... 107s Unpacking libcap-ng0:amd64 (0.8.5-4build1) over (0.8.5-4) ... 107s Setting up libcap-ng0:amd64 (0.8.5-4build1) ... 107s (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 ... 109146 files and directories currently installed.) 108s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu2_amd64.deb ... 108s Unpacking libaudit1:amd64 (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 108s Setting up libaudit1:amd64 (1:4.0.2-2ubuntu2) ... 108s (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 ... 109146 files and directories currently installed.) 108s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu6_amd64.deb ... 108s Unpacking libseccomp2:amd64 (2.5.5-1ubuntu6) over (2.5.5-1ubuntu5) ... 108s Setting up libseccomp2:amd64 (2.5.5-1ubuntu6) ... 108s (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 ... 109146 files and directories currently installed.) 108s Preparing to unpack .../libselinux1_3.7-3ubuntu3_amd64.deb ... 108s Unpacking libselinux1:amd64 (3.7-3ubuntu3) over (3.7-3ubuntu2) ... 108s Setting up libselinux1:amd64 (3.7-3ubuntu3) ... 108s (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 ... 109146 files and directories currently installed.) 108s Preparing to unpack .../libapparmor1_4.1.0~beta5-0ubuntu8_amd64.deb ... 108s Unpacking libapparmor1:amd64 (4.1.0~beta5-0ubuntu8) over (4.1.0~beta5-0ubuntu5) ... 108s Preparing to unpack .../libapt-pkg7.0_2.9.33_amd64.deb ... 108s Unpacking libapt-pkg7.0:amd64 (2.9.33) over (2.9.31ubuntu1) ... 108s Setting up libapt-pkg7.0:amd64 (2.9.33) ... 108s (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 ... 109146 files and directories currently installed.) 108s Preparing to unpack .../archives/apt_2.9.33_amd64.deb ... 108s Unpacking apt (2.9.33) over (2.9.31ubuntu1) ... 108s Setting up apt (2.9.33) ... 109s (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 ... 109146 files and directories currently installed.) 109s Preparing to unpack .../apt-utils_2.9.33_amd64.deb ... 109s Unpacking apt-utils (2.9.33) over (2.9.31ubuntu1) ... 109s Preparing to unpack .../python3-minimal_3.13.2-2_amd64.deb ... 109s Unpacking python3-minimal (3.13.2-2) over (3.13.2-1) ... 109s Setting up python3-minimal (3.13.2-2) ... 110s (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 ... 109146 files and directories currently installed.) 110s Preparing to unpack .../0-python3_3.13.2-2_amd64.deb ... 110s Unpacking python3 (3.13.2-2) over (3.13.2-1) ... 110s Preparing to unpack .../1-libpython3.13_3.13.2-2_amd64.deb ... 110s Unpacking libpython3.13:amd64 (3.13.2-2) over (3.13.2-1) ... 110s Preparing to unpack .../2-media-types_13.0.0_all.deb ... 110s Unpacking media-types (13.0.0) over (12.0.0) ... 110s Preparing to unpack .../3-libncurses6_6.5+20250216-2_amd64.deb ... 110s Unpacking libncurses6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 110s Preparing to unpack .../4-libncursesw6_6.5+20250216-2_amd64.deb ... 110s Unpacking libncursesw6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 110s Preparing to unpack .../5-libtinfo6_6.5+20250216-2_amd64.deb ... 110s Unpacking libtinfo6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 110s Setting up libtinfo6:amd64 (6.5+20250216-2) ... 110s (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 ... 109146 files and directories currently installed.) 110s Preparing to unpack .../0-libsqlite3-0_3.46.1-2_amd64.deb ... 110s Unpacking libsqlite3-0:amd64 (3.46.1-2) over (3.46.1-1) ... 110s Preparing to unpack .../1-python3.13_3.13.2-2_amd64.deb ... 110s Unpacking python3.13 (3.13.2-2) over (3.13.2-1) ... 110s Preparing to unpack .../2-python3.13-minimal_3.13.2-2_amd64.deb ... 110s Unpacking python3.13-minimal (3.13.2-2) over (3.13.2-1) ... 110s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-2_amd64.deb ... 111s Unpacking libpython3.13-minimal:amd64 (3.13.2-2) over (3.13.2-1) ... 111s Preparing to unpack .../4-libpython3.13-stdlib_3.13.2-2_amd64.deb ... 111s Unpacking libpython3.13-stdlib:amd64 (3.13.2-2) over (3.13.2-1) ... 111s Preparing to unpack .../5-libpython3-stdlib_3.13.2-2_amd64.deb ... 111s Unpacking libpython3-stdlib:amd64 (3.13.2-2) over (3.13.2-1) ... 111s Preparing to unpack .../6-rsync_3.4.1+ds1-3_amd64.deb ... 111s Unpacking rsync (3.4.1+ds1-3) over (3.4.1-0syncable1) ... 111s Selecting previously unselected package libdebuginfod-common. 111s Preparing to unpack .../7-libdebuginfod-common_0.192-4_all.deb ... 111s Unpacking libdebuginfod-common (0.192-4) ... 111s Preparing to unpack .../8-libsemanage-common_3.7-2.1build1_all.deb ... 111s Unpacking libsemanage-common (3.7-2.1build1) over (3.7-2.1) ... 111s Setting up libsemanage-common (3.7-2.1build1) ... 111s (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 ... 109155 files and directories currently installed.) 111s Preparing to unpack .../libsemanage2_3.7-2.1build1_amd64.deb ... 111s Unpacking libsemanage2:amd64 (3.7-2.1build1) over (3.7-2.1) ... 111s Setting up libsemanage2:amd64 (3.7-2.1build1) ... 111s (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 ... 109155 files and directories currently installed.) 111s Preparing to unpack .../libassuan9_3.0.2-2_amd64.deb ... 111s Unpacking libassuan9:amd64 (3.0.2-2) over (3.0.1-2) ... 111s Setting up libassuan9:amd64 (3.0.2-2) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109155 files and directories currently installed.) 112s Preparing to unpack .../00-gir1.2-girepository-2.0_1.83.4-1_amd64.deb ... 112s Unpacking gir1.2-girepository-2.0:amd64 (1.83.4-1) over (1.82.0-4) ... 112s Preparing to unpack .../01-gir1.2-glib-2.0_2.84.0-1_amd64.deb ... 112s Unpacking gir1.2-glib-2.0:amd64 (2.84.0-1) over (2.83.5-1) ... 112s Preparing to unpack .../02-libglib2.0-0t64_2.84.0-1_amd64.deb ... 112s Unpacking libglib2.0-0t64:amd64 (2.84.0-1) over (2.83.5-1) ... 112s Preparing to unpack .../03-libgirepository-1.0-1_1.83.4-1_amd64.deb ... 112s Unpacking libgirepository-1.0-1:amd64 (1.83.4-1) over (1.82.0-4) ... 112s Preparing to unpack .../04-libestr0_0.1.11-2_amd64.deb ... 112s Unpacking libestr0:amd64 (0.1.11-2) over (0.1.11-1build1) ... 112s Preparing to unpack .../05-libglib2.0-data_2.84.0-1_all.deb ... 112s Unpacking libglib2.0-data (2.84.0-1) over (2.83.5-1) ... 112s Preparing to unpack .../06-python3-newt_0.52.24-4ubuntu2_amd64.deb ... 112s Unpacking python3-newt:amd64 (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 112s Preparing to unpack .../07-libnewt0.52_0.52.24-4ubuntu2_amd64.deb ... 112s Unpacking libnewt0.52:amd64 (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 112s Preparing to unpack .../08-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu5_amd64.deb ... 112s Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) over (2.12.7+dfsg+really2.9.14-0.2ubuntu4) ... 112s Preparing to unpack .../09-python-apt-common_2.9.9build1_all.deb ... 112s Unpacking python-apt-common (2.9.9build1) over (2.9.9) ... 112s Preparing to unpack .../10-python3-apt_2.9.9build1_amd64.deb ... 112s Unpacking python3-apt (2.9.9build1) over (2.9.9) ... 112s Preparing to unpack .../11-python3-cffi-backend_1.17.1-2build2_amd64.deb ... 112s Unpacking python3-cffi-backend:amd64 (1.17.1-2build2) over (1.17.1-2build1) ... 112s Preparing to unpack .../12-python3-dbus_1.3.2-5build5_amd64.deb ... 113s Unpacking python3-dbus (1.3.2-5build5) over (1.3.2-5build4) ... 113s Preparing to unpack .../13-python3-gi_3.50.0-4build1_amd64.deb ... 113s Unpacking python3-gi (3.50.0-4build1) over (3.50.0-4) ... 113s Preparing to unpack .../14-python3-yaml_6.0.2-1build2_amd64.deb ... 113s Unpacking python3-yaml (6.0.2-1build2) over (6.0.2-1build1) ... 113s Preparing to unpack .../15-rsyslog_8.2412.0-2ubuntu2_amd64.deb ... 113s Unpacking rsyslog (8.2412.0-2ubuntu2) over (8.2412.0-2ubuntu1) ... 113s Preparing to unpack .../16-whiptail_0.52.24-4ubuntu2_amd64.deb ... 113s Unpacking whiptail (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 113s Preparing to unpack .../17-ubuntu-minimal_1.549_amd64.deb ... 113s Unpacking ubuntu-minimal (1.549) over (1.548) ... 113s Preparing to unpack .../18-apparmor_4.1.0~beta5-0ubuntu8_amd64.deb ... 114s Unpacking apparmor (4.1.0~beta5-0ubuntu8) over (4.1.0~beta5-0ubuntu5) ... 115s Preparing to unpack .../19-dosfstools_4.2-1.2_amd64.deb ... 115s Unpacking dosfstools (4.2-1.2) over (4.2-1.1build1) ... 115s Preparing to unpack .../20-libnl-genl-3-200_3.7.0-1_amd64.deb ... 115s Unpacking libnl-genl-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 115s Preparing to unpack .../21-libnl-route-3-200_3.7.0-1_amd64.deb ... 115s Unpacking libnl-route-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 115s Preparing to unpack .../22-libnl-3-200_3.7.0-1_amd64.deb ... 115s Unpacking libnl-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 115s Preparing to unpack .../23-parted_3.6-5_amd64.deb ... 115s Unpacking parted (3.6-5) over (3.6-4build1) ... 115s Preparing to unpack .../24-libparted2t64_3.6-5_amd64.deb ... 115s Adding 'diversion of /lib/x86_64-linux-gnu/libparted.so.2 to /lib/x86_64-linux-gnu/libparted.so.2.usr-is-merged by libparted2t64' 115s Adding 'diversion of /lib/x86_64-linux-gnu/libparted.so.2.0.5 to /lib/x86_64-linux-gnu/libparted.so.2.0.5.usr-is-merged by libparted2t64' 115s Unpacking libparted2t64:amd64 (3.6-5) over (3.6-4build1) ... 115s Preparing to unpack .../25-pci.ids_0.0~2025.03.09-1_all.deb ... 115s Unpacking pci.ids (0.0~2025.03.09-1) over (0.0~2025.02.12-1) ... 115s Preparing to unpack .../26-pciutils_1%3a3.13.0-2_amd64.deb ... 115s Unpacking pciutils (1:3.13.0-2) over (1:3.13.0-1) ... 115s Preparing to unpack .../27-libpci3_1%3a3.13.0-2_amd64.deb ... 115s Unpacking libpci3:amd64 (1:3.13.0-2) over (1:3.13.0-1) ... 115s Preparing to unpack .../28-strace_6.13+ds-1ubuntu1_amd64.deb ... 115s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 115s Preparing to unpack .../29-xz-utils_5.6.4-1_amd64.deb ... 115s Unpacking xz-utils (5.6.4-1) over (5.6.3-1) ... 115s Preparing to unpack .../30-ubuntu-standard_1.549_amd64.deb ... 115s Unpacking ubuntu-standard (1.549) over (1.548) ... 115s Preparing to unpack .../31-libgprofng0_2.44-3ubuntu1_amd64.deb ... 115s Unpacking libgprofng0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 115s Preparing to unpack .../32-libctf0_2.44-3ubuntu1_amd64.deb ... 115s Unpacking libctf0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 115s Preparing to unpack .../33-libctf-nobfd0_2.44-3ubuntu1_amd64.deb ... 115s Unpacking libctf-nobfd0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 115s Preparing to unpack .../34-binutils-x86-64-linux-gnu_2.44-3ubuntu1_amd64.deb ... 115s Unpacking binutils-x86-64-linux-gnu (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 116s Preparing to unpack .../35-libbinutils_2.44-3ubuntu1_amd64.deb ... 116s Unpacking libbinutils:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 116s Preparing to unpack .../36-binutils_2.44-3ubuntu1_amd64.deb ... 116s Unpacking binutils (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 116s Preparing to unpack .../37-binutils-common_2.44-3ubuntu1_amd64.deb ... 116s Unpacking binutils-common:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 116s Preparing to unpack .../38-libsframe1_2.44-3ubuntu1_amd64.deb ... 116s Unpacking libsframe1:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 116s Preparing to unpack .../39-hwdata_0.393-3_all.deb ... 116s Unpacking hwdata (0.393-3) over (0.392-1) ... 116s Selecting previously unselected package pnp.ids. 116s Preparing to unpack .../40-pnp.ids_0.393-3_all.deb ... 116s Unpacking pnp.ids (0.393-3) ... 116s Preparing to unpack .../41-linux-tools-common_6.14.0-10.10_all.deb ... 116s Unpacking linux-tools-common (6.14.0-10.10) over (6.12.0-16.16) ... 116s Selecting previously unselected package bpftool. 116s Preparing to unpack .../42-bpftool_7.6.0+6.14.0-10.10_amd64.deb ... 116s Unpacking bpftool (7.6.0+6.14.0-10.10) ... 116s Preparing to unpack .../43-python3-markupsafe_2.1.5-1build4_amd64.deb ... 116s Unpacking python3-markupsafe (2.1.5-1build4) over (2.1.5-1build3) ... 116s Preparing to unpack .../44-python3-jinja2_3.1.5-2ubuntu1_all.deb ... 116s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 116s Preparing to unpack .../45-cloud-init-base_25.1-0ubuntu3_all.deb ... 117s Unpacking cloud-init-base (25.1-0ubuntu3) over (25.1-0ubuntu2) ... 117s Preparing to unpack .../46-libbrotli1_1.1.0-2build4_amd64.deb ... 117s Unpacking libbrotli1:amd64 (1.1.0-2build4) over (1.1.0-2build3) ... 117s Preparing to unpack .../47-curl_8.12.1-3ubuntu1_amd64.deb ... 117s Unpacking curl (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 117s Preparing to unpack .../48-libcurl4t64_8.12.1-3ubuntu1_amd64.deb ... 117s Unpacking libcurl4t64:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 117s Preparing to unpack .../49-exfatprogs_1.2.8-1_amd64.deb ... 117s Unpacking exfatprogs (1.2.8-1) over (1.2.7-3) ... 117s Preparing to unpack .../50-libcurl3t64-gnutls_8.12.1-3ubuntu1_amd64.deb ... 117s Unpacking libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 117s Preparing to unpack .../51-fwupd_2.0.6-4_amd64.deb ... 117s Unpacking fwupd (2.0.6-4) over (2.0.6-3) ... 117s Preparing to unpack .../52-libfwupd3_2.0.6-4_amd64.deb ... 117s Unpacking libfwupd3:amd64 (2.0.6-4) over (2.0.6-3) ... 118s Preparing to unpack .../53-libmm-glib0_1.23.4-0ubuntu3_amd64.deb ... 118s Unpacking libmm-glib0:amd64 (1.23.4-0ubuntu3) over (1.23.4-0ubuntu2) ... 118s Preparing to unpack .../54-htop_3.4.0-2_amd64.deb ... 118s Unpacking htop (3.4.0-2) over (3.3.0-5) ... 118s Preparing to unpack .../55-linux-firmware_20250310.git9e1370d3-0ubuntu1_amd64.deb ... 118s Unpacking linux-firmware (20250310.git9e1370d3-0ubuntu1) over (20250204.git0fd450ee-0ubuntu1) ... 122s Preparing to unpack .../56-initramfs-tools_0.146ubuntu1_all.deb ... 122s Unpacking initramfs-tools (0.146ubuntu1) over (0.145ubuntu3) ... 122s Preparing to unpack .../57-initramfs-tools-core_0.146ubuntu1_all.deb ... 122s Unpacking initramfs-tools-core (0.146ubuntu1) over (0.145ubuntu3) ... 122s Preparing to unpack .../58-initramfs-tools-bin_0.146ubuntu1_amd64.deb ... 122s Unpacking initramfs-tools-bin (0.146ubuntu1) over (0.145ubuntu3) ... 122s Selecting previously unselected package libdebuginfod1t64:amd64. 122s Preparing to unpack .../59-libdebuginfod1t64_0.192-4_amd64.deb ... 122s Unpacking libdebuginfod1t64:amd64 (0.192-4) ... 122s Preparing to unpack .../60-libftdi1-2_1.5-8build1_amd64.deb ... 122s Unpacking libftdi1-2:amd64 (1.5-8build1) over (1.5-8) ... 122s Preparing to unpack .../61-libgpgme11t64_1.24.2-1ubuntu2_amd64.deb ... 122s Unpacking libgpgme11t64:amd64 (1.24.2-1ubuntu2) over (1.24.2-1ubuntu1) ... 122s Preparing to unpack .../62-libjemalloc2_5.3.0-3_amd64.deb ... 122s Unpacking libjemalloc2:amd64 (5.3.0-3) over (5.3.0-2build1) ... 122s Selecting previously unselected package linux-modules-6.14.0-10-generic. 122s Preparing to unpack .../63-linux-modules-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 122s Unpacking linux-modules-6.14.0-10-generic (6.14.0-10.10) ... 123s Selecting previously unselected package linux-image-6.14.0-10-generic. 123s Preparing to unpack .../64-linux-image-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 123s Unpacking linux-image-6.14.0-10-generic (6.14.0-10.10) ... 123s Selecting previously unselected package linux-modules-extra-6.14.0-10-generic. 123s Preparing to unpack .../65-linux-modules-extra-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 123s Unpacking linux-modules-extra-6.14.0-10-generic (6.14.0-10.10) ... 124s Preparing to unpack .../66-linux-generic_6.14.0-10.10_amd64.deb ... 124s Unpacking linux-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 124s Preparing to unpack .../67-linux-image-generic_6.14.0-10.10_amd64.deb ... 124s Unpacking linux-image-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 124s Preparing to unpack .../68-linux-virtual_6.14.0-10.10_amd64.deb ... 124s Unpacking linux-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 124s Preparing to unpack .../69-linux-image-virtual_6.14.0-10.10_amd64.deb ... 124s Unpacking linux-image-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 124s Preparing to unpack .../70-linux-headers-virtual_6.14.0-10.10_amd64.deb ... 124s Unpacking linux-headers-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 124s Selecting previously unselected package linux-headers-6.14.0-10. 124s Preparing to unpack .../71-linux-headers-6.14.0-10_6.14.0-10.10_all.deb ... 124s Unpacking linux-headers-6.14.0-10 (6.14.0-10.10) ... 128s Selecting previously unselected package linux-headers-6.14.0-10-generic. 128s Preparing to unpack .../72-linux-headers-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 128s Unpacking linux-headers-6.14.0-10-generic (6.14.0-10.10) ... 130s Preparing to unpack .../73-linux-headers-generic_6.14.0-10.10_amd64.deb ... 130s Unpacking linux-headers-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 130s Selecting previously unselected package linux-perf. 130s Preparing to unpack .../74-linux-perf_6.14.0-10.10_amd64.deb ... 130s Unpacking linux-perf (6.14.0-10.10) ... 130s Selecting previously unselected package linux-tools-6.14.0-10. 130s Preparing to unpack .../75-linux-tools-6.14.0-10_6.14.0-10.10_amd64.deb ... 130s Unpacking linux-tools-6.14.0-10 (6.14.0-10.10) ... 130s Selecting previously unselected package linux-tools-6.14.0-10-generic. 130s Preparing to unpack .../76-linux-tools-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 130s Unpacking linux-tools-6.14.0-10-generic (6.14.0-10.10) ... 130s Preparing to unpack .../77-pinentry-curses_1.3.1-2ubuntu3_amd64.deb ... 130s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 130s Preparing to unpack .../78-python3-lazr.uri_1.0.6-6_all.deb ... 130s Unpacking python3-lazr.uri (1.0.6-6) over (1.0.6-5) ... 130s Preparing to unpack .../79-python3-rpds-py_0.21.0-2ubuntu2_amd64.deb ... 130s Unpacking python3-rpds-py (0.21.0-2ubuntu2) over (0.21.0-2ubuntu1) ... 130s Preparing to unpack .../80-python3-systemd_235-1build6_amd64.deb ... 130s Unpacking python3-systemd (235-1build6) over (235-1build5) ... 131s Preparing to unpack .../81-python3.13-gdbm_3.13.2-2_amd64.deb ... 131s Unpacking python3.13-gdbm (3.13.2-2) over (3.13.2-1) ... 131s Preparing to unpack .../82-ubuntu-kernel-accessories_1.549_amd64.deb ... 131s Unpacking ubuntu-kernel-accessories (1.549) over (1.548) ... 131s Preparing to unpack .../83-cloud-init_25.1-0ubuntu3_all.deb ... 131s Unpacking cloud-init (25.1-0ubuntu3) over (25.1-0ubuntu2) ... 131s Preparing to unpack .../84-python3-bcrypt_4.2.0-2.1build1_amd64.deb ... 131s Unpacking python3-bcrypt (4.2.0-2.1build1) over (4.2.0-2.1) ... 131s Setting up linux-headers-6.14.0-10 (6.14.0-10.10) ... 131s Setting up media-types (13.0.0) ... 131s Installing new version of config file /etc/mime.types ... 131s Setting up linux-headers-6.14.0-10-generic (6.14.0-10.10) ... 131s Setting up ubuntu-kernel-accessories (1.549) ... 131s Setting up libapparmor1:amd64 (4.1.0~beta5-0ubuntu8) ... 131s Setting up pci.ids (0.0~2025.03.09-1) ... 131s Setting up libnewt0.52:amd64 (0.52.24-4ubuntu2) ... 131s Setting up apt-utils (2.9.33) ... 131s Setting up libdebuginfod-common (0.192-4) ... 131s Setting up exfatprogs (1.2.8-1) ... 131s Setting up linux-firmware (20250310.git9e1370d3-0ubuntu1) ... 131s Setting up bpftool (7.6.0+6.14.0-10.10) ... 131s Setting up libestr0:amd64 (0.1.11-2) ... 131s Setting up libbrotli1:amd64 (1.1.0-2build4) ... 131s Setting up libsqlite3-0:amd64 (3.46.1-2) ... 131s Setting up dosfstools (4.2-1.2) ... 131s Setting up rsyslog (8.2412.0-2ubuntu2) ... 131s info: The user `syslog' is already a member of `adm'. 132s Setting up binutils-common:amd64 (2.44-3ubuntu1) ... 132s Setting up libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) ... 132s Setting up linux-libc-dev:amd64 (6.14.0-10.10) ... 132s Setting up libctf-nobfd0:amd64 (2.44-3ubuntu1) ... 132s Setting up systemd (257.3-1ubuntu3) ... 133s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 133s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 133s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 134s Setting up libparted2t64:amd64 (3.6-5) ... 134s Removing 'diversion of /lib/x86_64-linux-gnu/libparted.so.2 to /lib/x86_64-linux-gnu/libparted.so.2.usr-is-merged by libparted2t64' 134s Removing 'diversion of /lib/x86_64-linux-gnu/libparted.so.2.0.5 to /lib/x86_64-linux-gnu/libparted.so.2.0.5.usr-is-merged by libparted2t64' 134s Setting up linux-headers-generic (6.14.0-10.10) ... 134s Setting up libjemalloc2:amd64 (5.3.0-3) ... 134s Setting up locales (2.41-1ubuntu1) ... 134s Installing new version of config file /etc/locale.alias ... 135s Generating locales (this might take a while)... 136s en_US.UTF-8... done 136s Generation complete. 136s Setting up libsframe1:amd64 (2.44-3ubuntu1) ... 136s Setting up libpython3.13-minimal:amd64 (3.13.2-2) ... 136s Setting up apparmor (4.1.0~beta5-0ubuntu8) ... 136s Installing new version of config file /etc/apparmor.d/fusermount3 ... 136s Installing new version of config file /etc/apparmor.d/lsusb ... 136s Installing new version of config file /etc/apparmor.d/openvpn ... 138s Reloading AppArmor profiles 139s Setting up libftdi1-2:amd64 (1.5-8build1) ... 139s Setting up libglib2.0-data (2.84.0-1) ... 139s Setting up systemd-cryptsetup (257.3-1ubuntu3) ... 139s Setting up libncurses6:amd64 (6.5+20250216-2) ... 139s Setting up strace (6.13+ds-1ubuntu1) ... 140s Setting up xz-utils (5.6.4-1) ... 140s Setting up systemd-timesyncd (257.3-1ubuntu3) ... 140s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 140s Setting up libatomic1:amd64 (15-20250222-0ubuntu1) ... 140s Setting up udev (257.3-1ubuntu3) ... 141s Setting up linux-modules-6.14.0-10-generic (6.14.0-10.10) ... 144s Setting up libncursesw6:amd64 (6.5+20250216-2) ... 144s Setting up libpci3:amd64 (1:3.13.0-2) ... 144s Setting up whiptail (0.52.24-4ubuntu2) ... 144s Setting up python-apt-common (2.9.9build1) ... 144s Setting up pnp.ids (0.393-3) ... 144s Setting up libnl-3-200:amd64 (3.7.0-1) ... 144s Setting up python3.13-minimal (3.13.2-2) ... 145s Setting up libgpgme11t64:amd64 (1.24.2-1ubuntu2) ... 145s Setting up libbinutils:amd64 (2.44-3ubuntu1) ... 145s Setting up libc-dev-bin (2.41-1ubuntu1) ... 145s Setting up libpython3.13-stdlib:amd64 (3.13.2-2) ... 145s Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) ... 145s Setting up rsync (3.4.1+ds1-3) ... 146s rsync.service is a disabled or a static unit not running, not starting it. 146s Setting up python3.13-gdbm (3.13.2-2) ... 146s Setting up libpython3-stdlib:amd64 (3.13.2-2) ... 146s Setting up systemd-resolved (257.3-1ubuntu3) ... 147s Setting up initramfs-tools-bin (0.146ubuntu1) ... 147s Setting up ncurses-term (6.5+20250216-2) ... 147s Setting up libctf0:amd64 (2.44-3ubuntu1) ... 147s Setting up libpython3.13:amd64 (3.13.2-2) ... 147s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 147s Setting up libdebuginfod1t64:amd64 (0.192-4) ... 147s Setting up systemd-sysv (257.3-1ubuntu3) ... 147s Setting up linux-headers-virtual (6.14.0-10.10) ... 147s Setting up libcurl4t64:amd64 (8.12.1-3ubuntu1) ... 147s Setting up python3.13 (3.13.2-2) ... 148s Setting up htop (3.4.0-2) ... 148s Setting up linux-image-6.14.0-10-generic (6.14.0-10.10) ... 151s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.12.0-16-generic 151s I: /boot/initrd.img.old is now a symlink to initrd.img-6.12.0-16-generic 151s I: /boot/vmlinuz is now a symlink to vmlinuz-6.14.0-10-generic 151s I: /boot/initrd.img is now a symlink to initrd.img-6.14.0-10-generic 151s Setting up parted (3.6-5) ... 151s Setting up libnss-systemd:amd64 (257.3-1ubuntu3) ... 151s Setting up python3 (3.13.2-2) ... 151s Setting up python3-newt:amd64 (0.52.24-4ubuntu2) ... 151s Setting up python3-markupsafe (2.1.5-1build4) ... 152s Setting up linux-modules-extra-6.14.0-10-generic (6.14.0-10.10) ... 154s Setting up libnl-route-3-200:amd64 (3.7.0-1) ... 154s Setting up hwdata (0.393-3) ... 154s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 154s Setting up libglib2.0-0t64:amd64 (2.84.0-1) ... 154s No schema files found: doing nothing. 154s Setting up libgprofng0:amd64 (2.44-3ubuntu1) ... 154s Setting up linux-perf (6.14.0-10.10) ... 154s Setting up gir1.2-glib-2.0:amd64 (2.84.0-1) ... 154s Setting up pciutils (1:3.13.0-2) ... 154s Setting up python3-rpds-py (0.21.0-2ubuntu2) ... 155s Setting up libmm-glib0:amd64 (1.23.4-0ubuntu3) ... 155s Setting up libnl-genl-3-200:amd64 (3.7.0-1) ... 155s Setting up libpam-systemd:amd64 (257.3-1ubuntu3) ... 155s Setting up libc6-dev:amd64 (2.41-1ubuntu1) ... 155s Setting up libgirepository-1.0-1:amd64 (1.83.4-1) ... 155s Setting up curl (8.12.1-3ubuntu1) ... 155s Setting up linux-image-virtual (6.14.0-10.10) ... 155s Setting up initramfs-tools-core (0.146ubuntu1) ... 155s Setting up linux-tools-common (6.14.0-10.10) ... 155s Setting up python3-systemd (235-1build6) ... 155s Setting up python3-cffi-backend:amd64 (1.17.1-2build2) ... 155s Setting up binutils-x86-64-linux-gnu (2.44-3ubuntu1) ... 155s Setting up linux-image-generic (6.14.0-10.10) ... 155s Setting up python3-dbus (1.3.2-5build5) ... 155s Setting up linux-tools-6.14.0-10 (6.14.0-10.10) ... 155s Setting up initramfs-tools (0.146ubuntu1) ... 155s Installing new version of config file /etc/kernel/postinst.d/initramfs-tools ... 155s Installing new version of config file /etc/kernel/postrm.d/initramfs-tools ... 155s update-initramfs: deferring update (trigger activated) 155s Setting up linux-generic (6.14.0-10.10) ... 155s Setting up ubuntu-minimal (1.549) ... 155s Setting up python3-apt (2.9.9build1) ... 155s Setting up python3-bcrypt (4.2.0-2.1build1) ... 155s Setting up python3-yaml (6.0.2-1build2) ... 156s Setting up libfwupd3:amd64 (2.0.6-4) ... 156s Setting up python3-lazr.uri (1.0.6-6) ... 156s Setting up binutils (2.44-3ubuntu1) ... 156s Setting up ubuntu-standard (1.549) ... 156s Setting up cloud-init-base (25.1-0ubuntu3) ... 158s Setting up linux-virtual (6.14.0-10.10) ... 158s Setting up gir1.2-girepository-2.0:amd64 (1.83.4-1) ... 158s Setting up python3-gi (3.50.0-4build1) ... 158s Setting up linux-tools-6.14.0-10-generic (6.14.0-10.10) ... 158s Setting up fwupd (2.0.6-4) ... 159s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 159s fwupd.service is a disabled or a static unit not running, not starting it. 159s Setting up cloud-init (25.1-0ubuntu3) ... 159s Processing triggers for man-db (2.13.0-1) ... 161s Processing triggers for dbus (1.16.2-1ubuntu1) ... 161s Processing triggers for shared-mime-info (2.4-5) ... 161s Warning: program compiled against libxml 212 using older 209 162s Processing triggers for libc-bin (2.41-1ubuntu1) ... 162s Processing triggers for linux-image-6.14.0-10-generic (6.14.0-10.10) ... 162s /etc/kernel/postinst.d/initramfs-tools: 162s update-initramfs: Generating /boot/initrd.img-6.14.0-10-generic 162s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 176s /etc/kernel/postinst.d/zz-update-grub: 176s Sourcing file `/etc/default/grub' 176s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 176s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 176s Generating grub configuration file ... 176s Found linux image: /boot/vmlinuz-6.14.0-10-generic 176s Found initrd image: /boot/initrd.img-6.14.0-10-generic 177s Found linux image: /boot/vmlinuz-6.12.0-16-generic 177s Found initrd image: /boot/initrd.img-6.12.0-16-generic 177s Found linux image: /boot/vmlinuz-6.11.0-8-generic 177s Found initrd image: /boot/initrd.img-6.11.0-8-generic 177s Warning: os-prober will not be executed to detect other bootable partitions. 177s Systems on them will not be added to the GRUB boot configuration. 177s Check GRUB_DISABLE_OS_PROBER documentation entry. 177s Adding boot menu entry for UEFI Firmware Settings ... 177s done 177s Processing triggers for initramfs-tools (0.146ubuntu1) ... 177s update-initramfs: Generating /boot/initrd.img-6.14.0-10-generic 177s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 192s Reading package lists... 193s Building dependency tree... 193s Reading state information... 193s Solving dependencies... 193s The following packages will be REMOVED: 193s libnl-genl-3-200* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 193s libpython3.12t64* linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 193s linux-headers-6.12.0-16* linux-headers-6.12.0-16-generic* 193s linux-image-6.11.0-8-generic* linux-image-6.12.0-16-generic* 193s linux-modules-6.11.0-8-generic* linux-modules-6.12.0-16-generic* 193s linux-modules-extra-6.12.0-16-generic* linux-tools-6.11.0-8* 193s linux-tools-6.11.0-8-generic* linux-tools-6.12.0-16* 193s linux-tools-6.12.0-16-generic* 194s 0 upgraded, 0 newly installed, 18 to remove and 5 not upgraded. 194s After this operation, 545 MB disk space will be freed. 194s (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 ... 148643 files and directories currently installed.) 194s Removing libnl-genl-3-200:amd64 (3.7.0-1) ... 194s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 194s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 194s Removing libpython3.12t64:amd64 (3.12.9-1) ... 194s Removing libpython3.12-stdlib:amd64 (3.12.9-1) ... 194s Removing libnsl2:amd64 (1.3.0-3build3) ... 194s Removing libpython3.12-minimal:amd64 (3.12.9-1) ... 194s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 195s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 198s Removing linux-headers-6.12.0-16-generic (6.12.0-16.16) ... 199s Removing linux-headers-6.12.0-16 (6.12.0-16.16) ... 202s Removing linux-image-6.11.0-8-generic (6.11.0-8.8) ... 202s /etc/kernel/postrm.d/initramfs-tools: 202s update-initramfs: Deleting /boot/initrd.img-6.11.0-8-generic 203s /etc/kernel/postrm.d/zz-update-grub: 203s Sourcing file `/etc/default/grub' 203s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 203s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 203s Generating grub configuration file ... 203s Found linux image: /boot/vmlinuz-6.14.0-10-generic 203s Found initrd image: /boot/initrd.img-6.14.0-10-generic 203s Found linux image: /boot/vmlinuz-6.12.0-16-generic 203s Found initrd image: /boot/initrd.img-6.12.0-16-generic 203s Warning: os-prober will not be executed to detect other bootable partitions. 203s Systems on them will not be added to the GRUB boot configuration. 203s Check GRUB_DISABLE_OS_PROBER documentation entry. 203s Adding boot menu entry for UEFI Firmware Settings ... 203s done 203s Removing linux-image-6.12.0-16-generic (6.12.0-16.16) ... 204s W: Removing the running kernel 204s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.14.0-10-generic 204s I: /boot/initrd.img.old is now a symlink to initrd.img-6.14.0-10-generic 204s /etc/kernel/postrm.d/initramfs-tools: 204s update-initramfs: Deleting /boot/initrd.img-6.12.0-16-generic 204s /etc/kernel/postrm.d/zz-update-grub: 204s Sourcing file `/etc/default/grub' 204s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 204s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 204s Generating grub configuration file ... 204s Found linux image: /boot/vmlinuz-6.14.0-10-generic 204s Found initrd image: /boot/initrd.img-6.14.0-10-generic 204s Warning: os-prober will not be executed to detect other bootable partitions. 204s Systems on them will not be added to the GRUB boot configuration. 204s Check GRUB_DISABLE_OS_PROBER documentation entry. 204s Adding boot menu entry for UEFI Firmware Settings ... 204s done 205s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 205s Removing linux-modules-extra-6.12.0-16-generic (6.12.0-16.16) ... 207s Removing linux-modules-6.12.0-16-generic (6.12.0-16.16) ... 207s Removing linux-tools-6.12.0-16-generic (6.12.0-16.16) ... 207s Removing linux-tools-6.12.0-16 (6.12.0-16.16) ... 207s Processing triggers for libc-bin (2.41-1ubuntu1) ... 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 ... 76972 files and directories currently installed.) 207s Purging configuration files for linux-image-6.11.0-8-generic (6.11.0-8.8) ... 207s Purging configuration files for libpython3.12-minimal:amd64 (3.12.9-1) ... 208s Purging configuration files for linux-modules-extra-6.12.0-16-generic (6.12.0-16.16) ... 208s Purging configuration files for linux-modules-6.12.0-16-generic (6.12.0-16.16) ... 208s dpkg: warning: while removing linux-modules-6.12.0-16-generic, directory '/lib/modules/6.12.0-16-generic' not empty so not removed 208s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 208s Purging configuration files for linux-image-6.12.0-16-generic (6.12.0-16.16) ... 208s rmdir: failed to remove '/lib/modules/6.12.0-16-generic': Directory not empty 208s autopkgtest [22:05:06]: upgrading testbed (apt dist-upgrade and autopurge) 208s Reading package lists... 208s Building dependency tree... 208s Reading state information... 209s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 209s Starting 2 pkgProblemResolver with broken count: 0 209s Done 210s Entering ResolveByKeep 210s 210s Calculating upgrade... 211s The following packages will be upgraded: 211s libc-bin libc-dev-bin libc6 libc6-dev locales 211s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 211s Need to get 10.5 MB of archives. 211s After this operation, 1024 B of additional disk space will be used. 211s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6-dev amd64 2.41-1ubuntu2 [2183 kB] 211s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-dev-bin amd64 2.41-1ubuntu2 [24.7 kB] 211s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6 amd64 2.41-1ubuntu2 [3327 kB] 211s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-bin amd64 2.41-1ubuntu2 [700 kB] 211s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 locales all 2.41-1ubuntu2 [4246 kB] 212s Preconfiguring packages ... 212s Fetched 10.5 MB in 1s (10.7 MB/s) 212s (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 ... 76968 files and directories currently installed.) 212s Preparing to unpack .../libc6-dev_2.41-1ubuntu2_amd64.deb ... 212s Unpacking libc6-dev:amd64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 212s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu2_amd64.deb ... 212s Unpacking libc-dev-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 212s Preparing to unpack .../libc6_2.41-1ubuntu2_amd64.deb ... 213s Unpacking libc6:amd64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 213s Setting up libc6:amd64 (2.41-1ubuntu2) ... 213s (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 ... 76968 files and directories currently installed.) 213s Preparing to unpack .../libc-bin_2.41-1ubuntu2_amd64.deb ... 213s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 213s Setting up libc-bin (2.41-1ubuntu2) ... 213s (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 ... 76968 files and directories currently installed.) 213s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 213s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 214s Setting up locales (2.41-1ubuntu2) ... 215s Generating locales (this might take a while)... 216s en_US.UTF-8... done 216s Generation complete. 216s Setting up libc-dev-bin (2.41-1ubuntu2) ... 216s Setting up libc6-dev:amd64 (2.41-1ubuntu2) ... 217s Processing triggers for man-db (2.13.0-1) ... 217s Processing triggers for systemd (257.3-1ubuntu3) ... 218s Reading package lists... 219s Building dependency tree... 219s Reading state information... 219s Starting pkgProblemResolver with broken count: 0 219s Starting 2 pkgProblemResolver with broken count: 0 219s Done 220s Solving dependencies... 220s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 220s autopkgtest [22:05:18]: rebooting testbed after setup commands that affected boot 244s autopkgtest [22:05:42]: testbed running kernel: Linux 6.14.0-10-generic #10-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 12 16:07:00 UTC 2025 247s autopkgtest [22:05:45]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-actuar 249s Get:1 http://ftpmaster.internal/ubuntu plucky/universe r-cran-actuar 3.3-5-1 (dsc) [2135 B] 249s Get:2 http://ftpmaster.internal/ubuntu plucky/universe r-cran-actuar 3.3-5-1 (tar) [984 kB] 249s Get:3 http://ftpmaster.internal/ubuntu plucky/universe r-cran-actuar 3.3-5-1 (diff) [3424 B] 249s gpgv: Signature made Wed Jan 22 07:35:04 2025 UTC 249s gpgv: using RSA key 73471499CC60ED9EEE805946C5BD6C8F2295D502 249s gpgv: issuer "plessy@debian.org" 249s gpgv: Can't check signature: No public key 249s dpkg-source: warning: cannot verify inline signature for ./r-cran-actuar_3.3-5-1.dsc: no acceptable signature found 250s autopkgtest [22:05:48]: testing package r-cran-actuar version 3.3-5-1 250s autopkgtest [22:05:48]: build not needed 252s autopkgtest [22:05:50]: test run-unit-test: preparing testbed 252s Reading package lists... 252s Building dependency tree... 252s Reading state information... 253s Starting pkgProblemResolver with broken count: 0 253s Starting 2 pkgProblemResolver with broken count: 0 253s Done 253s The following NEW packages will be installed: 253s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono libblas3 253s libcairo2 libdatrie1 libdeflate0 libfontconfig1 libgfortran5 libgomp1 253s libgraphite2-3 libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 libjpeg8 253s liblapack3 liblerc4 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 253s libpaper-utils libpaper2 libpixman-1-0 libsharpyuv0 libsm6 libtcl8.6 253s libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 253s libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-actuar 253s r-cran-expint r-cran-mass unzip x11-common xdg-utils zip 254s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 254s Need to get 44.0 MB of archives. 254s After this operation, 89.3 MB of additional disk space will be used. 254s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 254s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 254s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig-config amd64 2.15.0-2ubuntu1 [37.4 kB] 254s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontconfig1 amd64 2.15.0-2ubuntu1 [164 kB] 254s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig amd64 2.15.0-2ubuntu1 [180 kB] 254s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.1-2 [359 kB] 254s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 254s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-render0 amd64 1.17.0-2 [16.2 kB] 254s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 254s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 254s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libcairo2 amd64 1.18.2-2 [569 kB] 254s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libdatrie1 amd64 0.2.13-3build1 [19.0 kB] 254s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate0 amd64 1.23-1 [64.1 kB] 254s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 15-20250222-0ubuntu1 [919 kB] 254s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 15-20250222-0ubuntu1 [148 kB] 254s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgraphite2-3 amd64 1.3.14-2ubuntu1 [73.1 kB] 254s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libharfbuzz0b amd64 10.2.0-1 [543 kB] 254s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 254s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 254s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8 amd64 2.1.5-3ubuntu2 [179 kB] 254s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 254s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.1-2 [3179 kB] 254s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 liblerc4 amd64 4.0.0+ds-5ubuntu1 [271 kB] 254s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai-data all 0.1.29-2build1 [158 kB] 254s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai0 amd64 0.1.29-2build1 [18.9 kB] 254s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libpango-1.0-0 amd64 1.56.2-1 [255 kB] 254s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangoft2-1.0-0 amd64 1.56.2-1 [52.6 kB] 254s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangocairo-1.0-0 amd64 1.56.2-1 [29.1 kB] 254s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libpaper2 amd64 2.2.5-0.3 [17.4 kB] 254s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libpaper-utils amd64 2.2.5-0.3 [15.5 kB] 254s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libsharpyuv0 amd64 1.5.0-0.1 [25.9 kB] 255s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 255s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libtcl8.6 amd64 8.6.16+dfsg-1 [1086 kB] 255s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libjbig0 amd64 2.1-6.1ubuntu2 [29.7 kB] 255s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebp7 amd64 1.5.0-0.1 [378 kB] 255s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libtiff6 amd64 4.5.1+git230720-4ubuntu4 [200 kB] 255s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libxft2 amd64 2.3.6-1build1 [45.3 kB] 255s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libxss1 amd64 1:1.2.3-1build3 [7204 B] 255s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libtk8.6 amd64 8.6.16-1 [868 kB] 255s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 255s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 zip amd64 3.0-14ubuntu2 [185 kB] 255s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 unzip amd64 6.0-28ubuntu6 [181 kB] 255s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-utils all 1.2.1-2ubuntu1 [66.0 kB] 255s Get:44 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-base-core amd64 4.4.3-1 [28.9 MB] 255s Get:45 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-expint amd64 0.1-8-1 [209 kB] 255s Get:46 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-actuar amd64 3.3-5-1 [1432 kB] 255s Get:47 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-mass amd64 7.3-64-1 [1114 kB] 256s Preconfiguring packages ... 256s Fetched 44.0 MB in 2s (22.9 MB/s) 256s Selecting previously unselected package fonts-dejavu-mono. 256s (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 ... 76968 files and directories currently installed.) 256s Preparing to unpack .../00-fonts-dejavu-mono_2.37-8_all.deb ... 256s Unpacking fonts-dejavu-mono (2.37-8) ... 256s Selecting previously unselected package fonts-dejavu-core. 256s Preparing to unpack .../01-fonts-dejavu-core_2.37-8_all.deb ... 256s Unpacking fonts-dejavu-core (2.37-8) ... 256s Selecting previously unselected package fontconfig-config. 256s Preparing to unpack .../02-fontconfig-config_2.15.0-2ubuntu1_amd64.deb ... 257s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 257s Selecting previously unselected package libfontconfig1:amd64. 257s Preparing to unpack .../03-libfontconfig1_2.15.0-2ubuntu1_amd64.deb ... 257s Unpacking libfontconfig1:amd64 (2.15.0-2ubuntu1) ... 257s Selecting previously unselected package fontconfig. 257s Preparing to unpack .../04-fontconfig_2.15.0-2ubuntu1_amd64.deb ... 257s Unpacking fontconfig (2.15.0-2ubuntu1) ... 257s Selecting previously unselected package libblas3:amd64. 257s Preparing to unpack .../05-libblas3_3.12.1-2_amd64.deb ... 257s Unpacking libblas3:amd64 (3.12.1-2) ... 257s Selecting previously unselected package libpixman-1-0:amd64. 257s Preparing to unpack .../06-libpixman-1-0_0.44.0-3_amd64.deb ... 257s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 257s Selecting previously unselected package libxcb-render0:amd64. 257s Preparing to unpack .../07-libxcb-render0_1.17.0-2_amd64.deb ... 257s Unpacking libxcb-render0:amd64 (1.17.0-2) ... 257s Selecting previously unselected package libxcb-shm0:amd64. 257s Preparing to unpack .../08-libxcb-shm0_1.17.0-2_amd64.deb ... 257s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 257s Selecting previously unselected package libxrender1:amd64. 257s Preparing to unpack .../09-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 257s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 257s Selecting previously unselected package libcairo2:amd64. 257s Preparing to unpack .../10-libcairo2_1.18.2-2_amd64.deb ... 257s Unpacking libcairo2:amd64 (1.18.2-2) ... 257s Selecting previously unselected package libdatrie1:amd64. 257s Preparing to unpack .../11-libdatrie1_0.2.13-3build1_amd64.deb ... 257s Unpacking libdatrie1:amd64 (0.2.13-3build1) ... 257s Selecting previously unselected package libdeflate0:amd64. 257s Preparing to unpack .../12-libdeflate0_1.23-1_amd64.deb ... 257s Unpacking libdeflate0:amd64 (1.23-1) ... 257s Selecting previously unselected package libgfortran5:amd64. 257s Preparing to unpack .../13-libgfortran5_15-20250222-0ubuntu1_amd64.deb ... 257s Unpacking libgfortran5:amd64 (15-20250222-0ubuntu1) ... 257s Selecting previously unselected package libgomp1:amd64. 257s Preparing to unpack .../14-libgomp1_15-20250222-0ubuntu1_amd64.deb ... 257s Unpacking libgomp1:amd64 (15-20250222-0ubuntu1) ... 257s Selecting previously unselected package libgraphite2-3:amd64. 257s Preparing to unpack .../15-libgraphite2-3_1.3.14-2ubuntu1_amd64.deb ... 257s Unpacking libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 257s Selecting previously unselected package libharfbuzz0b:amd64. 257s Preparing to unpack .../16-libharfbuzz0b_10.2.0-1_amd64.deb ... 257s Unpacking libharfbuzz0b:amd64 (10.2.0-1) ... 257s Selecting previously unselected package x11-common. 257s Preparing to unpack .../17-x11-common_1%3a7.7+23ubuntu3_all.deb ... 257s Unpacking x11-common (1:7.7+23ubuntu3) ... 257s Selecting previously unselected package libice6:amd64. 257s Preparing to unpack .../18-libice6_2%3a1.1.1-1_amd64.deb ... 257s Unpacking libice6:amd64 (2:1.1.1-1) ... 257s Selecting previously unselected package libjpeg-turbo8:amd64. 257s Preparing to unpack .../19-libjpeg-turbo8_2.1.5-3ubuntu2_amd64.deb ... 257s Unpacking libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 257s Selecting previously unselected package libjpeg8:amd64. 257s Preparing to unpack .../20-libjpeg8_8c-2ubuntu11_amd64.deb ... 257s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 257s Selecting previously unselected package liblapack3:amd64. 257s Preparing to unpack .../21-liblapack3_3.12.1-2_amd64.deb ... 257s Unpacking liblapack3:amd64 (3.12.1-2) ... 258s Selecting previously unselected package liblerc4:amd64. 258s Preparing to unpack .../22-liblerc4_4.0.0+ds-5ubuntu1_amd64.deb ... 258s Unpacking liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 258s Selecting previously unselected package libthai-data. 258s Preparing to unpack .../23-libthai-data_0.1.29-2build1_all.deb ... 258s Unpacking libthai-data (0.1.29-2build1) ... 258s Selecting previously unselected package libthai0:amd64. 258s Preparing to unpack .../24-libthai0_0.1.29-2build1_amd64.deb ... 258s Unpacking libthai0:amd64 (0.1.29-2build1) ... 258s Selecting previously unselected package libpango-1.0-0:amd64. 258s Preparing to unpack .../25-libpango-1.0-0_1.56.2-1_amd64.deb ... 258s Unpacking libpango-1.0-0:amd64 (1.56.2-1) ... 258s Selecting previously unselected package libpangoft2-1.0-0:amd64. 258s Preparing to unpack .../26-libpangoft2-1.0-0_1.56.2-1_amd64.deb ... 258s Unpacking libpangoft2-1.0-0:amd64 (1.56.2-1) ... 258s Selecting previously unselected package libpangocairo-1.0-0:amd64. 258s Preparing to unpack .../27-libpangocairo-1.0-0_1.56.2-1_amd64.deb ... 258s Unpacking libpangocairo-1.0-0:amd64 (1.56.2-1) ... 258s Selecting previously unselected package libpaper2:amd64. 258s Preparing to unpack .../28-libpaper2_2.2.5-0.3_amd64.deb ... 258s Unpacking libpaper2:amd64 (2.2.5-0.3) ... 258s Selecting previously unselected package libpaper-utils. 258s Preparing to unpack .../29-libpaper-utils_2.2.5-0.3_amd64.deb ... 258s Unpacking libpaper-utils (2.2.5-0.3) ... 258s Selecting previously unselected package libsharpyuv0:amd64. 258s Preparing to unpack .../30-libsharpyuv0_1.5.0-0.1_amd64.deb ... 258s Unpacking libsharpyuv0:amd64 (1.5.0-0.1) ... 258s Selecting previously unselected package libsm6:amd64. 258s Preparing to unpack .../31-libsm6_2%3a1.2.4-1_amd64.deb ... 258s Unpacking libsm6:amd64 (2:1.2.4-1) ... 258s Selecting previously unselected package libtcl8.6:amd64. 258s Preparing to unpack .../32-libtcl8.6_8.6.16+dfsg-1_amd64.deb ... 258s Unpacking libtcl8.6:amd64 (8.6.16+dfsg-1) ... 258s Selecting previously unselected package libjbig0:amd64. 258s Preparing to unpack .../33-libjbig0_2.1-6.1ubuntu2_amd64.deb ... 258s Unpacking libjbig0:amd64 (2.1-6.1ubuntu2) ... 258s Selecting previously unselected package libwebp7:amd64. 258s Preparing to unpack .../34-libwebp7_1.5.0-0.1_amd64.deb ... 258s Unpacking libwebp7:amd64 (1.5.0-0.1) ... 258s Selecting previously unselected package libtiff6:amd64. 258s Preparing to unpack .../35-libtiff6_4.5.1+git230720-4ubuntu4_amd64.deb ... 258s Unpacking libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 258s Selecting previously unselected package libxft2:amd64. 258s Preparing to unpack .../36-libxft2_2.3.6-1build1_amd64.deb ... 258s Unpacking libxft2:amd64 (2.3.6-1build1) ... 258s Selecting previously unselected package libxss1:amd64. 258s Preparing to unpack .../37-libxss1_1%3a1.2.3-1build3_amd64.deb ... 258s Unpacking libxss1:amd64 (1:1.2.3-1build3) ... 258s Selecting previously unselected package libtk8.6:amd64. 258s Preparing to unpack .../38-libtk8.6_8.6.16-1_amd64.deb ... 258s Unpacking libtk8.6:amd64 (8.6.16-1) ... 258s Selecting previously unselected package libxt6t64:amd64. 258s Preparing to unpack .../39-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 258s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 258s Selecting previously unselected package zip. 258s Preparing to unpack .../40-zip_3.0-14ubuntu2_amd64.deb ... 258s Unpacking zip (3.0-14ubuntu2) ... 258s Selecting previously unselected package unzip. 258s Preparing to unpack .../41-unzip_6.0-28ubuntu6_amd64.deb ... 258s Unpacking unzip (6.0-28ubuntu6) ... 258s Selecting previously unselected package xdg-utils. 258s Preparing to unpack .../42-xdg-utils_1.2.1-2ubuntu1_all.deb ... 258s Unpacking xdg-utils (1.2.1-2ubuntu1) ... 258s Selecting previously unselected package r-base-core. 258s Preparing to unpack .../43-r-base-core_4.4.3-1_amd64.deb ... 258s Unpacking r-base-core (4.4.3-1) ... 259s Selecting previously unselected package r-cran-expint. 259s Preparing to unpack .../44-r-cran-expint_0.1-8-1_amd64.deb ... 259s Unpacking r-cran-expint (0.1-8-1) ... 259s Selecting previously unselected package r-cran-actuar. 259s Preparing to unpack .../45-r-cran-actuar_3.3-5-1_amd64.deb ... 259s Unpacking r-cran-actuar (3.3-5-1) ... 259s Selecting previously unselected package r-cran-mass. 259s Preparing to unpack .../46-r-cran-mass_7.3-64-1_amd64.deb ... 259s Unpacking r-cran-mass (7.3-64-1) ... 259s Setting up libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 259s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 259s Setting up libsharpyuv0:amd64 (1.5.0-0.1) ... 259s Setting up liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 259s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 259s Setting up libdatrie1:amd64 (0.2.13-3build1) ... 259s Setting up libxcb-render0:amd64 (1.17.0-2) ... 259s Setting up unzip (6.0-28ubuntu6) ... 259s Setting up x11-common (1:7.7+23ubuntu3) ... 259s Setting up libdeflate0:amd64 (1.23-1) ... 259s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 260s Setting up libgomp1:amd64 (15-20250222-0ubuntu1) ... 260s Setting up libjbig0:amd64 (2.1-6.1ubuntu2) ... 260s Setting up zip (3.0-14ubuntu2) ... 260s Setting up libblas3:amd64 (3.12.1-2) ... 260s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 260s Setting up fonts-dejavu-mono (2.37-8) ... 260s Setting up libtcl8.6:amd64 (8.6.16+dfsg-1) ... 260s Setting up fonts-dejavu-core (2.37-8) ... 260s Setting up libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 260s Setting up libgfortran5:amd64 (15-20250222-0ubuntu1) ... 260s Setting up libwebp7:amd64 (1.5.0-0.1) ... 260s Setting up libharfbuzz0b:amd64 (10.2.0-1) ... 260s Setting up libthai-data (0.1.29-2build1) ... 260s Setting up libxss1:amd64 (1:1.2.3-1build3) ... 260s Setting up libpaper2:amd64 (2.2.5-0.3) ... 260s Setting up xdg-utils (1.2.1-2ubuntu1) ... 260s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 260s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 260s Setting up libice6:amd64 (2:1.1.1-1) ... 260s Setting up liblapack3:amd64 (3.12.1-2) ... 260s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 260s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 260s Setting up libpaper-utils (2.2.5-0.3) ... 260s Setting up libthai0:amd64 (0.1.29-2build1) ... 260s Setting up libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 260s Setting up libfontconfig1:amd64 (2.15.0-2ubuntu1) ... 260s Setting up libsm6:amd64 (2:1.2.4-1) ... 260s Setting up fontconfig (2.15.0-2ubuntu1) ... 262s Regenerating fonts cache... done. 262s Setting up libxft2:amd64 (2.3.6-1build1) ... 262s Setting up libtk8.6:amd64 (8.6.16-1) ... 262s Setting up libpango-1.0-0:amd64 (1.56.2-1) ... 262s Setting up libcairo2:amd64 (1.18.2-2) ... 262s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 262s Setting up libpangoft2-1.0-0:amd64 (1.56.2-1) ... 262s Setting up libpangocairo-1.0-0:amd64 (1.56.2-1) ... 262s Setting up r-base-core (4.4.3-1) ... 262s Creating config file /etc/R/Renviron with new version 262s Setting up r-cran-mass (7.3-64-1) ... 262s Setting up r-cran-expint (0.1-8-1) ... 262s Setting up r-cran-actuar (3.3-5-1) ... 262s Processing triggers for man-db (2.13.0-1) ... 265s Processing triggers for install-info (7.1.1-1) ... 265s Processing triggers for libc-bin (2.41-1ubuntu2) ... 266s autopkgtest [22:06:04]: test run-unit-test: [----------------------- 266s BEGIN TEST betaint-tests.R 266s 266s R version 4.4.3 (2025-02-28) -- "Trophy Case" 266s Copyright (C) 2025 The R Foundation for Statistical Computing 266s Platform: x86_64-pc-linux-gnu 266s 266s R is free software and comes with ABSOLUTELY NO WARRANTY. 266s You are welcome to redistribute it under certain conditions. 266s Type 'license()' or 'licence()' for distribution details. 266s 266s R is a collaborative project with many contributors. 266s Type 'contributors()' for more information and 266s 'citation()' on how to cite R or R packages in publications. 266s 266s Type 'demo()' for some demos, 'help()' for on-line help, or 266s 'help.start()' for an HTML browser interface to help. 266s Type 'q()' to quit R. 266s 267s > ### actuar: Actuarial Functions and Heavy Tailed Distributions 267s > ### 267s > ### Tests for the "beta integral" 267s > ### 267s > ### B(a, b; x) = Gamma(a + b) int_0^x t^(a-1) (1 - t)^(b-1) dt 267s > ### 267s > ### Inspired by (and some parts taken from) `tests/d-p-q-r-tests.R` in 267s > ### R sources. 267s > ### 267s > ### AUTHOR: Vincent Goulet with 267s > ### indirect help from the R Core Team 267s > 267s > ## Load the package 267s > library(actuar) 267s 267s Attaching package: ‘actuar’ 267s 267s The following objects are masked from ‘package:stats’: 267s 267s sd, var 267s 267s The following object is masked from ‘package:grDevices’: 267s 267s cm 267s 267s > 267s > ## Define a "local" version of the otherwise non-exported function 267s > ## 'betaint'. 267s > betaint <- actuar:::betaint 267s > 267s > ## Special values and utilities. Taken from `tests/d-p-q-r-tests.R`. 267s > xMax <- 1 - .Machine$double.eps 267s > xMin <- .Machine$double.xmin 267s > All.eq <- function(x, y) 267s + { 267s + all.equal.numeric(x, y, tolerance = 64 * .Machine$double.eps, 267s + scale = max(0, mean(abs(x), na.rm = TRUE))) 267s + } 267s > 267s > if(!interactive()) 267s + set.seed(123) 267s > 267s > ## Limiting cases 267s > stopifnot(exprs = { 267s + !is.finite(betaint(0.3, Inf, 2)) 267s + !is.finite(betaint(0.3, Inf, -2.2)) 267s + is.nan (betaint(0.3, 0, 2)) 267s + !is.finite(betaint(0.3, 2, Inf)) 267s + is.nan (betaint(0.3, 2, -2.2)) # a <= 1 + floor(-b) 267s + is.nan (betaint(0.3, 2, 0)) 267s + }) 267s > 267s > ## Tests for cases with b > 0 267s > x <- c(xMin, runif(10), xMax) 267s > b <- 2 267s > for (a in rlnorm(5, 2)) 267s + stopifnot(exprs = { 267s + All.eq(betaint(x, a, b), 267s Warning messages: 267s 1: In betaint(0.3, 0, 2) : NaNs produced 267s 2: In betaint(0.3, 2, -2.2) : NaNs produced 267s 3: In betaint(0.3, 2, 0) : NaNs produced 267s + gamma(a) * gamma(b) * pbeta(x, a, b)) 267s + }) 267s > 267s > ## Tests for cases with b < 0 267s > b <- -2.2 267s > r <- floor(-b) # r = 2 267s > for (a in 1 + r + rlnorm(5, 2)) 267s + { 267s + s <- (x^(a-1) * (1-x)^b)/b + 267s + ((a-1) * x^(a-2) * (1-x)^(b+1))/(b * (b+1)) + 267s + ((a-1) * (a-2) * x^(a-3) * (1-x)^(b+2))/(b * (b+1) * (b+2)) 267s + stopifnot(exprs = { 267s + all.equal(betaint(x, a, b), 267s + -gamma(a+b) * s + 267s + (a-1)*(a-2)*(a-3) * gamma(a-r-1)/(b*(b+1)*(b+2)) * 267s + gamma(b+r+1)*pbeta(x, a-r-1, b+r+1)) 267s + }) 267s + } 267s > 267s BEGIN TEST dpqr-tests.R 267s 267s R version 4.4.3 (2025-02-28) -- "Trophy Case" 267s Copyright (C) 2025 The R Foundation for Statistical Computing 267s Platform: x86_64-pc-linux-gnu 267s 267s R is free software and comes with ABSOLUTELY NO WARRANTY. 267s You are welcome to redistribute it under certain conditions. 267s Type 'license()' or 'licence()' for distribution details. 267s 267s R is a collaborative project with many contributors. 267s Type 'contributors()' for more information and 267s 'citation()' on how to cite R or R packages in publications. 267s 267s Type 'demo()' for some demos, 'help()' for on-line help, or 267s 'help.start()' for an HTML browser interface to help. 267s Type 'q()' to quit R. 267s 267s > ### actuar: Actuarial Functions and Heavy Tailed Distributions 267s > ### 267s > ### Tests of functions for continuous and discrete probability 267s > ### distributions. 267s > ### 267s > ### Despite the name of the file, the tests are for [dpqrm,lev] 267s > ### functions (for continuous distributions): 267s > ### 267s > ### d: density or probability mass 267s > ### p: cumulative distribution 267s > ### q: quantile 267s > ### r: random number generation 267s > ### m: moment 267s > ### lev: limited moment 267s > ### 267s > ### Distributions are classified and sorted as in appendix A and 267s > ### appendix B of the 'distributions' package vignette. 267s > ### 267s > ### Inspired by (and some parts taken from) `tests/d-p-q-r-tests.R` in 267s > ### R sources. 267s > ### 267s > ### AUTHOR: Vincent Goulet with 267s > ### indirect help from the R Core Team 267s > 267s > ## Load the package 267s > library(actuar) 267s 267s Attaching package: ‘actuar’ 267s 267s > library(expint) # for gammainc 267s The following objects are masked from ‘package:stats’: 267s 267s sd, var 267s 267s The following object is masked from ‘package:grDevices’: 267s 267s cm 267s 267s > 267s > ## Define a "local" version of the otherwise non-exported function 267s > ## 'betaint'. 267s > betaint <- actuar:::betaint 267s > 267s > ## No warnings, unless explicitly asserted via tools::assertWarning. 267s > options(warn = 2) 267s > assertWarning <- tools::assertWarning 267s > 267s > ## Special values and utilities. Taken from `tests/d-p-q-r-tests.R`. 267s > Meps <- .Machine$double.eps 267s > xMax <- .Machine$double.xmax 267s > xMin <- .Machine$double.xmin 267s > All.eq <- function(x, y) 267s + { 267s + all.equal.numeric(x, y, tolerance = 64 * .Machine$double.eps, 267s + scale = max(0, mean(abs(x), na.rm = TRUE))) 267s + } 267s > 267s > if(!interactive()) 267s + set.seed(123) 267s > 267s > ### 267s > ### CONTINUOUS DISTRIBUTIONS 267s > ### 267s > 267s > ## 267s > ## FELLER-PARETO AND PARETO II, III, IV DISTRIBUTIONS 267s > ## 267s > 267s > ## When reasonable, we also test consistency with the special cases 267s > ## min = 0: 267s > ## 267s > ## Feller-Pareto -> Transformated beta 267s > ## Pareto IV -> Burr 267s > ## Pareto III -> Loglogistic 267s > ## Pareto II -> Pareto 267s > 267s > ## Density: first check that functions return 0 when scale = Inf, and 267s > ## when x = scale = Inf. 267s > stopifnot(exprs = { 267s + dfpareto(c(42, Inf), min = 1, shape1 = 2, shape2 = 3, shape3 = 4, scale = Inf) == c(0, 0) 267s + dpareto4(c(42, Inf), min = 1, shape1 = 2, shape2 = 3, scale = Inf) == c(0, 0) 267s + dpareto3(c(42, Inf), min = 1, shape = 3, scale = Inf) == c(0, 0) 267s + dpareto2(c(42, Inf), min = 1, shape = 2, scale = Inf) == c(0, 0) 267s + }) 267s > 267s > ## Next test density functions for an array of standard values. 267s > nshpar <- 3 # (maximum) number of shape parameters 267s > min <- round(rnorm(30, 2), 2) 267s > shpar <- replicate(30, rlnorm(nshpar, 2), simplify = FALSE) 267s > scpar <- rlnorm(30, 2) # scale parameters 267s > for (i in seq_along(min)) 267s + { 267s + m <- min[i] 267s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 267s + Be <- beta(a, t) 267s + for (s in scpar) 267s + { 267s + x <- rfpareto(100, min = m, shape1 = a, shape2 = g, shape3 = t, scale = s) 267s + y <- (x - m)/s 267s + u <- 1/(1 + y^(-g)) 267s + stopifnot(exprs = { 267s + all.equal(d1 <- dfpareto(x, min = m, 267s + shape1 = a, shape2 = g, shape3 = t, 267s + scale = s), 267s + d2 <- dfpareto(y, min = 0, 267s + shape1 = a, shape2 = g, shape3 = t, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d2, 267s + dtrbeta(y, 267s + shape1 = a, shape2 = g, shape3 = t, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + g * y^(g*t - 1)/(s * Be * (1 + y^g)^(a + t)), 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + g * u^t * (1 - u)^a/((x - m) * Be), 267s + tolerance = 1e-10) 267s + }) 267s + x <- rpareto4(100, min = m, shape1 = a, shape2 = g, scale = s) 267s + y <- (x - m)/s 267s + u <- 1/(1 + y^g) 267s + stopifnot(exprs = { 267s + all.equal(d1 <- dpareto4(x, min = m, 267s + shape1 = a, shape2 = g, 267s + scale = s), 267s + d2 <- dpareto4(y, min = 0, 267s + shape1 = a, shape2 = g, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d2, 267s + dburr(y, 267s + shape1 = a, shape2 = g, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + a * g * y^(g - 1)/(s * (1 + y^g)^(a + 1)), 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + a * g * u^a * (1 - u)/(x - m), 267s + tolerance = 1e-10) 267s + }) 267s + x <- rpareto3(100, min = m, shape = g, scale = s) 267s + y <- (x - m)/s 267s + u <- 1/(1 + y^(-g)) 267s + stopifnot(exprs = { 267s + all.equal(d1 <- dpareto3(x, min = m, 267s + shape = g, 267s + scale = s), 267s + d2 <- dpareto3(y, min = 0, 267s + shape = g, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d2, 267s + dllogis(y, 267s + shape = g, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + g * y^(g - 1)/(s * (1 + y^g)^2), 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + g * u * (1 - u)/(x - m), 267s + tolerance = 1e-10) 267s + }) 267s + x <- rpareto2(100, min = m, shape = a, scale = s) 267s + y <- (x - m)/s 267s + u <- 1/(1 + y) 267s + stopifnot(exprs = { 267s + all.equal(d1 <- dpareto2(x, min = m, 267s + shape = a, 267s + scale = s), 267s + d2 <- dpareto2(y, min = 0, 267s + shape = a, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d2, 267s + dpareto(y, 267s + shape = a, 267s + scale = 1)/s, 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + a/(s * (1 + y)^(a + 1)), 267s + tolerance = 1e-10) 267s + all.equal(d1, 267s + a * u^a * (1 - u)/(x - m), 267s + tolerance = 1e-10) 267s + }) 267s + } 267s + } 268s > 268s > ## Tests on the cumulative distribution function. 268s > ## 268s > ## Note: when shape1 = shape3 = 1, the underlying beta distribution is 268s > ## a uniform. Therefore, pfpareto(x, min, 1, shape2, 1, scale) should 268s > ## return the value of u = v/(1 + v), v = ((x - min)/scale)^shape2. 268s > ## 268s > ## x = 2/Meps = 2^53 (with min = 0, shape2 = scale = 1) is the value 268s > ## where the cdf would jump to 1 if we weren't using the trick to 268s > ## compute the cdf with pbeta(1 - u, ..., lower = FALSE). 268s > scLrg <- 1e300 * c(0.5, 1, 2) 268s > m <- rnorm(1) 268s > stopifnot(exprs = { 268s + pfpareto(Inf, min = 10, 1, 2, 3, scale = xMax) == 1 268s + pfpareto(2^53, min = 0, 1, 1, 1, scale = 1) != 1 268s + pfpareto(2^53 + xMax, min = xMax, 1, 1, 1, scale = 1) != 1 268s + all.equal(pfpareto(xMin + m, min = m, 1, 1, 1, scale = 1), xMin) 268s + all.equal(y <- pfpareto(1e300 + m, min = m, 268s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 268s + shape3 = 1, 268s + scale = scLrg, log = TRUE), 268s + ptrbeta(1e300, 268s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 268s + shape3 = 1, 268s + scale = scLrg, log = TRUE)) 268s + all.equal(y, 268s + c(pbeta(c(2/3, 1/2), 1, 3, lower.tail = TRUE, log = TRUE), 268s + pbeta(2/3, 3, 1, lower.tail = FALSE, log = TRUE), 268s + pbeta(c(4/5, 1/2), 1, 3, lower.tail = TRUE, log = TRUE), 268s + pbeta(4/5, 3, 1, lower.tail = FALSE, log = TRUE))) 268s + }) 268s > stopifnot(exprs = { 268s + ppareto4(Inf, min = 10, 1, 3, scale = xMax) == 1 268s + ppareto4(2^53, min = 0, 1, 1, scale = 1) != 1 268s + ppareto4(2^53 + xMax, min = xMax, 1, 1, scale = 1) != 1 268s + all.equal(ppareto4(xMin + m, min = m, 1, 1, scale = 1), xMin) 268s + all.equal(y <- ppareto4(1e300 + m, min = m, 268s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 268s + scale = scLrg, log = TRUE), 268s + pburr(1e300, 268s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 268s + scale = scLrg, log = TRUE)) 268s + all.equal(y, 268s + c(log(1 - c(1/3, 1/2, 2/3)^3), 268s + log(1 - c(1/5, 1/2, 4/5)^3))) 268s + }) 268s > stopifnot(exprs = { 268s + ppareto3(Inf, min = 10, 3, scale = xMax) == 1 268s + ppareto3(2^53, min = 0, 1, scale = 1) != 1 268s + ppareto3(2^53 + xMax, min = xMax, 1, scale = 1) != 1 268s + all.equal(ppareto3(xMin + m, min = m, 1, scale = 1), xMin) 268s + all.equal(y <- ppareto3(1e300 + m, min = m, 268s + shape = rep(c(1, 2), each = length(scLrg)), 268s + scale = scLrg, log = TRUE), 268s + pllogis (1e300, 268s + shape = rep(c(1, 2), each = length(scLrg)), 268s + scale = scLrg, log = TRUE)) 268s + all.equal(y, 268s + c(log(c(2/3, 1/2, 1/3)), 268s + log(c(4/5, 1/2, 1/5)))) 268s + }) 268s > stopifnot(exprs = { 268s + ppareto2(Inf, min = 10, 3, scale = xMax) == 1 268s + ppareto2(2^53, min = 0, 1, scale = 1) != 1 268s + ppareto2(2^53 + xMax, min = xMax, 1, scale = 1) != 1 268s + all.equal(ppareto2(xMin + m, min = m, 1, scale = 1), xMin) 268s + all.equal(y <- ppareto2(1e300 + m, min = m, 268s + shape = 3, 268s + scale = scLrg, log = TRUE), 268s + ppareto (1e300, 268s + shape = 3, 268s + scale = scLrg, log = TRUE)) 268s + all.equal(y, 268s + c(log(1 - c(1/3, 1/2, 2/3)^3))) 268s + }) 268s > 268s > ## Also check that distribution functions return 0 when scale = Inf. 268s > stopifnot(exprs = { 268s + pfpareto(x, min = m, shape1 = a, shape2 = g, shape3 = t, scale = Inf) == 0 268s + ppareto4(x, min = m, shape1 = a, shape2 = g, scale = Inf) == 0 268s + ppareto3(x, min = m, shape = g, scale = Inf) == 0 268s + ppareto2(x, min = m, shape = a, scale = Inf) == 0 268s + }) 268s > 268s > ## Tests for first three (positive) moments 268s > ## 268s > ## Simulation of new parameters ensuring that the first three moments 268s > ## exist. 268s > set.seed(123) # reset the seed 268s > nshpar <- 3 # (maximum) number of shape parameters 268s > min <- round(rnorm(30, 2), 2) 268s > shpar <- replicate(30, c(3, 3, 0) + rlnorm(nshpar, 2), simplify = FALSE) 268s > scpar <- rlnorm(30, 2) # scale parameters 268s > for (i in seq_along(min)) 268s + { 268s + m <- min[i] 268s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 268s + Be <- beta(a, t) 268s + Ga <- gamma(a) 268s + for (s in scpar) 268s + { 268s + stopifnot(exprs = { 268s + All.eq(mfpareto(1, min = m, 268s + shape1 = a, shape2 = g, shape3 = t, 268s + scale = s), 268s + m * (Be + (s/m) * beta(t + 1/g, a - 1/g))/Be) 268s + All.eq(mfpareto(2, min = m, 268s + shape1 = a, shape2 = g, shape3 = t, 268s + scale = s), 268s + m^2 * (Be + 2 * (s/m) * beta(t + 1/g, a - 1/g) 268s + + (s/m)^2 * beta(t + 2/g, a - 2/g))/Be) 268s + All.eq(mfpareto(3, min = m, 268s + shape1 = a, shape2 = g, shape3 = t, 268s + scale = s), 268s + m^3 * (Be + 3 * (s/m) * beta(t + 1/g, a - 1/g) 268s + + 3 * (s/m)^2 * beta(t + 2/g, a - 2/g) 268s + + (s/m)^3 * beta(t + 3/g, a - 3/g))/Be) 268s + }) 268s + stopifnot(exprs = { 268s + All.eq(mpareto4(1, min = m, 268s + shape1 = a, shape2 = g, 268s + scale = s), 268s + m * (Ga + (s/m) * gamma(1 + 1/g) * gamma(a - 1/g))/Ga) 268s + All.eq(mpareto4(2, min = m, 268s + shape1 = a, shape2 = g, 268s + scale = s), 268s + m^2 * (Ga + 2 * (s/m) * gamma(1 + 1/g) * gamma(a - 1/g) 268s + + (s/m)^2 * gamma(1 + 2/g) * gamma(a - 2/g))/Ga) 268s + All.eq(mpareto4(3, min = m, 268s + shape1 = a, shape2 = g, 268s + scale = s), 268s + m^3 * (Ga + 3 * (s/m) * gamma(1 + 1/g) * gamma(a - 1/g) 268s + + 3 * (s/m)^2 * gamma(1 + 2/g) * gamma(a - 2/g) 268s + + (s/m)^3 * gamma(1 + 3/g) * gamma(a - 3/g))/Ga) 268s + }) 268s + stopifnot(exprs = { 268s + All.eq(mpareto3(1, min = m, 268s + shape = g, 268s + scale = s), 268s + m * (1 + (s/m) * gamma(1 + 1/g) * gamma(1 - 1/g))) 268s + All.eq(mpareto3(2, min = m, 268s + shape = g, 268s + scale = s), 268s + m^2 * (1 + 2 * (s/m) * gamma(1 + 1/g) * gamma(1 - 1/g) 268s + + (s/m)^2 * gamma(1 + 2/g) * gamma(1 - 2/g))) 268s + All.eq(mpareto3(3, min = m, 268s + shape = g, 268s + scale = s), 268s + m^3 * (1 + 3 * (s/m) * gamma(1 + 1/g) * gamma(1 - 1/g) 268s + + 3 * (s/m)^2 * gamma(1 + 2/g) * gamma(1 - 2/g) 268s + + (s/m)^3 * gamma(1 + 3/g) * gamma(1 - 3/g))) 268s + }) 268s + stopifnot(exprs = { 268s + All.eq(mpareto2(1, min = m, 268s + shape = a, 268s + scale = s), 268s + m * (Ga + (s/m) * gamma(1 + 1) * gamma(a - 1))/Ga) 268s + All.eq(mpareto2(2, min = m, 268s + shape = a, 268s + scale = s), 268s + m^2 * (Ga + 2 * (s/m) * gamma(1 + 1) * gamma(a - 1) 268s + + (s/m)^2 * gamma(1 + 2) * gamma(a - 2))/Ga) 268s + All.eq(mpareto2(3, min = m, 268s + shape = a, 268s + scale = s), 268s + m^3 * (Ga + 3 * (s/m) * gamma(1 + 1) * gamma(a - 1) 268s + + 3 * (s/m)^2 * gamma(1 + 2) * gamma(a - 2) 268s + + (s/m)^3 * gamma(1 + 3) * gamma(a - 3))/Ga) 268s + }) 268s + } 268s + } 269s > 269s > ## Tests for first three limited moments 269s > ## 269s > ## Limits are taken from quantiles of each distribution. 269s > q <- c(0.25, 0.50, 0.75, 0.9, 0.95) 269s > for (i in seq_along(min)) 269s + { 269s + m <- min[i] 269s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 269s + Ga <- gamma(a) 269s + Gt <- gamma(t) 269s + for (s in scpar) 269s + { 269s + limit <- qfpareto(q, min = m, 269s + shape1 = a, shape2 = g, shape3 = t, 269s + scale = s) 269s + y <- (limit - m)/s 269s + u <- 1/(1 + y^(-g)) 269s + stopifnot(exprs = { 269s + All.eq(levfpareto(limit, order = 1, min = m, 269s + shape1 = a, shape2 = g, shape3 = t, 269s + scale = s), 269s + m * (betaint(u, t, a) + (s/m) * betaint(u, t + 1/g, a - 1/g))/(Ga * Gt) + 269s + limit * pbeta(u, t, a, lower = FALSE)) 269s + All.eq(levfpareto(limit, order = 2, min = m, 269s + shape1 = a, shape2 = g, shape3 = t, 269s + scale = s), 269s + m^2 * (betaint(u, t, a) + 2 * (s/m) * betaint(u, t + 1/g, a - 1/g) 269s + + (s/m)^2 * betaint(u, t + 2/g, a - 2/g))/(Ga * Gt) + 269s + limit^2 * pbeta(u, t, a, lower = FALSE)) 269s + All.eq(levfpareto(limit, order = 3, min = m, 269s + shape1 = a, shape2 = g, shape3 = t, 269s + scale = s), 269s + m^3 * (betaint(u, t, a) + 3 * (s/m) * betaint(u, t + 1/g, a - 1/g) 269s + + 3 * (s/m)^2 * betaint(u, t + 2/g, a - 2/g) 269s + + (s/m)^3 * betaint(u, t + 3/g, a - 3/g))/(Ga * Gt) + 269s + limit^3 * pbeta(u, t, a, lower = FALSE)) 269s + }) 269s + limit <- qpareto4(q, min = m, 269s + shape1 = a, shape2 = g, 269s + scale = s) 269s + y <- (limit - m)/s 269s + u <- 1/(1 + y^g) 269s + u1m <- 1/(1 + y^(-g)) 269s + stopifnot(exprs = { 269s + All.eq(levpareto4(limit, order = 1, min = m, 269s + shape1 = a, shape2 = g, 269s + scale = s), 269s + m * (betaint(u1m, 1, a) + (s/m) * betaint(u1m, 1 + 1/g, a - 1/g))/Ga + 269s + limit * u^a) 269s + All.eq(levpareto4(limit, order = 2, min = m, 269s + shape1 = a, shape2 = g, 269s + scale = s), 269s + m^2 * (betaint(u1m, 1, a) + 2 * (s/m) * betaint(u1m, 1 + 1/g, a - 1/g) 269s + + (s/m)^2 * betaint(u1m, 1 + 2/g, a - 2/g))/Ga + 269s + limit^2 * u^a) 269s + All.eq(levpareto4(limit, order = 3, min = m, 269s + shape1 = a, shape2 = g, 269s + scale = s), 269s + m^3 * (betaint(u1m, 1, a) + 3 * (s/m) * betaint(u1m, 1 + 1/g, a - 1/g) 269s + + 3 * (s/m)^2 * betaint(u1m, 1 + 2/g, a - 2/g) 269s + + (s/m)^3 * betaint(u1m, 1 + 3/g, a - 3/g))/Ga + 269s + limit^3 * u^a) 269s + }) 269s + limit <- qpareto3(q, min = m, 269s + shape = g, 269s + scale = s) 269s + y <- (limit - m)/s 269s + u <- 1/(1 + y^(-g)) 269s + u1m <- 1/(1 + y^g) 269s + stopifnot(exprs = { 269s + All.eq(levpareto3(limit, order = 1, min = m, 269s + shape = g, 269s + scale = s), 269s + m * (u + (s/m) * betaint(u, 1 + 1/g, 1 - 1/g)) + 269s + limit * u1m) 269s + All.eq(levpareto3(limit, order = 2, min = m, 269s + shape = g, 269s + scale = s), 269s + m^2 * (u + 2 * (s/m) * betaint(u, 1 + 1/g, 1 - 1/g) 269s + + (s/m)^2 * betaint(u, 1 + 2/g, 1 - 2/g)) + 269s + limit^2 * u1m) 269s + All.eq(levpareto3(limit, order = 3, min = m, 269s + shape = g, 269s + scale = s), 269s + m^3 * (u + 3 * (s/m) * betaint(u, 1 + 1/g, 1 - 1/g) 269s + + 3 * (s/m)^2 * betaint(u, 1 + 2/g, 1 - 2/g) 269s + + (s/m)^3 * betaint(u, 1 + 3/g, 1 - 3/g)) + 269s + limit^3 * u1m) 269s + }) 269s + limit <- qpareto2(q, min = m, 269s + shape = a, 269s + scale = s) 269s + y <- (limit - m)/s 269s + u <- 1/(1 + y) 269s + u1m <- 1/(1 + y^(-1)) 269s + stopifnot(exprs = { 269s + All.eq(levpareto2(limit, order = 1, min = m, 269s + shape = a, 269s + scale = s), 269s + m * (betaint(u1m, 1, a) + (s/m) * betaint(u1m, 1 + 1, a - 1))/Ga + 269s + limit * u^a) 269s + All.eq(levpareto2(limit, order = 2, min = m, 269s + shape = a, 269s + scale = s), 269s + m^2 * (betaint(u1m, 1, a) + 2 * (s/m) * betaint(u1m, 1 + 1, a - 1) 269s + + (s/m)^2 * betaint(u1m, 1 + 2, a - 2))/Ga + 269s + limit^2 * u^a) 269s + All.eq(levpareto2(limit, order = 3, min = m, 269s + shape = a, 269s + scale = s), 269s + m^3 * (betaint(u1m, 1, a) + 3 * (s/m) * betaint(u1m, 1 + 1, a - 1) 269s + + 3 * (s/m)^2 * betaint(u1m, 1 + 2, a - 2) 269s + + (s/m)^3 * betaint(u1m, 1 + 3, a - 3))/Ga + 269s + limit^3 * u^a) 269s + }) 269s + } 269s + } 270s > 270s > ## 270s > ## TRANSFORMED BETA FAMILY 270s > ## 270s > 270s > ## Density: first check that functions return 0 when scale = Inf, and 270s > ## when x = scale = Inf. 270s > stopifnot(exprs = { 270s + dtrbeta (c(42, Inf), shape1 = 2, shape2 = 3, shape3 = 4, scale = Inf) == c(0, 0) 270s + dburr (c(42, Inf), shape1 = 2, shape2 = 3, scale = Inf) == c(0, 0) 270s + dllogis (c(42, Inf), shape = 3, scale = Inf) == c(0, 0) 270s + dparalogis (c(42, Inf), shape = 2, scale = Inf) == c(0, 0) 270s + dgenpareto (c(42, Inf), shape1 = 2, shape2 = 4, scale = Inf) == c(0, 0) 270s + dpareto (c(42, Inf), shape = 2, scale = Inf) == c(0, 0) 270s + dinvburr (c(42, Inf), shape1 = 4, shape2 = 3, scale = Inf) == c(0, 0) 270s + dinvpareto (c(42, Inf), shape = 4, scale = Inf) == c(0, 0) 270s + dinvparalogis(c(42, Inf), shape = 4, scale = Inf) == c(0, 0) 270s + }) 270s > 270s > ## Next test density functions for an array of standard values. 270s > set.seed(123) # reset the seed 270s > nshpar <- 3 # (maximum) number of shape parameters 270s > shpar <- replicate(30, rlnorm(nshpar, 2), simplify = FALSE) 270s > scpar <- rlnorm(30, 2) # scale parameters 270s > for (i in seq_along(shpar)) 270s + { 270s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 270s + Be <- beta(a, t) 270s + for (s in scpar) 270s + { 270s + x <- rtrbeta(100, shape1 = a, shape2 = g, shape3 = t, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^(-g)) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dtrbeta(x, shape1 = a, shape2 = g, shape3 = t, 270s + scale = s), 270s + d2 <- dtrbeta(y, shape1 = a, shape2 = g, shape3 = t, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + g * y^(g*t - 1)/(s * Be * (1 + y^g)^(a + t)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + g * u^t * (1 - u)^a/(x * Be), 270s + tolerance = 1e-10) 270s + }) 270s + x <- rburr(100, shape1 = a, shape2 = g, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^g) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dburr(x, shape1 = a, shape2 = g, 270s + scale = s), 270s + d2 <- dburr(y, shape1 = a, shape2 = g, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + a * g * y^(g - 1)/(s * (1 + y^g)^(a + 1)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + a * g * u^a * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + x <- rllogis(100, shape = g, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^(-g)) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dllogis(x, shape = g, 270s + scale = s), 270s + d2 <- dllogis(y, shape = g, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + g * y^(g - 1)/(s * (1 + y^g)^2), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + g * u * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + x <- rparalogis(100, shape = a, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^a) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dparalogis(x, shape = a, 270s + scale = s), 270s + d2 <- dparalogis(y, shape = a, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + a^2 * y^(a - 1)/(s * (1 + y^a)^(a + 1)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + a^2 * u^a * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + x <- rgenpareto(100, shape1 = a, shape2 = t, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^(-1)) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dgenpareto(x, shape1 = a, shape2 = t, 270s + scale = s), 270s + d2 <- dgenpareto(y, shape1 = a, shape2 = t, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + y^(t - 1)/(s * Be * (1 + y)^(a + t)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + u^t * (1 - u)^a/(x * Be), 270s + tolerance = 1e-10) 270s + }) 270s + x <- rpareto(100, shape = a, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dpareto(x, shape = a, 270s + scale = s), 270s + d2 <- dpareto(y, shape = a, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + a/(s * (1 + y)^(a + 1)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + a * u^a * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + x <- rpareto1(100, min = s, shape = a) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dpareto1(x, min = s, shape = a), 270s + a * s^a/(x^(a + 1)), 270s + tolerance = 1e-10) 270s + }) 270s + x <- rinvburr(100, shape1 = t, shape2 = g, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^(-g)) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dinvburr(x, shape1 = t, shape2 = g, 270s + scale = s), 270s + d2 <- dinvburr(y, shape1 = t, shape2 = g, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + t * g * y^(g*t - 1)/(s * (1 + y^g)^(t + 1)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + t * g * u^t * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + x <- rinvpareto(100, shape = t, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^(-1)) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dinvpareto(x, shape = t, 270s + scale = s), 270s + d2 <- dinvpareto(y, shape = t, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + t * y^(t - 1)/(s * (1 + y)^(t + 1)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + t * u^t * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + x <- rinvparalogis(100, shape = t, scale = s) 270s + y <- x/s 270s + u <- 1/(1 + y^(-t)) 270s + stopifnot(exprs = { 270s + all.equal(d1 <- dinvparalogis(x, shape = t, 270s + scale = s), 270s + d2 <- dinvparalogis(y, shape = t, 270s + scale = 1)/s, 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + t^2 * y^(t^2 - 1)/(s * (1 + y^t)^(t + 1)), 270s + tolerance = 1e-10) 270s + all.equal(d1, 270s + t^2 * u^t * (1 - u)/x, 270s + tolerance = 1e-10) 270s + }) 270s + } 270s + } 273s > 273s > ## Tests on the cumulative distribution function. 273s > ## 273s > ## Note: when shape1 = shape3 = 1, the underlying beta distribution is 273s > ## a uniform. Therefore, ptrbeta(x, 1, shape2, 1, scale) should return 273s > ## the value of u = v/(1 + v), v = (x/scale)^shape2. 273s > ## 273s > ## x = 2/Meps = 2^53 (with, shape2 = scale = 1) is the value where the 273s > ## cdf would jump to 1 if we weren't using the trick to compute the 273s > ## cdf with pbeta(1 - u, ..., lower = FALSE). 273s > scLrg <- 1e300 * c(0.5, 1, 2) 273s > stopifnot(exprs = { 273s + ptrbeta(Inf, 1, 2, 3, scale = xMax) == 1 273s + ptrbeta(2^53, 1, 1, 1, scale = 1) != 1 273s + all.equal(ptrbeta(xMin, 1, 1, 1, scale = 1), xMin) 273s + all.equal(ptrbeta(1e300, 273s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 273s + shape3 = 1, 273s + scale = scLrg, log = TRUE), 273s + c(pbeta(c(2/3, 1/2), 1, 3, lower.tail = TRUE, log = TRUE), 273s + pbeta(2/3, 3, 1, lower.tail = FALSE, log = TRUE), 273s + pbeta(c(4/5, 1/2), 1, 3, lower.tail = TRUE, log = TRUE), 273s + pbeta(4/5, 3, 1, lower.tail = FALSE, log = TRUE))) 273s + }) 273s > stopifnot(exprs = { 273s + pburr(Inf, 1, 3, scale = xMax) == 1 273s + pburr(2^53, 1, 1, scale = 1) != 1 273s + all.equal(pburr(xMin, 1, 1, scale = 1), xMin) 273s + all.equal(pburr(1e300, 273s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 273s + scale = scLrg, log = TRUE), 273s + c(log(1 - c(1/3, 1/2, 2/3)^3), 273s + log(1 - c(1/5, 1/2, 4/5)^3))) 273s + }) 273s > stopifnot(exprs = { 273s + pllogis(Inf, 3, scale = xMax) == 1 273s + pllogis(2^53, 1, scale = 1) != 1 273s + all.equal(pllogis(xMin, 1, scale = 1), xMin) 273s + all.equal(pllogis(1e300, 273s + shape = rep(c(1, 2), each = length(scLrg)), 273s + scale = scLrg, log = TRUE), 273s + c(log(c(2/3, 1/2, 1/3)), 273s + log(c(4/5, 1/2, 1/5)))) 273s + }) 273s > stopifnot(exprs = { 273s + pparalogis(Inf, 3, scale = xMax) == 1 273s + pparalogis(2^53, 1, scale = 1) != 1 273s + all.equal(pparalogis(xMin, 1, scale = 1), xMin) 273s + all.equal(pparalogis(1e300, 273s + shape = rep(c(2, 3), each = length(scLrg)), 273s + scale = scLrg, log = TRUE), 273s + c(log(1 - c(1/5, 1/2, 4/5)^2), 273s + log(1 - c(1/9, 1/2, 8/9)^3))) 273s + }) 273s > stopifnot(exprs = { 273s + pgenpareto(Inf, 1, 3, scale = xMax) == 1 273s + pgenpareto(2^53, 1, 1, scale = 1) != 1 273s + all.equal(pgenpareto(xMin, 1, 1, scale = 1), xMin) 273s + all.equal(pgenpareto(1e300, 273s + shape1 = 3, shape2 = 1, 273s + scale = scLrg, log = TRUE), 273s + c(pbeta(c(2/3, 1/2), 1, 3, lower.tail = TRUE, log = TRUE), 273s + pbeta(2/3, 3, 1, lower.tail = FALSE, log = TRUE))) 273s + }) 273s > stopifnot(exprs = { 273s + ppareto(Inf, 3, scale = xMax) == 1 273s + ppareto(2^53, 1, scale = 1) != 1 273s + all.equal(ppareto(xMin, 1, scale = 1), xMin) 273s + all.equal(ppareto(1e300, 273s + shape = 3, 273s + scale = scLrg, log = TRUE), 273s + c(log(1 - c(1/3, 1/2, 2/3)^3))) 273s + }) 273s > stopifnot(exprs = { 273s + ppareto1(Inf, 3, min = xMax) == 1 273s + ppareto1(2^53, 1, min = 1) != 1 273s + all.equal(ppareto1(xMin, 1, min = 1), xMin) 273s + all.equal(ppareto1(1e300, 273s + shape = 3, 273s + min = 1e300 * c(0.001, 0.1, 0.5), log = TRUE), 273s + c(log(1 - c(0.001, 0.1, 0.5)^3))) 273s + }) 273s > stopifnot(exprs = { 273s + pinvburr(Inf, 1, 3, scale = xMax) == 1 273s + pinvburr(2^53, 1, 1, scale = 1) != 1 273s + all.equal(pinvburr(xMin, 1, 1, scale = 1), xMin) 273s + all.equal(pinvburr(1e300, 273s + shape1 = 3, shape2 = rep(c(1, 2), each = length(scLrg)), 273s + scale = scLrg, log = TRUE), 273s + c(log(c(2/3, 1/2, 1/3)^3), 273s + log(c(4/5, 1/2, 1/5)^3))) 273s + }) 273s > stopifnot(exprs = { 273s + pinvpareto(Inf, 3, scale = xMax) == 1 273s + pinvpareto(2^53, 1, scale = 1) != 1 273s + all.equal(pinvpareto(xMin, 1, scale = 1), xMin) 273s + all.equal(pinvpareto(1e300, 273s + shape = 3, 273s + scale = scLrg, log = TRUE), 273s + c(log(c(2/3, 1/2, 1/3)^3))) 273s + }) 273s > stopifnot(exprs = { 273s + pinvparalogis(Inf, 3, scale = xMax) == 1 273s + pinvparalogis(2^53, 1, scale = 1) != 1 273s + all.equal(pinvparalogis(xMin, 1, scale = 1), xMin) 273s + all.equal(pinvparalogis(1e300, 273s + shape = rep(c(2, 3), each = length(scLrg)), 273s + scale = scLrg, log = TRUE), 273s + c(log(c(4/5, 1/2, 1/5)^2), 273s + log(c(8/9, 1/2, 1/9)^3))) 273s + }) 273s > 273s > ## Also check that distribution functions return 0 when scale = Inf. 273s > stopifnot(exprs = { 273s + ptrbeta (x, shape1 = a, shape2 = g, shape3 = t, scale = Inf) == 0 273s + pburr (x, shape1 = a, shape2 = g, scale = Inf) == 0 273s + pllogis (x, shape = g, scale = Inf) == 0 273s + pparalogis (x, shape = a, scale = Inf) == 0 273s + pgenpareto (x, shape1 = a, shape2 = t, scale = Inf) == 0 273s + ppareto (x, shape = a, scale = Inf) == 0 273s + pinvburr (x, shape1 = t, shape2 = g, scale = Inf) == 0 273s + pinvpareto (x, shape = t, scale = Inf) == 0 273s + pinvparalogis(x, shape = t, scale = Inf) == 0 273s + }) 273s > 273s > ## Tests for first three positive moments and first two negative 273s > ## moments. 273s > ## 273s > ## Simulation of new parameters ensuring that said moments exist. 273s > set.seed(123) # reset the seed 273s > nshpar <- 3 # (maximum) number of shape parameters 273s > shpar <- replicate(30, c(3, 3, 3) + rlnorm(nshpar, 2), simplify = FALSE) 273s > scpar <- rlnorm(30, 2) # scale parameters 273s > k <- c(-2, -1, 1, 2, 3) # orders 273s > for (i in seq_along(shpar)) 273s + { 273s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 273s + Be <- beta(a, t) 273s + Ga <- gamma(a) 273s + for (s in scpar) 273s + { 273s + stopifnot(exprs = { 273s + All.eq(mtrbeta(k, shape1 = a, shape2 = g, shape3 = t, scale = s), 273s + s^k * beta(t + k/g, a - k/g)/Be) 273s + All.eq(mburr(k, shape1 = a, shape2 = g, scale = s), 273s + s^k * gamma(1 + k/g) * gamma(a - k/g)/Ga) 273s + All.eq(mllogis(k, shape = g, scale = s), 273s + s^k * gamma(1 + k/g) * gamma(1 - k/g)) 273s + All.eq(mparalogis(k, shape = a, scale = s), 273s + s^k * gamma(1 + k/a) * gamma(a - k/a)/Ga) 273s + All.eq(mgenpareto(k, shape1 = a, shape2 = t, scale = s), 273s + s^k * beta(t + k, a - k)/Be) 273s + All.eq(mpareto(k[k > -1], shape = a, scale = s), 273s + s^k[k > -1] * gamma(1 + k[k > -1]) * gamma(a - k[k > -1])/Ga) 273s + All.eq(mpareto1(k, shape = a, min = s), 273s + s^k * a/(a - k)) 273s + All.eq(minvburr(k, shape1 = a, shape2 = g, scale = s), 273s + s^k * gamma(a + k/g) * gamma(1 - k/g)/Ga) 273s + All.eq(minvpareto(k[k < 1], shape = a, scale = s), 273s + s^k[k < 1] * gamma(a + k[k < 1]) * gamma(1 - k[k < 1])/Ga) 273s + All.eq(minvparalogis(k, shape = a, scale = s), 273s + s^k * gamma(a + k/a) * gamma(1 - k/a)/Ga) 273s + }) 273s + } 273s + } 273s > 273s > ## Tests for first three positive limited moments and first two 273s > ## negative limited moments. 273s > ## 273s > ## Limits are taken from quantiles of each distribution. 273s > order <- c(-2, -1, 1, 2, 3) # orders 273s > q <- c(0.25, 0.50, 0.75, 0.9, 0.95) # quantiles 273s > for (i in seq_along(shpar)) 273s + { 273s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 273s + Ga <- gamma(a) 273s + Gt <- gamma(t) 273s + for (s in scpar) 273s + { 273s + limit <- qtrbeta(q, shape1 = a, shape2 = g, shape3 = t, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^(-g)) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levtrbeta(limit, order = k, shape1 = a, shape2 = g, shape3 = t, scale = s), 273s + s^k * betaint(u, t + k/g, a - k/g)/(Ga * Gt) + 273s + limit^k * pbeta(u, t, a, lower = FALSE)) 273s + }) 273s + limit <- qburr(q, shape1 = a, shape2 = g, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^g) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levburr(limit, order = k, shape1 = a, shape2 = g, scale = s), 273s + s^k * betaint(1 - u, 1 + k/g, a - k/g)/Ga + 273s + limit^k * u^a) 273s + }) 273s + limit <- qllogis(q, shape = g, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^(-g)) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levllogis(limit, order = k, shape = g, scale = s), 273s + s^k * betaint(u, 1 + k/g, 1 - k/g) + 273s + limit^k * (1 - u)) 273s + }) 273s + limit <- qparalogis(q, shape = a, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^a) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levparalogis(limit, order = k, shape = a, scale = s), 273s + s^k * betaint(1 - u, 1 + k/a, a - k/a)/Ga + 273s + limit^k * u^a) 273s + }) 273s + limit <- qgenpareto(q, shape1 = a, shape2 = t, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^(-1)) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levgenpareto(limit, order = k, shape1 = a, shape2 = t, scale = s), 273s + s^k * betaint(u, t + k, a - k)/(Ga * Gt) + 273s + limit^k * pbeta(u, t, a, lower = FALSE)) 273s + }) 273s + limit <- qpareto(q, shape = a, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y) 273s + for (k in order[order > -1]) 273s + stopifnot(exprs = { 273s + All.eq(levpareto(limit, order = k, shape = a, scale = s), 273s + s^k * betaint(1 - u, 1 + k, a - k)/Ga + 273s + limit^k * u^a) 273s + }) 273s + limit <- qpareto1(q, shape = a, min = s) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levpareto1(limit, order = k, shape = a, min = s), 273s + s^k * a/(a - k) - k * s^a/((a - k) * limit^(a - k))) 273s + }) 273s + limit <- qinvburr(q, shape1 = a, shape2 = g, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^(-g)) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levinvburr(limit, order = k, shape1 = a, shape2 = g, scale = s), 273s + s^k * betaint(u, a + k/g, 1 - k/g)/Ga + 273s + limit^k * (1 - u^a)) 273s + }) 273s + limit <- qinvpareto(q, shape = a, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^(-1)) 273s + for (k in order[order < 1]) 273s + stopifnot(exprs = { 273s + All.eq(levinvpareto(limit, order = k, shape = a, scale = s), 273s + s^k * a * 273s + sapply(u, 273s + function(upper) 273s + integrate(function(x) x^(a+k-1) * (1-x)^(-k), 273s + lower = 0, upper = upper)$value) + 273s + limit^k * (1 - u^a)) 273s + }) 273s + limit <- qinvparalogis(q, shape = a, scale = s) 273s + y <- limit/s 273s + u <- 1/(1 + y^(-a)) 273s + for (k in order) 273s + stopifnot(exprs = { 273s + All.eq(levinvparalogis(limit, order = k, shape = a, scale = s), 273s + s^k * betaint(u, a + k/a, 1 - k/a)/Ga + 273s + limit^k * (1 - u^a)) 273s + }) 273s + } 273s + } 277s > 277s > ## 277s > ## TRANSFORMED GAMMA AND INVERSE TRANSFORMED GAMMA FAMILIES 277s > ## 277s > 277s > ## Density: first check that functions return 0 when scale = Inf, and 277s > ## when x = scale = Inf (transformed gamma), or when scale = 0 and 277s > ## when x = scale = 0 (inverse distributions). 277s > stopifnot(exprs = { 277s + dtrgamma (c(42, Inf), shape1 = 2, shape2 = 3, scale = Inf) == c(0, 0) 277s + dinvtrgamma(c(42, 0), shape1 = 2, shape2 = 3, scale = 0) == c(0, 0) 277s + dinvgamma (c(42, 0), shape = 2, scale = 0) == c(0, 0) 277s + dinvweibull(c(42, 0), shape = 3, scale = 0) == c(0, 0) 277s + dinvexp (c(42, 0), scale = 0) == c(0, 0) 277s + }) 277s > 277s > ## Tests on the density 277s > set.seed(123) # reset the seed 277s > nshpar <- 2 # (maximum) number of shape parameters 277s > shpar <- replicate(30, rgamma(nshpar, 5), simplify = FALSE) 277s > scpar <- rlnorm(30, 2) # scale parameters 277s > for (i in seq_along(shpar)) 278s + { 278s + a <- shpar[[c(i, 1)]]; t <- shpar[[c(i, 2)]] 278s + Ga <- gamma(a) 278s + for (s in scpar) 278s + { 278s + x <- rtrgamma(100, shape1 = a, shape2 = t, scale = s) 278s + y <- x/s 278s + u <- y^t 278s + stopifnot(exprs = { 278s + all.equal(d1 <- dtrgamma(x, shape1 = a, shape2 = t, 278s + scale = s), 278s + d2 <- dtrgamma(y, shape1 = a, shape2 = t, 278s + scale = 1)/s, 278s + tolerance = 1e-10) 278s + all.equal(d2, 278s + t/(Ga * s^(a * t)) * x^(a * t - 1) * exp(-u), 278s + tolerance = 1e-10) 278s + all.equal(d1, 278s + t/(Ga * x) * u^a * exp(-u), 278s + tolerance = 1e-10) 278s + }) 278s + x <- rinvtrgamma(100, shape1 = a, shape2 = t, scale = s) 278s + y <- x/s 278s + u <- y^(-t) 278s + stopifnot(exprs = { 278s + all.equal(d1 <- dinvtrgamma(x, shape1 = a, shape2 = t, 278s + scale = s), 278s + d2 <- dinvtrgamma(y, shape1 = a, shape2 = t, 278s + scale = 1)/s, 278s + tolerance = 1e-10) 278s + all.equal(d2, 278s + t * s^(a * t)/(Ga * x^(a * t + 1)) * exp(-u), 278s + tolerance = 1e-10) 278s + all.equal(d1, 278s + t/(Ga * x) * u^a * exp(-u), 278s + tolerance = 1e-10) 278s + }) 278s + x <- rinvgamma(100, shape = a, scale = s) 278s + y <- x/s 278s + u <- y^(-1) 278s + stopifnot(exprs = { 278s + all.equal(d1 <- dinvgamma(x, shape = a, scale = s), 278s + d2 <- dinvgamma(y, shape = a, scale = 1)/s, 278s + tolerance = 1e-10) 278s + all.equal(d2, 278s + s^a/(Ga * x^(a + 1)) * exp(-u), 278s + tolerance = 1e-10) 278s + all.equal(d1, 278s + 1/(Ga * x) * u^a * exp(-u), 278s + tolerance = 1e-10) 278s + }) 278s + x <- rinvweibull(100, shape = t, scale = s) 278s + y <- x/s 278s + u <- y^(-t) 278s + stopifnot(exprs = { 278s + all.equal(d1 <- dinvweibull(x, shape = t, scale = s), 278s + d2 <- dinvweibull(y, shape = t, scale = 1)/s, 278s + tolerance = 1e-10) 278s + all.equal(d2, 278s + t * s^t/x^(t + 1) * exp(-u), 278s + tolerance = 1e-10) 278s + all.equal(d1, 278s + t/x * u * exp(-u), 278s + tolerance = 1e-10) 278s + }) 278s + x <- rinvexp(100, scale = s) 278s + y <- x/s 278s + u <- y^(-1) 278s + stopifnot(exprs = { 278s + all.equal(d1 <- dinvexp(x, scale = s), 278s + d2 <- dinvexp(y, scale = 1)/s, 278s + tolerance = 1e-10) 278s + all.equal(d2, 278s + s/x^2 * exp(-u), 278s + tolerance = 1e-10) 278s + all.equal(d1, 278s + 1/x * u * exp(-u), 278s + tolerance = 1e-10) 278s + }) 278s + } 278s + } 278s > 278s > ## Tests on the cumulative distribution function. 278s > scLrg <- c(2, 100, 1e300 * c(0.1, 1, 10, 100), 1e307, xMax, Inf) 278s > stopifnot(exprs = { 278s + ptrgamma(Inf, 2, 3, scale = xMax) == 1 278s + ptrgamma(xMax, 2, 3, scale = xMax) == pgamma(1, 2, 1) 278s + ptrgamma(xMin, 2, 1, scale = 1) == pgamma(xMin, 2, 1) 278s + all.equal(ptrgamma(1e300, shape1 = 2, shape2 = 1, scale = scLrg, log = TRUE), 278s + pgamma(c(5e299, 1e+298, 10, 1, 0.1, 0.01, 1e-7, 1e+300/xMax, 0), 278s + 2, 1, log = TRUE)) 278s + }) 278s > scLrg <- c(2, 100, 1e300 * c(0.1, 1, 10, 100), 1e307, xMax, 0) 278s > stopifnot(exprs = { 278s + pinvtrgamma(Inf, 2, 3, scale = xMax) == 1 278s + pinvtrgamma(xMax, 2, 3, scale = xMax) == pgamma(1, 2, 1, lower = FALSE) 278s + pinvtrgamma(xMin, 2, 1, scale = 1) == pgamma(1/xMin, 2, 1, lower = FALSE) 278s + all.equal(pinvtrgamma(1e300, shape1 = 2, shape2 = 1, scale = scLrg, log = TRUE), 278s + pgamma(c(2e-300, 1e-298, 0.1, 1, 10, 100, 1e+7, xMax/1e+300, 0), 278s + 2, 1, lower = FALSE, log = TRUE)) 278s + }) 278s > stopifnot(exprs = { 278s + pinvgamma(Inf, 2, scale = xMax) == 1 278s + pinvgamma(xMax, 2, scale = xMax) == pgamma(1, 2, 1, lower = FALSE) 278s + pinvgamma(xMin, 2, scale = 1) == pgamma(1/xMin, 2, 1, lower = FALSE) 278s + all.equal(pinvgamma(1e300, shape = 2, scale = scLrg, log = TRUE), 278s + pgamma(c(2e-300, 1e-298, 0.1, 1, 10, 100, 1e+7, xMax/1e+300, 0), 278s + 2, 1, lower = FALSE, log = TRUE)) 278s + }) 278s > stopifnot(exprs = { 278s + pinvweibull(Inf, 3, scale = xMax) == 1 278s + pinvweibull(xMax, 3, scale = xMax) == exp(-1) 278s + pinvweibull(xMin, 1, scale = 1) == exp(-1/xMin) 278s + all.equal(pinvweibull(1e300, shape = 1, scale = scLrg, log = TRUE), 278s + -c(2e-300, 1e-298, 0.1, 1, 10, 100, 1e+7, xMax/1e+300, 0)) 278s + }) 278s > stopifnot(exprs = { 278s + pinvexp(Inf, 3, scale = xMax) == 1 278s + pinvexp(xMax, 3, scale = xMax) == exp(-1) 278s + pinvexp(xMin, 1, scale = 1) == exp(-1/xMin) 278s + all.equal(pinvexp(1e300, scale = scLrg, log = TRUE), 278s + -c(2e-300, 1e-298, 0.1, 1, 10, 100, 1e+7, xMax/1e+300, 0)) 278s + }) 278s > 278s > ## Tests for first three positive moments and first two negative 278s > ## moments. (Including for the Gamma, Weibull and Exponential 278s > ## distributions of base R.) 278s > ## 278s > ## Simulation of new parameters ensuring that said moments exist. 278s > set.seed(123) # reset the seed 278s > nshpar <- 2 # (maximum) number of shape parameters 278s > shpar <- replicate(30, c(3, 3) + rlnorm(nshpar, 2), simplify = FALSE) 278s > scpar <- rlnorm(30, 2) # scale parameters 278s > k <- c(-2, -1, 1, 2, 3) # orders 278s > for (i in seq_along(shpar)) 278s + { 278s + a <- shpar[[c(i, 1)]]; t <- shpar[[c(i, 2)]] 278s + Ga <- gamma(a) 278s + for (s in scpar) 278s + { 278s + stopifnot(exprs = { 278s + All.eq(mtrgamma(k, shape1 = a, shape2 = t, scale = s), 278s + s^k * gamma(a + k/t)/Ga) 278s + All.eq(mgamma(k, shape = a, scale = s), 278s + s^k * gamma(a + k)/Ga) 278s + All.eq(mweibull(k, shape = t, scale = s), 278s + s^k * gamma(1 + k/t)) 278s + All.eq(mexp(k[k > -1], rate = 1/s), 278s + s^k[k > -1] * gamma(1 + k[k > -1])) 278s + All.eq(minvtrgamma(k, shape1 = a, shape2 = t, scale = s), 278s + s^k * gamma(a - k/t)/Ga) 278s + All.eq(minvgamma(k, shape = a, scale = s), 278s + s^k * gamma(a - k)/Ga) 278s + All.eq(minvweibull(k, shape = t, scale = s), 278s + s^k * gamma(1 - k/t)) 278s + All.eq(minvexp(k[k < 1], scale = s), 278s + s^k[k < 1] * gamma(1 - k[k < 1])) 278s + }) 278s + } 278s + } 279s > 279s > ## Tests for first three positive limited moments and first two 279s > ## negative limited moments. (Including for the Gamma, Weibull and 279s > ## Exponential distributions of base R.) 279s > ## 279s > ## Limits are taken from quantiles of each distribution. 279s > order <- c(-2, -1, 1, 2, 3) # orders 279s > q <- c(0.25, 0.50, 0.75, 0.9, 0.95) # quantiles 279s > for (i in seq_along(shpar)) 279s + { 279s + a <- shpar[[c(i, 1)]]; t <- shpar[[c(i, 2)]] 279s + Ga <- gamma(a) 279s + for (s in scpar) 279s + { 279s + limit <- qtrgamma(q, shape1 = a, shape2 = t, scale = s) 279s + y <- limit/s 279s + u <- y^t 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levtrgamma(limit, order = k, shape1 = a, shape2 = t, scale = s), 279s + s^k * gamma(a + k/t)/Ga * pgamma(u, a + k/t, scale = 1) + 279s + limit^k * pgamma(u, a, scale = 1, lower = FALSE)) 279s + }) 279s + limit <- qgamma(q, shape = a, scale = s) 279s + y <- limit/s 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levgamma(limit, order = k, shape = a, scale = s), 279s + s^k * gamma(a + k)/Ga * pgamma(y, a + k, scale = 1) + 279s + limit^k * pgamma(y, a, scale = 1, lower = FALSE)) 279s + }) 279s + limit <- qweibull(q, shape = t, scale = s) 279s + y <- limit/s 279s + u <- y^t 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levweibull(limit, order = k, shape = t, scale = s), 279s + s^k * gamma(1 + k/t) * pgamma(u, 1 + k/t, scale = 1) + 279s + limit^k * pgamma(u, 1, scale = 1, lower = FALSE)) 279s + }) 279s + limit <- qexp(q, rate = 1/s) 279s + y <- limit/s 279s + for (k in order[order > -1]) 279s + stopifnot(exprs = { 279s + All.eq(levexp(limit, order = k, rate = 1/s), 279s + s^k * gamma(1 + k) * pgamma(y, 1 + k, scale = 1) + 279s + limit^k * pgamma(y, 1, scale = 1, lower = FALSE)) 279s + }) 279s + limit <- qinvtrgamma(q, shape1 = a, shape2 = t, scale = s) 279s + y <- limit/s 279s + u <- y^(-t) 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levinvtrgamma(limit, order = k, shape1 = a, shape2 = t, scale = s), 279s + s^k * (gammainc(a - k/t, u)/Ga) + 279s + limit^k * pgamma(u, a, scale = 1)) 279s + }) 279s + limit <- qinvgamma(q, shape = a, scale = s) 279s + y <- limit/s 279s + u <- y^(-1) 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levinvgamma(limit, order = k, shape = a, scale = s), 279s + s^k * (gammainc(a - k, u)/Ga) + 279s + limit^k * pgamma(u, a, scale = 1)) 279s + }) 279s + limit <- qinvweibull(q, shape = t, scale = s) 279s + y <- limit/s 279s + u <- y^(-t) 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levinvweibull(limit, order = k, shape = t, scale = s), 279s + s^k * gammainc(1 - k/t, u) + 279s + limit^k * (-expm1(-u))) 279s + }) 279s + limit <- qinvexp(q, scale = s) 279s + y <- limit/s 279s + u <- y^(-1) 279s + for (k in order) 279s + stopifnot(exprs = { 279s + All.eq(levinvexp(limit, order = k, scale = s), 279s + s^k * gammainc(1 - k, u) + 279s + limit^k * (-expm1(-u))) 279s + }) 279s + } 279s + } 282s > 282s > ## 282s > ## OTHER DISTRIBUTIONS 282s > ## 282s > 282s > ## Distributions in this category are quite different, so let's treat 282s > ## them separately. 282s > 282s > ## LOGGAMMA 282s > 282s > ## Tests on the density. 282s > stopifnot(exprs = { 282s + dlgamma(c(42, Inf), shapelog = 2, ratelog = 0) == c(0, 0) 282s + }) 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(dlgamma(c(0, 42, Inf), shapelog = 2, ratelog = Inf)) 282s + })) 282s > x <- rlgamma(100, shapelog = 2, ratelog = 1) 282s > for(a in round(rlnorm(30), 2)) 282s + { 282s + Ga <- gamma(a) 282s + for(r in round(rlnorm(30), 2)) 282s + stopifnot(exprs = { 282s + All.eq(dlgamma(x, shapelog = a, ratelog = r), 282s + r^a * (log(x))^(a - 1)/(Ga * x^(r + 1))) 282s + }) 282s + } 282s > 282s > ## Tests on the cumulative distribution function. 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(plgamma(Inf, 1, ratelog = Inf)) 282s + is.nan(plgamma(Inf, Inf, ratelog = Inf)) 282s + })) 282s > scLrg <- log(c(2, 100, 1e300 * c(0.1, 1, 10, 100), 1e307, xMax, Inf)) 282s > stopifnot(exprs = { 282s + plgamma(Inf, 2, ratelog = xMax) == 1 282s + plgamma(xMax, 2, ratelog = 0) == 0 282s + all.equal(plgamma(1e300, 2, ratelog = 1/scLrg, log = TRUE), 282s + pgamma(log(1e300), 2, scale = scLrg, log = TRUE)) 282s + }) 282s > 282s > ## Tests for first three positive moments and first two negative 282s > ## moments. 282s > k <- c(-2, -1, 1, 2, 3) # orders 282s > for(a in round(rlnorm(30), 2)) 282s + { 282s + Ga <- gamma(a) 282s + for(r in 3 + round(rlnorm(30), 2)) 282s + stopifnot(exprs = { 282s + All.eq(mlgamma(k, shapelog = a, ratelog = r), 282s + (1 - k/r)^(-a)) 282s + }) 282s + } 282s > 282s > ## Tests for first three positive limited moments and first two 282s > ## negative limited moments. 282s > order <- c(-2, -1, 1, 2, 3) # orders 282s > q <- c(0.25, 0.50, 0.75, 0.9, 0.95) # quantiles 282s > for(a in round(rlnorm(30), 2)) 282s + { 282s + Ga <- gamma(a) 282s + for(r in 3 + round(rlnorm(30), 2)) 282s + { 282s + limit <- qlgamma(q, shapelog = a, ratelog = r) 282s + for (k in order) 282s + { 282s + u <- log(limit) 282s + stopifnot(exprs = { 282s + All.eq(levlgamma(limit, order = k, shapelog = a, ratelog = r), 282s + (1 - k/r)^(-a) * pgamma((r - k) * u, a, scale = 1) + 282s + limit^k * pgamma(r * u, a, scale = 1,lower = FALSE)) 282s + }) 282s + } 282s + } 282s + } 282s > 282s > ## GUMBEL 282s > 282s > ## Tests on the density. 282s > stopifnot(exprs = { 282s + dgumbel(c(1, 3, Inf), alpha = 2, scale = Inf) == c(0, 0, 0) 282s + dgumbel(c(1, 2, 3), alpha = 2, scale = 0) == c(0, Inf, 0) 282s + dgumbel(c(-Inf, Inf), alpha = 1, scale = 1) == c(0, 0) 282s + dgumbel(1, alpha = Inf, scale = 1) == 0 282s + }) 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(dgumbel(Inf, alpha = Inf, scale = 1)) 282s + is.nan(dgumbel(-Inf, alpha = -Inf, scale = 1)) 282s + is.nan(dgumbel(Inf, alpha = 1, scale = -1)) 282s + is.nan(dgumbel(1, alpha = 1, scale = -1)) 282s + is.nan(dgumbel(1, alpha = Inf, scale = -1)) 282s + })) 282s > x <- rgumbel(100, alpha = 2, scale = 5) 282s > for(a in round(rlnorm(30), 2)) 282s + { 282s + Ga <- gamma(a) 282s + for(s in round(rlnorm(30), 2)) 282s + { 282s + u <- (x - a)/s 282s + stopifnot(exprs = { 282s + All.eq(dgumbel(x, alpha = a, scale = s), 282s + exp(-(u + exp(-u)))/s) 282s + }) 282s + } 282s + } 282s > 282s > ## Tests on the cumulative distribution function. 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(pgumbel(Inf, alpha = Inf, scale = 1)) 282s + is.nan(pgumbel(-Inf, alpha = -Inf, scale = 1)) 282s + is.nan(pgumbel(Inf, alpha = 1, scale = -1)) 282s + is.nan(pgumbel(1, alpha = 1, scale = -1)) 282s + is.nan(pgumbel(1, alpha = Inf, scale = -1)) 282s + })) 282s > scLrg <- c(2, 100, 1e300 * c(0.1, 1, 10, 100), 1e307, xMax, Inf) 282s > stopifnot(exprs = { 282s + pgumbel(c(-Inf, Inf), 2, scale = xMax) == c(0, 1) 282s + pgumbel(c(xMin, xMax), 2, scale = 0) == c(0, 1) 282s + all.equal(pgumbel(1e300, 0, scale = scLrg, log = TRUE), 282s + -exp(-c(5e299, 1e+298, 10, 1, 0.1, 0.01, 1e-7, 1e+300/xMax, 0))) 282s + }) 282s > 282s > ## Test the first two moments, the only ones implemented. 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(mgumbel(c(-2, -1, 3, 4), alpha = 2, scale = 5)) 282s + })) 282s > stopifnot(exprs = { 282s + All.eq(mgumbel(1, alpha = 2, scale = 5), 282s + 2 + 5 * 0.577215664901532860606512090082) 282s + All.eq(mgumbel(2, alpha = 2, scale = 5), 282s + pi^2 * 25/6 + (2 + 5 * 0.577215664901532860606512090082)^2) 282s + }) 282s > 282s > ## INVERSE GAUSSIAN 282s > 282s > ## Tests on the density. 282s > stopifnot(exprs = { 282s + dinvgauss(c(1, 3, Inf), mean = 2, dispersion = Inf) == c(0, 0, 0) 282s + dinvgauss(c(0, 42, Inf), mean = 2, dispersion = 0) == c(Inf, 0, 0) 282s + dinvgauss(c(0, Inf), mean = 1, dispersion = 1) == c(0, 0) 282s + dinvgauss(1, mean = Inf, dispersion = 2) == dinvgamma(1, 0.5, scale = 0.25) 282s + }) 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(dinvgauss(-Inf, mean = -1, dispersion = 1)) 282s + is.nan(dinvgauss(Inf, mean = 1, dispersion = -1)) 282s + is.nan(dinvgauss(1, mean = 1, dispersion = -1)) 282s + is.nan(dinvgauss(1, mean = Inf, dispersion = -1)) 282s + })) 282s > x <- rinvgauss(100, mean = 2, dispersion = 5) 282s > for(mu in round(rlnorm(30), 2)) 282s + { 282s + for(phi in round(rlnorm(30), 2)) 282s + stopifnot(exprs = { 282s + All.eq(dinvgauss(x, mean = mu, dispersion = phi), 282s + 1/sqrt(2*pi*phi*x^3) * exp(-((x/mu - 1)^2)/(2*phi*x))) 282s + }) 282s + } 282s > 282s > ## Tests on the cumulative distribution function. 282s > assertWarning(stopifnot(exprs = { 282s + is.nan(pinvgauss(-Inf, mean = -Inf, dispersion = 1)) 282s + is.nan(pinvgauss(Inf, mean = 1, dispersion = -1)) 282s + is.nan(pinvgauss(1, mean = Inf, dispersion = -1)) 282s + })) 282s > x <- c(1:50, 10^c(3:10, 20, 50, 150, 250)) 282s > sqx <- sqrt(x) 282s > stopifnot(exprs = { 282s + pinvgauss(c(0, Inf), mean = 2, dispersion = xMax) == c(0, 1) 282s + pinvgauss(c(0, xMax), mean = xMax, dispersion = 0) == c(0, 1) 282s + all.equal(pinvgauss(x, 1, dispersion = 1, log = TRUE), 282s + log(pnorm(sqx - 1/sqx) + exp(2) * pnorm(-sqx - 1/sqx))) 282s + }) 282s > 282s > ## Tests for small value of 'shape'. Added for the patch in 4294e9c. 282s > q <- runif(100) 282s > stopifnot(exprs = { 282s + all.equal(q, 282s + pinvgauss(qinvgauss(q, 0.1, 1e-2), 0.1, 1e-2)) 282s + all.equal(q, 282s + pinvgauss(qinvgauss(q, 0.1, 1e-6), 0.1, 1e-6)) 282s + }) 282s > 282s > ## Tests for first three positive, integer moments. 282s > k <- 1:3 282s > for(mu in round(rlnorm(30), 2)) 282s + { 282s + for(phi in round(rlnorm(30), 2)) 282s + stopifnot(exprs = { 282s + All.eq(minvgauss(k, mean = mu, dispersion = phi), 282s + c(mu, 282s + mu^2 * (1 + phi * mu), 282s + mu^3 * (1 + 3 * phi * mu + 3 * (phi * mu)^2))) 282s + }) 282s + } 282s > 282s > ## Tests for limited expected value. 282s > q <- c(0.25, 0.50, 0.75, 0.9, 0.95) # quantiles 282s > for(mu in round(rlnorm(30), 2)) 282s + { 282s + for(phi in round(rlnorm(30), 2)) 282s + { 282s + limit <- qinvgauss(q, mean = mu, dispersion = phi) 282s + stopifnot(exprs = { 282s + All.eq(levinvgauss(limit, mean = mu, dispersion = phi), 282s + mu * (pnorm((limit/mu - 1)/sqrt(phi * limit)) - 282s + exp(2/phi/mu) * pnorm(-(limit/mu + 1)/sqrt(phi * limit))) + 282s + limit * pinvgauss(limit, mean = mu, dispersion = phi, lower = FALSE)) 282s + }) 282s + } 282s + } 283s > 283s > ## GENERALIZED BETA 283s > stopifnot(exprs = { 283s + dgenbeta(c(0, 2.5, 5), shape1 = 0, shape2 = 0, shape3 = 3, scale = 5) == c(Inf, 0, Inf) 283s + dgenbeta(c(0, 2.5, 5), shape1 = 0, shape2 = 0, shape3 = 0, scale = 5) == c(Inf, 0, Inf) 283s + dgenbeta(c(0, 2.5, 5), shape1 = 0, shape2 = 2, shape3 = 0, scale = 5) == c(Inf, 0, 0) 283s + dgenbeta(c(0, 2.5, 5), shape1 = 0, shape2 = Inf, shape3 = 3, scale = 5) == c(Inf, 0, 0) 283s + dgenbeta(c(0, 2.5, 5), shape1 = 1, shape2 = Inf, shape3 = 3, scale = 5) == c(Inf, 0, 0) 283s + dgenbeta(c(0, 2.5, 5), shape1 = Inf, shape2 = Inf, shape3 = 3, scale = 5) == c(0, Inf, 0) 283s + dgenbeta(c(0, 2.5, 5), shape1 = Inf, shape2 = Inf, shape3 = Inf, scale = 5) == c(0, 0, Inf) 283s + }) 283s > nshpar <- 3 # number of shape parameters 283s > shpar <- replicate(30, rlnorm(nshpar, 2), simplify = FALSE) 283s > scpar <- rlnorm(30, 2) # scale parameters 283s > for (i in seq_along(shpar)) 283s + { 283s + a <- shpar[[c(i, 1)]]; b <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 283s + Be <- beta(a, b) 283s + for (s in scpar) 283s + { 283s + u <- rbeta(100, a, b) 283s + y <- u^(1/t) 283s + x <- s * y 283s + stopifnot(exprs = { 283s + all.equal(d1 <- dgenbeta(x, shape1 = a, shape2 = b, shape3 = t, 283s + scale = s), 283s + d2 <- dgenbeta(y, shape1 = a, shape2 = b, shape3 = t, 283s + scale = 1)/s, 283s + tolerance = 1e-10) 283s + all.equal(d1, 283s + t * y^(a*t - 1) * (1 - y^t)^(b - 1)/(s * Be), 283s + tolerance = 1e-10) 283s + all.equal(d1, 283s + t * u^a * (1 - u)^(b - 1)/(x * Be), 283s + tolerance = 1e-10) 283s + }) 283s + } 283s + } 283s > 283s > ## Tests on the cumulative distribution function. 283s > scLrg <- 1e300 * c(0.5, 1, 2, 4) 283s > stopifnot(exprs = { 283s + all.equal(pgenbeta(1e300, 283s + shape1 = 3, shape2 = 1, 283s + shape3 = rep(c(1, 2), each = length(scLrg)), 283s + scale = scLrg, log = TRUE), 283s + c(0, pbeta(c(1, 1/2, 1/4), 3, 1, log = TRUE), 283s + 0, pbeta(c(1, 1/4, 1/16), 3, 1, log = TRUE))) 283s + }) 283s > 283s > ## Tests for first three positive moments and first two negative 283s > ## moments. 283s > ## 283s > ## Simulation of new parameters ensuring that said moments exist. 283s > set.seed(123) # reset the seed 283s > nshpar <- 3 # number of shape parameters 283s > shpar <- replicate(30, sqrt(c(3, 0, 3)) + rlnorm(nshpar, 2), simplify = FALSE) 283s > scpar <- rlnorm(30, 2) # scale parameters 283s > k <- c(-2, -1, 1, 2, 3) # orders 283s > for (i in seq_along(shpar)) 283s + { 283s + a <- shpar[[c(i, 1)]]; b <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 283s + Be <- beta(a, b) 283s + for (s in scpar) 283s + stopifnot(exprs = { 283s + All.eq(mgenbeta(k, shape1 = a, shape2 = b, shape3 = t, scale = s), 283s + s^k * beta(a + k/t, b)/Be) 283s + }) 283s + } 283s > 283s > ## Tests for first three positive limited moments and first two 283s > ## negative limited moments. 283s > ## 283s > ## Simulation of new parameters ensuring that said moments exist. 283s > order <- c(-2, -1, 1, 2, 3) # orders 283s > q <- c(0.25, 0.50, 0.75, 0.9, 0.95) # quantiles 283s > for (i in seq_along(shpar)) 283s + { 283s + a <- shpar[[c(i, 1)]]; g <- shpar[[c(i, 2)]]; t <- shpar[[c(i, 3)]] 283s + Be <- beta(a, b) 283s + for (s in scpar) 283s + { 283s + limit <- qgenbeta(q, shape1 = a, shape2 = b, shape3 = t, scale = s) 283s + u <- (limit/s)^t 283s + for (k in order) 283s + stopifnot(exprs = { 283s + All.eq(levgenbeta(limit, order = k, shape1 = a, shape2 = b, shape3 = t, scale = s), 283s + s^k * beta(a + k/t, b)/Be * pbeta(u, a + k/t, b) + 283s + limit^k * pbeta(u, a, b, lower = FALSE)) 283s + }) 283s + } 283s + } 284s > 284s > ## 284s > ## RANDOM NUMBERS (all continuous distributions) 284s > ## 284s > set.seed(123) 284s > n <- 20 284s > m <- rnorm(1) 284s > 284s > ## Generate variates 284s > Rfpareto <- rfpareto(n, min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > Rpareto4 <- rpareto4(n, min = m, shape1 = 0.8, shape2 = 1.5, scale = 2) 284s > Rpareto3 <- rpareto3(n, min = m, shape = 1.5, scale = 2) 284s > Rpareto2 <- rpareto2(n, min = m, shape = 0.8, scale = 2) 284s > Rtrbeta <- rtrbeta (n, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > Rburr <- rburr (n, shape1 = 0.8, shape2 = 1.5, scale = 2) 284s > Rllogis <- rllogis (n, shape = 1.5, scale = 2) 284s > Rparalogis <- rparalogis (n, shape = 0.8, scale = 2) 284s > Rgenpareto <- rgenpareto (n, shape1 = 0.8, shape2 = 2, scale = 2) 284s > Rpareto <- rpareto (n, shape = 0.8, scale = 2) 284s > Rpareto1 <- rpareto1 (n, shape = 0.8, min = 2) 284s > Rinvburr <- rinvburr (n, shape1 = 1.5, shape2 = 2, scale = 2) 284s > Rinvpareto <- rinvpareto (n, shape = 2, scale = 2) 284s > Rinvparalogis <- rinvparalogis(n, shape = 2, scale = 2) 284s > Rtrgamma <- rtrgamma (n, shape1 = 2, shape2 = 3, scale = 5) 284s > Rinvtrgamma <- rinvtrgamma (n, shape1 = 2, shape2 = 3, scale = 5) 284s > Rinvgamma <- rinvgamma (n, shape = 2, scale = 5) 284s > Rinvweibull <- rinvweibull (n, shape = 3, scale = 5) 284s > Rinvexp <- rinvexp (n, scale = 5) 284s > Rlgamma <- rlgamma(n, shapelog = 1.5, ratelog = 5) 284s > Rgumbel <- rgumbel(n, alpha = 2, scale = 5) 284s > Rinvgauss <- rinvgauss(n, mean = 2, dispersion = 5) 284s > Rgenbeta <- rgenbeta(n, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > 284s > ## Compute quantiles 284s > Pfpareto <- pfpareto(Rfpareto, min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > Ppareto4 <- ppareto4(Rpareto4, min = m, shape1 = 0.8, shape2 = 1.5, scale = 2) 284s > Ppareto3 <- ppareto3(Rpareto3, min = m, shape = 1.5, scale = 2) 284s > Ppareto2 <- ppareto2(Rpareto2, min = m, shape = 0.8, scale = 2) 284s > Ptrbeta <- ptrbeta (Rtrbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > Pburr <- pburr (Rburr, shape1 = 0.8, shape2 = 1.5, scale = 2) 284s > Pllogis <- pllogis (Rllogis, shape = 1.5, scale = 2) 284s > Pparalogis <- pparalogis (Rparalogis, shape = 0.8, scale = 2) 284s > Pgenpareto <- pgenpareto (Rgenpareto, shape1 = 0.8, shape2 = 2, scale = 2) 284s > Ppareto <- ppareto (Rpareto, shape = 0.8, scale = 2) 284s > Ppareto1 <- ppareto1 (Rpareto1, shape = 0.8, min = 2) 284s > Pinvburr <- pinvburr (Rinvburr, shape1 = 1.5, shape2 = 2, scale = 2) 284s > Pinvpareto <- pinvpareto (Rinvpareto, shape = 2, scale = 2) 284s > Pinvparalogis <- pinvparalogis(Rinvparalogis, shape = 2, scale = 2) 284s > Ptrgamma <- ptrgamma (Rtrgamma, shape1 = 2, shape2 = 3, scale = 5) 284s > Pinvtrgamma <- pinvtrgamma (Rinvtrgamma, shape1 = 2, shape2 = 3, scale = 5) 284s > Pinvgamma <- pinvgamma (Rinvgamma, shape = 2, scale = 5) 284s > Pinvweibull <- pinvweibull (Rinvweibull, shape = 3, scale = 5) 284s > Pinvexp <- pinvexp (Rinvexp, scale = 5) 284s > Plgamma <- plgamma(Rlgamma, shapelog = 1.5, ratelog = 5) 284s > Pgumbel <- pgumbel(Rgumbel, alpha = 2, scale = 5) 284s > Pinvgauss <- pinvgauss(Rinvgauss, mean = 2, dispersion = 5) 284s > Pgenbeta <- pgenbeta(Rgenbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > 284s > ## Just compute pdf 284s > Dfpareto <- dfpareto(Rfpareto, min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > Dpareto4 <- dpareto4(Rpareto4, min = m, shape1 = 0.8, shape2 = 1.5, scale = 2) 284s > Dpareto3 <- dpareto3(Rpareto3, min = m, shape = 1.5, scale = 2) 284s > Dpareto2 <- dpareto2(Rpareto2, min = m, shape = 0.8, scale = 2) 284s > Dtrbeta <- dtrbeta (Rtrbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > Dburr <- dburr (Rburr, shape1 = 0.8, shape2 = 1.5, scale = 2) 284s > Dllogis <- dllogis (Rllogis, shape = 1.5, scale = 2) 284s > Dparalogis <- dparalogis (Rparalogis, shape = 0.8, scale = 2) 284s > Dgenpareto <- dgenpareto (Rgenpareto, shape1 = 0.8, shape2 = 2, scale = 2) 284s > Dpareto <- dpareto (Rpareto, shape = 0.8, scale = 2) 284s > Dpareto1 <- dpareto1 (Rpareto1, shape = 0.8, min = 2) 284s > Dinvburr <- dinvburr (Rinvburr, shape1 = 1.5, shape2 = 2, scale = 2) 284s > Dinvpareto <- dinvpareto (Rinvpareto, shape = 2, scale = 2) 284s > Dinvparalogis <- dinvparalogis(Rinvparalogis, shape = 2, scale = 2) 284s > Dtrgamma <- dtrgamma (Rtrgamma, shape1 = 2, shape2 = 3, scale = 5) 284s > Dinvtrgamma <- dinvtrgamma (Rinvtrgamma, shape1 = 2, shape2 = 3, scale = 5) 284s > Dinvgamma <- dinvgamma (Rinvtrgamma, shape = 2, scale = 5) 284s > Dinvweibull <- dinvweibull (Rinvweibull, shape = 3, scale = 5) 284s > Dinvexp <- dinvexp (Rinvexp, scale = 5) 284s > Dlgamma <- dlgamma(Rlgamma, shapelog = 1.5, ratelog = 5) 284s > Dgumbel <- dgumbel(Rgumbel, alpha = 2, scale = 5) 284s > Dinvgauss <- dinvgauss(Rinvgauss, mean = 2, dispersion = 5) 284s > Dgenbeta <- dgenbeta(Rgenbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2) 284s > 284s > ## Check q(p(.)) identity 284s > stopifnot(exprs = { 284s + All.eq(Rfpareto, qfpareto(Pfpareto, min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2)) 284s + All.eq(Rpareto4, qpareto4(Ppareto4, min = m, shape1 = 0.8, shape2 = 1.5, scale = 2)) 284s + All.eq(Rpareto3, qpareto3(Ppareto3, min = m, shape = 1.5, scale = 2)) 284s + All.eq(Rpareto2, qpareto2(Ppareto2, min = m, shape = 0.8, scale = 2)) 284s + All.eq(Rtrbeta, qtrbeta (Ptrbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2)) 284s + All.eq(Rburr, qburr (Pburr, shape1 = 0.8, shape2 = 1.5, scale = 2)) 284s + All.eq(Rllogis, qllogis (Pllogis, shape = 1.5, scale = 2)) 284s + All.eq(Rparalogis, qparalogis (Pparalogis, shape = 0.8, scale = 2)) 284s + All.eq(Rgenpareto, qgenpareto (Pgenpareto, shape1 = 0.8, shape2 = 2, scale = 2)) 284s + All.eq(Rpareto, qpareto (Ppareto, shape = 0.8, scale = 2)) 284s + All.eq(Rpareto1, qpareto1 (Ppareto1, shape = 0.8, min = 2)) 284s + All.eq(Rinvburr, qinvburr (Pinvburr, shape1 = 1.5, shape2 = 2, scale = 2)) 284s + All.eq(Rinvpareto, qinvpareto (Pinvpareto, shape = 2, scale = 2)) 284s + All.eq(Rinvparalogis, qinvparalogis(Pinvparalogis, shape = 2, scale = 2)) 284s + All.eq(Rtrgamma, qtrgamma (Ptrgamma, shape1 = 2, shape2 = 3, scale = 5)) 284s + All.eq(Rinvtrgamma, qinvtrgamma (Pinvtrgamma, shape1 = 2, shape2 = 3, scale = 5)) 284s + All.eq(Rinvgamma, qinvgamma (Pinvgamma, shape = 2, scale = 5)) 284s + All.eq(Rinvweibull, qinvweibull (Pinvweibull, shape = 3, scale = 5)) 284s + All.eq(Rinvexp, qinvexp (Pinvexp, scale = 5)) 284s + All.eq(Rlgamma, qlgamma(Plgamma, shapelog = 1.5, ratelog = 5)) 284s + All.eq(Rgumbel, qgumbel(Pgumbel, alpha = 2, scale = 5)) 284s + All.eq(Rinvgauss, qinvgauss(Pinvgauss, mean = 2, dispersion = 5)) 284s + All.eq(Rgenbeta, qgenbeta(Pgenbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2)) 284s + }) 284s > 284s > ## Check q(p(.)) identity for special cases 284s > stopifnot(exprs = { 284s + All.eq(Rfpareto - m, qtrbeta(Pfpareto, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2)) 284s + All.eq(Rpareto4 - m, qburr (Ppareto4, shape1 = 0.8, shape2 = 1.5, scale = 2)) 284s + All.eq(Rpareto3 - m, qllogis(Ppareto3, shape = 1.5, scale = 2)) 284s + All.eq(Rpareto2 - m, qpareto(Ppareto2, shape = 0.8, scale = 2)) 284s + }) 284s > 284s > ## Check q(p(.)) identity with upper tail 284s > stopifnot(exprs = { 284s + All.eq(Rfpareto, qfpareto(1 - Pfpareto, min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, lower = FALSE)) 284s + All.eq(Rpareto4, qpareto4(1 - Ppareto4, min = m, shape1 = 0.8, shape2 = 1.5, scale = 2, lower = FALSE)) 284s + All.eq(Rpareto3, qpareto3(1 - Ppareto3, min = m, shape = 1.5, scale = 2, lower = FALSE)) 284s + All.eq(Rpareto2, qpareto2(1 - Ppareto2, min = m, shape = 0.8, scale = 2, lower = FALSE)) 284s + All.eq(Rtrbeta, qtrbeta (1 - Ptrbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, lower = FALSE)) 284s + All.eq(Rburr, qburr (1 - Pburr, shape1 = 0.8, shape2 = 1.5, scale = 2, lower = FALSE)) 284s + All.eq(Rllogis, qllogis (1 - Pllogis, shape = 1.5, scale = 2, lower = FALSE)) 284s + All.eq(Rparalogis, qparalogis (1 - Pparalogis, shape = 0.8, scale = 2, lower = FALSE)) 284s + All.eq(Rgenpareto, qgenpareto (1 - Pgenpareto, shape1 = 0.8, shape2 = 2, scale = 2, lower = FALSE)) 284s + All.eq(Rpareto, qpareto (1 - Ppareto, shape = 0.8, scale = 2, lower = FALSE)) 284s + All.eq(Rpareto1, qpareto1 (1 - Ppareto1, shape = 0.8, min = 2, lower = FALSE)) 284s + All.eq(Rinvburr, qinvburr (1 - Pinvburr, shape1 = 1.5, shape2 = 2, scale = 2, lower = FALSE)) 284s + All.eq(Rinvpareto, qinvpareto (1 - Pinvpareto, shape = 2, scale = 2, lower = FALSE)) 284s + All.eq(Rinvparalogis, qinvparalogis(1 - Pinvparalogis, shape = 2, scale = 2, lower = FALSE)) 284s + All.eq(Rtrgamma, qtrgamma (1 - Ptrgamma, shape1 = 2, shape2 = 3, scale = 5, lower = FALSE)) 284s + All.eq(Rinvtrgamma, qinvtrgamma (1 - Pinvtrgamma, shape1 = 2, shape2 = 3, scale = 5, lower = FALSE)) 284s + All.eq(Rinvgamma, qinvgamma (1 - Pinvgamma, shape = 2, scale = 5, lower = FALSE)) 284s + All.eq(Rinvweibull, qinvweibull (1 - Pinvweibull, shape = 3, scale = 5, lower = FALSE)) 284s + All.eq(Rinvexp, qinvexp (1 - Pinvexp, scale = 5, lower = FALSE)) 284s + All.eq(Rlgamma, qlgamma(1 - Plgamma, shapelog = 1.5, ratelog = 5, lower = FALSE)) 284s + All.eq(Rgumbel, qgumbel(1 - Pgumbel, alpha = 2, scale = 5, lower = FALSE)) 284s + All.eq(Rinvgauss, qinvgauss(1 - Pinvgauss, mean = 2, dispersion = 5, lower = FALSE)) 284s + All.eq(Rgenbeta, qgenbeta(1 - Pgenbeta, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, lower = FALSE)) 284s + }) 284s > 284s > ## Check q(p(., log), log) identity 284s > stopifnot(exprs = { 284s + All.eq(Rfpareto, qfpareto(log(Pfpareto), min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, log = TRUE)) 284s + All.eq(Rpareto4, qpareto4(log(Ppareto4), min = m, shape1 = 0.8, shape2 = 1.5, scale = 2, log = TRUE)) 284s + All.eq(Rpareto3, qpareto3(log(Ppareto3), min = m, shape = 1.5, scale = 2, log = TRUE)) 284s + All.eq(Rpareto2, qpareto2(log(Ppareto2), min = m, shape = 0.8, scale = 2, log = TRUE)) 284s + All.eq(Rtrbeta, qtrbeta (log(Ptrbeta), shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, log = TRUE)) 284s + All.eq(Rburr, qburr (log(Pburr), shape1 = 0.8, shape2 = 1.5, scale = 2, log = TRUE)) 284s + All.eq(Rllogis, qllogis (log(Pllogis), shape = 1.5, scale = 2, log = TRUE)) 284s + All.eq(Rparalogis, qparalogis (log(Pparalogis), shape = 0.8, scale = 2, log = TRUE)) 284s + All.eq(Rgenpareto, qgenpareto (log(Pgenpareto), shape1 = 0.8, shape2 = 2, scale = 2, log = TRUE)) 284s + All.eq(Rpareto, qpareto (log(Ppareto), shape = 0.8, scale = 2, log = TRUE)) 284s + All.eq(Rpareto1, qpareto1 (log(Ppareto1), shape = 0.8, min = 2, log = TRUE)) 284s + All.eq(Rinvburr, qinvburr (log(Pinvburr), shape1 = 1.5, shape2 = 2, scale = 2, log = TRUE)) 284s + All.eq(Rinvpareto, qinvpareto (log(Pinvpareto), shape = 2, scale = 2, log = TRUE)) 284s + All.eq(Rinvparalogis, qinvparalogis(log(Pinvparalogis), shape = 2, scale = 2, log = TRUE)) 284s + All.eq(Rtrgamma, qtrgamma (log(Ptrgamma), shape1 = 2, shape2 = 3, scale = 5, log = TRUE)) 284s + All.eq(Rinvtrgamma, qinvtrgamma (log(Pinvtrgamma), shape1 = 2, shape2 = 3, scale = 5, log = TRUE)) 284s + All.eq(Rinvgamma, qinvgamma (log(Pinvgamma), shape = 2, scale = 5, log = TRUE)) 284s + All.eq(Rinvweibull, qinvweibull (log(Pinvweibull), shape = 3, scale = 5, log = TRUE)) 284s + All.eq(Rinvexp, qinvexp (log(Pinvexp), scale = 5, log = TRUE)) 284s + All.eq(Rlgamma, qlgamma(log(Plgamma), shapelog = 1.5, ratelog = 5, log = TRUE)) 284s + All.eq(Rgumbel, qgumbel(log(Pgumbel), alpha = 2, scale = 5, log = TRUE)) 284s + All.eq(Rinvgauss, qinvgauss(log(Pinvgauss), mean = 2, dispersion = 5, log = TRUE)) 284s + All.eq(Rgenbeta, qgenbeta(log(Pgenbeta), shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, log = TRUE)) 284s + }) 284s > 284s > ## Check q(p(., log), log) identity with upper tail 284s > stopifnot(exprs = { 284s + All.eq(Rfpareto, qfpareto(log1p(-Pfpareto), min = m, shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rpareto4, qpareto4(log1p(-Ppareto4), min = m, shape1 = 0.8, shape2 = 1.5, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rpareto3, qpareto3(log1p(-Ppareto3), min = m, shape = 1.5, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rpareto2, qpareto2(log1p(-Ppareto2), min = m, shape = 0.8, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rtrbeta, qtrbeta (log1p(-Ptrbeta), shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rburr, qburr (log1p(-Pburr), shape1 = 0.8, shape2 = 1.5, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rllogis, qllogis (log1p(-Pllogis), shape = 1.5, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rparalogis, qparalogis (log1p(-Pparalogis), shape = 0.8, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rgenpareto, qgenpareto (log1p(-Pgenpareto), shape1 = 0.8, shape2 = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rpareto, qpareto (log1p(-Ppareto), shape = 0.8, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rpareto1, qpareto1 (log1p(-Ppareto1), shape = 0.8, min = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvburr, qinvburr (log1p(-Pinvburr), shape1 = 1.5, shape2 = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvpareto, qinvpareto (log1p(-Pinvpareto), shape = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvparalogis, qinvparalogis(log1p(-Pinvparalogis), shape = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + All.eq(Rtrgamma, qtrgamma (log1p(-Ptrgamma), shape1 = 2, shape2 = 3, scale = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvtrgamma, qinvtrgamma (log1p(-Pinvtrgamma), shape1 = 2, shape2 = 3, scale = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvgamma, qinvgamma (log1p(-Pinvgamma), shape = 2, scale = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvweibull, qinvweibull (log1p(-Pinvweibull), shape = 3, scale = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvexp, qinvexp (log1p(-Pinvexp), scale = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rlgamma, qlgamma(log1p(-Plgamma), shapelog = 1.5, ratelog = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rgumbel, qgumbel(log1p(-Pgumbel), alpha = 2, scale = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rinvgauss, qinvgauss(log1p(-Pinvgauss), mean = 2, dispersion = 5, lower = FALSE, log = TRUE)) 284s + All.eq(Rgenbeta, qgenbeta(log1p(-Pgenbeta), shape1 = 0.8, shape2 = 1.5, shape3 = 2, scale = 2, lower = FALSE, log = TRUE)) 284s + }) 284s > 284s > 284s > ### 284s > ### DISCRETE DISTRIBUTIONS 284s > ### 284s > 284s > ## Reset seed 284s > set.seed(123) 284s > 284s > ## Define a small function to compute probabilities for the (a, b, 1) 284s > ## family of discrete distributions using the recursive relation 284s > ## 284s > ## p[k] = (a + b/k)p[k - 1], k = 2, 3, ... 284s > ## 284s > ## for a, b and p[1] given. 284s > dab1 <- function(x, a, b, p1) 284s + { 284s + x <- floor(x) 284s + if (x < 1) 284s + stop("recursive computations possible for x >= 2 only") 284s + for (k in seq(2, length.out = x - 1)) 284s + { 284s + p2 <- (a + b/k) * p1 284s + p1 <- p2 284s + } 284s + p1 284s + } 284s > 284s > ## ZERO-TRUNCATED (a, b, 1) CLASS 284s > 284s > ## Tests on the probability mass function: 284s > ## 284s > ## 1. probability is 0 at x = 0; 284s > ## 2. pmf satisfies the recursive relation 284s > lambda <- rlnorm(30, 2) # Poisson parameters 284s > r <- lambda # size for negative binomial 284s > prob <- runif(30) # probs 284s > size <- round(lambda) # size for binomial 284s > stopifnot(exprs = { 284s + dztpois(0, lambda) == 0 284s + dztnbinom(0, r, prob) == 0 284s + dztgeom(0, prob) == 0 284s + dztbinom(0, size, prob) == 0 284s + dlogarithmic(0, prob) == 0 284s + }) 284s > 284s > x <- sapply(size, sample, size = 1) 284s > stopifnot(exprs = { 284s + All.eq(dztpois(x, lambda), 284s + mapply(dab1, x, 284s + a = 0, 284s + b = lambda, 284s + p1 = lambda/(exp(lambda) - 1))) 284s + All.eq(dztnbinom(x, r, prob), 284s + mapply(dab1, x, 284s + a = 1 - prob, 284s + b = (r - 1) * (1 - prob), 284s + p1 = r * prob^r * (1 - prob)/(1 - prob^r))) 284s + All.eq(dztgeom(x, prob), 284s + mapply(dab1, x, 284s + a = 1 - prob, 284s + b = 0, 284s + p1 = prob)) 284s + All.eq(dztbinom(x, size, prob), 284s + mapply(dab1, x, 284s + a = -prob/(1 - prob), 284s + b = (size + 1) * prob/(1 - prob), 284s + p1 = size * prob * (1 - prob)^(size - 1)/(1 - (1 - prob)^size))) 284s + All.eq(dlogarithmic(x, prob), 284s + mapply(dab1, x, 284s + a = prob, 284s + b = -prob, 284s + p1 = -prob/log1p(-prob))) 284s + }) 284s > 284s > ## Tests on cumulative distribution function. 284s > for (l in lambda) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dztpois(0:20, l)), 284s + pztpois(0:20, l), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(r)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dztnbinom(0:20, r[i], prob[i])), 284s + pztnbinom(0:20, r[i], prob[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(r)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dztgeom(0:20, prob[i])), 284s + pztgeom(0:20, prob[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(size)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dztbinom(0:20, size[i], prob[i])), 284s + pztbinom(0:20, size[i], prob[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (p in prob) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dlogarithmic(0:20, p)), 284s + plogarithmic(0:20, p), 284s + tolerance = 1e-8) 284s + }) 284s > 284s > ## ZERO-MODIFIED (a, b, 1) CLASS 284s > 284s > ## Tests on the probability mass function: 284s > ## 284s > ## 1. probability is p0 at x = 0 (trivial, but...); 284s > ## 2. pmf satisfies the recursive relation 284s > lambda <- rlnorm(30, 2) # Poisson parameters 284s > r <- lambda # size for negative binomial 284s > prob <- runif(30) # probs 284s > size <- round(lambda) # size for binomial 284s > p0 <- runif(30) # probs at 0 284s > stopifnot(exprs = { 284s + dzmpois(0, lambda, p0) == p0 284s + dzmnbinom(0, r, prob, p0) == p0 284s + dzmgeom(0, prob, p0) == p0 284s + dzmbinom(0, size, prob, p0) == p0 284s + dzmlogarithmic(0, prob, p0) == p0 284s + }) 284s > 284s > x <- sapply(size, sample, size = 1) 284s > stopifnot(exprs = { 284s + All.eq(dzmpois(x, lambda, p0), 284s + mapply(dab1, x, 284s + a = 0, 284s + b = lambda, 284s + p1 = (1 - p0) *lambda/(exp(lambda) - 1))) 284s + All.eq(dzmnbinom(x, r, prob, p0), 284s + mapply(dab1, x, 284s + a = 1 - prob, 284s + b = (r - 1) * (1 - prob), 284s + p1 = (1 - p0) * r * prob^r * (1 - prob)/(1 - prob^r))) 284s + All.eq(dzmgeom(x, prob, p0), 284s + mapply(dab1, x, 284s + a = 1 - prob, 284s + b = 0, 284s + p1 = (1 - p0) * prob)) 284s + All.eq(dzmbinom(x, size, prob, p0), 284s + mapply(dab1, x, 284s + a = -prob/(1 - prob), 284s + b = (size + 1) * prob/(1 - prob), 284s + p1 = (1 - p0) * size * prob * (1 - prob)^(size - 1)/(1 - (1 - prob)^size))) 284s + All.eq(dzmlogarithmic(x, prob, p0), 284s + mapply(dab1, x, 284s + a = prob, 284s + b = -prob, 284s + p1 = -(1 - p0) * prob/log1p(-prob))) 284s + }) 284s > 284s > ## Tests on cumulative distribution function. 284s > for (i in seq_along(lambda)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dzmpois(0:20, lambda[i], p0 = p0[i])), 284s + pzmpois(0:20, lambda[i], p0 = p0[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(r)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dzmnbinom(0:20, r[i], prob[i], p0[i])), 284s + pzmnbinom(0:20, r[i], prob[i], p0[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(r)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dzmgeom(0:20, prob[i], p0[i])), 284s + pzmgeom(0:20, prob[i], p0[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(size)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dzmbinom(0:20, size[i], prob[i], p0[i])), 284s + pzmbinom(0:20, size[i], prob[i], p0[i]), 284s + tolerance = 1e-8) 284s + }) 284s > for (i in seq_along(prob)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dzmlogarithmic(0:20, prob[i], p0[i])), 284s + pzmlogarithmic(0:20, prob[i], p0[i]), 284s + tolerance = 1e-8) 284s + }) 284s > 284s > ## POISSON-INVERSE GAUSSIAN 284s > 284s > ## Reset seed 284s > set.seed(123) 284s > 284s > ## Define a small function to compute probabilities for the PIG 284s > ## directly using the Bessel function. 284s > dpigBK <- function(x, mu, phi) 284s + { 284s + M_LN2 <- 0.693147180559945309417232121458 284s + M_SQRT_2dPI <- 0.225791352644727432363097614947 284s + 284s + phimu <- phi * mu 284s + lphi <- log(phi) 284s + y <- x - 0.5 284s + 284s + logA = -lphi/2 - M_SQRT_2dPI 284s + logB = (M_LN2 + lphi + log1p(1/(2 * phimu * mu)))/2; 284s + 284s + exp(logA + 1/phimu - lfactorial(x) - y * logB) * 284s + besselK(exp(logB - lphi), y) 284s + } 284s > 284s > ## Tests on the probability mass function. 284s > mu <- rlnorm(30, 2) 284s > phi <- rlnorm(30, 2) 284s > x <- 0:100 284s > for (i in seq_along(phi)) 284s + { 284s + stopifnot(exprs = { 284s + all.equal(dpoisinvgauss(x, mean = mu[i], dispersion = phi[i]), 284s + dpigBK(x, mu[i], phi[i])) 284s + all.equal(dpoisinvgauss(x, mean = Inf, dispersion = phi[i]), 284s + dpigBK(x, Inf, phi[i])) 284s + }) 284s + } 284s > 284s > ## Tests on cumulative distribution function. 284s > for (i in seq_along(phi)) 284s + stopifnot(exprs = { 284s + all.equal(cumsum(dpoisinvgauss(0:20, mu[i], phi[i])), 284s + ppoisinvgauss(0:20, mu[i], phi[i]), 284s + tolerance = 1e-8) 284s + all.equal(cumsum(dpoisinvgauss(0:20, Inf, phi[i])), 284s + ppoisinvgauss(0:20, Inf, phi[i]), 284s + tolerance = 1e-8) 284s + }) 284s > 284s > ## 284s > ## RANDOM NUMBERS (all discrete distributions) 284s > ## 284s > set.seed(123) 284s > n <- 20 284s > 284s > ## Generate variates. 284s > ## 284s > ## For zero-modified distributions, we simulate two sets of values: 284s > ## one with p0m < p0 (suffix 'p0lt') and one with p0m > p0 (suffix 284s > ## 'p0gt'). 284s > Rztpois <- rztpois (n, lambda = 12) 284s > Rztnbinom <- rztnbinom (n, size = 7, prob = 0.01) 284s > Rztgeom <- rztgeom (n, prob = pi/16) 284s > Rztbinom <- rztbinom (n, size = 55, prob = pi/16) 284s > Rlogarithmic <- rlogarithmic(n, prob = 0.99) 284s > Rzmpoisp0lt <- rzmpois (n, lambda = 6, p0 = 0.001) 284s > Rzmpoisp0gt <- rzmpois (n, lambda = 6, p0 = 0.010) 284s > Rzmnbinomp0lt <- rzmnbinom (n, size = 7, prob = 0.8, p0 = 0.01) 284s > Rzmnbinomp0gt <- rzmnbinom (n, size = 7, prob = 0.8, p0 = 0.40) 284s > Rzmgeomp0lt <- rzmgeom (n, prob = pi/16, p0 = 0.01) 284s > Rzmgeomp0gt <- rzmgeom (n, prob = pi/16, p0 = 0.40) 284s > Rzmbinomp0lt <- rzmbinom (n, size = 12, prob = pi/16, p0 = 0.01) 284s > Rzmbinomp0gt <- rzmbinom (n, size = 12, prob = pi/16, p0 = 0.12) 284s > Rzmlogarithmicp0lt <- rzmlogarithmic(n, prob = 0.99, p0 = 0.05) 284s > Rzmlogarithmicp0gt <- rzmlogarithmic(n, prob = 0.99, p0 = 0.55) 284s > Rpoisinvgauss <- rpoisinvgauss(n, mean = 12, dispersion = 0.1) 284s > RpoisinvgaussInf <- rpoisinvgauss(n, mean = Inf, dispersion = 1.1) 284s > 284s > ## Compute quantiles 284s > Pztpois <- pztpois (Rztpois, lambda = 12) 284s > Pztnbinom <- pztnbinom (Rztnbinom, size = 7, prob = 0.01) 284s > Pztgeom <- pztgeom (Rztgeom, prob = pi/16) 284s > Pztbinom <- pztbinom (Rztbinom, size = 55, prob = pi/16) 284s > Plogarithmic <- plogarithmic(Rlogarithmic, prob = 0.99) 284s > Pzmpoisp0lt <- pzmpois (Rzmpoisp0lt, lambda = 6, p0 = 0.001) 284s > Pzmpoisp0gt <- pzmpois (Rzmpoisp0gt, lambda = 6, p0 = 0.010) 284s > Pzmnbinomp0lt <- pzmnbinom (Rzmnbinomp0lt, size = 7, prob = 0.8, p0 = 0.01) 284s > Pzmnbinomp0gt <- pzmnbinom (Rzmnbinomp0gt, size = 7, prob = 0.8, p0 = 0.40) 284s > Pzmgeomp0lt <- pzmgeom (Rzmgeomp0lt, prob = pi/16, p0 = 0.01) 284s > Pzmgeomp0gt <- pzmgeom (Rzmgeomp0gt, prob = pi/16, p0 = 0.40) 284s > Pzmbinomp0lt <- pzmbinom (Rzmbinomp0lt, size = 12, prob = pi/16, p0 = 0.01) 284s > Pzmbinomp0gt <- pzmbinom (Rzmbinomp0gt, size = 12, prob = pi/16, p0 = 0.12) 284s > Pzmlogarithmicp0lt <- pzmlogarithmic(Rzmlogarithmicp0lt, prob = 0.99, p0 = 0.05) 284s > Pzmlogarithmicp0gt <- pzmlogarithmic(Rzmlogarithmicp0gt, prob = 0.99, p0 = 0.55) 284s > Ppoisinvgauss <- ppoisinvgauss(Rpoisinvgauss, mean = 12, dispersion = 0.1) 284s > PpoisinvgaussInf <- ppoisinvgauss(RpoisinvgaussInf, mean = Inf, dispersion = 1.1) 284s > 284s > ## Just compute pmf 284s > Dztpois <- dztpois (Rztpois, lambda = 12) 284s > Dztnbinom <- dztnbinom (Rztnbinom, size = 7, prob = 0.01) 284s > Dztgeom <- dztgeom (Rztgeom, prob = pi/16) 284s > Dztbinom <- dztbinom (Rztbinom, size = 55, prob = pi/16) 284s > Dlogarithmic <- dlogarithmic(Rlogarithmic, prob = pi/16) 284s > Dzmpoisp0lt <- dzmpois (Rzmpoisp0lt, lambda = 6, p0 = 0.001) 284s > Dzmpoisp0gt <- dzmpois (Rzmpoisp0gt, lambda = 6, p0 = 0.010) 284s > Dzmnbinomp0lt <- dzmnbinom (Rzmnbinomp0lt, size = 7, prob = 0.8, p0 = 0.01) 284s > Dzmnbinomp0gt <- dzmnbinom (Rzmnbinomp0gt, size = 7, prob = 0.8, p0 = 0.40) 284s > Dzmgeomp0lt <- dzmgeom (Rzmgeomp0lt, prob = pi/16, p0 = 0.01) 284s > Dzmgeomp0gt <- dzmgeom (Rzmgeomp0gt, prob = pi/16, p0 = 0.40) 284s > Dzmbinomp0lt <- dzmbinom (Rzmbinomp0lt, size = 12, prob = pi/16, p0 = 0.01) 284s > Dzmbinomp0gt <- dzmbinom (Rzmbinomp0gt, size = 12, prob = pi/16, p0 = 0.12) 284s > Dzmlogarithmicp0lt <- dzmlogarithmic(Rzmlogarithmicp0lt, prob = 0.99, p0 = 0.05) 284s > Dzmlogarithmicp0gt <- dzmlogarithmic(Rzmlogarithmicp0gt, prob = 0.99, p0 = 0.55) 284s > Dpoisinvgauss <- dpoisinvgauss(Rpoisinvgauss, mean = 12, dispersion = 0.1) 284s > DpoisinvgaussInf <- dpoisinvgauss(RpoisinvgaussInf, mean = Inf, dispersion = 1.1) 284s > 284s > ## Check q(p(.)) identity 284s > stopifnot(exprs = { 284s + Rztpois == qztpois (Pztpois, lambda = 12) 284s + Rztnbinom == qztnbinom (Pztnbinom, size = 7, prob = 0.01) 284s + Rztgeom == qztgeom (Pztgeom, prob = pi/16) 284s + Rztbinom == qztbinom (Pztbinom, size = 55, prob = pi/16) 284s + Rlogarithmic == qlogarithmic(Plogarithmic, prob = 0.99) 284s + Rzmpoisp0lt == qzmpois (Pzmpoisp0lt, lambda = 6, p0 = 0.001) 284s + Rzmpoisp0gt == qzmpois (Pzmpoisp0gt, lambda = 6, p0 = 0.010) 284s + Rzmnbinomp0lt == qzmnbinom (Pzmnbinomp0lt, size = 7, prob = 0.8, p0 = 0.01) 284s + Rzmnbinomp0gt == qzmnbinom (Pzmnbinomp0gt, size = 7, prob = 0.8, p0 = 0.40) 284s + Rzmgeomp0lt == qzmgeom (Pzmgeomp0lt, prob = pi/16, p0 = 0.01) 284s + Rzmgeomp0gt == qzmgeom (Pzmgeomp0gt, prob = pi/16, p0 = 0.40) 284s + Rzmbinomp0lt == qzmbinom (Pzmbinomp0lt, size = 12, prob = pi/16, p0 = 0.01) 284s + Rzmbinomp0gt == qzmbinom (Pzmbinomp0gt, size = 12, prob = pi/16, p0 = 0.12) 284s + Rzmlogarithmicp0lt == qzmlogarithmic(Pzmlogarithmicp0lt, prob = 0.99, p0 = 0.05) 284s + Rzmlogarithmicp0gt == qzmlogarithmic(Pzmlogarithmicp0gt, prob = 0.99, p0 = 0.55) 284s + Rpoisinvgauss == qpoisinvgauss(Ppoisinvgauss, mean = 12, dispersion = 0.1) 284s + RpoisinvgaussInf == qpoisinvgauss(PpoisinvgaussInf, mean = Inf, dispersion = 1.1) 284s + }) 285s > 285s > ## Check q(p(.)) identity with upper tail 285s > stopifnot(exprs = { 285s + Rztpois == qztpois (1 - Pztpois, lambda = 12, lower = FALSE) 285s + Rztnbinom == qztnbinom (1 - Pztnbinom, size = 7, prob = 0.01, lower = FALSE) 285s + Rztgeom == qztgeom (1 - Pztgeom, prob = pi/16, lower = FALSE) 285s + Rztbinom == qztbinom (1 - Pztbinom, size = 55, prob = pi/16, lower = FALSE) 285s + Rlogarithmic == qlogarithmic(1 - Plogarithmic, prob = 0.99, lower = FALSE) 285s + Rzmpoisp0lt == qzmpois (1 - Pzmpoisp0lt, lambda = 6, p0 = 0.001, lower = FALSE) 285s + Rzmpoisp0gt == qzmpois (1 - Pzmpoisp0gt, lambda = 6, p0 = 0.010, lower = FALSE) 285s + Rzmnbinomp0lt == qzmnbinom (1 - Pzmnbinomp0lt, size = 7, prob = 0.8, p0 = 0.01, lower = FALSE) 285s + Rzmnbinomp0gt == qzmnbinom (1 - Pzmnbinomp0gt, size = 7, prob = 0.8, p0 = 0.40, lower = FALSE) 285s + Rzmgeomp0lt == qzmgeom (1 - Pzmgeomp0lt, prob = pi/16, p0 = 0.01, lower = FALSE) 285s + Rzmgeomp0gt == qzmgeom (1 - Pzmgeomp0gt, prob = pi/16, p0 = 0.40, lower = FALSE) 285s + Rzmbinomp0lt == qzmbinom (1 - Pzmbinomp0lt, size = 12, prob = pi/16, p0 = 0.01, lower = FALSE) 285s + Rzmbinomp0gt == qzmbinom (1 - Pzmbinomp0gt, size = 12, prob = pi/16, p0 = 0.12, lower = FALSE) 285s + Rzmlogarithmicp0lt == qzmlogarithmic(1 - Pzmlogarithmicp0lt, prob = 0.99, p0 = 0.05, lower = FALSE) 285s + Rzmlogarithmicp0gt == qzmlogarithmic(1 - Pzmlogarithmicp0gt, prob = 0.99, p0 = 0.55, lower = FALSE) 285s + Rpoisinvgauss == qpoisinvgauss(1 - Ppoisinvgauss, mean = 12, dispersion = 0.1, lower = FALSE) 285s + RpoisinvgaussInf == qpoisinvgauss(1 - PpoisinvgaussInf, mean = Inf, dispersion = 1.1, lower = FALSE) 285s + }) 285s > 285s > ## Check q(p(., log), log) identity 285s > stopifnot(exprs = { 285s + Rztpois == qztpois (log(Pztpois), lambda = 12, log = TRUE) 285s + Rztnbinom == qztnbinom (log(Pztnbinom), size = 7, prob = 0.01, log = TRUE) 285s + Rztgeom == qztgeom (log(Pztgeom), prob = pi/16, log = TRUE) 285s + Rztbinom == qztbinom (log(Pztbinom), size = 55, prob = pi/16, log = TRUE) 285s + Rlogarithmic == qlogarithmic(log(Plogarithmic), prob = 0.99, log = TRUE) 285s + Rzmpoisp0lt == qzmpois (log(Pzmpoisp0lt), lambda = 6, p0 = 0.001, log = TRUE) 285s + Rzmpoisp0gt == qzmpois (log(Pzmpoisp0gt), lambda = 6, p0 = 0.010, log = TRUE) 285s + Rzmnbinomp0lt == qzmnbinom (log(Pzmnbinomp0lt), size = 7, prob = 0.8, p0 = 0.01, log = TRUE) 285s + Rzmnbinomp0gt == qzmnbinom (log(Pzmnbinomp0gt), size = 7, prob = 0.8, p0 = 0.40, log = TRUE) 285s + Rzmgeomp0lt == qzmgeom (log(Pzmgeomp0lt), prob = pi/16, p0 = 0.01, log = TRUE) 285s + Rzmgeomp0gt == qzmgeom (log(Pzmgeomp0gt), prob = pi/16, p0 = 0.40, log = TRUE) 285s + Rzmbinomp0lt == qzmbinom (log(Pzmbinomp0lt), size = 12, prob = pi/16, p0 = 0.01, log = TRUE) 285s + Rzmbinomp0gt == qzmbinom (log(Pzmbinomp0gt), size = 12, prob = pi/16, p0 = 0.12, log = TRUE) 285s + Rzmlogarithmicp0lt == qzmlogarithmic(log(Pzmlogarithmicp0lt), prob = 0.99, p0 = 0.05, log = TRUE) 285s + Rzmlogarithmicp0gt == qzmlogarithmic(log(Pzmlogarithmicp0gt), prob = 0.99, p0 = 0.55, log = TRUE) 285s + Rpoisinvgauss == qpoisinvgauss(log(Ppoisinvgauss), mean = 12, dispersion = 0.1, log = TRUE) 285s + RpoisinvgaussInf == qpoisinvgauss(log(PpoisinvgaussInf), mean = Inf, dispersion = 1.1, log = TRUE) 285s + }) 286s > 286s > ## Check q(p(., log), log) identity with upper tail 286s > stopifnot(exprs = { 286s + Rztpois == qztpois (log1p(-Pztpois), lambda = 12, lower = FALSE, log = TRUE) 286s + Rztnbinom == qztnbinom (log1p(-Pztnbinom), size = 7, prob = 0.01, lower = FALSE, log = TRUE) 286s + Rztgeom == qztgeom (log1p(-Pztgeom), prob = pi/16, lower = FALSE, log = TRUE) 286s + Rztbinom == qztbinom (log1p(-Pztbinom), size = 55, prob = pi/16, lower = FALSE, log = TRUE) 286s + Rlogarithmic == qlogarithmic(log1p(-Plogarithmic), prob = 0.99, lower = FALSE, log = TRUE) 286s + Rzmpoisp0lt == qzmpois (log1p(-Pzmpoisp0lt), lambda = 6, p0 = 0.001, lower = FALSE, log = TRUE) 286s + Rzmpoisp0gt == qzmpois (log1p(-Pzmpoisp0gt), lambda = 6, p0 = 0.010, lower = FALSE, log = TRUE) 286s + Rzmnbinomp0lt == qzmnbinom (log1p(-Pzmnbinomp0lt), size = 7, prob = 0.8, p0 = 0.01, lower = FALSE, log = TRUE) 286s + Rzmnbinomp0gt == qzmnbinom (log1p(-Pzmnbinomp0gt), size = 7, prob = 0.8, p0 = 0.40, lower = FALSE, log = TRUE) 286s + Rzmgeomp0lt == qzmgeom (log1p(-Pzmgeomp0lt), prob = pi/16, p0 = 0.01, lower = FALSE, log = TRUE) 286s + Rzmgeomp0gt == qzmgeom (log1p(-Pzmgeomp0gt), prob = pi/16, p0 = 0.40, lower = FALSE, log = TRUE) 286s + Rzmbinomp0lt == qzmbinom (log1p(-Pzmbinomp0lt), size = 12, prob = pi/16, p0 = 0.01, lower = FALSE, log = TRUE) 286s + Rzmbinomp0gt == qzmbinom (log1p(-Pzmbinomp0gt), size = 12, prob = pi/16, p0 = 0.12, lower = FALSE, log = TRUE) 286s + Rzmlogarithmicp0lt == qzmlogarithmic(log1p(-Pzmlogarithmicp0lt), prob = 0.99, p0 = 0.05, lower = FALSE, log = TRUE) 286s + Rzmlogarithmicp0gt == qzmlogarithmic(log1p(-Pzmlogarithmicp0gt), prob = 0.99, p0 = 0.55, lower = FALSE, log = TRUE) 286s + Rpoisinvgauss == qpoisinvgauss(log1p(-Ppoisinvgauss), mean = 12, dispersion = 0.1, lower = FALSE, log = TRUE) 286s + RpoisinvgaussInf == qpoisinvgauss(log1p(-PpoisinvgaussInf), mean = Inf, dispersion = 1.1, lower = FALSE, log = TRUE) 286s + }) 287s > 287s BEGIN TEST rcompound-tests.R 287s 287s R version 4.4.3 (2025-02-28) -- "Trophy Case" 287s Copyright (C) 2025 The R Foundation for Statistical Computing 287s Platform: x86_64-pc-linux-gnu 287s 287s R is free software and comes with ABSOLUTELY NO WARRANTY. 287s You are welcome to redistribute it under certain conditions. 287s Type 'license()' or 'licence()' for distribution details. 287s 287s R is a collaborative project with many contributors. 287s Type 'contributors()' for more information and 287s 'citation()' on how to cite R or R packages in publications. 287s 287s Type 'demo()' for some demos, 'help()' for on-line help, or 287s 'help.start()' for an HTML browser interface to help. 287s Type 'q()' to quit R. 287s 287s > ### actuar: Actuarial Functions and Heavy Tailed Distributions 287s > ### 287s > ### Tests for the simulation of compound models with 'rcompound' and 287s > ### 'rcomppois'. 287s > ### 287s > ### AUTHOR: Vincent Goulet 288s > 288s > ## Load the package 288s > library(actuar) 288s > 288s > ## Copy of tools::assertError. 288s > assertError <- tools::assertError 288s > 288s > ### 288s > ### Tests for rcompound 288s > ### 288s > 288s > ## Test the function itself with various types of arguments. 288s > n <- 20 288s > fmodel <- expression(rnbinom(2, 0.8)) 288s > smodel <- expression(rgamma(2, 1)) 288s > set.seed(123) 288s > x <- numeric(n) 288s > N <- rnbinom(n, 2, 0.8) 288s > y <- rgamma(sum(N), 2, 1) 288s > x[which(N != 0)] <- tapply(y, rep(seq_len(n), N), sum) 288s > stopifnot(exprs = { 288s + identical(x, { 288s + set.seed(123) 288s + rcompound(n, rnbinom(2, 0.8), rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + rcompound(n, rnbinom(2, 0.8), expression(rgamma(2, 1))) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + rcompound(n, expression(rnbinom(2, 0.8)), rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + rcompound(n, fmodel, smodel) 288s + }) 288s + }) 288s > 288s > ## Test the calling environment, that is that arguments are correctly 288s > ## identified when 'rcompound' is called inside another function. 288s > n <- 20 288s > lambda <- 2 288s > smodel <- expression(rgamma(2, 1)) 288s > set.seed(123) 288s > x <- rcompound(n, rpois(2), rgamma(2, 1)) 288s > f <- function(n, p, model.sev) 288s + { 288s + ## safe way to pass down the arguments 288s + model.freq <- substitute(rpois(p), list(p = p)) 288s + model.sev <- substitute(model.sev) 288s + if (is.name(model.sev)) 288s + model.sev <- eval.parent(model.sev) 288s + rcompound(n, model.freq, model.sev) 288s + } 288s > g1 <- function(n, p, s, r) 288s + rcompound(n, rpois(p), rgamma(s, r)) 288s > g2 <- function(n, p, s, r) 288s + rcompound(n, expression(rpois(p)), expression(rgamma(s, r))) 288s > h <- function(n, p, model.sev) 288s + { 288s + ## safe way to pass down the arguments 288s + model.sev <- substitute(model.sev) 288s + if (is.name(model.sev)) 288s + model.sev <- eval.parent(model.sev) 288s + f(n, p, model.sev) 288s + } 288s > stopifnot(exprs = { 288s + identical(x, { 288s + set.seed(123) 288s + f(n, 2, rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + f(n, lambda, expression(rgamma(2, 1))) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + f(n, lambda, smodel) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + g1(n, lambda, 2, 1) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + g2(n, lambda, 2, 1) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + h(n, 2, rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + h(n, lambda, smodel) 288s + }) 288s + }) 288s > 288s > ## Test invalid arguments. 288s > assertError(rcompound(-1, rpois(2), rgamma(2, 1))) 288s > 288s > 288s > ### 288s > ### Tests for rcomppois 288s > ### 288s > 288s > ## Test the function itself with various types of arguments. 288s > n <- 20 288s > lambda <- 2 288s > smodel <- expression(rgamma(2, 1)) 288s > set.seed(123) 288s > x <- numeric(n) 288s > N <- rpois(n, 2) 288s > y <- rgamma(sum(N), 2, 1) 288s > x[which(N != 0)] <- tapply(y, rep(seq_len(n), N), sum) 288s > stopifnot(exprs = { 288s + identical(x, { 288s + set.seed(123) 288s + rcomppois(n, 2, rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + rcomppois(n, lambda, expression(rgamma(2, 1))) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + rcomppois(n, lambda, smodel) 288s + }) 288s + }) 288s > 288s > ## Test the calling environment, that is that arguments are correctly 288s > ## identified when 'rcomppois' is called inside another function. 288s > n <- 20 288s > lambda <- 2 288s > smodel <- expression(rgamma(2, 1)) 288s > set.seed(123) 288s > x <- rcomppois(n, lambda, smodel) 288s > f <- function(n, p, model) 288s + { 288s + ## safe way to pass down all sorts of 'model' objects 288s + model <- substitute(model) 288s + if (is.name(model)) 288s + model <- eval.parent(model) 288s + rcomppois(n, p, model) 288s + } 288s > g1 <- function(n, p, s, r) 288s + rcomppois(n, p, rgamma(s, r)) 288s > g2 <- function(n, p, s, r) 288s + rcomppois(n, p, expression(rgamma(s, r))) 288s > h <- function(n, p, model) 288s + { 288s + ## safe way to pass down all sorts of 'model' objects 288s + model <- substitute(model) 288s + if (is.name(model)) 288s + model <- eval.parent(model) 288s + f(n, p, model) 288s + } 288s > stopifnot(exprs = { 288s + identical(x, { 288s + set.seed(123) 288s + f(n, 2, rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + f(n, lambda, expression(rgamma(2, 1))) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + f(n, lambda, smodel) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + g1(n, 2, 2, 1) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + g2(n, 2, 2, 1) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + h(n, 2, rgamma(2, 1)) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + h(n, lambda, smodel) 288s + }) 288s + }) 288s > 288s > ## Test invalid arguments. 288s > assertError(rcomppois(-1, lambda, smodel)) 288s > assertError(rcomppois(n, -1, smodel)) 288s > assertError(rcomppois(n, c(3, -1), smodel)) 288s > 288s 288s Attaching package: ‘actuar’ 288s 288s The following objects are masked from ‘package:stats’: 288s 288s sd, var 288s 288s The following object is masked from ‘package:grDevices’: 288s 288s cm 288s 288s BEGIN TEST rmixture-tests.R 288s 288s R version 4.4.3 (2025-02-28) -- "Trophy Case" 288s Copyright (C) 2025 The R Foundation for Statistical Computing 288s Platform: x86_64-pc-linux-gnu 288s 288s R is free software and comes with ABSOLUTELY NO WARRANTY. 288s You are welcome to redistribute it under certain conditions. 288s Type 'license()' or 'licence()' for distribution details. 288s 288s R is a collaborative project with many contributors. 288s Type 'contributors()' for more information and 288s 'citation()' on how to cite R or R packages in publications. 288s 288s Type 'demo()' for some demos, 'help()' for on-line help, or 288s 'help.start()' for an HTML browser interface to help. 288s Type 'q()' to quit R. 288s 288s > ### actuar: Actuarial Functions and Heavy Tailed Distributions 288s > ### 288s > ### Tests for the simulation of discrete mixtures with 'rmixture'. 288s > ### 288s > ### AUTHOR: Vincent Goulet 288s > 288s > ## Load the package 288s > library(actuar) 288s 288s Attaching package: ‘actuar’ 288s 288s > 288s > ## Copy of tools::assertError. 288s > assertError <- tools::assertError 288s The following objects are masked from ‘package:stats’: 288s 288s sd, var 288s 288s The following object is masked from ‘package:grDevices’: 288s 288s cm 288s 288s > 288s > ## Set common values for the tests 288s > n <- 20 288s > bmodels <- expression(rexp(1/20), 288s + rlnorm(3.6, 0.6), 288s + rpareto(shape = 4, scale = 240)) 288s > 288s > ## Function to inject the number of variates in an expression and 288s > ## evaluate it. 288s > f <- function(n, expr) 288s + { 288s + expr$n <- n 288s + eval(expr) 288s + } 288s > 288s > ## Test a "normal" case (with data that is not reshuffled). 288s > set.seed(123) 288s > probs <- c(2, 3, 5)/10 288s > nj <- rmultinom(1, n, prob = probs) 288s > x <- c(f(nj[1], bmodels[[1]]), f(nj[2], bmodels[[2]]), f(nj[3], bmodels[[3]])) 288s > set.seed(123) 288s > stopifnot(exprs = { 288s + identical(x, rmixture(n, probs, bmodels, shuffle = FALSE)) 288s + }) 288s > 288s > ## Test recycling of the probability vector. 288s > set.seed(123) 288s > probs <- 1 288s > nj <- rmultinom(1, n, prob = rep_len(probs, 3)) 288s > x <- c(f(nj[1], bmodels[[1]]), f(nj[2], bmodels[[2]]), f(nj[3], bmodels[[3]])) 288s > set.seed(123) 288s > stopifnot(exprs = { 288s + identical(x, rmixture(n, probs, bmodels, shuffle = FALSE)) 288s + }) 288s > 288s > ## Test recycling of the models vector. 288s > set.seed(123) 288s > probs <- c(2, 3, 5) 288s > nj <- rmultinom(1, n, prob = probs) 288s > x <- f(n, bmodels[[1]]) 288s > set.seed(123) 288s > stopifnot(exprs = { 288s + identical(x, rmixture(n, probs, bmodels[1], shuffle = FALSE)) 288s + }) 288s > 288s > ## Test special cases. 288s > stopifnot(exprs = { 288s + identical(numeric(0), rmixture(0, probs, bmodels)) 288s + identical(2L, length(rmixture(c(n, n), probs, bmodels))) 288s + }) 288s > 288s > ## Test the calling environment, that is that arguments are correctly 288s > ## identified when 'rmixture' is called inside another function. 288s > set.seed(123) 288s > probs <- c(2, 3, 5)/10 288s > x <- rmixture(n, probs, bmodels) 288s > f <- function(n, p, model) 288s + rmixture(n, p, model) 288s > g <- function(n, p, m, q) 288s + rmixture(n, p, expression(rexp(m[1]), rlnorm(m[2], q[2]), rpareto(m[3], q[3]))) 288s > h <- function(n, p, model) 288s + f(n, c(p[1], p[2], p[3]), 288s + c(model[1], model[2], model[3])) 288s > k <- function(n, p, m, q) 288s + { 288s + ## Pathological case where the models expression does not evaluate 288s + ## in the frame of 'rmixture' as 'm' and 'q' will not be bound. 288s + ## The fix is to substitute variables by their values. 288s + models <- substitute(expression(rexp(m[1]), rlnorm(m[2], q[2]), rpareto(m[3], q[3])), 288s + list(m = m, q = q)) 288s + 288s + f(n, p, eval(models)) 288s + } 288s > stopifnot(exprs = { 288s + identical(x, { 288s + set.seed(123) 288s + f(n, probs, bmodels) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + f(n, c(probs[1], probs[2], probs[3]), 288s + c(bmodels[1], bmodels[2], bmodels[3])) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + g(n, p = probs, 288s + m = c(eval(bmodels[[c(1, 2)]]), eval(bmodels[[c(2, 2)]]), eval(bmodels[[c(3, 2)]])), 288s + q = c(NA, eval(bmodels[[c(2, 3)]]), eval(bmodels[[c(3, 3)]]))) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + h(n, probs, 288s + expression(rexp(eval(bmodels[[c(1, 2)]])), 288s + rlnorm(eval(bmodels[[c(2, 2)]]), eval(bmodels[[c(2, 3)]])), 288s + rpareto(shape = eval(bmodels[[c(3, 2)]]), scale = eval(bmodels[[c(3, 3)]])))) 288s + }) 288s + identical(x, { 288s + set.seed(123) 288s + k(n, p = probs, 288s + m = c(eval(bmodels[[c(1, 2)]]), eval(bmodels[[c(2, 2)]]), eval(bmodels[[c(3, 2)]])), 288s + q = c(NA, eval(bmodels[[c(2, 3)]]), eval(bmodels[[c(3, 3)]]))) 288s + }) 288s + }) 288s > 288s > ## Finally, test invalid arguments. 288s > assertError(rmixture(-1, probs, bmodels)) 288s > assertError(rmixture(c(3, -1), probs, bmodels)) 288s > assertError(rmixture(n, numeric(0), bmodels)) 288s > assertError(rmixture(n, 0, bmodels)) 288s > assertError(rmixture(n, c(0, 0), bmodels)) 288s > assertError(rmixture(n, probs, c(rexp(2), rexp(7)))) 288s > 288s autopkgtest [22:06:26]: test run-unit-test: -----------------------] 289s run-unit-test PASS 289s autopkgtest [22:06:27]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 289s autopkgtest [22:06:27]: test pkg-r-autopkgtest: preparing testbed 290s Reading package lists... 290s Building dependency tree... 290s Reading state information... 290s Starting pkgProblemResolver with broken count: 0 290s Starting 2 pkgProblemResolver with broken count: 0 290s Done 291s The following NEW packages will be installed: 291s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu 291s dctrl-tools g++ g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc 291s gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gfortran gfortran-14 291s gfortran-14-x86-64-linux-gnu gfortran-x86-64-linux-gnu icu-devtools libasan8 291s libblas-dev libbz2-dev libcc1-0 libdeflate-dev libgcc-14-dev 291s libgfortran-14-dev libhwasan0 libicu-dev libisl23 libitm1 libjpeg-dev 291s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 liblzma-dev libmpc3 291s libncurses-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 291s libpkgconf3 libpng-dev libquadmath0 libreadline-dev libstdc++-14-dev 291s libtirpc-dev libtsan2 libubsan1 pkg-r-autopkgtest pkgconf pkgconf-bin 291s r-base-dev zlib1g-dev 291s 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. 291s Need to get 103 MB of archives. 291s After this operation, 363 MB of additional disk space will be used. 291s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 292s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 292s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [11.9 MB] 292s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-17ubuntu3 [1030 B] 292s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 292s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 292s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 15-20250222-0ubuntu1 [47.0 kB] 292s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 15-20250222-0ubuntu1 [28.6 kB] 292s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 15-20250222-0ubuntu1 [3055 kB] 292s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 15-20250222-0ubuntu1 [1355 kB] 292s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 15-20250222-0ubuntu1 [2756 kB] 292s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 15-20250222-0ubuntu1 [1205 kB] 292s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 15-20250222-0ubuntu1 [1677 kB] 292s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 15-20250222-0ubuntu1 [152 kB] 292s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-17ubuntu3 [2816 kB] 292s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [23.3 MB] 293s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-17ubuntu3 [536 kB] 293s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 293s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 293s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-17ubuntu3 [2486 kB] 293s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [13.4 MB] 293s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-17ubuntu3 [21.8 kB] 293s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 293s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 293s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 293s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 dctrl-tools amd64 2.24-3build3 [106 kB] 293s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran-14-dev amd64 14.2.0-17ubuntu3 [966 kB] 293s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [12.6 MB] 294s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-14 amd64 14.2.0-17ubuntu3 [13.6 kB] 294s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1022 B] 294s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran amd64 4:14.2.0-1ubuntu1 [1174 B] 294s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 icu-devtools amd64 76.1-1ubuntu2 [237 kB] 294s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas-dev amd64 3.12.1-2 [338 kB] 294s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libbz2-dev amd64 1.0.8-6 [33.8 kB] 294s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate-dev amd64 1.23-1 [71.7 kB] 294s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libicu-dev amd64 76.1-1ubuntu2 [12.6 MB] 294s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8-dev amd64 2.1.5-3ubuntu2 [324 kB] 294s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8-dev amd64 8c-2ubuntu11 [1484 B] 294s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-dev amd64 8c-2ubuntu11 [1482 B] 294s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack-dev amd64 3.12.1-2 [6489 kB] 294s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libncurses-dev amd64 6.5+20250216-2 [424 kB] 294s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 294s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.45-1 [251 kB] 294s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.45-1 [7204 B] 294s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.45-1 [908 kB] 294s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 294s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 294s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libpng-dev amd64 1.6.47-1 [298 kB] 294s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libreadline-dev amd64 8.2-6 [184 kB] 294s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 liblzma-dev amd64 5.6.4-1 [189 kB] 294s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 294s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 294s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libtirpc-dev amd64 1.3.4+ds-1.3 [193 kB] 294s Get:54 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-base-dev all 4.4.3-1 [4176 B] 294s Get:55 http://ftpmaster.internal/ubuntu plucky/universe amd64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 295s Fetched 103 MB in 3s (31.6 MB/s) 295s Selecting previously unselected package libisl23:amd64. 295s (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 ... 79388 files and directories currently installed.) 295s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 295s Unpacking libisl23:amd64 (0.27-1) ... 295s Selecting previously unselected package libmpc3:amd64. 295s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 295s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 295s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 295s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 295s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 295s Selecting previously unselected package cpp-14. 295s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_amd64.deb ... 295s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 295s Selecting previously unselected package cpp-x86-64-linux-gnu. 295s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 295s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 295s Selecting previously unselected package cpp. 295s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 295s Unpacking cpp (4:14.2.0-1ubuntu1) ... 295s Selecting previously unselected package libcc1-0:amd64. 295s Preparing to unpack .../06-libcc1-0_15-20250222-0ubuntu1_amd64.deb ... 295s Unpacking libcc1-0:amd64 (15-20250222-0ubuntu1) ... 295s Selecting previously unselected package libitm1:amd64. 295s Preparing to unpack .../07-libitm1_15-20250222-0ubuntu1_amd64.deb ... 295s Unpacking libitm1:amd64 (15-20250222-0ubuntu1) ... 295s Selecting previously unselected package libasan8:amd64. 295s Preparing to unpack .../08-libasan8_15-20250222-0ubuntu1_amd64.deb ... 295s Unpacking libasan8:amd64 (15-20250222-0ubuntu1) ... 295s Selecting previously unselected package liblsan0:amd64. 295s Preparing to unpack .../09-liblsan0_15-20250222-0ubuntu1_amd64.deb ... 295s Unpacking liblsan0:amd64 (15-20250222-0ubuntu1) ... 296s Selecting previously unselected package libtsan2:amd64. 296s Preparing to unpack .../10-libtsan2_15-20250222-0ubuntu1_amd64.deb ... 296s Unpacking libtsan2:amd64 (15-20250222-0ubuntu1) ... 296s Selecting previously unselected package libubsan1:amd64. 296s Preparing to unpack .../11-libubsan1_15-20250222-0ubuntu1_amd64.deb ... 296s Unpacking libubsan1:amd64 (15-20250222-0ubuntu1) ... 296s Selecting previously unselected package libhwasan0:amd64. 296s Preparing to unpack .../12-libhwasan0_15-20250222-0ubuntu1_amd64.deb ... 296s Unpacking libhwasan0:amd64 (15-20250222-0ubuntu1) ... 296s Selecting previously unselected package libquadmath0:amd64. 296s Preparing to unpack .../13-libquadmath0_15-20250222-0ubuntu1_amd64.deb ... 296s Unpacking libquadmath0:amd64 (15-20250222-0ubuntu1) ... 296s Selecting previously unselected package libgcc-14-dev:amd64. 296s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_amd64.deb ... 296s Unpacking libgcc-14-dev:amd64 (14.2.0-17ubuntu3) ... 296s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 296s Preparing to unpack .../15-gcc-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 296s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package gcc-14. 297s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package gcc-x86-64-linux-gnu. 297s Preparing to unpack .../17-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 297s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 297s Selecting previously unselected package gcc. 297s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 297s Unpacking gcc (4:14.2.0-1ubuntu1) ... 297s Selecting previously unselected package libstdc++-14-dev:amd64. 297s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking libstdc++-14-dev:amd64 (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package g++-14-x86-64-linux-gnu. 297s Preparing to unpack .../20-g++-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking g++-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package g++-14. 297s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking g++-14 (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package g++-x86-64-linux-gnu. 297s Preparing to unpack .../22-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 297s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 297s Selecting previously unselected package g++. 297s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 297s Unpacking g++ (4:14.2.0-1ubuntu1) ... 297s Selecting previously unselected package build-essential. 297s Preparing to unpack .../24-build-essential_12.10ubuntu1_amd64.deb ... 297s Unpacking build-essential (12.10ubuntu1) ... 297s Selecting previously unselected package dctrl-tools. 297s Preparing to unpack .../25-dctrl-tools_2.24-3build3_amd64.deb ... 297s Unpacking dctrl-tools (2.24-3build3) ... 297s Selecting previously unselected package libgfortran-14-dev:amd64. 297s Preparing to unpack .../26-libgfortran-14-dev_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking libgfortran-14-dev:amd64 (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package gfortran-14-x86-64-linux-gnu. 297s Preparing to unpack .../27-gfortran-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking gfortran-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 298s Selecting previously unselected package gfortran-14. 298s Preparing to unpack .../28-gfortran-14_14.2.0-17ubuntu3_amd64.deb ... 298s Unpacking gfortran-14 (14.2.0-17ubuntu3) ... 298s Selecting previously unselected package gfortran-x86-64-linux-gnu. 298s Preparing to unpack .../29-gfortran-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 298s Unpacking gfortran-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 298s Selecting previously unselected package gfortran. 298s Preparing to unpack .../30-gfortran_4%3a14.2.0-1ubuntu1_amd64.deb ... 298s Unpacking gfortran (4:14.2.0-1ubuntu1) ... 298s Selecting previously unselected package icu-devtools. 298s Preparing to unpack .../31-icu-devtools_76.1-1ubuntu2_amd64.deb ... 298s Unpacking icu-devtools (76.1-1ubuntu2) ... 298s Selecting previously unselected package libblas-dev:amd64. 298s Preparing to unpack .../32-libblas-dev_3.12.1-2_amd64.deb ... 298s Unpacking libblas-dev:amd64 (3.12.1-2) ... 298s Selecting previously unselected package libbz2-dev:amd64. 298s Preparing to unpack .../33-libbz2-dev_1.0.8-6_amd64.deb ... 298s Unpacking libbz2-dev:amd64 (1.0.8-6) ... 298s Selecting previously unselected package libdeflate-dev:amd64. 298s Preparing to unpack .../34-libdeflate-dev_1.23-1_amd64.deb ... 298s Unpacking libdeflate-dev:amd64 (1.23-1) ... 298s Selecting previously unselected package libicu-dev:amd64. 298s Preparing to unpack .../35-libicu-dev_76.1-1ubuntu2_amd64.deb ... 298s Unpacking libicu-dev:amd64 (76.1-1ubuntu2) ... 298s Selecting previously unselected package libjpeg-turbo8-dev:amd64. 298s Preparing to unpack .../36-libjpeg-turbo8-dev_2.1.5-3ubuntu2_amd64.deb ... 298s Unpacking libjpeg-turbo8-dev:amd64 (2.1.5-3ubuntu2) ... 298s Selecting previously unselected package libjpeg8-dev:amd64. 298s Preparing to unpack .../37-libjpeg8-dev_8c-2ubuntu11_amd64.deb ... 298s Unpacking libjpeg8-dev:amd64 (8c-2ubuntu11) ... 298s Selecting previously unselected package libjpeg-dev:amd64. 298s Preparing to unpack .../38-libjpeg-dev_8c-2ubuntu11_amd64.deb ... 298s Unpacking libjpeg-dev:amd64 (8c-2ubuntu11) ... 298s Selecting previously unselected package liblapack-dev:amd64. 298s Preparing to unpack .../39-liblapack-dev_3.12.1-2_amd64.deb ... 298s Unpacking liblapack-dev:amd64 (3.12.1-2) ... 298s Selecting previously unselected package libncurses-dev:amd64. 299s Preparing to unpack .../40-libncurses-dev_6.5+20250216-2_amd64.deb ... 299s Unpacking libncurses-dev:amd64 (6.5+20250216-2) ... 299s Selecting previously unselected package libpcre2-16-0:amd64. 299s Preparing to unpack .../41-libpcre2-16-0_10.45-1_amd64.deb ... 299s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 299s Selecting previously unselected package libpcre2-32-0:amd64. 299s Preparing to unpack .../42-libpcre2-32-0_10.45-1_amd64.deb ... 299s Unpacking libpcre2-32-0:amd64 (10.45-1) ... 299s Selecting previously unselected package libpcre2-posix3:amd64. 299s Preparing to unpack .../43-libpcre2-posix3_10.45-1_amd64.deb ... 299s Unpacking libpcre2-posix3:amd64 (10.45-1) ... 299s Selecting previously unselected package libpcre2-dev:amd64. 299s Preparing to unpack .../44-libpcre2-dev_10.45-1_amd64.deb ... 299s Unpacking libpcre2-dev:amd64 (10.45-1) ... 299s Selecting previously unselected package libpkgconf3:amd64. 299s Preparing to unpack .../45-libpkgconf3_1.8.1-4_amd64.deb ... 299s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 299s Selecting previously unselected package zlib1g-dev:amd64. 299s Preparing to unpack .../46-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 299s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 299s Selecting previously unselected package libpng-dev:amd64. 299s Preparing to unpack .../47-libpng-dev_1.6.47-1_amd64.deb ... 299s Unpacking libpng-dev:amd64 (1.6.47-1) ... 299s Selecting previously unselected package libreadline-dev:amd64. 299s Preparing to unpack .../48-libreadline-dev_8.2-6_amd64.deb ... 299s Unpacking libreadline-dev:amd64 (8.2-6) ... 299s Selecting previously unselected package liblzma-dev:amd64. 299s Preparing to unpack .../49-liblzma-dev_5.6.4-1_amd64.deb ... 299s Unpacking liblzma-dev:amd64 (5.6.4-1) ... 299s Selecting previously unselected package pkgconf-bin. 299s Preparing to unpack .../50-pkgconf-bin_1.8.1-4_amd64.deb ... 299s Unpacking pkgconf-bin (1.8.1-4) ... 299s Selecting previously unselected package pkgconf:amd64. 299s Preparing to unpack .../51-pkgconf_1.8.1-4_amd64.deb ... 299s Unpacking pkgconf:amd64 (1.8.1-4) ... 299s Selecting previously unselected package libtirpc-dev:amd64. 299s Preparing to unpack .../52-libtirpc-dev_1.3.4+ds-1.3_amd64.deb ... 299s Unpacking libtirpc-dev:amd64 (1.3.4+ds-1.3) ... 299s Selecting previously unselected package r-base-dev. 299s Preparing to unpack .../53-r-base-dev_4.4.3-1_all.deb ... 299s Unpacking r-base-dev (4.4.3-1) ... 299s Selecting previously unselected package pkg-r-autopkgtest. 299s Preparing to unpack .../54-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 299s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 299s Setting up libjpeg-turbo8-dev:amd64 (2.1.5-3ubuntu2) ... 299s Setting up libncurses-dev:amd64 (6.5+20250216-2) ... 299s Setting up libreadline-dev:amd64 (8.2-6) ... 299s Setting up libpcre2-16-0:amd64 (10.45-1) ... 299s Setting up libpcre2-32-0:amd64 (10.45-1) ... 299s Setting up libtirpc-dev:amd64 (1.3.4+ds-1.3) ... 299s Setting up libpkgconf3:amd64 (1.8.1-4) ... 299s Setting up libquadmath0:amd64 (15-20250222-0ubuntu1) ... 299s Setting up libmpc3:amd64 (1.3.1-1build2) ... 299s Setting up icu-devtools (76.1-1ubuntu2) ... 299s Setting up pkgconf-bin (1.8.1-4) ... 299s Setting up liblzma-dev:amd64 (5.6.4-1) ... 299s Setting up libubsan1:amd64 (15-20250222-0ubuntu1) ... 299s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 299s Setting up libpcre2-posix3:amd64 (10.45-1) ... 299s Setting up libhwasan0:amd64 (15-20250222-0ubuntu1) ... 299s Setting up libasan8:amd64 (15-20250222-0ubuntu1) ... 299s Setting up libtsan2:amd64 (15-20250222-0ubuntu1) ... 299s Setting up libjpeg8-dev:amd64 (8c-2ubuntu11) ... 299s Setting up libisl23:amd64 (0.27-1) ... 299s Setting up libdeflate-dev:amd64 (1.23-1) ... 299s Setting up libicu-dev:amd64 (76.1-1ubuntu2) ... 299s Setting up libcc1-0:amd64 (15-20250222-0ubuntu1) ... 299s Setting up liblsan0:amd64 (15-20250222-0ubuntu1) ... 299s Setting up libblas-dev:amd64 (3.12.1-2) ... 299s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode 299s Setting up dctrl-tools (2.24-3build3) ... 299s Setting up libitm1:amd64 (15-20250222-0ubuntu1) ... 299s Setting up libbz2-dev:amd64 (1.0.8-6) ... 299s Setting up libpcre2-dev:amd64 (10.45-1) ... 299s Setting up libpng-dev:amd64 (1.6.47-1) ... 299s Setting up libjpeg-dev:amd64 (8c-2ubuntu11) ... 299s Setting up pkgconf:amd64 (1.8.1-4) ... 299s Setting up liblapack-dev:amd64 (3.12.1-2) ... 299s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode 299s Setting up cpp-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 299s Setting up cpp-14 (14.2.0-17ubuntu3) ... 299s Setting up libgcc-14-dev:amd64 (14.2.0-17ubuntu3) ... 299s Setting up libstdc++-14-dev:amd64 (14.2.0-17ubuntu3) ... 299s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 299s Setting up libgfortran-14-dev:amd64 (14.2.0-17ubuntu3) ... 299s Setting up cpp (4:14.2.0-1ubuntu1) ... 299s Setting up gcc-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 299s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 299s Setting up gcc-14 (14.2.0-17ubuntu3) ... 299s Setting up gfortran-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 299s Setting up g++-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 299s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 299s Setting up g++-14 (14.2.0-17ubuntu3) ... 299s Setting up gfortran-14 (14.2.0-17ubuntu3) ... 299s Setting up gfortran-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 299s Setting up gcc (4:14.2.0-1ubuntu1) ... 299s Setting up g++ (4:14.2.0-1ubuntu1) ... 299s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 299s Setting up build-essential (12.10ubuntu1) ... 299s Setting up gfortran (4:14.2.0-1ubuntu1) ... 299s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 299s 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 299s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 299s 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 299s Setting up r-base-dev (4.4.3-1) ... 299s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 299s Processing triggers for libc-bin (2.41-1ubuntu2) ... 299s Processing triggers for man-db (2.13.0-1) ... 301s Processing triggers for install-info (7.1.1-1) ... 302s autopkgtest [22:06:40]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 302s autopkgtest [22:06:40]: test pkg-r-autopkgtest: [----------------------- 302s Test: Try to load the R library actuar 302s 302s R version 4.4.3 (2025-02-28) -- "Trophy Case" 302s Copyright (C) 2025 The R Foundation for Statistical Computing 302s Platform: x86_64-pc-linux-gnu 302s 302s R is free software and comes with ABSOLUTELY NO WARRANTY. 302s You are welcome to redistribute it under certain conditions. 302s Type 'license()' or 'licence()' for distribution details. 302s 302s R is a collaborative project with many contributors. 302s Type 'contributors()' for more information and 302s 'citation()' on how to cite R or R packages in publications. 302s 302s Type 'demo()' for some demos, 'help()' for on-line help, or 302s 'help.start()' for an HTML browser interface to help. 302s Type 'q()' to quit R. 302s 302s > library('actuar') 302s > 302s > 302s 302s Attaching package: ‘actuar’ 302s 302s The following objects are masked from ‘package:stats’: 302s 302s sd, var 302s 302s The following object is masked from ‘package:grDevices’: 302s 302s cm 302s 302s Other tests are currently unsupported! 302s They will be progressively added. 303s autopkgtest [22:06:41]: test pkg-r-autopkgtest: -----------------------] 303s autopkgtest [22:06:41]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 303s pkg-r-autopkgtest PASS 304s autopkgtest [22:06:42]: @@@@@@@@@@@@@@@@@@@@ summary 304s run-unit-test PASS 304s pkg-r-autopkgtest PASS 309s nova [W] Skipping flock for amd64 309s Creating nova instance adt-plucky-amd64-r-cran-actuar-20250315-220138-juju-7f2275-prod-proposed-migration-environment-2-dc8cef36-9ec6-4541-b4ea-afd21f2696d6 from image adt/ubuntu-plucky-amd64-server-20250304.img (UUID 9c7d4da5-d95f-4c85-ac1f-51eb37e75c4c)... 309s nova [W] Timed out waiting for 982b4fc5-52d2-4852-9f73-c5c52834cbe0 to get deleted.