0s autopkgtest [22:07:22]: starting date and time: 2025-03-15 22:07:22+0000 0s autopkgtest [22:07:22]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [22:07:22]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.eu08x40p/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-fansi --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-20@bos03-22.secgroup --name adt-plucky-amd64-r-cran-fansi-20250315-220721-juju-7f2275-prod-proposed-migration-environment-20-db302567-3464-4179-9c26-a81597f0e945 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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/ 51s autopkgtest [22:08:13]: testbed dpkg architecture: amd64 51s autopkgtest [22:08:13]: testbed apt version: 2.9.31ubuntu1 52s autopkgtest [22:08:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 52s autopkgtest [22:08:14]: testbed release detected to be: None 53s autopkgtest [22:08:15]: updating testbed package index (apt update) 53s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 53s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 53s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 53s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 53s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.5 kB] 53s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [369 kB] 54s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [44.1 kB] 54s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [85.7 kB] 54s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [67.4 kB] 54s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [1852 B] 54s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [116 B] 54s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [342 kB] 54s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [174 kB] 54s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [15.3 kB] 54s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [16.1 kB] 54s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [8544 B] 54s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [628 B] 54s Fetched 1265 kB in 1s (1430 kB/s) 55s Reading package lists... 56s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s Calculating upgrade... 56s Calculating upgrade... 57s The following package was automatically installed and is no longer required: 57s libnl-genl-3-200 57s Use 'sudo apt autoremove' to remove it. 57s The following NEW packages will be installed: 57s bpftool libdebuginfod-common libdebuginfod1t64 linux-headers-6.14.0-10 57s linux-headers-6.14.0-10-generic linux-image-6.14.0-10-generic 57s linux-modules-6.14.0-10-generic linux-modules-extra-6.14.0-10-generic 57s linux-perf linux-tools-6.14.0-10 linux-tools-6.14.0-10-generic pnp.ids 57s The following packages will be upgraded: 57s apparmor apt apt-utils binutils binutils-common binutils-x86-64-linux-gnu 57s cloud-init cloud-init-base curl dosfstools exfatprogs fwupd gcc-15-base 57s gir1.2-girepository-2.0 gir1.2-glib-2.0 htop hwdata initramfs-tools 57s initramfs-tools-bin initramfs-tools-core libapparmor1 libapt-pkg7.0 57s libassuan9 libatomic1 libaudit-common libaudit1 libbinutils libbrotli1 57s libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libctf-nobfd0 libctf0 57s libcurl3t64-gnutls libcurl4t64 libestr0 libftdi1-2 libfwupd3 libgcc-s1 57s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data libgpgme11t64 57s libgprofng0 libjemalloc2 liblz4-1 liblzma5 libmm-glib0 libncurses6 57s libncursesw6 libnewt0.52 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 57s libnss-systemd libpam-systemd libparted2t64 libpci3 libpython3-stdlib 57s libpython3.13 libpython3.13-minimal libpython3.13-stdlib libseccomp2 57s libselinux1 libsemanage-common libsemanage2 libsframe1 libsqlite3-0 57s libstdc++6 libsystemd-shared libsystemd0 libtinfo6 libudev1 libxml2 57s linux-firmware linux-generic linux-headers-generic linux-headers-virtual 57s linux-image-generic linux-image-virtual linux-libc-dev linux-tools-common 57s linux-virtual locales media-types ncurses-base ncurses-bin ncurses-term 57s parted pci.ids pciutils pinentry-curses python-apt-common python3 57s python3-apt python3-bcrypt python3-cffi-backend python3-dbus python3-gi 57s python3-jinja2 python3-lazr.uri python3-markupsafe python3-minimal 57s python3-newt python3-rpds-py python3-systemd python3-yaml python3.13 57s python3.13-gdbm python3.13-minimal rsync rsyslog strace systemd 57s systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 57s ubuntu-kernel-accessories ubuntu-minimal ubuntu-standard udev whiptail 57s xz-utils 57s 126 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 57s Need to get 829 MB of archives. 57s After this operation, 325 MB of additional disk space will be used. 57s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-bin amd64 6.5+20250216-2 [194 kB] 57s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libc-dev-bin amd64 2.41-1ubuntu1 [24.7 kB] 57s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libc6-dev amd64 2.41-1ubuntu1 [2182 kB] 57s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 locales all 2.41-1ubuntu1 [4246 kB] 57s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libc6 amd64 2.41-1ubuntu1 [3327 kB] 58s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libc-bin amd64 2.41-1ubuntu1 [701 kB] 58s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-libc-dev amd64 6.14.0-10.10 [1723 kB] 58s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 15-20250222-0ubuntu1 [10.4 kB] 58s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-15-base amd64 15-20250222-0ubuntu1 [53.4 kB] 58s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 15-20250222-0ubuntu1 [77.8 kB] 58s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 15-20250222-0ubuntu1 [798 kB] 58s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-base all 6.5+20250216-2 [25.9 kB] 58s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-term all 6.5+20250216-2 [276 kB] 58s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 liblz4-1 amd64 1.10.0-4 [66.4 kB] 58s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 liblzma5 amd64 5.6.4-1 [157 kB] 58s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd0 amd64 257.3-1ubuntu3 [595 kB] 58s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libnss-systemd amd64 257.3-1ubuntu3 [199 kB] 58s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-sysv amd64 257.3-1ubuntu3 [11.9 kB] 58s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-resolved amd64 257.3-1ubuntu3 [345 kB] 58s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-systemd amd64 257.3-1ubuntu3 [302 kB] 58s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd-shared amd64 257.3-1ubuntu3 [2371 kB] 58s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd amd64 257.3-1ubuntu3 [3052 kB] 58s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-timesyncd amd64 257.3-1ubuntu3 [42.1 kB] 58s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-cryptsetup amd64 257.3-1ubuntu3 [124 kB] 58s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 udev amd64 257.3-1ubuntu3 [1404 kB] 58s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libudev1 amd64 257.3-1ubuntu3 [215 kB] 58s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit-common all 1:4.0.2-2ubuntu2 [6628 B] 58s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4build1 [15.6 kB] 58s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit1 amd64 1:4.0.2-2ubuntu2 [54.0 kB] 58s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libseccomp2 amd64 2.5.5-1ubuntu6 [53.5 kB] 58s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1 amd64 3.7-3ubuntu3 [87.3 kB] 58s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libapparmor1 amd64 4.1.0~beta5-0ubuntu8 [55.0 kB] 58s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libapt-pkg7.0 amd64 2.9.33 [1138 kB] 58s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 apt amd64 2.9.33 [1439 kB] 58s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 apt-utils amd64 2.9.33 [222 kB] 58s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-minimal amd64 3.13.2-2 [27.7 kB] 58s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 python3 amd64 3.13.2-2 [24.0 kB] 58s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13 amd64 3.13.2-2 [2341 kB] 58s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 media-types all 13.0.0 [29.9 kB] 58s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libncurses6 amd64 6.5+20250216-2 [126 kB] 58s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libncursesw6 amd64 6.5+20250216-2 [165 kB] 58s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libtinfo6 amd64 6.5+20250216-2 [119 kB] 58s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libsqlite3-0 amd64 3.46.1-2 [715 kB] 58s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.2-2 [735 kB] 58s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.2-2 [2365 kB] 58s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.2-2 [883 kB] 58s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.2-2 [2066 kB] 59s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3-stdlib amd64 3.13.2-2 [10.4 kB] 59s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 rsync amd64 3.4.1+ds1-3 [482 kB] 59s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod-common all 0.192-4 [15.4 kB] 59s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage-common all 3.7-2.1build1 [7268 B] 59s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage2 amd64 3.7-2.1build1 [106 kB] 59s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libassuan9 amd64 3.0.2-2 [43.1 kB] 59s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-girepository-2.0 amd64 1.83.4-1 [25.3 kB] 59s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0 amd64 2.84.0-1 [184 kB] 59s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-0t64 amd64 2.84.0-1 [1669 kB] 59s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-1.0-1 amd64 1.83.4-1 [89.5 kB] 59s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libestr0 amd64 0.1.11-2 [8340 B] 59s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-data all 2.84.0-1 [53.0 kB] 59s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-newt amd64 0.52.24-4ubuntu2 [21.1 kB] 59s Get:61 http://ftpmaster.internal/ubuntu plucky/main amd64 libnewt0.52 amd64 0.52.24-4ubuntu2 [55.7 kB] 59s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2ubuntu5 [772 kB] 59s Get:63 http://ftpmaster.internal/ubuntu plucky/main amd64 python-apt-common all 2.9.9build1 [21.3 kB] 59s Get:64 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-apt amd64 2.9.9build1 [172 kB] 59s Get:65 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-cffi-backend amd64 1.17.1-2build2 [96.6 kB] 59s Get:66 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dbus amd64 1.3.2-5build5 [102 kB] 59s Get:67 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-gi amd64 3.50.0-4build1 [252 kB] 59s Get:68 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-yaml amd64 6.0.2-1build2 [144 kB] 59s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 rsyslog amd64 8.2412.0-2ubuntu2 [555 kB] 59s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 whiptail amd64 0.52.24-4ubuntu2 [19.1 kB] 59s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-minimal amd64 1.549 [11.5 kB] 59s Get:72 http://ftpmaster.internal/ubuntu plucky/main amd64 apparmor amd64 4.1.0~beta5-0ubuntu8 [701 kB] 59s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 dosfstools amd64 4.2-1.2 [95.0 kB] 59s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-genl-3-200 amd64 3.7.0-1 [12.2 kB] 59s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-route-3-200 amd64 3.7.0-1 [191 kB] 59s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-3-200 amd64 3.7.0-1 [64.9 kB] 59s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 parted amd64 3.6-5 [53.9 kB] 59s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 libparted2t64 amd64 3.6-5 [158 kB] 59s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 pci.ids all 0.0~2025.03.09-1 [285 kB] 59s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 pciutils amd64 1:3.13.0-2 [110 kB] 59s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 libpci3 amd64 1:3.13.0-2 [39.8 kB] 59s Get:82 http://ftpmaster.internal/ubuntu plucky/main amd64 strace amd64 6.13+ds-1ubuntu1 [622 kB] 59s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 xz-utils amd64 5.6.4-1 [278 kB] 59s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-standard amd64 1.549 [11.5 kB] 59s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.44-3ubuntu1 [886 kB] 59s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.44-3ubuntu1 [96.5 kB] 59s Get:87 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.44-3ubuntu1 [98.9 kB] 59s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.44-3ubuntu1 [1108 kB] 59s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.44-3ubuntu1 [585 kB] 59s Get:90 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.44-3ubuntu1 [208 kB] 59s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.44-3ubuntu1 [215 kB] 59s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.44-3ubuntu1 [14.8 kB] 59s Get:93 http://ftpmaster.internal/ubuntu plucky/main amd64 hwdata all 0.393-3 [1562 B] 59s Get:94 http://ftpmaster.internal/ubuntu plucky/main amd64 pnp.ids all 0.393-3 [29.5 kB] 59s Get:95 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-common all 6.14.0-10.10 [295 kB] 59s Get:96 http://ftpmaster.internal/ubuntu plucky/main amd64 bpftool amd64 7.6.0+6.14.0-10.10 [1147 kB] 59s Get:97 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-markupsafe amd64 2.1.5-1build4 [13.4 kB] 59s Get:98 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 59s Get:99 http://ftpmaster.internal/ubuntu plucky/main amd64 cloud-init-base all 25.1-0ubuntu3 [616 kB] 59s Get:100 http://ftpmaster.internal/ubuntu plucky/main amd64 libbrotli1 amd64 1.1.0-2build4 [365 kB] 59s Get:101 http://ftpmaster.internal/ubuntu plucky/main amd64 curl amd64 8.12.1-3ubuntu1 [258 kB] 59s Get:102 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl4t64 amd64 8.12.1-3ubuntu1 [437 kB] 60s Get:103 http://ftpmaster.internal/ubuntu plucky/main amd64 exfatprogs amd64 1.2.8-1 [76.3 kB] 60s Get:104 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl3t64-gnutls amd64 8.12.1-3ubuntu1 [432 kB] 60s Get:105 http://ftpmaster.internal/ubuntu plucky/main amd64 fwupd amd64 2.0.6-4 [5408 kB] 62s Get:106 http://ftpmaster.internal/ubuntu plucky/main amd64 libfwupd3 amd64 2.0.6-4 [136 kB] 62s Get:107 http://ftpmaster.internal/ubuntu plucky/main amd64 libmm-glib0 amd64 1.23.4-0ubuntu3 [251 kB] 62s Get:108 http://ftpmaster.internal/ubuntu plucky/main amd64 htop amd64 3.4.0-2 [195 kB] 62s Get:109 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-firmware amd64 20250310.git9e1370d3-0ubuntu1 [571 MB] 121s Get:110 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools all 0.146ubuntu1 [7920 B] 121s Get:111 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools-core all 0.146ubuntu1 [51.9 kB] 121s Get:112 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools-bin amd64 0.146ubuntu1 [26.2 kB] 121s Get:113 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod1t64 amd64 0.192-4 [21.0 kB] 121s Get:114 http://ftpmaster.internal/ubuntu plucky/main amd64 libftdi1-2 amd64 1.5-8build1 [30.2 kB] 121s Get:115 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.24.2-1ubuntu2 [155 kB] 121s Get:116 http://ftpmaster.internal/ubuntu plucky/main amd64 libjemalloc2 amd64 5.3.0-3 [277 kB] 121s 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] 122s 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] 122s 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] 128s Get:120 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-generic amd64 6.14.0-10.10 [1730 B] 128s Get:121 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-generic amd64 6.14.0-10.10 [11.1 kB] 128s Get:122 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-virtual amd64 6.14.0-10.10 [1722 B] 128s Get:123 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-virtual amd64 6.14.0-10.10 [11.1 kB] 128s Get:124 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-virtual amd64 6.14.0-10.10 [1642 B] 128s Get:125 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-6.14.0-10 all 6.14.0-10.10 [14.2 MB] 129s Get:126 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-6.14.0-10-generic amd64 6.14.0-10.10 [3915 kB] 130s Get:127 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-generic amd64 6.14.0-10.10 [11.0 kB] 130s Get:128 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-perf amd64 6.14.0-10.10 [4122 kB] 130s Get:129 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-6.14.0-10 amd64 6.14.0-10.10 [1394 kB] 130s Get:130 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-6.14.0-10-generic amd64 6.14.0-10.10 [830 B] 130s Get:131 http://ftpmaster.internal/ubuntu plucky/main amd64 pinentry-curses amd64 1.3.1-2ubuntu3 [42.3 kB] 130s Get:132 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-lazr.uri all 1.0.6-6 [13.7 kB] 130s Get:133 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-rpds-py amd64 0.21.0-2ubuntu2 [278 kB] 130s Get:134 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build6 [43.9 kB] 130s Get:135 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.2-2 [31.9 kB] 130s Get:136 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-kernel-accessories amd64 1.549 [11.2 kB] 130s Get:137 http://ftpmaster.internal/ubuntu plucky/main amd64 cloud-init all 25.1-0ubuntu3 [2100 B] 130s Get:138 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-bcrypt amd64 4.2.0-2.1build1 [221 kB] 130s Preconfiguring packages ... 131s Fetched 829 MB in 1min 13s (11.3 MB/s) 131s (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.) 131s Preparing to unpack .../ncurses-bin_6.5+20250216-2_amd64.deb ... 131s Unpacking ncurses-bin (6.5+20250216-2) over (6.5+20250216-1) ... 131s Setting up ncurses-bin (6.5+20250216-2) ... 131s (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.) 131s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu1_amd64.deb ... 131s Unpacking libc-dev-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 131s Preparing to unpack .../libc6-dev_2.41-1ubuntu1_amd64.deb ... 131s Unpacking libc6-dev:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 131s Preparing to unpack .../locales_2.41-1ubuntu1_all.deb ... 131s Unpacking locales (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 131s Preparing to unpack .../libc6_2.41-1ubuntu1_amd64.deb ... 132s Checking for services that may need to be restarted... 132s Checking init scripts... 132s Checking for services that may need to be restarted... 132s Checking init scripts... 132s Stopping some services possibly affected by the upgrade (will be restarted later): 132s cron: stopping...done. 132s 132s Unpacking libc6:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 132s Setting up libc6:amd64 (2.41-1ubuntu1) ... 132s Checking for services that may need to be restarted... 132s Checking init scripts... 132s Restarting services possibly affected by the upgrade: 132s cron: restarting...done. 132s 132s Services restarted successfully. 132s (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.) 132s Preparing to unpack .../libc-bin_2.41-1ubuntu1_amd64.deb ... 132s Unpacking libc-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 132s Setting up libc-bin (2.41-1ubuntu1) ... 132s (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.) 132s Preparing to unpack .../linux-libc-dev_6.14.0-10.10_amd64.deb ... 132s Unpacking linux-libc-dev:amd64 (6.14.0-10.10) over (6.12.0-16.16) ... 133s Preparing to unpack .../libatomic1_15-20250222-0ubuntu1_amd64.deb ... 133s Unpacking libatomic1:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 133s Preparing to unpack .../gcc-15-base_15-20250222-0ubuntu1_amd64.deb ... 133s Unpacking gcc-15-base:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 133s Setting up gcc-15-base:amd64 (15-20250222-0ubuntu1) ... 133s (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.) 133s Preparing to unpack .../libgcc-s1_15-20250222-0ubuntu1_amd64.deb ... 133s Unpacking libgcc-s1:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 133s Setting up libgcc-s1:amd64 (15-20250222-0ubuntu1) ... 133s (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.) 133s Preparing to unpack .../libstdc++6_15-20250222-0ubuntu1_amd64.deb ... 133s Unpacking libstdc++6:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 133s Setting up libstdc++6:amd64 (15-20250222-0ubuntu1) ... 133s (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.) 133s Preparing to unpack .../ncurses-base_6.5+20250216-2_all.deb ... 133s Unpacking ncurses-base (6.5+20250216-2) over (6.5+20250216-1) ... 133s Setting up ncurses-base (6.5+20250216-2) ... 133s (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.) 133s Preparing to unpack .../ncurses-term_6.5+20250216-2_all.deb ... 133s Unpacking ncurses-term (6.5+20250216-2) over (6.5+20250216-1) ... 134s Preparing to unpack .../liblz4-1_1.10.0-4_amd64.deb ... 134s Unpacking liblz4-1:amd64 (1.10.0-4) over (1.10.0-3) ... 134s Setting up liblz4-1:amd64 (1.10.0-4) ... 134s (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.) 134s Preparing to unpack .../liblzma5_5.6.4-1_amd64.deb ... 134s Unpacking liblzma5:amd64 (5.6.4-1) over (5.6.3-1) ... 134s Setting up liblzma5:amd64 (5.6.4-1) ... 134s (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.) 134s Preparing to unpack .../libsystemd0_257.3-1ubuntu3_amd64.deb ... 134s Unpacking libsystemd0:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 134s Setting up libsystemd0:amd64 (257.3-1ubuntu3) ... 134s (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.) 134s Preparing to unpack .../libnss-systemd_257.3-1ubuntu3_amd64.deb ... 134s Unpacking libnss-systemd:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 134s Preparing to unpack .../systemd-sysv_257.3-1ubuntu3_amd64.deb ... 134s Unpacking systemd-sysv (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 134s Preparing to unpack .../systemd-resolved_257.3-1ubuntu3_amd64.deb ... 134s Unpacking systemd-resolved (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 134s Preparing to unpack .../libpam-systemd_257.3-1ubuntu3_amd64.deb ... 134s Unpacking libpam-systemd:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 134s Preparing to unpack .../libsystemd-shared_257.3-1ubuntu3_amd64.deb ... 134s Unpacking libsystemd-shared:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 134s Setting up libsystemd-shared:amd64 (257.3-1ubuntu3) ... 134s (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.) 134s Preparing to unpack .../systemd_257.3-1ubuntu3_amd64.deb ... 134s Unpacking systemd (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 135s Preparing to unpack .../systemd-timesyncd_257.3-1ubuntu3_amd64.deb ... 135s Unpacking systemd-timesyncd (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 135s Preparing to unpack .../systemd-cryptsetup_257.3-1ubuntu3_amd64.deb ... 135s Unpacking systemd-cryptsetup (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 135s Preparing to unpack .../udev_257.3-1ubuntu3_amd64.deb ... 135s Unpacking udev (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 135s Preparing to unpack .../libudev1_257.3-1ubuntu3_amd64.deb ... 135s Unpacking libudev1:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 135s Setting up libudev1:amd64 (257.3-1ubuntu3) ... 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 135s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu2_all.deb ... 135s Unpacking libaudit-common (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 135s Setting up libaudit-common (1:4.0.2-2ubuntu2) ... 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 135s Preparing to unpack .../libcap-ng0_0.8.5-4build1_amd64.deb ... 135s Unpacking libcap-ng0:amd64 (0.8.5-4build1) over (0.8.5-4) ... 135s Setting up libcap-ng0:amd64 (0.8.5-4build1) ... 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 135s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu2_amd64.deb ... 135s Unpacking libaudit1:amd64 (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 135s Setting up libaudit1:amd64 (1:4.0.2-2ubuntu2) ... 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 135s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu6_amd64.deb ... 135s Unpacking libseccomp2:amd64 (2.5.5-1ubuntu6) over (2.5.5-1ubuntu5) ... 135s Setting up libseccomp2:amd64 (2.5.5-1ubuntu6) ... 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 135s Preparing to unpack .../libselinux1_3.7-3ubuntu3_amd64.deb ... 135s Unpacking libselinux1:amd64 (3.7-3ubuntu3) over (3.7-3ubuntu2) ... 135s Setting up libselinux1:amd64 (3.7-3ubuntu3) ... 136s (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.) 136s Preparing to unpack .../libapparmor1_4.1.0~beta5-0ubuntu8_amd64.deb ... 136s Unpacking libapparmor1:amd64 (4.1.0~beta5-0ubuntu8) over (4.1.0~beta5-0ubuntu5) ... 136s Preparing to unpack .../libapt-pkg7.0_2.9.33_amd64.deb ... 136s Unpacking libapt-pkg7.0:amd64 (2.9.33) over (2.9.31ubuntu1) ... 136s Setting up libapt-pkg7.0:amd64 (2.9.33) ... 136s (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.) 136s Preparing to unpack .../archives/apt_2.9.33_amd64.deb ... 136s Unpacking apt (2.9.33) over (2.9.31ubuntu1) ... 136s Setting up apt (2.9.33) ... 137s (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.) 137s Preparing to unpack .../apt-utils_2.9.33_amd64.deb ... 137s Unpacking apt-utils (2.9.33) over (2.9.31ubuntu1) ... 137s Preparing to unpack .../python3-minimal_3.13.2-2_amd64.deb ... 137s Unpacking python3-minimal (3.13.2-2) over (3.13.2-1) ... 137s Setting up python3-minimal (3.13.2-2) ... 137s (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.) 137s Preparing to unpack .../0-python3_3.13.2-2_amd64.deb ... 137s Unpacking python3 (3.13.2-2) over (3.13.2-1) ... 137s Preparing to unpack .../1-libpython3.13_3.13.2-2_amd64.deb ... 137s Unpacking libpython3.13:amd64 (3.13.2-2) over (3.13.2-1) ... 137s Preparing to unpack .../2-media-types_13.0.0_all.deb ... 137s Unpacking media-types (13.0.0) over (12.0.0) ... 137s Preparing to unpack .../3-libncurses6_6.5+20250216-2_amd64.deb ... 137s Unpacking libncurses6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 137s Preparing to unpack .../4-libncursesw6_6.5+20250216-2_amd64.deb ... 137s Unpacking libncursesw6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 137s Preparing to unpack .../5-libtinfo6_6.5+20250216-2_amd64.deb ... 137s Unpacking libtinfo6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 137s Setting up libtinfo6:amd64 (6.5+20250216-2) ... 137s (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.) 137s Preparing to unpack .../0-libsqlite3-0_3.46.1-2_amd64.deb ... 137s Unpacking libsqlite3-0:amd64 (3.46.1-2) over (3.46.1-1) ... 137s Preparing to unpack .../1-python3.13_3.13.2-2_amd64.deb ... 138s Unpacking python3.13 (3.13.2-2) over (3.13.2-1) ... 138s Preparing to unpack .../2-python3.13-minimal_3.13.2-2_amd64.deb ... 138s Unpacking python3.13-minimal (3.13.2-2) over (3.13.2-1) ... 138s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-2_amd64.deb ... 138s Unpacking libpython3.13-minimal:amd64 (3.13.2-2) over (3.13.2-1) ... 138s Preparing to unpack .../4-libpython3.13-stdlib_3.13.2-2_amd64.deb ... 138s Unpacking libpython3.13-stdlib:amd64 (3.13.2-2) over (3.13.2-1) ... 138s Preparing to unpack .../5-libpython3-stdlib_3.13.2-2_amd64.deb ... 138s Unpacking libpython3-stdlib:amd64 (3.13.2-2) over (3.13.2-1) ... 138s Preparing to unpack .../6-rsync_3.4.1+ds1-3_amd64.deb ... 138s Unpacking rsync (3.4.1+ds1-3) over (3.4.1-0syncable1) ... 138s Selecting previously unselected package libdebuginfod-common. 138s Preparing to unpack .../7-libdebuginfod-common_0.192-4_all.deb ... 138s Unpacking libdebuginfod-common (0.192-4) ... 138s Preparing to unpack .../8-libsemanage-common_3.7-2.1build1_all.deb ... 138s Unpacking libsemanage-common (3.7-2.1build1) over (3.7-2.1) ... 138s Setting up libsemanage-common (3.7-2.1build1) ... 138s (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.) 138s Preparing to unpack .../libsemanage2_3.7-2.1build1_amd64.deb ... 138s Unpacking libsemanage2:amd64 (3.7-2.1build1) over (3.7-2.1) ... 138s Setting up libsemanage2:amd64 (3.7-2.1build1) ... 138s (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.) 138s Preparing to unpack .../libassuan9_3.0.2-2_amd64.deb ... 138s Unpacking libassuan9:amd64 (3.0.2-2) over (3.0.1-2) ... 138s Setting up libassuan9:amd64 (3.0.2-2) ... 139s (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.) 139s Preparing to unpack .../00-gir1.2-girepository-2.0_1.83.4-1_amd64.deb ... 139s Unpacking gir1.2-girepository-2.0:amd64 (1.83.4-1) over (1.82.0-4) ... 139s Preparing to unpack .../01-gir1.2-glib-2.0_2.84.0-1_amd64.deb ... 139s Unpacking gir1.2-glib-2.0:amd64 (2.84.0-1) over (2.83.5-1) ... 139s Preparing to unpack .../02-libglib2.0-0t64_2.84.0-1_amd64.deb ... 139s Unpacking libglib2.0-0t64:amd64 (2.84.0-1) over (2.83.5-1) ... 139s Preparing to unpack .../03-libgirepository-1.0-1_1.83.4-1_amd64.deb ... 139s Unpacking libgirepository-1.0-1:amd64 (1.83.4-1) over (1.82.0-4) ... 139s Preparing to unpack .../04-libestr0_0.1.11-2_amd64.deb ... 139s Unpacking libestr0:amd64 (0.1.11-2) over (0.1.11-1build1) ... 139s Preparing to unpack .../05-libglib2.0-data_2.84.0-1_all.deb ... 139s Unpacking libglib2.0-data (2.84.0-1) over (2.83.5-1) ... 139s Preparing to unpack .../06-python3-newt_0.52.24-4ubuntu2_amd64.deb ... 139s Unpacking python3-newt:amd64 (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 139s Preparing to unpack .../07-libnewt0.52_0.52.24-4ubuntu2_amd64.deb ... 139s Unpacking libnewt0.52:amd64 (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 139s Preparing to unpack .../08-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu5_amd64.deb ... 139s Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) over (2.12.7+dfsg+really2.9.14-0.2ubuntu4) ... 139s Preparing to unpack .../09-python-apt-common_2.9.9build1_all.deb ... 139s Unpacking python-apt-common (2.9.9build1) over (2.9.9) ... 139s Preparing to unpack .../10-python3-apt_2.9.9build1_amd64.deb ... 139s Unpacking python3-apt (2.9.9build1) over (2.9.9) ... 139s Preparing to unpack .../11-python3-cffi-backend_1.17.1-2build2_amd64.deb ... 139s Unpacking python3-cffi-backend:amd64 (1.17.1-2build2) over (1.17.1-2build1) ... 139s Preparing to unpack .../12-python3-dbus_1.3.2-5build5_amd64.deb ... 139s Unpacking python3-dbus (1.3.2-5build5) over (1.3.2-5build4) ... 140s Preparing to unpack .../13-python3-gi_3.50.0-4build1_amd64.deb ... 140s Unpacking python3-gi (3.50.0-4build1) over (3.50.0-4) ... 140s Preparing to unpack .../14-python3-yaml_6.0.2-1build2_amd64.deb ... 140s Unpacking python3-yaml (6.0.2-1build2) over (6.0.2-1build1) ... 140s Preparing to unpack .../15-rsyslog_8.2412.0-2ubuntu2_amd64.deb ... 140s Unpacking rsyslog (8.2412.0-2ubuntu2) over (8.2412.0-2ubuntu1) ... 140s Preparing to unpack .../16-whiptail_0.52.24-4ubuntu2_amd64.deb ... 140s Unpacking whiptail (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 140s Preparing to unpack .../17-ubuntu-minimal_1.549_amd64.deb ... 140s Unpacking ubuntu-minimal (1.549) over (1.548) ... 140s Preparing to unpack .../18-apparmor_4.1.0~beta5-0ubuntu8_amd64.deb ... 141s Unpacking apparmor (4.1.0~beta5-0ubuntu8) over (4.1.0~beta5-0ubuntu5) ... 141s Preparing to unpack .../19-dosfstools_4.2-1.2_amd64.deb ... 141s Unpacking dosfstools (4.2-1.2) over (4.2-1.1build1) ... 141s Preparing to unpack .../20-libnl-genl-3-200_3.7.0-1_amd64.deb ... 141s Unpacking libnl-genl-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 141s Preparing to unpack .../21-libnl-route-3-200_3.7.0-1_amd64.deb ... 141s Unpacking libnl-route-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 141s Preparing to unpack .../22-libnl-3-200_3.7.0-1_amd64.deb ... 141s Unpacking libnl-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 141s Preparing to unpack .../23-parted_3.6-5_amd64.deb ... 141s Unpacking parted (3.6-5) over (3.6-4build1) ... 141s Preparing to unpack .../24-libparted2t64_3.6-5_amd64.deb ... 141s 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' 141s 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' 141s Unpacking libparted2t64:amd64 (3.6-5) over (3.6-4build1) ... 141s Preparing to unpack .../25-pci.ids_0.0~2025.03.09-1_all.deb ... 141s Unpacking pci.ids (0.0~2025.03.09-1) over (0.0~2025.02.12-1) ... 141s Preparing to unpack .../26-pciutils_1%3a3.13.0-2_amd64.deb ... 141s Unpacking pciutils (1:3.13.0-2) over (1:3.13.0-1) ... 141s Preparing to unpack .../27-libpci3_1%3a3.13.0-2_amd64.deb ... 141s Unpacking libpci3:amd64 (1:3.13.0-2) over (1:3.13.0-1) ... 141s Preparing to unpack .../28-strace_6.13+ds-1ubuntu1_amd64.deb ... 141s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 142s Preparing to unpack .../29-xz-utils_5.6.4-1_amd64.deb ... 142s Unpacking xz-utils (5.6.4-1) over (5.6.3-1) ... 142s Preparing to unpack .../30-ubuntu-standard_1.549_amd64.deb ... 142s Unpacking ubuntu-standard (1.549) over (1.548) ... 142s Preparing to unpack .../31-libgprofng0_2.44-3ubuntu1_amd64.deb ... 142s Unpacking libgprofng0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../32-libctf0_2.44-3ubuntu1_amd64.deb ... 142s Unpacking libctf0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../33-libctf-nobfd0_2.44-3ubuntu1_amd64.deb ... 142s Unpacking libctf-nobfd0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../34-binutils-x86-64-linux-gnu_2.44-3ubuntu1_amd64.deb ... 142s Unpacking binutils-x86-64-linux-gnu (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../35-libbinutils_2.44-3ubuntu1_amd64.deb ... 142s Unpacking libbinutils:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../36-binutils_2.44-3ubuntu1_amd64.deb ... 142s Unpacking binutils (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../37-binutils-common_2.44-3ubuntu1_amd64.deb ... 142s Unpacking binutils-common:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../38-libsframe1_2.44-3ubuntu1_amd64.deb ... 142s Unpacking libsframe1:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 142s Preparing to unpack .../39-hwdata_0.393-3_all.deb ... 142s Unpacking hwdata (0.393-3) over (0.392-1) ... 142s Selecting previously unselected package pnp.ids. 142s Preparing to unpack .../40-pnp.ids_0.393-3_all.deb ... 142s Unpacking pnp.ids (0.393-3) ... 142s Preparing to unpack .../41-linux-tools-common_6.14.0-10.10_all.deb ... 142s Unpacking linux-tools-common (6.14.0-10.10) over (6.12.0-16.16) ... 142s Selecting previously unselected package bpftool. 142s Preparing to unpack .../42-bpftool_7.6.0+6.14.0-10.10_amd64.deb ... 142s Unpacking bpftool (7.6.0+6.14.0-10.10) ... 142s Preparing to unpack .../43-python3-markupsafe_2.1.5-1build4_amd64.deb ... 142s Unpacking python3-markupsafe (2.1.5-1build4) over (2.1.5-1build3) ... 142s Preparing to unpack .../44-python3-jinja2_3.1.5-2ubuntu1_all.deb ... 142s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 142s Preparing to unpack .../45-cloud-init-base_25.1-0ubuntu3_all.deb ... 143s Unpacking cloud-init-base (25.1-0ubuntu3) over (25.1-0ubuntu2) ... 143s Preparing to unpack .../46-libbrotli1_1.1.0-2build4_amd64.deb ... 143s Unpacking libbrotli1:amd64 (1.1.0-2build4) over (1.1.0-2build3) ... 143s Preparing to unpack .../47-curl_8.12.1-3ubuntu1_amd64.deb ... 143s Unpacking curl (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 143s Preparing to unpack .../48-libcurl4t64_8.12.1-3ubuntu1_amd64.deb ... 143s Unpacking libcurl4t64:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 143s Preparing to unpack .../49-exfatprogs_1.2.8-1_amd64.deb ... 143s Unpacking exfatprogs (1.2.8-1) over (1.2.7-3) ... 143s Preparing to unpack .../50-libcurl3t64-gnutls_8.12.1-3ubuntu1_amd64.deb ... 143s Unpacking libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 143s Preparing to unpack .../51-fwupd_2.0.6-4_amd64.deb ... 143s Unpacking fwupd (2.0.6-4) over (2.0.6-3) ... 143s Preparing to unpack .../52-libfwupd3_2.0.6-4_amd64.deb ... 143s Unpacking libfwupd3:amd64 (2.0.6-4) over (2.0.6-3) ... 143s Preparing to unpack .../53-libmm-glib0_1.23.4-0ubuntu3_amd64.deb ... 143s Unpacking libmm-glib0:amd64 (1.23.4-0ubuntu3) over (1.23.4-0ubuntu2) ... 143s Preparing to unpack .../54-htop_3.4.0-2_amd64.deb ... 143s Unpacking htop (3.4.0-2) over (3.3.0-5) ... 144s Preparing to unpack .../55-linux-firmware_20250310.git9e1370d3-0ubuntu1_amd64.deb ... 144s Unpacking linux-firmware (20250310.git9e1370d3-0ubuntu1) over (20250204.git0fd450ee-0ubuntu1) ... 146s Preparing to unpack .../56-initramfs-tools_0.146ubuntu1_all.deb ... 146s Unpacking initramfs-tools (0.146ubuntu1) over (0.145ubuntu3) ... 146s Preparing to unpack .../57-initramfs-tools-core_0.146ubuntu1_all.deb ... 146s Unpacking initramfs-tools-core (0.146ubuntu1) over (0.145ubuntu3) ... 147s Preparing to unpack .../58-initramfs-tools-bin_0.146ubuntu1_amd64.deb ... 147s Unpacking initramfs-tools-bin (0.146ubuntu1) over (0.145ubuntu3) ... 147s Selecting previously unselected package libdebuginfod1t64:amd64. 147s Preparing to unpack .../59-libdebuginfod1t64_0.192-4_amd64.deb ... 147s Unpacking libdebuginfod1t64:amd64 (0.192-4) ... 147s Preparing to unpack .../60-libftdi1-2_1.5-8build1_amd64.deb ... 147s Unpacking libftdi1-2:amd64 (1.5-8build1) over (1.5-8) ... 147s Preparing to unpack .../61-libgpgme11t64_1.24.2-1ubuntu2_amd64.deb ... 147s Unpacking libgpgme11t64:amd64 (1.24.2-1ubuntu2) over (1.24.2-1ubuntu1) ... 147s Preparing to unpack .../62-libjemalloc2_5.3.0-3_amd64.deb ... 147s Unpacking libjemalloc2:amd64 (5.3.0-3) over (5.3.0-2build1) ... 147s Selecting previously unselected package linux-modules-6.14.0-10-generic. 147s Preparing to unpack .../63-linux-modules-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 147s Unpacking linux-modules-6.14.0-10-generic (6.14.0-10.10) ... 147s Selecting previously unselected package linux-image-6.14.0-10-generic. 147s Preparing to unpack .../64-linux-image-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 147s Unpacking linux-image-6.14.0-10-generic (6.14.0-10.10) ... 147s Selecting previously unselected package linux-modules-extra-6.14.0-10-generic. 147s Preparing to unpack .../65-linux-modules-extra-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 147s Unpacking linux-modules-extra-6.14.0-10-generic (6.14.0-10.10) ... 148s Preparing to unpack .../66-linux-generic_6.14.0-10.10_amd64.deb ... 148s Unpacking linux-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 148s Preparing to unpack .../67-linux-image-generic_6.14.0-10.10_amd64.deb ... 148s Unpacking linux-image-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 148s Preparing to unpack .../68-linux-virtual_6.14.0-10.10_amd64.deb ... 148s Unpacking linux-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 148s Preparing to unpack .../69-linux-image-virtual_6.14.0-10.10_amd64.deb ... 148s Unpacking linux-image-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 148s Preparing to unpack .../70-linux-headers-virtual_6.14.0-10.10_amd64.deb ... 148s Unpacking linux-headers-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 148s Selecting previously unselected package linux-headers-6.14.0-10. 148s Preparing to unpack .../71-linux-headers-6.14.0-10_6.14.0-10.10_all.deb ... 148s Unpacking linux-headers-6.14.0-10 (6.14.0-10.10) ... 151s Selecting previously unselected package linux-headers-6.14.0-10-generic. 152s Preparing to unpack .../72-linux-headers-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 152s Unpacking linux-headers-6.14.0-10-generic (6.14.0-10.10) ... 153s Preparing to unpack .../73-linux-headers-generic_6.14.0-10.10_amd64.deb ... 153s Unpacking linux-headers-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 153s Selecting previously unselected package linux-perf. 153s Preparing to unpack .../74-linux-perf_6.14.0-10.10_amd64.deb ... 153s Unpacking linux-perf (6.14.0-10.10) ... 153s Selecting previously unselected package linux-tools-6.14.0-10. 153s Preparing to unpack .../75-linux-tools-6.14.0-10_6.14.0-10.10_amd64.deb ... 153s Unpacking linux-tools-6.14.0-10 (6.14.0-10.10) ... 153s Selecting previously unselected package linux-tools-6.14.0-10-generic. 153s Preparing to unpack .../76-linux-tools-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 153s Unpacking linux-tools-6.14.0-10-generic (6.14.0-10.10) ... 153s Preparing to unpack .../77-pinentry-curses_1.3.1-2ubuntu3_amd64.deb ... 153s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 153s Preparing to unpack .../78-python3-lazr.uri_1.0.6-6_all.deb ... 153s Unpacking python3-lazr.uri (1.0.6-6) over (1.0.6-5) ... 153s Preparing to unpack .../79-python3-rpds-py_0.21.0-2ubuntu2_amd64.deb ... 153s Unpacking python3-rpds-py (0.21.0-2ubuntu2) over (0.21.0-2ubuntu1) ... 153s Preparing to unpack .../80-python3-systemd_235-1build6_amd64.deb ... 153s Unpacking python3-systemd (235-1build6) over (235-1build5) ... 153s Preparing to unpack .../81-python3.13-gdbm_3.13.2-2_amd64.deb ... 153s Unpacking python3.13-gdbm (3.13.2-2) over (3.13.2-1) ... 153s Preparing to unpack .../82-ubuntu-kernel-accessories_1.549_amd64.deb ... 153s Unpacking ubuntu-kernel-accessories (1.549) over (1.548) ... 154s Preparing to unpack .../83-cloud-init_25.1-0ubuntu3_all.deb ... 154s Unpacking cloud-init (25.1-0ubuntu3) over (25.1-0ubuntu2) ... 154s Preparing to unpack .../84-python3-bcrypt_4.2.0-2.1build1_amd64.deb ... 154s Unpacking python3-bcrypt (4.2.0-2.1build1) over (4.2.0-2.1) ... 154s Setting up linux-headers-6.14.0-10 (6.14.0-10.10) ... 154s Setting up media-types (13.0.0) ... 154s Installing new version of config file /etc/mime.types ... 154s Setting up linux-headers-6.14.0-10-generic (6.14.0-10.10) ... 154s Setting up ubuntu-kernel-accessories (1.549) ... 154s Setting up libapparmor1:amd64 (4.1.0~beta5-0ubuntu8) ... 154s Setting up pci.ids (0.0~2025.03.09-1) ... 154s Setting up libnewt0.52:amd64 (0.52.24-4ubuntu2) ... 154s Setting up apt-utils (2.9.33) ... 154s Setting up libdebuginfod-common (0.192-4) ... 154s Setting up exfatprogs (1.2.8-1) ... 154s Setting up linux-firmware (20250310.git9e1370d3-0ubuntu1) ... 154s Setting up bpftool (7.6.0+6.14.0-10.10) ... 154s Setting up libestr0:amd64 (0.1.11-2) ... 154s Setting up libbrotli1:amd64 (1.1.0-2build4) ... 154s Setting up libsqlite3-0:amd64 (3.46.1-2) ... 154s Setting up dosfstools (4.2-1.2) ... 154s Setting up rsyslog (8.2412.0-2ubuntu2) ... 154s info: The user `syslog' is already a member of `adm'. 155s Setting up binutils-common:amd64 (2.44-3ubuntu1) ... 155s Setting up libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) ... 155s Setting up linux-libc-dev:amd64 (6.14.0-10.10) ... 155s Setting up libctf-nobfd0:amd64 (2.44-3ubuntu1) ... 155s Setting up systemd (257.3-1ubuntu3) ... 155s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 155s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 155s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 156s Setting up libparted2t64:amd64 (3.6-5) ... 156s 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' 156s 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' 156s Setting up linux-headers-generic (6.14.0-10.10) ... 156s Setting up libjemalloc2:amd64 (5.3.0-3) ... 156s Setting up locales (2.41-1ubuntu1) ... 156s Installing new version of config file /etc/locale.alias ... 157s Generating locales (this might take a while)... 158s en_US.UTF-8... done 158s Generation complete. 158s Setting up libsframe1:amd64 (2.44-3ubuntu1) ... 158s Setting up libpython3.13-minimal:amd64 (3.13.2-2) ... 158s Setting up apparmor (4.1.0~beta5-0ubuntu8) ... 158s Installing new version of config file /etc/apparmor.d/fusermount3 ... 158s Installing new version of config file /etc/apparmor.d/lsusb ... 158s Installing new version of config file /etc/apparmor.d/openvpn ... 160s Reloading AppArmor profiles 162s Setting up libftdi1-2:amd64 (1.5-8build1) ... 162s Setting up libglib2.0-data (2.84.0-1) ... 162s Setting up systemd-cryptsetup (257.3-1ubuntu3) ... 162s Setting up libncurses6:amd64 (6.5+20250216-2) ... 162s Setting up strace (6.13+ds-1ubuntu1) ... 162s Setting up xz-utils (5.6.4-1) ... 162s Setting up systemd-timesyncd (257.3-1ubuntu3) ... 162s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 162s Setting up libatomic1:amd64 (15-20250222-0ubuntu1) ... 162s Setting up udev (257.3-1ubuntu3) ... 163s Setting up linux-modules-6.14.0-10-generic (6.14.0-10.10) ... 165s Setting up libncursesw6:amd64 (6.5+20250216-2) ... 165s Setting up libpci3:amd64 (1:3.13.0-2) ... 165s Setting up whiptail (0.52.24-4ubuntu2) ... 165s Setting up python-apt-common (2.9.9build1) ... 165s Setting up pnp.ids (0.393-3) ... 165s Setting up libnl-3-200:amd64 (3.7.0-1) ... 165s Setting up python3.13-minimal (3.13.2-2) ... 166s Setting up libgpgme11t64:amd64 (1.24.2-1ubuntu2) ... 166s Setting up libbinutils:amd64 (2.44-3ubuntu1) ... 166s Setting up libc-dev-bin (2.41-1ubuntu1) ... 166s Setting up libpython3.13-stdlib:amd64 (3.13.2-2) ... 166s Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) ... 166s Setting up rsync (3.4.1+ds1-3) ... 167s rsync.service is a disabled or a static unit not running, not starting it. 167s Setting up python3.13-gdbm (3.13.2-2) ... 167s Setting up libpython3-stdlib:amd64 (3.13.2-2) ... 167s Setting up systemd-resolved (257.3-1ubuntu3) ... 168s Setting up initramfs-tools-bin (0.146ubuntu1) ... 168s Setting up ncurses-term (6.5+20250216-2) ... 168s Setting up libctf0:amd64 (2.44-3ubuntu1) ... 168s Setting up libpython3.13:amd64 (3.13.2-2) ... 168s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 168s Setting up libdebuginfod1t64:amd64 (0.192-4) ... 168s Setting up systemd-sysv (257.3-1ubuntu3) ... 168s Setting up linux-headers-virtual (6.14.0-10.10) ... 168s Setting up libcurl4t64:amd64 (8.12.1-3ubuntu1) ... 168s Setting up python3.13 (3.13.2-2) ... 169s Setting up htop (3.4.0-2) ... 169s Setting up linux-image-6.14.0-10-generic (6.14.0-10.10) ... 171s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.12.0-16-generic 171s I: /boot/initrd.img.old is now a symlink to initrd.img-6.12.0-16-generic 171s I: /boot/vmlinuz is now a symlink to vmlinuz-6.14.0-10-generic 171s I: /boot/initrd.img is now a symlink to initrd.img-6.14.0-10-generic 171s Setting up parted (3.6-5) ... 171s Setting up libnss-systemd:amd64 (257.3-1ubuntu3) ... 171s Setting up python3 (3.13.2-2) ... 171s Setting up python3-newt:amd64 (0.52.24-4ubuntu2) ... 171s Setting up python3-markupsafe (2.1.5-1build4) ... 171s Setting up linux-modules-extra-6.14.0-10-generic (6.14.0-10.10) ... 173s Setting up libnl-route-3-200:amd64 (3.7.0-1) ... 173s Setting up hwdata (0.393-3) ... 173s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 174s Setting up libglib2.0-0t64:amd64 (2.84.0-1) ... 174s No schema files found: doing nothing. 174s Setting up libgprofng0:amd64 (2.44-3ubuntu1) ... 174s Setting up linux-perf (6.14.0-10.10) ... 174s Setting up gir1.2-glib-2.0:amd64 (2.84.0-1) ... 174s Setting up pciutils (1:3.13.0-2) ... 174s Setting up python3-rpds-py (0.21.0-2ubuntu2) ... 174s Setting up libmm-glib0:amd64 (1.23.4-0ubuntu3) ... 174s Setting up libnl-genl-3-200:amd64 (3.7.0-1) ... 174s Setting up libpam-systemd:amd64 (257.3-1ubuntu3) ... 174s Setting up libc6-dev:amd64 (2.41-1ubuntu1) ... 174s Setting up libgirepository-1.0-1:amd64 (1.83.4-1) ... 174s Setting up curl (8.12.1-3ubuntu1) ... 174s Setting up linux-image-virtual (6.14.0-10.10) ... 174s Setting up initramfs-tools-core (0.146ubuntu1) ... 174s Setting up linux-tools-common (6.14.0-10.10) ... 174s Setting up python3-systemd (235-1build6) ... 174s Setting up python3-cffi-backend:amd64 (1.17.1-2build2) ... 174s Setting up binutils-x86-64-linux-gnu (2.44-3ubuntu1) ... 174s Setting up linux-image-generic (6.14.0-10.10) ... 174s Setting up python3-dbus (1.3.2-5build5) ... 174s Setting up linux-tools-6.14.0-10 (6.14.0-10.10) ... 174s Setting up initramfs-tools (0.146ubuntu1) ... 174s Installing new version of config file /etc/kernel/postinst.d/initramfs-tools ... 174s Installing new version of config file /etc/kernel/postrm.d/initramfs-tools ... 174s update-initramfs: deferring update (trigger activated) 174s Setting up linux-generic (6.14.0-10.10) ... 174s Setting up ubuntu-minimal (1.549) ... 174s Setting up python3-apt (2.9.9build1) ... 174s Setting up python3-bcrypt (4.2.0-2.1build1) ... 175s Setting up python3-yaml (6.0.2-1build2) ... 175s Setting up libfwupd3:amd64 (2.0.6-4) ... 175s Setting up python3-lazr.uri (1.0.6-6) ... 175s Setting up binutils (2.44-3ubuntu1) ... 175s Setting up ubuntu-standard (1.549) ... 175s Setting up cloud-init-base (25.1-0ubuntu3) ... 176s Setting up linux-virtual (6.14.0-10.10) ... 176s Setting up gir1.2-girepository-2.0:amd64 (1.83.4-1) ... 176s Setting up python3-gi (3.50.0-4build1) ... 177s Setting up linux-tools-6.14.0-10-generic (6.14.0-10.10) ... 177s Setting up fwupd (2.0.6-4) ... 177s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 177s Setting up cloud-init (25.1-0ubuntu3) ... 177s Processing triggers for man-db (2.13.0-1) ... 179s Processing triggers for dbus (1.16.2-1ubuntu1) ... 179s Processing triggers for shared-mime-info (2.4-5) ... 179s Warning: program compiled against libxml 212 using older 209 180s Processing triggers for libc-bin (2.41-1ubuntu1) ... 180s Processing triggers for linux-image-6.14.0-10-generic (6.14.0-10.10) ... 180s /etc/kernel/postinst.d/initramfs-tools: 180s update-initramfs: Generating /boot/initrd.img-6.14.0-10-generic 180s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 190s /etc/kernel/postinst.d/zz-update-grub: 190s Sourcing file `/etc/default/grub' 190s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 190s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 190s Generating grub configuration file ... 190s Found linux image: /boot/vmlinuz-6.14.0-10-generic 191s Found initrd image: /boot/initrd.img-6.14.0-10-generic 191s Found linux image: /boot/vmlinuz-6.12.0-16-generic 191s Found initrd image: /boot/initrd.img-6.12.0-16-generic 191s Found linux image: /boot/vmlinuz-6.11.0-8-generic 191s Found initrd image: /boot/initrd.img-6.11.0-8-generic 191s Warning: os-prober will not be executed to detect other bootable partitions. 191s Systems on them will not be added to the GRUB boot configuration. 191s Check GRUB_DISABLE_OS_PROBER documentation entry. 191s Adding boot menu entry for UEFI Firmware Settings ... 191s done 191s Processing triggers for initramfs-tools (0.146ubuntu1) ... 191s update-initramfs: Generating /boot/initrd.img-6.14.0-10-generic 191s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 203s Reading package lists... 203s Building dependency tree... 203s Reading state information... 203s Solving dependencies... 203s The following packages will be REMOVED: 203s libnl-genl-3-200* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 203s libpython3.12t64* linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 203s linux-headers-6.12.0-16* linux-headers-6.12.0-16-generic* 203s linux-image-6.11.0-8-generic* linux-image-6.12.0-16-generic* 203s linux-modules-6.11.0-8-generic* linux-modules-6.12.0-16-generic* 203s linux-modules-extra-6.12.0-16-generic* linux-tools-6.11.0-8* 203s linux-tools-6.11.0-8-generic* linux-tools-6.12.0-16* 203s linux-tools-6.12.0-16-generic* 204s 0 upgraded, 0 newly installed, 18 to remove and 5 not upgraded. 204s After this operation, 545 MB disk space will be freed. 204s (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.) 204s Removing libnl-genl-3-200:amd64 (3.7.0-1) ... 204s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 204s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 204s Removing libpython3.12t64:amd64 (3.12.9-1) ... 204s Removing libpython3.12-stdlib:amd64 (3.12.9-1) ... 204s Removing libnsl2:amd64 (1.3.0-3build3) ... 204s Removing libpython3.12-minimal:amd64 (3.12.9-1) ... 204s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 205s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 207s Removing linux-headers-6.12.0-16-generic (6.12.0-16.16) ... 207s Removing linux-headers-6.12.0-16 (6.12.0-16.16) ... 209s Removing linux-image-6.11.0-8-generic (6.11.0-8.8) ... 210s /etc/kernel/postrm.d/initramfs-tools: 210s update-initramfs: Deleting /boot/initrd.img-6.11.0-8-generic 210s /etc/kernel/postrm.d/zz-update-grub: 210s Sourcing file `/etc/default/grub' 210s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 210s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 210s Generating grub configuration file ... 210s Found linux image: /boot/vmlinuz-6.14.0-10-generic 210s Found initrd image: /boot/initrd.img-6.14.0-10-generic 210s Found linux image: /boot/vmlinuz-6.12.0-16-generic 210s Found initrd image: /boot/initrd.img-6.12.0-16-generic 210s Warning: os-prober will not be executed to detect other bootable partitions. 210s Systems on them will not be added to the GRUB boot configuration. 210s Check GRUB_DISABLE_OS_PROBER documentation entry. 210s Adding boot menu entry for UEFI Firmware Settings ... 210s done 210s Removing linux-image-6.12.0-16-generic (6.12.0-16.16) ... 211s W: Removing the running kernel 211s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.14.0-10-generic 211s I: /boot/initrd.img.old is now a symlink to initrd.img-6.14.0-10-generic 211s /etc/kernel/postrm.d/initramfs-tools: 211s update-initramfs: Deleting /boot/initrd.img-6.12.0-16-generic 211s /etc/kernel/postrm.d/zz-update-grub: 211s Sourcing file `/etc/default/grub' 211s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 211s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 211s Generating grub configuration file ... 211s Found linux image: /boot/vmlinuz-6.14.0-10-generic 211s Found initrd image: /boot/initrd.img-6.14.0-10-generic 211s Warning: os-prober will not be executed to detect other bootable partitions. 211s Systems on them will not be added to the GRUB boot configuration. 211s Check GRUB_DISABLE_OS_PROBER documentation entry. 211s Adding boot menu entry for UEFI Firmware Settings ... 211s done 211s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 211s Removing linux-modules-extra-6.12.0-16-generic (6.12.0-16.16) ... 213s Removing linux-modules-6.12.0-16-generic (6.12.0-16.16) ... 213s Removing linux-tools-6.12.0-16-generic (6.12.0-16.16) ... 213s Removing linux-tools-6.12.0-16 (6.12.0-16.16) ... 213s Processing triggers for libc-bin (2.41-1ubuntu1) ... 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 ... 76972 files and directories currently installed.) 213s Purging configuration files for linux-image-6.11.0-8-generic (6.11.0-8.8) ... 213s Purging configuration files for libpython3.12-minimal:amd64 (3.12.9-1) ... 213s Purging configuration files for linux-modules-extra-6.12.0-16-generic (6.12.0-16.16) ... 213s Purging configuration files for linux-modules-6.12.0-16-generic (6.12.0-16.16) ... 213s dpkg: warning: while removing linux-modules-6.12.0-16-generic, directory '/lib/modules/6.12.0-16-generic' not empty so not removed 213s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 213s Purging configuration files for linux-image-6.12.0-16-generic (6.12.0-16.16) ... 213s rmdir: failed to remove '/lib/modules/6.12.0-16-generic': Directory not empty 214s autopkgtest [22:10:56]: upgrading testbed (apt dist-upgrade and autopurge) 214s Reading package lists... 214s Building dependency tree... 214s Reading state information... 214s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 214s Starting 2 pkgProblemResolver with broken count: 0 214s Done 215s Entering ResolveByKeep 215s 215s Calculating upgrade... 216s The following packages will be upgraded: 216s libc-bin libc-dev-bin libc6 libc6-dev locales 218s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 218s Need to get 10.5 MB of archives. 218s After this operation, 1024 B of additional disk space will be used. 218s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6-dev amd64 2.41-1ubuntu2 [2183 kB] 218s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-dev-bin amd64 2.41-1ubuntu2 [24.7 kB] 218s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6 amd64 2.41-1ubuntu2 [3327 kB] 218s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-bin amd64 2.41-1ubuntu2 [700 kB] 218s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 locales all 2.41-1ubuntu2 [4246 kB] 218s Preconfiguring packages ... 218s Fetched 10.5 MB in 1s (8339 kB/s) 218s (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.) 218s Preparing to unpack .../libc6-dev_2.41-1ubuntu2_amd64.deb ... 218s Unpacking libc6-dev:amd64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 218s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu2_amd64.deb ... 218s Unpacking libc-dev-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 218s Preparing to unpack .../libc6_2.41-1ubuntu2_amd64.deb ... 218s Unpacking libc6:amd64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 218s Setting up libc6:amd64 (2.41-1ubuntu2) ... 218s (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.) 218s Preparing to unpack .../libc-bin_2.41-1ubuntu2_amd64.deb ... 218s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 218s Setting up libc-bin (2.41-1ubuntu2) ... 218s (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.) 218s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 218s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 218s Setting up locales (2.41-1ubuntu2) ... 219s Generating locales (this might take a while)... 221s en_US.UTF-8... done 221s Generation complete. 221s Setting up libc-dev-bin (2.41-1ubuntu2) ... 221s Setting up libc6-dev:amd64 (2.41-1ubuntu2) ... 221s Processing triggers for man-db (2.13.0-1) ... 221s Processing triggers for systemd (257.3-1ubuntu3) ... 222s Reading package lists... 222s Building dependency tree... 222s Reading state information... 223s Starting pkgProblemResolver with broken count: 0 223s Starting 2 pkgProblemResolver with broken count: 0 223s Done 223s Solving dependencies... 223s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 223s autopkgtest [22:11:05]: rebooting testbed after setup commands that affected boot 247s autopkgtest [22:11:29]: testbed running kernel: Linux 6.14.0-10-generic #10-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 12 16:07:00 UTC 2025 249s autopkgtest [22:11:31]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-fansi 251s Get:1 http://ftpmaster.internal/ubuntu plucky/universe r-cran-fansi 1.0.5-1 (dsc) [2110 B] 251s Get:2 http://ftpmaster.internal/ubuntu plucky/universe r-cran-fansi 1.0.5-1 (tar) [482 kB] 251s Get:3 http://ftpmaster.internal/ubuntu plucky/universe r-cran-fansi 1.0.5-1 (diff) [3068 B] 251s gpgv: Signature made Tue Nov 21 07:15:23 2023 UTC 251s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 251s gpgv: issuer "tille@debian.org" 251s gpgv: Can't check signature: No public key 251s dpkg-source: warning: cannot verify inline signature for ./r-cran-fansi_1.0.5-1.dsc: no acceptable signature found 251s autopkgtest [22:11:33]: testing package r-cran-fansi version 1.0.5-1 252s autopkgtest [22:11:34]: build not needed 253s autopkgtest [22:11:35]: test run-unit-test: preparing testbed 253s Reading package lists... 254s Building dependency tree... 254s Reading state information... 254s Starting pkgProblemResolver with broken count: 0 254s Starting 2 pkgProblemResolver with broken count: 0 254s Done 255s The following NEW packages will be installed: 255s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 255s fonts-font-awesome fonts-glyphicons-halflings fonts-mathjax 255s javascript-common libblas3 libcairo2 libdatrie1 libdeflate0 libfontconfig1 255s libgfortran5 libgomp1 libgraphite2-3 libharfbuzz0b libice6 libjbig0 255s libjpeg-turbo8 libjpeg8 libjs-bootstrap libjs-bootstrap4 libjs-d3 255s libjs-es5-shim libjs-highlight.js libjs-jquery libjs-jquery-datatables 255s libjs-jquery-selectize.js libjs-jquery-ui libjs-json libjs-mathjax 255s libjs-microplugin.js libjs-modernizr libjs-popper.js libjs-prettify 255s libjs-sifter.js libjs-twitter-bootstrap-datepicker liblapack3 liblerc4 255s liblua5.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 255s libpaper-utils libpaper2 libpixman-1-0 libsharpyuv0 libsm6 libtcl8.6 255s libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 255s libxft2 libxrender1 libxss1 libxt6t64 littler node-bootstrap-sass 255s node-html5shiv node-normalize.css pandoc pandoc-data r-base-core 255s r-cran-base64enc r-cran-bslib r-cran-cachem r-cran-cli r-cran-commonmark 255s r-cran-crayon r-cran-diffobj r-cran-digest r-cran-evaluate r-cran-fansi 255s r-cran-fastmap r-cran-fontawesome r-cran-fs r-cran-glue r-cran-highr 255s r-cran-htmltools r-cran-httpuv r-cran-jquerylib r-cran-jsonlite r-cran-knitr 255s r-cran-later r-cran-lifecycle r-cran-littler r-cran-magrittr r-cran-memoise 255s r-cran-mime r-cran-pkgkitten r-cran-promises r-cran-r6 r-cran-rappdirs 255s r-cran-rcpp r-cran-rlang r-cran-rmarkdown r-cran-sass r-cran-shiny 255s r-cran-sourcetools r-cran-tinytex r-cran-unitizer r-cran-withr r-cran-xfun 255s r-cran-xtable r-cran-yaml unzip x11-common xdg-utils zip 255s 0 upgraded, 114 newly installed, 0 to remove and 0 not upgraded. 255s Need to get 106 MB of archives. 255s After this operation, 408 MB of additional disk space will be used. 255s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 255s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 256s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig-config amd64 2.15.0-2ubuntu1 [37.4 kB] 256s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontconfig1 amd64 2.15.0-2ubuntu1 [164 kB] 256s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig amd64 2.15.0-2ubuntu1 [180 kB] 256s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 256s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB] 256s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-mathjax all 2.7.9+dfsg-1 [2208 kB] 257s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 javascript-common all 12 [5216 B] 257s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.1-2 [359 kB] 257s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 257s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-render0 amd64 1.17.0-2 [16.2 kB] 257s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 257s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 257s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libcairo2 amd64 1.18.2-2 [569 kB] 257s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libdatrie1 amd64 0.2.13-3build1 [19.0 kB] 257s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate0 amd64 1.23-1 [64.1 kB] 257s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 15-20250222-0ubuntu1 [919 kB] 258s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 15-20250222-0ubuntu1 [148 kB] 258s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libgraphite2-3 amd64 1.3.14-2ubuntu1 [73.1 kB] 258s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libharfbuzz0b amd64 10.2.0-1 [543 kB] 258s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 258s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 258s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8 amd64 2.1.5-3ubuntu2 [179 kB] 258s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 258s Get:26 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-bootstrap all 3.4.1+dfsg-3 [129 kB] 258s Get:27 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 258s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-bootstrap4 all 4.6.1+dfsg1-4 [537 kB] 258s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-d3 all 3.5.17-4 [132 kB] 258s Get:30 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-es5-shim all 4.6.7-2 [39.8 kB] 258s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 258s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 258s Get:33 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-datatables all 1.11.5+dfsg-2 [146 kB] 258s Get:34 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-sifter.js all 0.6.0+dfsg-3 [12.6 kB] 258s Get:35 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-microplugin.js all 0.0.3+dfsg-1.1 [3712 B] 258s Get:36 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-selectize.js all 0.12.6+dfsg-1.1 [51.0 kB] 258s Get:37 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] 258s Get:38 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-json all 0~20221030+~1.0.8-1 [20.6 kB] 258s Get:39 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-prettify all 2015.12.04+dfsg-1.1 [39.3 kB] 258s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.1-2 [3179 kB] 258s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 liblerc4 amd64 4.0.0+ds-5ubuntu1 [271 kB] 258s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 liblua5.4-0 amd64 5.4.7-1 [196 kB] 258s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai-data all 0.1.29-2build1 [158 kB] 258s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai0 amd64 0.1.29-2build1 [18.9 kB] 258s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libpango-1.0-0 amd64 1.56.2-1 [255 kB] 258s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangoft2-1.0-0 amd64 1.56.2-1 [52.6 kB] 258s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangocairo-1.0-0 amd64 1.56.2-1 [29.1 kB] 258s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libpaper2 amd64 2.2.5-0.3 [17.4 kB] 258s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libpaper-utils amd64 2.2.5-0.3 [15.5 kB] 258s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libsharpyuv0 amd64 1.5.0-0.1 [25.9 kB] 258s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 258s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libtcl8.6 amd64 8.6.16+dfsg-1 [1086 kB] 259s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libjbig0 amd64 2.1-6.1ubuntu2 [29.7 kB] 259s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebp7 amd64 1.5.0-0.1 [378 kB] 259s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 libtiff6 amd64 4.5.1+git230720-4ubuntu4 [200 kB] 259s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libxft2 amd64 2.3.6-1build1 [45.3 kB] 259s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libxss1 amd64 1:1.2.3-1build3 [7204 B] 259s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libtk8.6 amd64 8.6.16-1 [868 kB] 259s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 259s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 zip amd64 3.0-14ubuntu2 [185 kB] 259s Get:61 http://ftpmaster.internal/ubuntu plucky/main amd64 unzip amd64 6.0-28ubuntu6 [181 kB] 259s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-utils all 1.2.1-2ubuntu1 [66.0 kB] 259s Get:63 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-base-core amd64 4.4.3-1 [28.9 MB] 260s Get:64 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-littler amd64 0.3.20-2 [96.6 kB] 260s Get:65 http://ftpmaster.internal/ubuntu plucky/universe amd64 littler all 0.3.20-2 [2554 B] 260s Get:66 http://ftpmaster.internal/ubuntu plucky/universe amd64 node-bootstrap-sass all 3.4.3-2 [187 kB] 260s Get:67 http://ftpmaster.internal/ubuntu plucky/universe amd64 node-html5shiv all 3.7.3+dfsg-5 [13.5 kB] 260s Get:68 http://ftpmaster.internal/ubuntu plucky/universe amd64 node-normalize.css all 8.0.1-5 [10.8 kB] 260s Get:69 http://ftpmaster.internal/ubuntu plucky/universe amd64 pandoc-data all 3.1.11.1-3build1 [78.8 kB] 260s Get:70 http://ftpmaster.internal/ubuntu plucky/universe amd64 pandoc amd64 3.1.11.1+ds-2 [27.2 MB] 261s Get:71 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-base64enc amd64 0.1-3-3 [27.6 kB] 261s Get:72 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-rlang amd64 1.1.5-1 [1719 kB] 261s Get:73 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-fastmap amd64 1.2.0-1 [73.8 kB] 261s Get:74 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-cachem amd64 1.1.0-1 [74.1 kB] 261s Get:75 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-digest amd64 0.6.37-1 [200 kB] 261s Get:76 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-htmltools amd64 0.5.8.1-1 [373 kB] 261s Get:77 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-jquerylib all 0.1.4+dfsg-4 [13.5 kB] 261s Get:78 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-jsonlite amd64 1.9.1+dfsg-1 [447 kB] 261s Get:79 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-cli amd64 3.6.4-1 [1394 kB] 261s Get:80 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-glue amd64 1.8.0-1 [164 kB] 261s Get:81 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-lifecycle all 1.0.4+dfsg-1 [110 kB] 261s Get:82 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-memoise all 2.0.1-1 [53.9 kB] 261s Get:83 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-mime amd64 0.12-2 [35.8 kB] 261s Get:84 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-fs amd64 1.6.5+dfsg-1 [246 kB] 261s Get:85 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-r6 all 2.6.1-1 [101 kB] 261s Get:86 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-rappdirs amd64 0.3.3-1 [47.5 kB] 261s Get:87 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-sass amd64 0.4.9+dfsg-1 [1001 kB] 261s Get:88 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-bslib all 0.8.0+dfsg-1 [4294 kB] 261s Get:89 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-commonmark amd64 1.9.2-2 [137 kB] 261s Get:90 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-crayon all 1.5.3-1 [165 kB] 261s Get:91 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-diffobj amd64 0.3.5-1 [1117 kB] 261s Get:92 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-evaluate all 1.0.3-1 [114 kB] 261s Get:93 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-fansi amd64 1.0.5-1 [619 kB] 261s Get:94 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-fontawesome all 0.5.3-1 [1331 kB] 261s Get:95 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-xfun amd64 0.51+dfsg-1 [574 kB] 261s Get:96 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-highr all 0.11+dfsg-1 [38.5 kB] 261s Get:97 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-pkgkitten all 0.2.4-1 [27.2 kB] 261s Get:98 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-rcpp amd64 1.0.14-1 [1998 kB] 261s Get:99 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-later amd64 1.4.1+dfsg-1 [154 kB] 261s Get:100 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-magrittr amd64 2.0.3-1 [154 kB] 261s Get:101 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-promises amd64 1.3.2+dfsg-1 [291 kB] 262s Get:102 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-httpuv amd64 1.6.15+dfsg-1 [510 kB] 262s Get:103 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-yaml amd64 2.3.10-1 [109 kB] 262s Get:104 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-mathjax all 2.7.9+dfsg-1 [5665 kB] 262s Get:105 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-knitr all 1.49+dfsg-1 [859 kB] 262s Get:106 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-tinytex all 0.56-1 [148 kB] 262s Get:107 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-modernizr all 3.13.0-0.1 [101 kB] 262s Get:108 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-xtable all 1:1.8-4-2 [689 kB] 262s Get:109 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-sourcetools amd64 0.1.7-1-1 [48.1 kB] 262s Get:110 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-withr all 3.0.2+dfsg-1 [214 kB] 262s Get:111 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-twitter-bootstrap-datepicker all 1.3.1+dfsg1-4.1 [28.5 kB] 262s Get:112 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-shiny all 1.10.0+dfsg-2 [3124 kB] 263s Get:113 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-rmarkdown all 2.29+dfsg-1 [1501 kB] 263s Get:114 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-cran-unitizer all 1.4.21-1 [1428 kB] 263s Preconfiguring packages ... 263s Fetched 106 MB in 8s (13.2 MB/s) 263s Selecting previously unselected package fonts-dejavu-mono. 263s (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.) 263s Preparing to unpack .../000-fonts-dejavu-mono_2.37-8_all.deb ... 263s Unpacking fonts-dejavu-mono (2.37-8) ... 263s Selecting previously unselected package fonts-dejavu-core. 263s Preparing to unpack .../001-fonts-dejavu-core_2.37-8_all.deb ... 263s Unpacking fonts-dejavu-core (2.37-8) ... 263s Selecting previously unselected package fontconfig-config. 263s Preparing to unpack .../002-fontconfig-config_2.15.0-2ubuntu1_amd64.deb ... 264s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 264s Selecting previously unselected package libfontconfig1:amd64. 264s Preparing to unpack .../003-libfontconfig1_2.15.0-2ubuntu1_amd64.deb ... 264s Unpacking libfontconfig1:amd64 (2.15.0-2ubuntu1) ... 264s Selecting previously unselected package fontconfig. 264s Preparing to unpack .../004-fontconfig_2.15.0-2ubuntu1_amd64.deb ... 264s Unpacking fontconfig (2.15.0-2ubuntu1) ... 264s Selecting previously unselected package fonts-font-awesome. 264s Preparing to unpack .../005-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 264s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 264s Selecting previously unselected package fonts-glyphicons-halflings. 264s Preparing to unpack .../006-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... 264s Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 264s Selecting previously unselected package fonts-mathjax. 264s Preparing to unpack .../007-fonts-mathjax_2.7.9+dfsg-1_all.deb ... 264s Unpacking fonts-mathjax (2.7.9+dfsg-1) ... 264s Selecting previously unselected package javascript-common. 264s Preparing to unpack .../008-javascript-common_12_all.deb ... 264s Unpacking javascript-common (12) ... 264s Selecting previously unselected package libblas3:amd64. 264s Preparing to unpack .../009-libblas3_3.12.1-2_amd64.deb ... 264s Unpacking libblas3:amd64 (3.12.1-2) ... 264s Selecting previously unselected package libpixman-1-0:amd64. 264s Preparing to unpack .../010-libpixman-1-0_0.44.0-3_amd64.deb ... 264s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 264s Selecting previously unselected package libxcb-render0:amd64. 264s Preparing to unpack .../011-libxcb-render0_1.17.0-2_amd64.deb ... 264s Unpacking libxcb-render0:amd64 (1.17.0-2) ... 264s Selecting previously unselected package libxcb-shm0:amd64. 264s Preparing to unpack .../012-libxcb-shm0_1.17.0-2_amd64.deb ... 264s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 264s Selecting previously unselected package libxrender1:amd64. 264s Preparing to unpack .../013-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 264s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 264s Selecting previously unselected package libcairo2:amd64. 264s Preparing to unpack .../014-libcairo2_1.18.2-2_amd64.deb ... 264s Unpacking libcairo2:amd64 (1.18.2-2) ... 264s Selecting previously unselected package libdatrie1:amd64. 264s Preparing to unpack .../015-libdatrie1_0.2.13-3build1_amd64.deb ... 264s Unpacking libdatrie1:amd64 (0.2.13-3build1) ... 264s Selecting previously unselected package libdeflate0:amd64. 264s Preparing to unpack .../016-libdeflate0_1.23-1_amd64.deb ... 264s Unpacking libdeflate0:amd64 (1.23-1) ... 264s Selecting previously unselected package libgfortran5:amd64. 264s Preparing to unpack .../017-libgfortran5_15-20250222-0ubuntu1_amd64.deb ... 264s Unpacking libgfortran5:amd64 (15-20250222-0ubuntu1) ... 264s Selecting previously unselected package libgomp1:amd64. 264s Preparing to unpack .../018-libgomp1_15-20250222-0ubuntu1_amd64.deb ... 264s Unpacking libgomp1:amd64 (15-20250222-0ubuntu1) ... 264s Selecting previously unselected package libgraphite2-3:amd64. 264s Preparing to unpack .../019-libgraphite2-3_1.3.14-2ubuntu1_amd64.deb ... 264s Unpacking libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 264s Selecting previously unselected package libharfbuzz0b:amd64. 264s Preparing to unpack .../020-libharfbuzz0b_10.2.0-1_amd64.deb ... 264s Unpacking libharfbuzz0b:amd64 (10.2.0-1) ... 264s Selecting previously unselected package x11-common. 264s Preparing to unpack .../021-x11-common_1%3a7.7+23ubuntu3_all.deb ... 264s Unpacking x11-common (1:7.7+23ubuntu3) ... 264s Selecting previously unselected package libice6:amd64. 264s Preparing to unpack .../022-libice6_2%3a1.1.1-1_amd64.deb ... 264s Unpacking libice6:amd64 (2:1.1.1-1) ... 264s Selecting previously unselected package libjpeg-turbo8:amd64. 264s Preparing to unpack .../023-libjpeg-turbo8_2.1.5-3ubuntu2_amd64.deb ... 264s Unpacking libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 265s Selecting previously unselected package libjpeg8:amd64. 265s Preparing to unpack .../024-libjpeg8_8c-2ubuntu11_amd64.deb ... 265s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 265s Selecting previously unselected package libjs-bootstrap. 265s Preparing to unpack .../025-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... 265s Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... 265s Selecting previously unselected package libjs-popper.js. 265s Preparing to unpack .../026-libjs-popper.js_1.16.1+ds-6_all.deb ... 265s Unpacking libjs-popper.js (1.16.1+ds-6) ... 265s Selecting previously unselected package libjs-bootstrap4. 265s Preparing to unpack .../027-libjs-bootstrap4_4.6.1+dfsg1-4_all.deb ... 265s Unpacking libjs-bootstrap4 (4.6.1+dfsg1-4) ... 265s Selecting previously unselected package libjs-d3. 265s Preparing to unpack .../028-libjs-d3_3.5.17-4_all.deb ... 265s Unpacking libjs-d3 (3.5.17-4) ... 265s Selecting previously unselected package libjs-es5-shim. 265s Preparing to unpack .../029-libjs-es5-shim_4.6.7-2_all.deb ... 265s Unpacking libjs-es5-shim (4.6.7-2) ... 265s Selecting previously unselected package libjs-highlight.js. 265s Preparing to unpack .../030-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 265s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 265s Selecting previously unselected package libjs-jquery. 265s Preparing to unpack .../031-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 265s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 265s Selecting previously unselected package libjs-jquery-datatables. 265s Preparing to unpack .../032-libjs-jquery-datatables_1.11.5+dfsg-2_all.deb ... 265s Unpacking libjs-jquery-datatables (1.11.5+dfsg-2) ... 265s Selecting previously unselected package libjs-sifter.js. 265s Preparing to unpack .../033-libjs-sifter.js_0.6.0+dfsg-3_all.deb ... 265s Unpacking libjs-sifter.js (0.6.0+dfsg-3) ... 265s Selecting previously unselected package libjs-microplugin.js. 265s Preparing to unpack .../034-libjs-microplugin.js_0.0.3+dfsg-1.1_all.deb ... 265s Unpacking libjs-microplugin.js (0.0.3+dfsg-1.1) ... 265s Selecting previously unselected package libjs-jquery-selectize.js. 265s Preparing to unpack .../035-libjs-jquery-selectize.js_0.12.6+dfsg-1.1_all.deb ... 265s Unpacking libjs-jquery-selectize.js (0.12.6+dfsg-1.1) ... 265s Selecting previously unselected package libjs-jquery-ui. 265s Preparing to unpack .../036-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... 265s Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... 265s Selecting previously unselected package libjs-json. 265s Preparing to unpack .../037-libjs-json_0~20221030+~1.0.8-1_all.deb ... 265s Unpacking libjs-json (0~20221030+~1.0.8-1) ... 265s Selecting previously unselected package libjs-prettify. 265s Preparing to unpack .../038-libjs-prettify_2015.12.04+dfsg-1.1_all.deb ... 265s Unpacking libjs-prettify (2015.12.04+dfsg-1.1) ... 265s Selecting previously unselected package liblapack3:amd64. 265s Preparing to unpack .../039-liblapack3_3.12.1-2_amd64.deb ... 265s Unpacking liblapack3:amd64 (3.12.1-2) ... 265s Selecting previously unselected package liblerc4:amd64. 265s Preparing to unpack .../040-liblerc4_4.0.0+ds-5ubuntu1_amd64.deb ... 265s Unpacking liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 265s Selecting previously unselected package liblua5.4-0:amd64. 265s Preparing to unpack .../041-liblua5.4-0_5.4.7-1_amd64.deb ... 265s Unpacking liblua5.4-0:amd64 (5.4.7-1) ... 265s Selecting previously unselected package libthai-data. 265s Preparing to unpack .../042-libthai-data_0.1.29-2build1_all.deb ... 265s Unpacking libthai-data (0.1.29-2build1) ... 265s Selecting previously unselected package libthai0:amd64. 265s Preparing to unpack .../043-libthai0_0.1.29-2build1_amd64.deb ... 265s Unpacking libthai0:amd64 (0.1.29-2build1) ... 265s Selecting previously unselected package libpango-1.0-0:amd64. 265s Preparing to unpack .../044-libpango-1.0-0_1.56.2-1_amd64.deb ... 265s Unpacking libpango-1.0-0:amd64 (1.56.2-1) ... 265s Selecting previously unselected package libpangoft2-1.0-0:amd64. 265s Preparing to unpack .../045-libpangoft2-1.0-0_1.56.2-1_amd64.deb ... 265s Unpacking libpangoft2-1.0-0:amd64 (1.56.2-1) ... 265s Selecting previously unselected package libpangocairo-1.0-0:amd64. 265s Preparing to unpack .../046-libpangocairo-1.0-0_1.56.2-1_amd64.deb ... 265s Unpacking libpangocairo-1.0-0:amd64 (1.56.2-1) ... 265s Selecting previously unselected package libpaper2:amd64. 265s Preparing to unpack .../047-libpaper2_2.2.5-0.3_amd64.deb ... 265s Unpacking libpaper2:amd64 (2.2.5-0.3) ... 265s Selecting previously unselected package libpaper-utils. 265s Preparing to unpack .../048-libpaper-utils_2.2.5-0.3_amd64.deb ... 265s Unpacking libpaper-utils (2.2.5-0.3) ... 266s Selecting previously unselected package libsharpyuv0:amd64. 266s Preparing to unpack .../049-libsharpyuv0_1.5.0-0.1_amd64.deb ... 266s Unpacking libsharpyuv0:amd64 (1.5.0-0.1) ... 266s Selecting previously unselected package libsm6:amd64. 266s Preparing to unpack .../050-libsm6_2%3a1.2.4-1_amd64.deb ... 266s Unpacking libsm6:amd64 (2:1.2.4-1) ... 266s Selecting previously unselected package libtcl8.6:amd64. 266s Preparing to unpack .../051-libtcl8.6_8.6.16+dfsg-1_amd64.deb ... 266s Unpacking libtcl8.6:amd64 (8.6.16+dfsg-1) ... 266s Selecting previously unselected package libjbig0:amd64. 266s Preparing to unpack .../052-libjbig0_2.1-6.1ubuntu2_amd64.deb ... 266s Unpacking libjbig0:amd64 (2.1-6.1ubuntu2) ... 266s Selecting previously unselected package libwebp7:amd64. 266s Preparing to unpack .../053-libwebp7_1.5.0-0.1_amd64.deb ... 266s Unpacking libwebp7:amd64 (1.5.0-0.1) ... 266s Selecting previously unselected package libtiff6:amd64. 266s Preparing to unpack .../054-libtiff6_4.5.1+git230720-4ubuntu4_amd64.deb ... 266s Unpacking libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 266s Selecting previously unselected package libxft2:amd64. 266s Preparing to unpack .../055-libxft2_2.3.6-1build1_amd64.deb ... 266s Unpacking libxft2:amd64 (2.3.6-1build1) ... 266s Selecting previously unselected package libxss1:amd64. 266s Preparing to unpack .../056-libxss1_1%3a1.2.3-1build3_amd64.deb ... 266s Unpacking libxss1:amd64 (1:1.2.3-1build3) ... 266s Selecting previously unselected package libtk8.6:amd64. 266s Preparing to unpack .../057-libtk8.6_8.6.16-1_amd64.deb ... 266s Unpacking libtk8.6:amd64 (8.6.16-1) ... 266s Selecting previously unselected package libxt6t64:amd64. 266s Preparing to unpack .../058-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 266s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 266s Selecting previously unselected package zip. 266s Preparing to unpack .../059-zip_3.0-14ubuntu2_amd64.deb ... 266s Unpacking zip (3.0-14ubuntu2) ... 266s Selecting previously unselected package unzip. 266s Preparing to unpack .../060-unzip_6.0-28ubuntu6_amd64.deb ... 266s Unpacking unzip (6.0-28ubuntu6) ... 266s Selecting previously unselected package xdg-utils. 266s Preparing to unpack .../061-xdg-utils_1.2.1-2ubuntu1_all.deb ... 266s Unpacking xdg-utils (1.2.1-2ubuntu1) ... 266s Selecting previously unselected package r-base-core. 266s Preparing to unpack .../062-r-base-core_4.4.3-1_amd64.deb ... 266s Unpacking r-base-core (4.4.3-1) ... 266s Selecting previously unselected package r-cran-littler. 266s Preparing to unpack .../063-r-cran-littler_0.3.20-2_amd64.deb ... 266s Unpacking r-cran-littler (0.3.20-2) ... 266s Selecting previously unselected package littler. 266s Preparing to unpack .../064-littler_0.3.20-2_all.deb ... 266s Unpacking littler (0.3.20-2) ... 266s Selecting previously unselected package node-bootstrap-sass. 266s Preparing to unpack .../065-node-bootstrap-sass_3.4.3-2_all.deb ... 266s Unpacking node-bootstrap-sass (3.4.3-2) ... 266s Selecting previously unselected package node-html5shiv. 266s Preparing to unpack .../066-node-html5shiv_3.7.3+dfsg-5_all.deb ... 266s Unpacking node-html5shiv (3.7.3+dfsg-5) ... 266s Selecting previously unselected package node-normalize.css. 266s Preparing to unpack .../067-node-normalize.css_8.0.1-5_all.deb ... 266s Unpacking node-normalize.css (8.0.1-5) ... 266s Selecting previously unselected package pandoc-data. 266s Preparing to unpack .../068-pandoc-data_3.1.11.1-3build1_all.deb ... 266s Unpacking pandoc-data (3.1.11.1-3build1) ... 267s Selecting previously unselected package pandoc. 267s Preparing to unpack .../069-pandoc_3.1.11.1+ds-2_amd64.deb ... 267s Unpacking pandoc (3.1.11.1+ds-2) ... 267s Selecting previously unselected package r-cran-base64enc. 267s Preparing to unpack .../070-r-cran-base64enc_0.1-3-3_amd64.deb ... 267s Unpacking r-cran-base64enc (0.1-3-3) ... 267s Selecting previously unselected package r-cran-rlang. 267s Preparing to unpack .../071-r-cran-rlang_1.1.5-1_amd64.deb ... 267s Unpacking r-cran-rlang (1.1.5-1) ... 267s Selecting previously unselected package r-cran-fastmap. 267s Preparing to unpack .../072-r-cran-fastmap_1.2.0-1_amd64.deb ... 267s Unpacking r-cran-fastmap (1.2.0-1) ... 267s Selecting previously unselected package r-cran-cachem. 267s Preparing to unpack .../073-r-cran-cachem_1.1.0-1_amd64.deb ... 267s Unpacking r-cran-cachem (1.1.0-1) ... 267s Selecting previously unselected package r-cran-digest. 267s Preparing to unpack .../074-r-cran-digest_0.6.37-1_amd64.deb ... 267s Unpacking r-cran-digest (0.6.37-1) ... 268s Selecting previously unselected package r-cran-htmltools. 268s Preparing to unpack .../075-r-cran-htmltools_0.5.8.1-1_amd64.deb ... 268s Unpacking r-cran-htmltools (0.5.8.1-1) ... 268s Selecting previously unselected package r-cran-jquerylib. 268s Preparing to unpack .../076-r-cran-jquerylib_0.1.4+dfsg-4_all.deb ... 268s Unpacking r-cran-jquerylib (0.1.4+dfsg-4) ... 268s Selecting previously unselected package r-cran-jsonlite. 268s Preparing to unpack .../077-r-cran-jsonlite_1.9.1+dfsg-1_amd64.deb ... 268s Unpacking r-cran-jsonlite (1.9.1+dfsg-1) ... 268s Selecting previously unselected package r-cran-cli. 268s Preparing to unpack .../078-r-cran-cli_3.6.4-1_amd64.deb ... 268s Unpacking r-cran-cli (3.6.4-1) ... 268s Selecting previously unselected package r-cran-glue. 268s Preparing to unpack .../079-r-cran-glue_1.8.0-1_amd64.deb ... 268s Unpacking r-cran-glue (1.8.0-1) ... 268s Selecting previously unselected package r-cran-lifecycle. 268s Preparing to unpack .../080-r-cran-lifecycle_1.0.4+dfsg-1_all.deb ... 268s Unpacking r-cran-lifecycle (1.0.4+dfsg-1) ... 268s Selecting previously unselected package r-cran-memoise. 268s Preparing to unpack .../081-r-cran-memoise_2.0.1-1_all.deb ... 268s Unpacking r-cran-memoise (2.0.1-1) ... 268s Selecting previously unselected package r-cran-mime. 268s Preparing to unpack .../082-r-cran-mime_0.12-2_amd64.deb ... 268s Unpacking r-cran-mime (0.12-2) ... 268s Selecting previously unselected package r-cran-fs. 268s Preparing to unpack .../083-r-cran-fs_1.6.5+dfsg-1_amd64.deb ... 268s Unpacking r-cran-fs (1.6.5+dfsg-1) ... 268s Selecting previously unselected package r-cran-r6. 268s Preparing to unpack .../084-r-cran-r6_2.6.1-1_all.deb ... 268s Unpacking r-cran-r6 (2.6.1-1) ... 268s Selecting previously unselected package r-cran-rappdirs. 268s Preparing to unpack .../085-r-cran-rappdirs_0.3.3-1_amd64.deb ... 268s Unpacking r-cran-rappdirs (0.3.3-1) ... 268s Selecting previously unselected package r-cran-sass. 268s Preparing to unpack .../086-r-cran-sass_0.4.9+dfsg-1_amd64.deb ... 268s Unpacking r-cran-sass (0.4.9+dfsg-1) ... 268s Selecting previously unselected package r-cran-bslib. 268s Preparing to unpack .../087-r-cran-bslib_0.8.0+dfsg-1_all.deb ... 268s Unpacking r-cran-bslib (0.8.0+dfsg-1) ... 268s Selecting previously unselected package r-cran-commonmark. 268s Preparing to unpack .../088-r-cran-commonmark_1.9.2-2_amd64.deb ... 268s Unpacking r-cran-commonmark (1.9.2-2) ... 268s Selecting previously unselected package r-cran-crayon. 268s Preparing to unpack .../089-r-cran-crayon_1.5.3-1_all.deb ... 268s Unpacking r-cran-crayon (1.5.3-1) ... 268s Selecting previously unselected package r-cran-diffobj. 268s Preparing to unpack .../090-r-cran-diffobj_0.3.5-1_amd64.deb ... 268s Unpacking r-cran-diffobj (0.3.5-1) ... 268s Selecting previously unselected package r-cran-evaluate. 268s Preparing to unpack .../091-r-cran-evaluate_1.0.3-1_all.deb ... 268s Unpacking r-cran-evaluate (1.0.3-1) ... 268s Selecting previously unselected package r-cran-fansi. 268s Preparing to unpack .../092-r-cran-fansi_1.0.5-1_amd64.deb ... 268s Unpacking r-cran-fansi (1.0.5-1) ... 268s Selecting previously unselected package r-cran-fontawesome. 268s Preparing to unpack .../093-r-cran-fontawesome_0.5.3-1_all.deb ... 268s Unpacking r-cran-fontawesome (0.5.3-1) ... 268s Selecting previously unselected package r-cran-xfun. 268s Preparing to unpack .../094-r-cran-xfun_0.51+dfsg-1_amd64.deb ... 268s Unpacking r-cran-xfun (0.51+dfsg-1) ... 268s Selecting previously unselected package r-cran-highr. 268s Preparing to unpack .../095-r-cran-highr_0.11+dfsg-1_all.deb ... 268s Unpacking r-cran-highr (0.11+dfsg-1) ... 268s Selecting previously unselected package r-cran-pkgkitten. 268s Preparing to unpack .../096-r-cran-pkgkitten_0.2.4-1_all.deb ... 268s Unpacking r-cran-pkgkitten (0.2.4-1) ... 268s Selecting previously unselected package r-cran-rcpp. 268s Preparing to unpack .../097-r-cran-rcpp_1.0.14-1_amd64.deb ... 268s Unpacking r-cran-rcpp (1.0.14-1) ... 269s Selecting previously unselected package r-cran-later. 269s Preparing to unpack .../098-r-cran-later_1.4.1+dfsg-1_amd64.deb ... 269s Unpacking r-cran-later (1.4.1+dfsg-1) ... 269s Selecting previously unselected package r-cran-magrittr. 269s Preparing to unpack .../099-r-cran-magrittr_2.0.3-1_amd64.deb ... 269s Unpacking r-cran-magrittr (2.0.3-1) ... 269s Selecting previously unselected package r-cran-promises. 269s Preparing to unpack .../100-r-cran-promises_1.3.2+dfsg-1_amd64.deb ... 269s Unpacking r-cran-promises (1.3.2+dfsg-1) ... 269s Selecting previously unselected package r-cran-httpuv. 269s Preparing to unpack .../101-r-cran-httpuv_1.6.15+dfsg-1_amd64.deb ... 269s Unpacking r-cran-httpuv (1.6.15+dfsg-1) ... 269s Selecting previously unselected package r-cran-yaml. 269s Preparing to unpack .../102-r-cran-yaml_2.3.10-1_amd64.deb ... 269s Unpacking r-cran-yaml (2.3.10-1) ... 269s Selecting previously unselected package libjs-mathjax. 269s Preparing to unpack .../103-libjs-mathjax_2.7.9+dfsg-1_all.deb ... 269s Unpacking libjs-mathjax (2.7.9+dfsg-1) ... 270s Selecting previously unselected package r-cran-knitr. 270s Preparing to unpack .../104-r-cran-knitr_1.49+dfsg-1_all.deb ... 270s Unpacking r-cran-knitr (1.49+dfsg-1) ... 270s Selecting previously unselected package r-cran-tinytex. 270s Preparing to unpack .../105-r-cran-tinytex_0.56-1_all.deb ... 270s Unpacking r-cran-tinytex (0.56-1) ... 270s Selecting previously unselected package libjs-modernizr. 270s Preparing to unpack .../106-libjs-modernizr_3.13.0-0.1_all.deb ... 270s Unpacking libjs-modernizr (3.13.0-0.1) ... 270s Selecting previously unselected package r-cran-xtable. 270s Preparing to unpack .../107-r-cran-xtable_1%3a1.8-4-2_all.deb ... 270s Unpacking r-cran-xtable (1:1.8-4-2) ... 270s Selecting previously unselected package r-cran-sourcetools. 270s Preparing to unpack .../108-r-cran-sourcetools_0.1.7-1-1_amd64.deb ... 270s Unpacking r-cran-sourcetools (0.1.7-1-1) ... 270s Selecting previously unselected package r-cran-withr. 270s Preparing to unpack .../109-r-cran-withr_3.0.2+dfsg-1_all.deb ... 270s Unpacking r-cran-withr (3.0.2+dfsg-1) ... 270s Selecting previously unselected package libjs-twitter-bootstrap-datepicker. 270s Preparing to unpack .../110-libjs-twitter-bootstrap-datepicker_1.3.1+dfsg1-4.1_all.deb ... 270s Unpacking libjs-twitter-bootstrap-datepicker (1.3.1+dfsg1-4.1) ... 270s Selecting previously unselected package r-cran-shiny. 270s Preparing to unpack .../111-r-cran-shiny_1.10.0+dfsg-2_all.deb ... 270s Unpacking r-cran-shiny (1.10.0+dfsg-2) ... 270s Selecting previously unselected package r-cran-rmarkdown. 270s Preparing to unpack .../112-r-cran-rmarkdown_2.29+dfsg-1_all.deb ... 270s Unpacking r-cran-rmarkdown (2.29+dfsg-1) ... 270s Selecting previously unselected package r-cran-unitizer. 270s Preparing to unpack .../113-r-cran-unitizer_1.4.21-1_all.deb ... 270s Unpacking r-cran-unitizer (1.4.21-1) ... 270s Setting up libjs-json (0~20221030+~1.0.8-1) ... 270s Setting up javascript-common (12) ... 270s Setting up libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 270s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 270s Setting up libsharpyuv0:amd64 (1.5.0-0.1) ... 270s Setting up fonts-mathjax (2.7.9+dfsg-1) ... 270s Setting up liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 270s Setting up libjs-mathjax (2.7.9+dfsg-1) ... 270s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 270s Setting up libdatrie1:amd64 (0.2.13-3build1) ... 270s Setting up libjs-popper.js (1.16.1+ds-6) ... 270s Setting up libxcb-render0:amd64 (1.17.0-2) ... 270s Setting up libjs-sifter.js (0.6.0+dfsg-3) ... 270s Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 270s Setting up unzip (6.0-28ubuntu6) ... 270s Setting up x11-common (1:7.7+23ubuntu3) ... 271s Setting up node-html5shiv (3.7.3+dfsg-5) ... 271s Setting up libdeflate0:amd64 (1.23-1) ... 271s Setting up libjs-microplugin.js (0.0.3+dfsg-1.1) ... 271s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 271s Setting up libgomp1:amd64 (15-20250222-0ubuntu1) ... 271s Setting up libjs-modernizr (3.13.0-0.1) ... 271s Setting up libjbig0:amd64 (2.1-6.1ubuntu2) ... 271s Setting up libjs-es5-shim (4.6.7-2) ... 271s Setting up zip (3.0-14ubuntu2) ... 271s Setting up libblas3:amd64 (3.12.1-2) ... 271s 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 271s Setting up libjs-d3 (3.5.17-4) ... 271s Setting up fonts-dejavu-mono (2.37-8) ... 271s Setting up libtcl8.6:amd64 (8.6.16+dfsg-1) ... 271s Setting up fonts-dejavu-core (2.37-8) ... 271s Setting up libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 271s Setting up libgfortran5:amd64 (15-20250222-0ubuntu1) ... 271s Setting up libwebp7:amd64 (1.5.0-0.1) ... 271s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 271s Setting up liblua5.4-0:amd64 (5.4.7-1) ... 271s Setting up libharfbuzz0b:amd64 (10.2.0-1) ... 271s Setting up libthai-data (0.1.29-2build1) ... 271s Setting up node-bootstrap-sass (3.4.3-2) ... 271s Setting up libjs-prettify (2015.12.04+dfsg-1.1) ... 271s Setting up libxss1:amd64 (1:1.2.3-1build3) ... 271s Setting up libjs-bootstrap4 (4.6.1+dfsg1-4) ... 271s Setting up libpaper2:amd64 (2.2.5-0.3) ... 271s Setting up pandoc-data (3.1.11.1-3build1) ... 271s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 271s Setting up node-normalize.css (8.0.1-5) ... 271s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 271s Setting up xdg-utils (1.2.1-2ubuntu1) ... 271s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 271s Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 271s Setting up libjs-jquery-selectize.js (0.12.6+dfsg-1.1) ... 271s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 271s Setting up libice6:amd64 (2:1.1.1-1) ... 271s Setting up liblapack3:amd64 (3.12.1-2) ... 271s 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 271s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 271s Setting up libjs-twitter-bootstrap-datepicker (1.3.1+dfsg1-4.1) ... 271s Setting up libpaper-utils (2.2.5-0.3) ... 271s Setting up libjs-jquery-datatables (1.11.5+dfsg-2) ... 271s Setting up libthai0:amd64 (0.1.29-2build1) ... 271s Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... 271s Setting up pandoc (3.1.11.1+ds-2) ... 271s Setting up libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 271s Setting up libfontconfig1:amd64 (2.15.0-2ubuntu1) ... 271s Setting up libsm6:amd64 (2:1.2.4-1) ... 271s Setting up fontconfig (2.15.0-2ubuntu1) ... 273s Regenerating fonts cache... done. 273s Setting up libxft2:amd64 (2.3.6-1build1) ... 273s Setting up libtk8.6:amd64 (8.6.16-1) ... 273s Setting up libpango-1.0-0:amd64 (1.56.2-1) ... 273s Setting up libcairo2:amd64 (1.18.2-2) ... 273s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 273s Setting up libpangoft2-1.0-0:amd64 (1.56.2-1) ... 273s Setting up libpangocairo-1.0-0:amd64 (1.56.2-1) ... 273s Setting up r-base-core (4.4.3-1) ... 273s Creating config file /etc/R/Renviron with new version 273s Setting up r-cran-crayon (1.5.3-1) ... 273s Setting up r-cran-sourcetools (0.1.7-1-1) ... 273s Setting up r-cran-commonmark (1.9.2-2) ... 273s Setting up r-cran-r6 (2.6.1-1) ... 273s Setting up r-cran-pkgkitten (0.2.4-1) ... 273s Setting up r-cran-magrittr (2.0.3-1) ... 273s Setting up r-cran-rappdirs (0.3.3-1) ... 273s Setting up r-cran-littler (0.3.20-2) ... 273s Setting up r-cran-fs (1.6.5+dfsg-1) ... 273s Setting up r-cran-rcpp (1.0.14-1) ... 273s Setting up r-cran-diffobj (0.3.5-1) ... 273s Setting up r-cran-rlang (1.1.5-1) ... 273s Setting up littler (0.3.20-2) ... 273s Setting up r-cran-xfun (0.51+dfsg-1) ... 273s Setting up r-cran-withr (3.0.2+dfsg-1) ... 273s Setting up r-cran-mime (0.12-2) ... 273s Setting up r-cran-base64enc (0.1-3-3) ... 273s Setting up r-cran-digest (0.6.37-1) ... 273s Setting up r-cran-yaml (2.3.10-1) ... 273s Setting up r-cran-evaluate (1.0.3-1) ... 273s Setting up r-cran-highr (0.11+dfsg-1) ... 273s Setting up r-cran-fansi (1.0.5-1) ... 273s Setting up r-cran-glue (1.8.0-1) ... 273s Setting up r-cran-xtable (1:1.8-4-2) ... 273s Setting up r-cran-cli (3.6.4-1) ... 273s Setting up r-cran-lifecycle (1.0.4+dfsg-1) ... 273s Setting up r-cran-fastmap (1.2.0-1) ... 273s Setting up r-cran-jsonlite (1.9.1+dfsg-1) ... 273s Setting up r-cran-later (1.4.1+dfsg-1) ... 273s Setting up r-cran-htmltools (0.5.8.1-1) ... 273s Setting up r-cran-tinytex (0.56-1) ... 273s Setting up r-cran-knitr (1.49+dfsg-1) ... 273s Setting up r-cran-cachem (1.1.0-1) ... 273s Setting up r-cran-sass (0.4.9+dfsg-1) ... 273s Setting up r-cran-unitizer (1.4.21-1) ... 273s Setting up r-cran-fontawesome (0.5.3-1) ... 273s Setting up r-cran-jquerylib (0.1.4+dfsg-4) ... 273s Setting up r-cran-memoise (2.0.1-1) ... 273s Setting up r-cran-promises (1.3.2+dfsg-1) ... 273s Setting up r-cran-httpuv (1.6.15+dfsg-1) ... 273s Setting up r-cran-bslib (0.8.0+dfsg-1) ... 273s Setting up r-cran-shiny (1.10.0+dfsg-2) ... 273s Setting up r-cran-rmarkdown (2.29+dfsg-1) ... 273s Processing triggers for libc-bin (2.41-1ubuntu2) ... 273s Processing triggers for man-db (2.13.0-1) ... 275s Processing triggers for install-info (7.1.1-1) ... 276s autopkgtest [22:11:58]: test run-unit-test: [----------------------- 276s BEGIN TEST run.R 276s 276s R version 4.4.3 (2025-02-28) -- "Trophy Case" 276s Copyright (C) 2025 The R Foundation for Statistical Computing 276s Platform: x86_64-pc-linux-gnu 276s 276s R is free software and comes with ABSOLUTELY NO WARRANTY. 276s You are welcome to redistribute it under certain conditions. 276s Type 'license()' or 'licence()' for distribution details. 276s 276s R is a collaborative project with many contributors. 276s Type 'contributors()' for more information and 276s 'citation()' on how to cite R or R packages in publications. 276s 276s Type 'demo()' for some demos, 'help()' for on-line help, or 276s 'help.start()' for an HTML browser interface to help. 276s Type 'q()' to quit R. 276s 276s > # to avoid variability on terminals with different capabilities 276s > # plus generally random options being set 276s > 276s > if(getRversion() < "3.2.2") { 276s + warning("Cannot run tests with R version less than 3.2.2.") 276s + } else if(!suppressWarnings(require('fansi'))) { 276s + # this is to avoid accidentally running tests under valgrind without fansi 276s + # installed... (no, we've never done this...) 276s + warning("Cannot run tests without package `fansi`") 276s + } else if(!suppressWarnings(require('unitizer'))) { 276s + warning("Cannot run tests without package `unitizer`") 276s + } else { 276s + old.opt <- options( 276s + fansi.tabs.as.spaces=FALSE, 276s + fansi.tab.stops=8L, 276s + fansi.warn=TRUE, 276s + fansi.term.cap=c('bright', '256') 276s + # warnPartialMatchArgs = TRUE, 276s + # warnPartialMatchAttr = TRUE, 276s + # warnPartialMatchDollar = TRUE 276s + ) 276s + on.exit(old.opt) 276s + pat.all <- "^[^.].*\\.[Rr]$" 276s + pattern <- pat.all 276s + # pattern <- "over" 276s + unitize_dir( 276s + 'unitizer', 276s + pattern=pattern, 276s + state='suggested' 276s + ) 276s + # we skip utf8 tests on solaris due to the problems with deparse (and maybe 276s + # others, don't have a solaris system handy for testing). 276s + if( 276s + !grepl("solaris|sun", Sys.info()[['sysname']], ignore.case=TRUE) && 276s + identical(pattern, pat.all) 276s + ) { 276s + unitize('special/utf8.R', state='suggested') 276s + } 276s + # UCD 12.1 update in 4.0.4 produces correct widths for emoji 276s + if(getRversion() >= "4.0.4" && identical(pattern, pat.all)) 276s + unitize('special/emo-graph.R', state='suggested') 276s + } 276s Loading required package: fansi 276s Loading required package: unitizer 276s State tracking is disabled by default to comply with CRAN policies. Add `options(unitizer.state='suggested')` to your 'Rprofile' file to enable, or `options(unitizer.state='off')` to quash this message without enabling. Prior to enabling, be sure to read `?unitizerState`,in particular the 'CRAN non-compliance' section. 276s 277s Preloads... 277s Loading unitizer data... 277s Parsing tests... 277s Parsing has.R 277s Parsing interactions.R 277s Parsing misc.R 277s Parsing nchar.R 277s Parsing normalize.R 277s Parsing overflow.R 277s Parsing strip.R 277s Parsing strsplit.R 277s Parsing substr.R 277s Parsing tabs.R 277s Parsing tohtml.R 277s Parsing trimws.R 277s Parsing url.R 277s Parsing wrap.R 278s Evaluating tests... 278s 278s 1/14 has.R: 278s 1/14 has.R: library(fansi) 278s 1/14 has.R: unitizer_sect("has", { 278s 1/14 has.R: has_ctl(paste0(red, "hello", end)) 278s [1] TRUE 278s 1/14 has.R: has_ctl(paste0("hello", end)) 278s [1] TRUE 278s 1/14 has.R: has_ctl(paste0("hello")) 278s [1] FALSE 278s 1/14 has.R: in.middle <- c("world", paste0("hello", red), "wow") 278s 1/14 has.R: in.end <- c("world", "wow", paste0("hello", red)) 278s 1/14 has.R: in.start <- c(paste0("hello", red), "wow", "world") 278s 1/14 has.R: has_ctl(in.middle) 278s [1] FALSE TRUE FALSE 278s 1/14 has.R: has_ctl(in.end) 278s [1] FALSE FALSE TRUE 278s 1/14 has.R: has_ctl(in.start) 278s [1] TRUE FALSE FALSE 278s 1/14 has.R: has_ctl(c(in.start, NA)) 278s [1] TRUE FALSE FALSE NA 278s 1/14 has.R: has_ctl("hello\nworld") 278s [1] TRUE 278s 1/14 has.R: has_sgr("hello\nworld") 278s [1] FALSE 278s 1/14 has.R: has_sgr(in.end) 278s [1] FALSE FALSE TRUE 278s 1/14 has.R: has_ctl("hello\033p world") 278s [1] TRUE 278s 1/14 has.R: unitizer_sect("corner cases", { 278s 1/14 has.R: has_ctl("hello\033[31#0mworld") 278s [1] TRUE 278s 1/14 has.R: suppressWarnings(has_ctl("hello\033[31#0mworld")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello world", ctl = c("sgr", "sgr")) 278s [1] FALSE 278s 1/14 has.R: has_ctl("hello\033[31#0") 278s Warning in has_ctl("hello\033[31#0") : 278s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 278s [1] TRUE 278s 1/14 has.R: unitizer_sect("select ctl", { 278s 1/14 has.R: has_ctl("hello\033[31mworld", ctl = c("sgr")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello\033[31mworld", ctl = c("csi")) 278s [1] FALSE 278s 1/14 has.R: has_ctl("hello\033[31!mworld", ctl = c("sgr")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello\033[31!mworld", ctl = c("csi")) 278s [1] FALSE 278s 1/14 has.R: has_ctl("hello\033[31lworld", ctl = c("csi")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello\nworld", ctl = c("all", "nl")) 278s [1] FALSE 278s 1/14 has.R: has_ctl("hello\nworld", ctl = c("all", "c0")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello\tworld", ctl = c("all", "c0")) 278s [1] FALSE 278s 1/14 has.R: has_ctl("hello\tworld", ctl = c("c0")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello\033pworld", ctl = c("esc")) 278s [1] TRUE 278s 1/14 has.R: has_ctl("hello\033pworld", ctl = c("all", "esc")) 278s [1] FALSE 278s 1/14 has.R: unitizer_sect("bad inputs", { 278s 1/14 has.R: has_ctl("hello world", warn = NULL) 278s Error in has_ctl("hello world", warn = NULL) : 278s Argument `warn` must be TRUE or FALSE. 278s Calls: unitize_dir ... eval -> withVisible -> has_ctl -> VAL_IN_ENV -> stop2 278s 1/14 has.R: has_ctl("hello world", ctl = 1:3) 278s Error in has_ctl("hello world", ctl = 1:3) : 278s Argument `ctl` must be character. 278s Calls: unitize_dir ... eval -> withVisible -> has_ctl -> VAL_IN_ENV -> stop2 278s 1/14 has.R: has_ctl("hello world", ctl = "bananas") 278s Error in has_ctl("hello world", ctl = "bananas") : 278s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 278s Calls: unitize_dir ... eval -> withVisible -> has_ctl -> VAL_IN_ENV -> stop2 278s 1/14 has.R: has_ctl("hello world", ctl = NA_character_) 278s Error in has_ctl("hello world", ctl = NA_character_) : 278s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 278s Calls: unitize_dir ... eval -> withVisible -> has_ctl -> VAL_IN_ENV -> stop2 278s 1/14 has.R: has_ctl(c("\033[31mhello", "wo\nrld"), ctl = character()) 278s [1] FALSE FALSE 278s 1/14 has.R: unitizer_sect("deprecation", { 278s 1/14 has.R: has_ctl("hello world", which = "sgr") 278s Parameter `which` has been deprecated; use `ctl` instead. 278s [1] FALSE 278s 278s 2/14 interactions.R: 278s 2/14 interactions.R: library(fansi) 279s 2/14 interactions.R: unitizer_sect("substr", { 279s 2/14 interactions.R: str.0 <- c("\033[44mhello", "world") 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4) 279s [1] "\033[44mell\033[0m" "orl" 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4, carry = TRUE) 279s [1] "\033[44mell\033[0m" "\033[44morl\033[0m" 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4, carry = "\033[33m") 279s [1] "\033[33;44mell\033[0m" "\033[33;44morl\033[0m" 279s 2/14 interactions.R: substr2_ctl(str.0, 2, 4, carry = "\033[33m") 279s [1] "\033[33;44mell\033[0m" "\033[33;44morl\033[0m" 279s 2/14 interactions.R: substr_sgr(str.0, 2, 4, carry = "\033[33m") 279s [1] "\033[33;44mell\033[0m" "\033[33;44morl\033[0m" 279s 2/14 interactions.R: substr2_sgr(str.0, 2, 4, carry = "\033[33m") 279s [1] "\033[33;44mell\033[0m" "\033[33;44morl\033[0m" 279s 2/14 interactions.R: str.1 <- c("hello", "\033[44mworld", "barrow") 279s 2/14 interactions.R: substr_ctl(str.1, 2, 4) 279s [1] "ell" "\033[44morl\033[0m" "arr" 279s 2/14 interactions.R: substr_ctl(str.1, 2, 4, carry = TRUE) 279s [1] "ell" "\033[44morl\033[0m" "\033[44marr\033[0m" 279s 2/14 interactions.R: substr_ctl(str.1, 2, 4, carry = "\033[33m") 279s [1] "\033[33mell\033[0m" "\033[33;44morl\033[0m" "\033[33;44marr\033[0m" 279s 2/14 interactions.R: str.2 <- c("\033[33mA\033[44mBCD", "ABCD", "\033[39mABCD") 279s 2/14 interactions.R: substr_ctl(str.2, 2, 2) 279s [1] "\033[33;44mB\033[0m" "B" "B" 279s 2/14 interactions.R: substr_ctl(str.2, 2, 2, carry = TRUE) 279s [1] "\033[33;44mB\033[0m" "\033[33;44mB\033[0m" "\033[44mB\033[0m" 279s 2/14 interactions.R: substr_ctl(str.2, 2, 2, carry = TRUE, terminate = FALSE) 279s [1] "\033[33;44mB" "B" "\033[0;44mB" 279s 2/14 interactions.R: str.3 <- c("\033[35mA\033[42mB", "\033[49mCD") 279s 2/14 interactions.R: substr_ctl(str.3, 2, 2, carry = TRUE, terminate = FALSE) 279s [1] "\033[35;42mB" "\033[0;35mD" 279s 2/14 interactions.R: wrp.0 <- c("once upon \033[44ma time in a land far away ov 279s 2/14 interactions.R: unitizer_sect("wrap/trim", { 279s 2/14 interactions.R: strwrap_ctl(wrp.0, 20) 279s [1] "once upon \033[44ma time in\033[0m" "\033[44ma land far away\033[0m" 279s [3] "\033[44mover\033[0m" "the mountains and" 279s [5] "\033[7msea lived a fair\033[0m" "\033[7mcreature\033[0m" 279s [7] "with \033[4mdark itentions\033[0m" "\033[4mand a yappy dog.\033[0m" 279s 2/14 interactions.R: strwrap_ctl(wrp.0, 20, carry = TRUE) 279s [1] "once upon \033[44ma time in\033[0m" 279s [2] "\033[44ma land far away\033[0m" 279s [3] "\033[44mover\033[0m" 279s [4] "\033[44mthe mountains and\033[0m" 279s [5] "\033[7;44msea lived a fair\033[0m" 279s [6] "\033[7;44mcreature\033[0m" 279s [7] "\033[7;44mwith \033[4mdark itentions\033[0m" 279s [8] "\033[4;7;44mand a yappy dog.\033[0m" 279s 2/14 interactions.R: strwrap_ctl(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in\033[0m" 279s [2] "\033[33;44ma land far away\033[0m" 279s [3] "\033[33;44mover\033[0m" 279s [4] "\033[33;44mthe mountains and\033[0m" 279s [5] "\033[7;33;44msea lived a fair\033[0m" 279s [6] "\033[7;33;44mcreature\033[0m" 279s [7] "\033[7;33;44mwith \033[4mdark itentions\033[0m" 279s [8] "\033[4;7;33;44mand a yappy dog.\033[0m" 279s 2/14 interactions.R: strwrap_sgr(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in\033[0m" 279s [2] "\033[33;44ma land far away\033[0m" 279s [3] "\033[33;44mover\033[0m" 279s [4] "\033[33;44mthe mountains and\033[0m" 279s [5] "\033[7;33;44msea lived a fair\033[0m" 279s [6] "\033[7;33;44mcreature\033[0m" 279s [7] "\033[7;33;44mwith \033[4mdark itentions\033[0m" 279s [8] "\033[4;7;33;44mand a yappy dog.\033[0m" 279s 2/14 interactions.R: strwrap2_ctl(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in\033[0m" 279s [2] "\033[33;44ma land far away\033[0m" 279s [3] "\033[33;44mover\033[0m" 279s [4] "\033[33;44mthe mountains and\033[0m" 279s [5] "\033[7;33;44msea lived a fair\033[0m" 279s [6] "\033[7;33;44mcreature\033[0m" 279s [7] "\033[7;33;44mwith \033[4mdark itentions\033[0m" 279s [8] "\033[4;7;33;44mand a yappy dog.\033[0m" 279s 2/14 interactions.R: strwrap2_sgr(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in\033[0m" 279s [2] "\033[33;44ma land far away\033[0m" 279s [3] "\033[33;44mover\033[0m" 279s [4] "\033[33;44mthe mountains and\033[0m" 279s [5] "\033[7;33;44msea lived a fair\033[0m" 279s [6] "\033[7;33;44mcreature\033[0m" 279s [7] "\033[7;33;44mwith \033[4mdark itentions\033[0m" 279s [8] "\033[4;7;33;44mand a yappy dog.\033[0m" 279s 2/14 interactions.R: strtrim_ctl(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in \033[0m" 279s [2] "\033[33;44mthe mountains and \033[7m s\033[0m" 279s [3] "\033[7;33;44mwith \033[4mdark itentions \033[0m" 279s 2/14 interactions.R: strtrim_sgr(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in \033[0m" 279s [2] "\033[33;44mthe mountains and \033[7m s\033[0m" 279s [3] "\033[7;33;44mwith \033[4mdark itentions \033[0m" 279s 2/14 interactions.R: strtrim2_ctl(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in \033[0m" 279s [2] "\033[33;44mthe mountains and \033[7m s\033[0m" 279s [3] "\033[7;33;44mwith \033[4mdark itentions \033[0m" 279s 2/14 interactions.R: strtrim2_sgr(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in \033[0m" 279s [2] "\033[33;44mthe mountains and \033[7m s\033[0m" 279s [3] "\033[7;33;44mwith \033[4mdark itentions \033[0m" 279s 2/14 interactions.R: wrp.1 <- c("once upon \033[44ma time in a land far away ov 279s 2/14 interactions.R: strtrim_ctl(wrp.0, 20, carry = "\033[33m") 279s [1] "\033[33monce upon \033[44ma time in \033[0m" 279s [2] "\033[33;44mthe mountains and \033[7m s\033[0m" 279s [3] "\033[7;33;44mwith \033[4mdark itentions \033[0m" 279s 2/14 interactions.R: wrp.2 <- c("hello \033[42mworld", "goodnight\033[49m moon" 279s 2/14 interactions.R: strwrap_ctl(wrp.2, 10, carry = "\033[35m", simplify = FALS 279s [[1]] 279s [1] "\033[35mhello\033[0m" "\033[35;42mworld\033[0m" 279s 279s [[2]] 279s [1] "\033[35;42mgoodnight\033[0m" "\033[35mmoon\033[0m" 279s 279s [[3]] 279s [1] "\033[35moh \033[39mboy" 279s 279s 2/14 interactions.R: strwrap_ctl(wrp.2, 10, carry = "\033[35m", simplify = FALS 279s [[1]] 279s [1] "hello" "\033[42mworld" 279s 279s [[2]] 279s [1] "goodnight" "\033[0;35mmoon" 279s 279s [[3]] 279s [1] "oh \033[39mboy" 279s 279s 2/14 interactions.R: unitizer_sect("normalize", { 279s 2/14 interactions.R: str.2 <- c("\033[44mhello", "wo\033[mrld", "barrow") 279s 2/14 interactions.R: normalize_state(str.2) 279s [1] "\033[44mhello" "world" "barrow" 279s 2/14 interactions.R: normalize_state(str.2, carry = TRUE) 279s [1] "\033[44mhello" "wo\033[49mrld" "barrow" 279s 2/14 interactions.R: normalize_state(str.2, carry = "\033[33m") 279s [1] "\033[44mhello" "wo\033[39m\033[49mrld" "barrow" 279s 2/14 interactions.R: unitizer_sect("carry corner cases", { 279s 2/14 interactions.R: substr_ctl("", 2, 3, carry = "\033[33m") 279s [1] "" 279s 2/14 interactions.R: substr_ctl("", 2, 3, carry = "\033[33m", terminate = FALSE 279s [1] "" 279s 2/14 interactions.R: substr_ctl("\033[39m", 2, 3, carry = "\033[33m", terminate 279s [1] "\033[0m" 279s 2/14 interactions.R: substr_ctl("\033[39m", 2, 3, carry = "\033[33m", terminate 279s [1] "\033[39m" 279s 2/14 interactions.R: substr_ctl("", 0, 1, carry = "\033[33m") 279s [1] "" 279s 2/14 interactions.R: substr_ctl("", 0, 1, carry = "\033[33m", terminate = FALSE 279s [1] "" 279s 2/14 interactions.R: substr_ctl("\033[39m", 0, 1, carry = "\033[33m", terminate 279s [1] "\033[0m" 279s 2/14 interactions.R: substr_ctl("\033[39m", 0, 1, carry = "\033[33m", terminate 279s [1] "\033[39m" 279s 2/14 interactions.R: substr_ctl("", 0, 0, carry = "\033[33m") 279s [1] "" 279s 2/14 interactions.R: substr_ctl("", 0, 0, carry = "\033[33m", terminate = FALSE 279s [1] "" 279s 2/14 interactions.R: substr_ctl("\033[39m", 0, 0, carry = "\033[33m", terminate 279s [1] "" 279s 2/14 interactions.R: substr_ctl(character(), 2, 4, carry = "\033[33m") 279s character(0) 279s 2/14 interactions.R: substr_ctl(NA, 2, 4, carry = "\033[33m") 279s [1] NA 279s 2/14 interactions.R: substr_ctl(environment(), 2, 4, carry = "\033[33m") 279s Error in as.character(args[["x"]]) : 279s cannot coerce type 'environment' to vector of type 'character' 279s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV 279s 2/14 interactions.R: substr_ctl("hello", 2, 4, carry = c("\033[33m", "\033[44m" 279s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 279s Argument `carry` must be scalar. 279s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4, carry = NA_character_) 279s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 279s Argument `carry` may not be NA. 279s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4, carry = character()) 279s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 279s Argument `carry` must be scalar. 279s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4, carry = 1) 279s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 279s Argument `carry` must be logical or character. 279s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: substr_ctl(str.0, 2, 4, carry = Inf) 279s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 279s Argument `carry` must be logical or character. 279s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: sgrs <- c("A\033[31mB", "C\033[1mD", "E\033[4mF", "G\033[1 279s 2/14 interactions.R: substr_ctl(sgrs, 2, 2, carry = TRUE) 279s [1] "\033[31mB\033[0m" "\033[1;31mD\033[0m" 279s [3] "\033[1;4;31mF\033[0m" "\033[1;4;31;13mH\033[0m" 279s [5] "\033[1;4;31;62;13mJ\033[0m" "\033[1;4;62;13mL\033[0m" 279s [7] "\033[1;4;52;62;13mN\033[0m" "\033[1;4;52;13mP\033[0m" 279s [9] "\033[4;52;13mR\033[0m" "\033[52;13mT\033[0m" 279s [11] "\033[13mU\033[0m" "W" 279s 2/14 interactions.R: normalize_state(str.2, carry = NA_character_) 279s Error in normalize_state(str.2, carry = NA_character_) : 279s Argument `carry` may not be NA. 279s Calls: unitize_dir ... withVisible -> normalize_state -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: normalize_state(str.2, carry = character()) 279s Error in normalize_state(str.2, carry = character()) : 279s Argument `carry` must be scalar. 279s Calls: unitize_dir ... withVisible -> normalize_state -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: normalize_state(str.2, carry = 1) 279s Error in normalize_state(str.2, carry = 1) : 279s Argument `carry` must be logical or character. 279s Calls: unitize_dir ... withVisible -> normalize_state -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: normalize_state(str.2, carry = Inf) 279s Error in normalize_state(str.2, carry = Inf) : 279s Argument `carry` must be logical or character. 279s Calls: unitize_dir ... withVisible -> normalize_state -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: strwrap_ctl(wrp.0, 20, carry = NA_character_) 279s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 279s Argument `carry` may not be NA. 279s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: strwrap_sgr(wrp.0, 20, carry = character()) 279s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 279s Argument `carry` must be scalar. 279s Calls: unitize_dir ... strwrap_sgr -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: strwrap2_ctl(wrp.0, 20, carry = 1) 279s Error in strwrap2_ctl(wrp.0, 20, carry = 1) : 279s Argument `carry` must be logical or character. 279s Calls: unitize_dir ... eval -> withVisible -> strwrap2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: strwrap2_sgr(wrp.0, 20, carry = Inf) 279s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 279s Argument `carry` must be logical or character. 279s Calls: unitize_dir ... strwrap2_sgr -> strwrap2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: strwrap_ctl(c("\033[33mA \033[4mB", "\033[44mC D"), carry 279s [1] "\033[33mA\033[0m" "\033[4;33mB\033[0m" "\033[4;33;44mC\033[0m" 279s [4] "\033[4;33;44mD\033[0m" 279s 2/14 interactions.R: unitizer_sect("terminate", { 279s 2/14 interactions.R: str.0 <- c("hel\033[33m", "wo\033[44mrld") 279s 2/14 interactions.R: substr_ctl(str.0, 2, 5, terminate = FALSE) 279s [1] "el\033[33m" "o\033[44mrld" 279s 2/14 interactions.R: substr_sgr(str.0, 2, 5, terminate = FALSE) 279s [1] "el\033[33m" "o\033[44mrld" 279s 2/14 interactions.R: substr2_ctl(str.0, 2, 5, terminate = FALSE) 279s [1] "el\033[33m" "o\033[44mrld" 279s 2/14 interactions.R: substr2_sgr(str.0, 2, 5, terminate = FALSE) 279s [1] "el\033[33m" "o\033[44mrld" 279s 2/14 interactions.R: strwrap_ctl(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in" "a land far away" 279s [3] "over" "the mountains and" 279s [5] "\033[7msea lived a fair" "creature" 279s [7] "with \033[4mdark itentions" "and a yappy dog." 279s 2/14 interactions.R: strwrap_sgr(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in" "a land far away" 279s [3] "over" "the mountains and" 279s [5] "\033[7msea lived a fair" "creature" 279s [7] "with \033[4mdark itentions" "and a yappy dog." 279s 2/14 interactions.R: strwrap2_ctl(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in" "a land far away" 279s [3] "over" "the mountains and" 279s [5] "\033[7msea lived a fair" "creature" 279s [7] "with \033[4mdark itentions" "and a yappy dog." 279s 2/14 interactions.R: strwrap2_sgr(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in" "a land far away" 279s [3] "over" "the mountains and" 279s [5] "\033[7msea lived a fair" "creature" 279s [7] "with \033[4mdark itentions" "and a yappy dog." 279s 2/14 interactions.R: strtrim_ctl(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in " "the mountains and \033[7m s" 279s [3] "with \033[4mdark itentions " 279s 2/14 interactions.R: strtrim_sgr(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in " "the mountains and \033[7m s" 279s [3] "with \033[4mdark itentions " 279s 2/14 interactions.R: strtrim2_ctl(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in " "the mountains and \033[7m s" 279s [3] "with \033[4mdark itentions " 279s 2/14 interactions.R: strtrim2_sgr(wrp.0, 20, terminate = FALSE) 279s [1] "once upon \033[44ma time in " "the mountains and \033[7m s" 279s [3] "with \033[4mdark itentions " 279s 2/14 interactions.R: strtrim2_sgr(wrp.0, 20, terminate = NA) 279s Error in strtrim2_ctl(x = x, width = width, warn = warn, tabs.as.spaces = tabs.as.spaces, : 279s Argument `terminate` must be TRUE or FALSE 279s Calls: unitize_dir ... strtrim2_sgr -> strtrim2_ctl -> VAL_IN_ENV -> stop2 279s 2/14 interactions.R: unitizer_sect("bridge", { 279s 2/14 interactions.R: fansi:::bridge("\033[42m", "\033[31m") 279s [1] "\033[0;31m" 279s 2/14 interactions.R: fansi:::bridge("\033[42m", "\033[31m", normalize = TRUE) 279s [1] "\033[49m\033[31m" 279s 2/14 interactions.R: fansi:::bridge("", "\033[31m") 279s [1] "\033[31m" 279s 2/14 interactions.R: fansi:::bridge("\033[42m", "") 279s [1] "\033[0m" 279s 2/14 interactions.R: fansi:::bridge("\033[42m", "\033[42m") 279s [1] "" 279s 2/14 interactions.R: end <- c("\033[31", "\033[41m", NA_character_, "\033[44m") 279s 2/14 interactions.R: restart <- c("", NA_character_, "\033[45m", "\033[45m") 279s 2/14 interactions.R: fansi:::bridge(end, restart) 279s [1] "" "" "" "\033[45m" 279s 2/14 interactions.R: base.st <- "%s\033]8;%s;%s\033\\" 279s 2/14 interactions.R: url <- "https://x.yz" 279s 2/14 interactions.R: u0 <- sprintf(base.st, "", "", url) 279s 2/14 interactions.R: fansi:::bridge(paste0("\033[42m", u0), "\033[31m") 279s [1] "\033[0;31m\033]8;;\033\\" 279s 2/14 interactions.R: fansi:::bridge("\033[31m", paste0("\033[42m", u0)) 279s [1] "\033[0;42m\033]8;;https://x.yz\033\\" 279s 2/14 interactions.R: txt <- c("A\033[31mBC", "D\033[39mE\033[42mF") 279s 2/14 interactions.R: `substr_ctl<-`(txt, 2, 2, value = "?", normalize = TRUE, c 279s [1] "A?\033[31mC" "D\033[39m?\033[42mF" 279s 2/14 interactions.R: unitizer_sect("at end / close", { 279s 2/14 interactions.R: x <- c("a\033[31mb", "c", "\033[42md") 279s 2/14 interactions.R: state_at_end(x) 279s [1] "\033[31m" "" "\033[42m" 279s 2/14 interactions.R: state_at_end(x, carry = TRUE) 279s [1] "\033[31m" "\033[31m" "\033[31;42m" 279s 2/14 interactions.R: state_at_end(x, carry = TRUE, normalize = TRUE) 279s [1] "\033[31m" "\033[31m" "\033[31m\033[42m" 279s 2/14 interactions.R: state_at_end("a\033[pb") 279s [1] "" 279s Warning in state_at_end("a\033[pb") : 279s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 279s 2/14 interactions.R: state_at_end("a\033[pb", warn = FALSE) 279s [1] "" 279s 2/14 interactions.R: state_at_end(c("\033[42mA", NA_character_, "\033[31mA")) 279s [1] "\033[42m" NA "\033[31m" 279s 2/14 interactions.R: state_at_end(c("\033[42mA", NA_character_, "\033[31mA"), c 279s [1] "\033[42m" NA NA 279s 2/14 interactions.R: close_state(x) 279s [1] "\033[0m" "" "\033[0m" 279s 2/14 interactions.R: close_state(x, normalize = TRUE) 279s [1] "\033[39m" "" "\033[49m" 279s 2/14 interactions.R: close_state("a\033[pb") 279s [1] "" 279s Warning in close_state("a\033[pb") : 279s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 279s 2/14 interactions.R: close_state("a\033[pb", warn = FALSE) 279s [1] "" 279s 2/14 interactions.R: state_no_arg <- function(x) { 279s 2/14 interactions.R: x <- "\360" 279s 2/14 interactions.R: Encoding(x) <- "UTF-8" 279s 2/14 interactions.R: state_no_arg(x) 279s [1] "Encountered a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`." 279s 2/14 interactions.R: y <- "\033[45phello" 279s 2/14 interactions.R: state_no_arg(y) 279s [1] "Encountered a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 279s 279s 3/14 misc.R: 279s 3/14 misc.R: library(unitizer) 279s 3/14 misc.R: library(fansi) 279s 3/14 misc.R: unitizer_sect("term_cap_test", { 279s 3/14 misc.R: tct <- term_cap_test() 279s bright  -> \033[91;104mbright \033[0m 279s 256  -> \033[38;5;196;48;5;21m256 \033[0m 279s truecolor -> \033[38;2;255;0;0;48;2;0;0;255mtruecolor\033[0m 279s 3/14 misc.R: tct 279s [1] "\033[91;104mbright \033[0m" 279s [2] "\033[38;5;196;48;5;21m256 \033[0m" 279s [3] "\033[38;2;255;0;0;48;2;0;0;255mtruecolor\033[0m" 279s 3/14 misc.R: fansi_lines(LETTERS, step = 6) 279s [1] "\033[37;48;5;23mA\033[39;49m" "\033[37;48;5;29mB\033[39;49m" 279s [3] "\033[30;48;5;35mC\033[39;49m" "\033[30;48;5;41mD\033[39;49m" 279s [5] "\033[30;48;5;47mE\033[39;49m" "\033[37;48;5;53mF\033[39;49m" 279s [7] "\033[37;48;5;59mG\033[39;49m" "\033[37;48;5;65mH\033[39;49m" 279s [9] "\033[30;48;5;71mI\033[39;49m" "\033[30;48;5;77mJ\033[39;49m" 279s [11] "\033[30;48;5;83mK\033[39;49m" "\033[37;48;5;89mL\033[39;49m" 279s [13] "\033[37;48;5;95mM\033[39;49m" "\033[37;48;5;101mN\033[39;49m" 279s [15] "\033[30;48;5;107mO\033[39;49m" "\033[30;48;5;113mP\033[39;49m" 279s [17] "\033[30;48;5;119mQ\033[39;49m" "\033[37;48;5;125mR\033[39;49m" 279s [19] "\033[37;48;5;131mS\033[39;49m" "\033[37;48;5;137mT\033[39;49m" 279s [21] "\033[30;48;5;143mU\033[39;49m" "\033[30;48;5;149mV\033[39;49m" 279s [23] "\033[30;48;5;155mW\033[39;49m" "\033[37;48;5;161mX\033[39;49m" 279s [25] "\033[37;48;5;167mY\033[39;49m" "\033[37;48;5;173mZ\033[39;49m" 279s 3/14 misc.R: local({ 279s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 279s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 279s [1] "" "a" 279s 3/14 misc.R: unitizer_sect("add_int", { 279s 3/14 misc.R: fansi:::add_int(1, 1) 279s [1] 2 279s 3/14 misc.R: fansi:::add_int(2^31 - 1, 1) 279s Error in fansi:::add_int(2^31 - 1, 1) : 279s Integer overflow in file utils.c at line 99; contact maintainer. 279s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 279s 3/14 misc.R: fansi:::add_int(2^31 - 1, 0) 279s [1] 2147483647 279s 3/14 misc.R: fansi:::add_int(-2^31 + 1, 0) 279s [1] -2147483647 279s 3/14 misc.R: fansi:::add_int(-2^31 + 1, -1) 279s Error in fansi:::add_int(-2^31 + 1, -1) : 279s Integer overflow in file utils.c at line 99; contact maintainer. 279s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 279s 3/14 misc.R: unitizer_sect("unhandled", { 279s 3/14 misc.R: string.0 <- c("\033[41mhello world\033[m", "foo\033[22>m", "\033[9 279s 3/14 misc.R: unhandled_ctl(string.0) 279s index start stop error translated esc 279s 1 2 4 9 invalid-substr FALSE \033[22>m 279s 2 3 1 6 invalid-substr FALSE \033[999m 279s 3 4 5 11 invalid-substr FALSE \033[31#3m 279s 4 5 2 6 non-SGR/hyperlink FALSE \033[31k 279s 5 6 6 7 non-CSI/OSC FALSE \033m 279s 3/14 misc.R: string.1 <- c("foo\033[22>mhello\033[9999m", "a\033[31k", "hello\0 279s 3/14 misc.R: unhandled_ctl(string.1) 279s index start stop error translated esc 279s 1 1 4 9 invalid-substr FALSE \033[22>m 279s 2 1 15 21 invalid-substr FALSE \033[9999m 279s 3 2 2 6 non-SGR/hyperlink FALSE \033[31k 279s 4 3 6 7 non-CSI/OSC FALSE \033m 279s 5 3 9 14 unknown-substr FALSE \033[180m 279s 6 3 21 21 malformed-ESC FALSE \033 279s 3/14 misc.R: unhandled_ctl("hello\033\033\033[45p wor\ald") 279s index start stop error translated esc 279s 1 1 6 7 malformed-ESC FALSE \033\033 279s 2 1 8 12 non-SGR/hyperlink FALSE \033[45p 279s 3 1 17 17 C0 FALSE \a 279s 3/14 misc.R: unhandled_ctl("\033[38;5;220mworld\033[m", "bright") 279s index start stop error translated esc 279s 1 1 1 11 exceed-term-cap FALSE \033[38;5;220m 279s 3/14 misc.R: unhandled_ctl("\033[38;2;10;20;30mworld\033[m", "bright") 279s index start stop error translated esc 279s 1 1 1 16 exceed-term-cap FALSE \033[38;2;10;20;30m 279s 3/14 misc.R: unhandled_ctl("\033[38;2;10;20;30mworld\033[m", "bri") 279s Error in unhandled_ctl("\033[38;2;10;20;30mworld\033[m", "bri") : 279s Argument `term.cap` may only contain values in c("all", "bright", "256", "truecolor", "old") 279s Calls: unitize_dir ... withVisible -> unhandled_ctl -> VAL_IN_ENV -> stop2 279s Error in unhandled_ctl("\033[38;2;10;20;30mworld\033[m", NULL) : 279s Argument `term.cap` must be character. 279s Calls: unitize_dir ... withVisible -> unhandled_ctl -> VAL_IN_ENV -> stop2 279s 3/14 misc.R: unhandled_ctl("\033[38;2;10;20;30mworld\033[m", NULL) 279s 3/14 misc.R: unhandled_ctl("AB\033[34m\033]9\033\\\033[1m\033[2LCD") 279s index start stop error translated esc 279s 1 1 17 20 non-SGR/hyperlink FALSE \033[2L 279s 3/14 misc.R: unhandled_ctl("AB\033[34m\033]9\033[1m\033[2LCD") 279s index start stop error translated esc 279s 1 1 8 20 malformed-CSI/OSC FALSE \033]9\033[1m\033[2LCD 279s 3/14 misc.R: unhandled_ctl("A\033[45#1pB\033[256pC\033[256mD") 279s index start stop error translated esc 279s 1 1 2 8 CSI/OSC-bad-substr FALSE \033[45#1p 279s 2 1 10 15 non-SGR/hyperlink FALSE \033[256p 279s 3 1 17 22 invalid-substr FALSE \033[256m 279s 3/14 misc.R: unhandled_ctl("\033[38m") 280s index start stop error translated esc 280s 1 1 1 5 invalid-substr FALSE \033[38m 280s 3/14 misc.R: unitizer_sect("strtrim", { 280s 3/14 misc.R: strtrim_ctl(" hello world", 7) 280s [1] " hello " 280s 3/14 misc.R: strtrim_ctl("\033[42m hello world\033[m", 7) 280s [1] "\033[42m hello \033[0m" 280s 3/14 misc.R: strtrim_ctl(" hello\nworld", 7) 280s [1] " hello\nw" 280s 3/14 misc.R: strtrim_ctl("\033[42m hello\nworld\033[m", 7) 280s [1] "\033[42m hello\nw\033[0m" 280s 3/14 misc.R: strtrim_ctl("\nhello\nworld", 7) 280s [1] "\nhello\nwo" 280s 3/14 misc.R: strtrim_ctl("\033[42m\nhello\nworld\033[m", 7) 280s [1] "\033[42m\nhello\nwo\033[0m" 280s 3/14 misc.R: strtrim_ctl("\thello\rworld foobar", 12) 280s Warning in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 280s [1] "\thello\rworld f" 280s 3/14 misc.R: strtrim_ctl("\033[42m\thello\rworld\033[m foobar", 12) 280s Warning in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 280s [1] "\033[42m\thello\rworld\033[m f" 280s 3/14 misc.R: strtrim2_ctl("\033[42m\thello world\033[m foobar", 12, tabs.as.spa 280s [1] "\033[42m hell\033[0m" 280s 3/14 misc.R: strtrim_sgr("\033[42m\the\allo world\033[m foobar", 12, warn = FAL 280s [1] "\033[42m\the\allo worl\033[0m" 280s 3/14 misc.R: strtrim2_sgr("\033[42m\the\allo world\033[m foobar", 12, tabs.as.s 280s [1] "\033[42m he\allo wor\033[0m" 280s 3/14 misc.R: identical(strtrim_ctl(c("AB", NA_character_, "CD"), 1), strtrim(c( 280s [1] TRUE 280s 3/14 misc.R: strtrim_ctl(c("AB", NA_character_, "CD"), 1, carry = TRUE) 280s [1] "A" NA NA 280s 3/14 misc.R: hello2.0 <- "\033[42m\thello world\033[m foobar" 280s 3/14 misc.R: strtrim_ctl(1:3, width = 10) 280s [1] "1" "2" "3" 280s 3/14 misc.R: strtrim_ctl(hello2.0, width = "35") 280s Error in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `width` must be a positive scalar numeric representable as an integer. 280s Calls: unitize_dir ... eval -> eval -> withVisible -> strtrim_ctl -> strtrim2_ctl 280s Error in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `width` must be a positive scalar numeric representable as an integer. 280s Calls: unitize_dir ... eval -> eval -> withVisible -> strtrim_ctl -> strtrim2_ctl 280s 3/14 misc.R: strtrim_ctl(hello2.0, width = NA_integer_) 280s Error in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `warn` must be TRUE or FALSE. 280s Calls: unitize_dir ... withVisible -> strtrim_ctl -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim_ctl(hello2.0, width = 10, warn = NULL) 280s 3/14 misc.R: strtrim_ctl(hello2.0, width = 10, ctl = 0) 280s Error in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `ctl` must be character. 280s Calls: unitize_dir ... withVisible -> strtrim_ctl -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s Error in strtrim2_ctl(x = x, width = width, warn = warn, ctl = ctl, normalize = normalize, : 280s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 280s Calls: unitize_dir ... withVisible -> strtrim_ctl -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim_ctl(hello2.0, width = 10, ctl = "bananas") 280s 3/14 misc.R: strtrim2_ctl(1:3, width = 10) 280s [1] "1" "2" "3" 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = "35") 280s Error in strtrim2_ctl(hello2.0, width = "35") : 280s Argument `width` must be a positive scalar numeric representable as an integer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strtrim2_ctl 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = NA_integer_) 280s Error in strtrim2_ctl(hello2.0, width = NA_integer_) : 280s Argument `width` must be a positive scalar numeric representable as an integer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strtrim2_ctl 280s Error in strtrim2_ctl(hello2.0, width = 10, warn = NULL) : 280s Argument `warn` must be TRUE or FALSE. 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, warn = NULL) 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, tabs.as.spaces = NA) 280s Error in strtrim2_ctl(hello2.0, width = 10, tabs.as.spaces = NA) : 280s Argument `tabs.as.spaces` must be TRUE or FALSE. 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, tabs.as.spaces = 1:3) 280s Error in strtrim2_ctl(hello2.0, width = 10, tabs.as.spaces = 1:3) : 280s Argument `tabs.as.spaces` must be TRUE or FALSE. 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s Error in strtrim2_ctl(hello2.0, width = 10, tab.stops = -(1:3)) : 280s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, tab.stops = -(1:3)) 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, tab.stops = 0) 280s Error in strtrim2_ctl(hello2.0, width = 10, tab.stops = 0) : 280s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, ctl = 0) 280s Error in strtrim2_ctl(hello2.0, width = 10, ctl = 0) : 280s Argument `ctl` must be character. 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: strtrim2_ctl(hello2.0, width = 10, ctl = "bananas") 280s Error in strtrim2_ctl(hello2.0, width = 10, ctl = "bananas") : 280s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 280s Calls: unitize_dir ... eval -> withVisible -> strtrim2_ctl -> VAL_IN_ENV -> stop2 280s 3/14 misc.R: unitizer_sect("enc check", { 280s 3/14 misc.R: x <- y <- "He\237" 280s 3/14 misc.R: Encoding(x) <- "latin1" 280s 3/14 misc.R: fansi:::check_enc(x, 1) 280s Error in fansi:::check_enc(x, 1) : 280s Internal Error: unexpected encoding 2 encountered at index 1. Contact maintainer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 280s 3/14 misc.R: Encoding(y) <- "bytes" 280s 3/14 misc.R: fansi:::check_enc(y, 1) 280s Error in fansi:::check_enc(y, 1) : 280s Byte encoded string encountered at index 1. Byte encoded strings are not supported. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 280s 3/14 misc.R: fansi:::check_enc("hello", 1) 280s [1] TRUE 280s 3/14 misc.R: unitizer_sect("what as int", { 280s 3/14 misc.R: fansi:::ctl_as_int(c(1, 2, 3, 4, 5)) 280s [1] 112 280s 3/14 misc.R: fansi:::ctl_as_int(c(2, 3, 4, 5)) 280s [1] 15 280s 3/14 misc.R: fansi:::ctl_as_int(c(1, 2, 3, 9)) 280s Error in fansi:::ctl_as_int(c(1, 2, 3, 9)) : 280s Internal Error: max ctl value allowed is 6. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 280s Error in fansi:::ctl_as_int(c(2, 3, 9)) : 280s Internal Error: max ctl value allowed is 6. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 280s 3/14 misc.R: fansi:::ctl_as_int(c(2, 3, 9)) 280s 3/14 misc.R: unitizer_sect("HTML helper", { 280s 3/14 misc.R: html_esc(character()) 280s character(0) 280s 3/14 misc.R: html_esc(1:10) 280s Error in html_esc(1:10) : Argument `x` must be character, is integer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_esc 280s 3/14 misc.R: html_esc(NA_character_) 280s [1] NA 280s 3/14 misc.R: html_esc("") 280s [1] "<he&llo>" 280s 3/14 misc.R: html_esc("ow&wo") 280s [1] "ow&wo" 280s 3/14 misc.R: html_esc(c("hello", "wors", NA, "")) 280s [1] "hello" "wor<ld>s" NA "" 280s 3/14 misc.R: html_esc(c("he'l\"lo", "wors", NA, "")) 280s [1] "he'l"lo" "wor<ld>s" NA 280s [4] "" 280s 3/14 misc.R: html_esc("<<<<") 280s [1] "<<<<" 280s 3/14 misc.R: html_esc("<123hello>") 280s [1] "<123hello>" 280s 3/14 misc.R: txt <- c("day > night", "hello world") 280s 3/14 misc.R: html_code_block(character()) 280s [1] "
" 280s 3/14 misc.R: html_code_block(txt) 280s [1] "
day > night\nhello world
" 280s 3/14 misc.R: html_code_block(1:10) 280s Error in html_code_block(1:10) : 280s Argument `x` must be character, is integer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_code_block 280s 3/14 misc.R: html_code_block(txt, class = c("not-fansi", "plain")) 280s [1] "
day > night\nhello world
" 280s 3/14 misc.R: html_code_block(txt, class = NULL) 280s Error in html_code_block(txt, class = NULL) : 280s Argument `class` must be character, is NULL. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_code_block 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "<>") 280s [1] "h&e'l\"lo" "wor<ld>s" NA "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "><") 280s [1] "h&e'l\"lo" "wor<ld>s" NA "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "<&>") 280s [1] "h&e'l\"lo" "wor<ld>s" NA "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "'<&>") 280s [1] "h&e'l\"lo" "wor<ld>s" NA 280s [4] "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "'<&>\"") 280s [1] "h&e'l"lo" "wor<ld>s" NA 280s [4] "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "'&>\"<") 280s [1] "h&e'l"lo" "wor<ld>s" NA 280s [4] "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "") 280s [1] "h&e'l\"lo" "wors" NA "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "'<&>\"<") 280s [1] "h&e'l"lo" "wor<ld>s" NA 280s [4] "" 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), character()) 280s Error in html_esc(c("h&e'l\"lo", "wors", NA, ""), character()) : 280s Argument `what` must be scalar character and not NA. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_esc 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), NA_character_) 280s Error in html_esc(c("h&e'l\"lo", "wors", NA, ""), NA_character_) : 280s Argument `what` must be scalar character and not NA. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_esc 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), 1:5) 280s Error in html_esc(c("h&e'l\"lo", "wors", NA, ""), 1:5) : 280s Argument `what` must be character, is integer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_esc 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "'<&><") 280s [1] "h&e'l\"lo" "wor<ld>s" NA 280s [4] "" 280s Error in html_esc(c("h&e'l\"lo", "wors", NA, ""), "'x><") : 280s Argument `what` may only contain ASCII characters "&", "<", ">", "'", or "\"". 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> html_esc 280s 3/14 misc.R: html_esc(c("h&e'l\"lo", "wors", NA, ""), "'x><") 280s 3/14 misc.R: unitizer_sect("hooks", { 280s 3/14 misc.R: h.1 <- list(set = function(...) cat("Set hooks: ", names(list(...) 280s 3/14 misc.R: h.2 <- list(set = function(...) cat("Set hooks: ", names(list(...) 280s 3/14 misc.R: h.3 <- list(set = function(...) cat("Set hooks: ", names(list(...) 280s 3/14 misc.R: h.4 <- list(set = function(...) stop("error in set"), get = functi 280s 3/14 misc.R: set_knit_hooks(list(1, 2)) 280s Error in set_knit_hooks(list(1, 2)) : 280s Argument `hooks` does not appear to be `knitr::knit_hooks`. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(list(function() NULL, function() NULL)) 280s Error in set_knit_hooks(list(function() NULL, function() NULL)) : 280s Argument `hooks` does not appear to be `knitr::knit_hooks`. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: res1 <- set_knit_hooks(h.1, .test = TRUE) 280s Set hooks: output 280s 280s 3/14 misc.R: res1[["new.hooks"]][["output"]]("hello") 280s [1] "old.hook" 280s 3/14 misc.R: res1[["new.hooks"]][["output"]]("hello\033[31m world") 280s [1] "
hello world
" 280s 3/14 misc.R: res1a <- set_knit_hooks(h.1, split.nl = TRUE, .test = TRUE) 280s Set hooks: output 280s 280s 3/14 misc.R: res1a[["new.hooks"]][["output"]]("hello\033[31m wo\nrld") 280s [1] "
hello wo\nrld
" 280s 3/14 misc.R: p.f.2 <- function(x, y) NULL 280s 3/14 misc.R: p.f.3 <- function(x, class) sprintf("new proc fun, '%s'", class) 280s 3/14 misc.R: p.f.4 <- function(x, class) stop("new proc fun") 280s Error in set_knit_hooks(h.1, split.nl = "banana") : 280s Argument `split.n` must be TRUE or FALSE 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(h.1, split.nl = "banana") 280s 3/14 misc.R: set_knit_hooks(h.1, proc.fun = p.f.2) 280s Error in set_knit_hooks(h.1, proc.fun = p.f.2) : 280s Argument `proc.fun` must be a function with formals named `x` and `class`. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(h.1, which = "hello") 280s Error in set_knit_hooks(h.1, which = "hello") : 280s Argument `which` must be character containing values in c("output", "warning", "error", "message") 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(h.1, which = NULL) 280s Error in set_knit_hooks(h.1, which = NULL) : 280s Argument `which` must be character containing values in c("output", "warning", "error", "message") 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: res2 <- set_knit_hooks(h.1, which = c("output", "message"), class 280s Set hooks: output message 280s 280s 3/14 misc.R: res2[["new.hooks"]][["message"]]("hello") 280s [1] "old.hook" 280s 3/14 misc.R: res2[["new.hooks"]][["message"]]("hello\033[31m world") 280s [1] "new proc fun, 'f-message'" 280s 3/14 misc.R: res2[["new.hooks"]][["output"]]("hello\033[31m world") 280s [1] "new proc fun, 'f-output'" 280s 3/14 misc.R: res3 <- set_knit_hooks(h.1, which = c("message", "warning"), 280s Set hooks: message warning 280s 280s 3/14 misc.R: res3[["new.hooks"]][["warning"]]("hello") 280s [1] "old.hook" 280s Error in proc.fun(x = x, class = class) : new proc fun 280s Error in res3[["new.hooks"]][["warning"]]("hello\033[31mworld") : 280s Argument `proc.fun` for `set_knit_hooks` caused an error when processing output; see prior error. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 280s 3/14 misc.R: res3[["new.hooks"]][["warning"]]("hello\033[31mworld") 280s 3/14 misc.R: set_knit_hooks(h.2) 280s Warning in set_knit_hooks(h.2) : 280s Retrieved 'output' hook is not a function; are you sure you passed `knitr::knit_hooks` as the `hooks` argument? Quitting after setting 0/1 hooks 280s Set hooks: output 280s 280s $output 280s NULL 280s 280s 3/14 misc.R: set_knit_hooks(h.3) 280s Error in hooks$get(hook.name) : error in get 280s Warning in set_knit_hooks(h.3) : 280s Failed retrieving 'output' hook from the knit hooks; are you sure you passed `knitr::knit_hooks` as the `hooks` argument? Quitting after setting 0/1 hooks 280s Set hooks: output 280s 280s $output 280s NULL 280s 280s 3/14 misc.R: set_knit_hooks(h.4) 280s Error in (function (...) : error in set 280s Warning in set_knit_hooks(h.4) : 280s Failure while trying to set hooks; see prior error; are you sure you passed `knitr::knit_hooks` as the `hooks` argument? 280s 280s $output 280s function() "old.hook" 280s 280s 280s 3/14 misc.R: set_knit_hooks(h.1, style = NULL) 280s Error in set_knit_hooks(h.1, style = NULL) : 280s Argument `style` must be character. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(h.1, class = 1:10) 280s Error in set_knit_hooks(h.1, class = 1:10) : 280s Argument `class` should be a character vector the same length as `which`. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s Error in set_knit_hooks(h.1, class = letters) : 280s Argument `class` should be a character vector the same length as `which`. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(h.1, class = letters) 280s Error in set_knit_hooks(h.1, which = c("output", "message", "output")) : 280s Argument `which` may not contain duplicate values (output). 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> set_knit_hooks 280s 3/14 misc.R: set_knit_hooks(h.1, which = c("output", "message", "output")) 280s 3/14 misc.R: unitizer_sect("output funs", { 280s 3/14 misc.R: fansi_lines(1:3) 280s [1] "\033[37;48;5;18m1\033[39;49m" "\033[37;48;5;19m2\033[39;49m" 280s [3] "\033[37;48;5;20m3\033[39;49m" 280s 3/14 misc.R: fansi_lines(1:3, step = "hello") 280s Error in fansi_lines(1:3, step = "hello") : 280s Argument `step` must be a strictly positive scalar integer. 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> fansi_lines 280s 3/14 misc.R: capture.output(fwl("\033[43mhello")) 280s [1] "\033[43mhello" "\033[0m" 280s 3/14 misc.R: unitizer_sect("validation", { 280s 3/14 misc.R: fansi:::VAL_IN_ENV(booboo = "error") 280s Error in fansi:::VAL_IN_ENV(booboo = "error") : 280s Internal Error: some arguments to validate unknown 280s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 280s 280s 4/14 nchar.R: 280s 4/14 nchar.R: library(fansi) 280s 4/14 nchar.R: unitizer_sect("basic tests", { 280s 4/14 nchar.R: nchar_ctl(c("hello", "world")) 280s [1] 5 5 280s 4/14 nchar.R: nchar_ctl(c("hello", "world"), type = "width") 280s [1] 5 5 280s 4/14 nchar.R: nchar_ctl(c("hello", "world"), type = "wi") 280s [1] 5 5 280s 4/14 nchar.R: na.world <- c("hello", NA, "world", "") 280s 4/14 nchar.R: identical(nchar_ctl(na.world), nchar(na.world)) 280s [1] TRUE 280s 4/14 nchar.R: identical(nchar_ctl(na.world, keepNA = FALSE), nchar(na.world, 280s [1] TRUE 280s 4/14 nchar.R: identical(nchar_ctl(na.world, keepNA = NA, type = "width"), nchar 280s [1] TRUE 280s 4/14 nchar.R: identical(nchar_ctl(na.world, keepNA = TRUE, type = "width"), 280s [1] TRUE 280s 4/14 nchar.R: identical(nzchar_ctl(na.world), nzchar(na.world)) 280s [1] TRUE 280s 4/14 nchar.R: identical(nzchar_ctl(na.world, keepNA = TRUE), nzchar(na.world, 280s [1] TRUE 280s 4/14 nchar.R: identical(nzchar_ctl(na.world, keepNA = NA), nzchar(na.world, 280s [1] TRUE 280s 4/14 nchar.R: identical(nchar_ctl(na.world, type = "bytes"), nchar(na.world, 280s [1] TRUE 280s 4/14 nchar.R: identical(nchar_ctl(na.world, keepNA = FALSE, type = "bytes"), 280s [1] TRUE 280s 4/14 nchar.R: identical(nchar_ctl(na.world, keepNA = TRUE, type = "bytes"), 280s [1] TRUE 280s 4/14 nchar.R: w.names <- c(a = "hello", b = "world") 280s 4/14 nchar.R: identical(nchar_ctl(w.names), nchar(w.names)) 280s [1] TRUE 280s 4/14 nchar.R: w.dim <- matrix(letters[1:6], 2, 3, dimnames = list(X = LETTERS[2 280s 4/14 nchar.R: identical(nchar_ctl(w.dim), nchar(w.dim)) 280s [1] TRUE 280s 4/14 nchar.R: hw.sgr <- c("hello", "wo\033[42mrld", "\033[31m", "mo\non", "star 280s 4/14 nchar.R: identical(nchar_ctl(hw.sgr), nchar(strip_ctl(hw.sgr))) 280s [1] TRUE 280s 4/14 nchar.R: x <- "\360" 280s 4/14 nchar.R: if (isTRUE(l10n_info()[["UTF-8"]])) { 280s [1] TRUE 280s 4/14 nchar.R: Encoding(x) <- "UTF-8" 280s 4/14 nchar.R: identical(nzchar_ctl(x), nzchar(x)) 280s [1] TRUE 280s 4/14 nchar.R: nchar_ctl(x) 280s Error in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 280s Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 280s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> nchar_ctl_internal 280s Error in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 280s Argument `x` contains a malformed UTF-8 sequence at index [2], see `?unhandled_ctl`. 280s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> nchar_ctl_internal 280s 4/14 nchar.R: nchar_ctl(c("", x)) 280s 4/14 nchar.R: identical(nchar_ctl(x, allowNA = TRUE), nchar(x, allowNA = TRUE)) 280s [1] TRUE 280s 4/14 nchar.R: unitizer_sect("with escapes", { 280s 4/14 nchar.R: esc.2 <- "\n\r\033P\033[31m\a" 280s 4/14 nchar.R: nchar_ctl(esc.2) 280s [1] 0 280s 4/14 nchar.R: nchar_ctl(esc.2, warn = FALSE) 280s [1] 0 280s 4/14 nchar.R: nzchar_ctl(esc.2) 281s [1] FALSE 281s 4/14 nchar.R: nzchar_ctl(esc.2, warn = FALSE) 281s [1] FALSE 281s 4/14 nchar.R: nchar_ctl("\033[31#mworld", ctl = "sgr") 281s [1] 5 281s 4/14 nchar.R: nchar_ctl("\033[31#mworld", ctl = "csi") 281s [1] 11 281s 4/14 nchar.R: unitizer_sect("ctl", { 281s 4/14 nchar.R: esc.3 <- "\n\t\033[31m\033[41!m\033p" 281s 4/14 nchar.R: nzchar_ctl(esc.3, warn = FALSE) 281s [1] FALSE 281s 4/14 nchar.R: nzchar_ctl(sprintf("%sa", esc.3), warn = FALSE) 281s [1] TRUE 281s 4/14 nchar.R: nzchar_ctl(esc.3, ctl = c("sgr", "csi", "esc"), warn = FALSE) 281s [1] TRUE 281s 4/14 nchar.R: nzchar_ctl(esc.3, ctl = c("c0", "nl"), warn = FALSE) 281s [1] TRUE 281s 4/14 nchar.R: nzchar_ctl("\n\t\n", ctl = c("nl"), warn = FALSE) 281s [1] TRUE 281s 4/14 nchar.R: nzchar_ctl("\t\n", ctl = c("nl"), warn = FALSE) 281s [1] TRUE 281s 4/14 nchar.R: unitizer_sect("corner cases", { 281s 4/14 nchar.R: ncbad <- c("\033\200", "\033[31;\200m", "\033[31;\200p", "\033]8; 281s 4/14 nchar.R: Encoding(ncbad) <- "UTF-8" 281s 4/14 nchar.R: nchar_ctl(ncbad) 281s [1] 0 0 0 0 0 281s 4/14 nchar.R: fansi:::set_rver(numeric_version("3.2.1")) 281s 4/14 nchar.R: nzchar_ctl(c("\033[31mA", "\033[31m")) 281s [1] TRUE FALSE 281s 4/14 nchar.R: nchar_ctl(c("\033[31mA", "\033[31m")) 281s [1] 1 0 281s 4/14 nchar.R: fansi:::set_rver() 281s 4/14 nchar.R: unitizer_sect("bad inputs", { 281s 4/14 nchar.R: nchar_ctl(9:10, warn = 1:3) 281s Error in nchar_ctl(9:10, warn = 1:3) : 281s Argument `warn` must be TRUE or FALSE. 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s Error in nchar_ctl("hello\033[31m world", allowNA = 1:3) : 281s Argument `allowNA` must be interpretable as a scalar logical. 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", allowNA = 1:3) 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", keepNA = 1:3) 281s Error in nchar_ctl("hello\033[31m world", keepNA = 1:3) : 281s Argument `keepNA` must be interpretable as a scalar logical. 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", strip = 1:3) 281s Parameter `strip` has been deprecated; use `ctl` instead. 281s Error in nchar_ctl("hello\033[31m world", strip = 1:3) : 281s Argument `ctl` must be character. 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", ctl = "bananas") 281s Error in nchar_ctl("hello\033[31m world", ctl = "bananas") : 281s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", type = NA_character_) 281s Error in nchar_ctl("hello\033[31m world", type = NA_character_) : 281s Argument `type` must partial match one of c("chars", "width", "graphemes", "bytes") 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s Error in nchar_ctl("hello\033[31m world", type = 1) : 281s Argument `type` must partial match one of c("chars", "width", "graphemes", "bytes") 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", type = 1) 281s 4/14 nchar.R: nchar_ctl("hello\033[31m world", type = "bananas") 281s Error in nchar_ctl("hello\033[31m world", type = "bananas") : 281s Argument `type` must partial match one of c("chars", "width", "graphemes", "bytes") 281s Calls: unitize_dir ... eval -> withVisible -> nchar_ctl -> VAL_IN_ENV -> stop2 281s Error in nzchar_ctl(9:10, warn = 1:3) : 281s Argument `warn` must be TRUE or FALSE. 281s Calls: unitize_dir ... eval -> withVisible -> nzchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nzchar_ctl(9:10, warn = 1:3) 281s Error in nzchar_ctl("hello\033[31m world", keepNA = 1:3) : 281s Argument `keepNA` must be interpretable as a scalar logical. 281s Calls: unitize_dir ... eval -> withVisible -> nzchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nzchar_ctl("hello\033[31m world", keepNA = 1:3) 281s 4/14 nchar.R: nzchar_ctl("hello\033[31m world", ctl = 1) 281s Error in nzchar_ctl("hello\033[31m world", ctl = 1) : 281s Argument `ctl` must be character. 281s Calls: unitize_dir ... eval -> withVisible -> nzchar_ctl -> VAL_IN_ENV -> stop2 281s Error in nzchar_ctl("hello\033[31m world", ctl = "bananas") : 281s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 281s Calls: unitize_dir ... eval -> withVisible -> nzchar_ctl -> VAL_IN_ENV -> stop2 281s 4/14 nchar.R: nzchar_ctl("hello\033[31m world", ctl = "bananas") 281s 281s 5/14 normalize.R: 281s 5/14 normalize.R: library(fansi) 281s 5/14 normalize.R: unitizer_sect("no expansion", { 281s 5/14 normalize.R: normalize_state("A\033[31mB") 281s [1] "A\033[31mB" 281s 5/14 normalize.R: normalize_state("\033[31mAB") 281s [1] "\033[31mAB" 281s 5/14 normalize.R: normalize_state("AB\033[31m") 281s [1] "AB\033[31m" 281s 5/14 normalize.R: normalize_state(c("A\033[31mB", "AB")) 281s [1] "A\033[31mB" "AB" 281s 5/14 normalize.R: normalize_state(c("\033[31mAB", "AB")) 281s [1] "\033[31mAB" "AB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31m", "AB")) 281s [1] "AB\033[31m" "AB" 281s 5/14 normalize.R: unitizer_sect("simple expansion", { 281s 5/14 normalize.R: normalize_state(c("A\033[31;42mB", "AB")) 281s [1] "A\033[31m\033[42mB" "AB" 281s 5/14 normalize.R: normalize_state(c("\033[31;42mAB", "AB")) 281s [1] "\033[31m\033[42mAB" "AB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", "AB")) 281s [1] "AB\033[31m\033[42m" "AB" 281s 5/14 normalize.R: normalize_state(c("A\033[31;42mB", "A\033[39;4mB")) 281s [1] "A\033[31m\033[42mB" "A\033[4mB" 281s 5/14 normalize.R: normalize_state(c("A\033[31;42mB", "\033[39;4mAB")) 281s [1] "A\033[31m\033[42mB" "\033[4mAB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", "A\033[39;4mB")) 281s [1] "AB\033[31m\033[42m" "A\033[4mB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", "A\033[0;4mB")) 281s [1] "AB\033[31m\033[42m" "A\033[4mB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", "AB\033[0;4m")) 281s [1] "AB\033[31m\033[42m" "AB\033[4m" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", "\033[0;4mAB")) 281s [1] "AB\033[31m\033[42m" "\033[4mAB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", NA, "\033[0;4mAB")) 281s [1] "AB\033[31m\033[42m" NA "\033[4mAB" 281s 5/14 normalize.R: normalize_state(c("AB\033[31;42m", NA, "\033[0;4mAB"), carry 281s [1] "AB\033[31m\033[42m" NA NA 281s 5/14 normalize.R: unitizer_sect("superflous codes", { 281s 5/14 normalize.R: normalize_state(c("A\033[31;44;38;5;226;36mBC\033[mD")) 281s [1] "A\033[36m\033[44mBC\033[39m\033[49mD" 281s 5/14 normalize.R: normalize_state(c("A\033[31;44;38;5;226;36m\033[0mBCD")) 281s [1] "ABCD" 281s 5/14 normalize.R: unitizer_sect("broad code test", { 281s 5/14 normalize.R: normalize_state(c("A\033[33;44mB\033[1;3;4mCD\033[mE")) 281s [1] "A\033[33m\033[44mB\033[1m\033[3m\033[4mCD\033[22m\033[23m\033[24m\033[39m\033[49mE" 281s 5/14 normalize.R: normalize_state("A\033[33;44mB\033[1;2;3;4;5;6;7;8;9;11;21;26 281s [1] "A\033[33m\033[44mB\033[1m\033[2m\033[3m\033[4m\033[5m\033[6m\033[7m\033[8m\033[9m\033[21m\033[26m\033[51m\033[52m\033[53m\033[60m\033[61m\033[62m\033[63m\033[64m\033[11mC\033[10m\033[22m\033[23m\033[24m\033[25m\033[27m\033[28m\033[29m\033[39m\033[49m\033[50m\033[54m\033[55m\033[65m" 281s 5/14 normalize.R: unhandled_ctl(normalize_state("A\033[33;44mB\033[1;2;3;4;5;6; 281s [1] index start stop error translated esc 281s <0 rows> (or 0-length row.names) 281s 5/14 normalize.R: normalize_state("A\033[33;44mB\033[1;2;3;4;5;6;7;8;9;11;21;26 281s [1] "A\033[33m\033[44mB\033[39m\033[49mC" 281s 5/14 normalize.R: normalize_state("A\033[33;44mB\033[1;2;3;4;5;6;7;8;9;11;21;26 281s [1] "A\033[33m\033[44mB\033[1m\033[2m\033[3m\033[4m\033[5m\033[6m\033[7m\033[8m\033[9m\033[21m\033[26m\033[51m\033[52m\033[53m\033[60m\033[61m\033[62m\033[63m\033[64m\033[11mC\033[10m\033[22m\033[23m\033[24m\033[25m\033[27m\033[28m\033[29m\033[39m\033[49m\033[50m\033[54m\033[55m\033[65mD" 281s 5/14 normalize.R: unitizer_sect("errors and warnings", { 281s 5/14 normalize.R: normalize_state(list(1, 2, 3)) 281s [1] "1" "2" "3" 281s 5/14 normalize.R: x <- c("A\033[38;2;100;150;3;36mBC\033[mD") 281s 5/14 normalize.R: normalize_state(x, term.cap = c("old")) 281s Warning in normalize_state(x, term.cap = c("old")) : 281s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s [1] "A\033[2m\033[3m\033[36mBC\033[22m\033[23m\033[39mD" 281s Warning in normalize_state(x, term.cap = c("bright", "old")) : 281s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s 5/14 normalize.R: normalize_state(x, term.cap = c("bright", "old")) 281s [1] "A\033[2m\033[3m\033[36m\033[100mBC\033[22m\033[23m\033[39m\033[49mD" 281s 5/14 normalize.R: normalize_state(x, term.cap = character()) 281s [1] "A\033[36mBC\033[39mD" 281s Warning in normalize_state(x, term.cap = character()) : 281s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s 5/14 normalize.R: normalize_state(x, term.cap = c("bright")) 281s Warning in normalize_state(x, term.cap = c("bright")) : 281s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s [1] "A\033[36mBC\033[39mD" 281s 5/14 normalize.R: normalize_state(x, term.cap = c("bright", "256", "truecolor") 281s [1] "A\033[36mBC\033[39mD" 281s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 281s Argument `normalize` must be TRUE or FALSE. 281s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 281s 5/14 normalize.R: substr_ctl(x, 1, 2, normalize = "yeah baby") 281s Error in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 281s Argument `normalize` must be TRUE or FALSE. 281s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> VAL_IN_ENV -> stop2 281s 5/14 normalize.R: substr_ctl(x, 1, 2, normalize = NA) 281s 5/14 normalize.R: unitizer_sect("in functions", { 281s 5/14 normalize.R: string1 <- "hello \033[33;44mblue world" 281s 5/14 normalize.R: string2 <- "\033[4;1mgoodbye\033[7m white \033[mmoon" 281s 5/14 normalize.R: string3 <- c(string1, string2) 281s 5/14 normalize.R: strwrap_ctl(string1, 11, normalize = TRUE) 281s [1] "hello \033[33m\033[44mblue\033[39m\033[49m" 281s [2] "\033[33m\033[44mworld\033[39m\033[49m" 281s 5/14 normalize.R: strwrap_ctl(string2, 11, normalize = TRUE) 281s [1] "\033[1m\033[4mgoodbye\033[22m\033[24m" 281s [2] "\033[1m\033[4m\033[7mwhite \033[22m\033[24m\033[27mmoon" 281s 5/14 normalize.R: strwrap_ctl(string3, 11, normalize = TRUE) 281s [1] "hello \033[33m\033[44mblue\033[39m\033[49m" 281s [2] "\033[33m\033[44mworld\033[39m\033[49m" 281s [3] "\033[1m\033[4mgoodbye\033[22m\033[24m" 281s [4] "\033[1m\033[4m\033[7mwhite \033[22m\033[24m\033[27mmoon" 281s 5/14 normalize.R: strwrap_ctl(string3, 11, normalize = TRUE, simplify = FALSE) 281s [[1]] 281s [1] "hello \033[33m\033[44mblue\033[39m\033[49m" 281s [2] "\033[33m\033[44mworld\033[39m\033[49m" 281s 281s [[2]] 281s [1] "\033[1m\033[4mgoodbye\033[22m\033[24m" 281s [2] "\033[1m\033[4m\033[7mwhite \033[22m\033[24m\033[27mmoon" 281s 281s 5/14 normalize.R: strwrap2_ctl(string3, 11, normalize = TRUE, pad.end = " ") 281s [1] "hello \033[33m\033[44mblue\033[39m\033[49m" 281s [2] "\033[33m\033[44mworld \033[39m\033[49m" 281s [3] "\033[1m\033[4mgoodbye\033[7m \033[22m\033[24m\033[27m" 281s [4] "\033[1m\033[4m\033[7mwhite \033[22m\033[24m\033[27mmoon" 281s 5/14 normalize.R: strwrap_sgr(string3, 11, normalize = TRUE) 281s [1] "hello \033[33m\033[44mblue\033[39m\033[49m" 281s [2] "\033[33m\033[44mworld\033[39m\033[49m" 281s [3] "\033[1m\033[4mgoodbye\033[22m\033[24m" 281s [4] "\033[1m\033[4m\033[7mwhite \033[22m\033[24m\033[27mmoon" 281s 5/14 normalize.R: strwrap2_sgr(string3, 11, normalize = TRUE, pad.end = " ") 281s [1] "hello \033[33m\033[44mblue\033[39m\033[49m" 281s [2] "\033[33m\033[44mworld \033[39m\033[49m" 281s [3] "\033[1m\033[4mgoodbye\033[7m \033[22m\033[24m\033[27m" 281s [4] "\033[1m\033[4m\033[7mwhite \033[22m\033[24m\033[27mmoon" 281s 5/14 normalize.R: strtrim_sgr(string3, 8, normalize = TRUE) 281s [1] "hello \033[33m\033[44mbl\033[39m\033[49m" 281s [2] "\033[1m\033[4mgoodbye\033[7m \033[22m\033[24m\033[27m" 281s 5/14 normalize.R: strtrim_sgr(string3, 8, normalize = TRUE) 281s [1] "hello \033[33m\033[44mbl\033[39m\033[49m" 281s [2] "\033[1m\033[4mgoodbye\033[7m \033[22m\033[24m\033[27m" 281s 5/14 normalize.R: substr_ctl("\033[33;44mhello\033[m world", 3, 8, normalize = 281s [1] "\033[33m\033[44mllo\033[39m\033[49m wo" 281s 5/14 normalize.R: substr2_ctl("\033[33;44mhello\033[m world", 3, 8, normalize = 281s [1] "\033[33m\033[44mllo\033[39m\033[49m wo" 281s 5/14 normalize.R: substr_sgr("\033[33;44mhello\033[m world", 3, 8, normalize = 281s [1] "\033[33m\033[44mllo\033[39m\033[49m wo" 281s 5/14 normalize.R: substr2_sgr("\033[33;44mhello\033[m world", 3, 8, normalize = 281s [1] "\033[33m\033[44mllo\033[39m\033[49m wo" 281s 5/14 normalize.R: substr_ctl(string3, c(3, 3), c(8, 15), normalize = TRUE) 281s [1] "llo \033[33m\033[44mbl\033[39m\033[49m" 281s [2] "\033[1m\033[4modbye\033[7m white \033[22m\033[24m\033[27mm" 281s 5/14 normalize.R: strsplit_ctl(string3, " ", normalize = TRUE) 281s [[1]] 281s [1] "hello" 281s [2] "\033[33m\033[44mblue\033[39m\033[49m" 281s [3] "\033[33m\033[44mworld\033[39m\033[49m" 281s 281s [[2]] 281s [1] "\033[1m\033[4mgoodbye\033[22m\033[24m" 281s [2] "\033[1m\033[4m\033[7mwhite\033[22m\033[24m\033[27m" 281s [3] "moon" 281s 281s 281s 6/14 overflow.R: 281s 6/14 overflow.R: library(fansi) 281s 6/14 overflow.R: old_max <- fansi:::set_int_max(15) 281s 6/14 overflow.R: unitizer_sect("tabs", { 281s 6/14 overflow.R: tabs_as_spaces("\t1234567") 281s [1] " 1234567" 281s 6/14 overflow.R: tryCatch(tabs_as_spaces("\t12345678"), error = conditionMessag 281s [1] "Converting tabs to spaces will cause string to be longer than allowed INT_MAX." 281s 6/14 overflow.R: invisible(fansi:::set_int_max(12)) 281s 6/14 overflow.R: tabs_as_spaces(c("\t", "\t123")) 281s [1] " " " 123" 281s 6/14 overflow.R: unitizer_sect("wrap", { 281s 6/14 overflow.R: invisible(fansi:::set_int_max(15)) 281s 6/14 overflow.R: string <- "0123456789" 281s 6/14 overflow.R: strwrap_ctl(string, 16) 281s [1] "0123456789" 281s 6/14 overflow.R: strwrap2_ctl(string, 16, pad.end = " ") 281s [1] "0123456789 " 281s 6/14 overflow.R: tce(strwrap2_ctl(string, 17, pad.end = " ")) 281s [1] "Adding padding will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: strwrap_ctl(string, 16, prefix = "-----") 281s [1] "-----0123456789" 281s 6/14 overflow.R: tce(strwrap_ctl(string, 16, prefix = "------")) 281s [1] "Adding prefix characters will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: strwrap_ctl(string, 16, indent = 5) 281s [1] " 0123456789" 281s 6/14 overflow.R: tce(strwrap_ctl(string, 16, indent = 6)) 281s [1] "Adding prefix characters will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: strwrap_ctl(string, 16, indent = 2, prefix = "---") 281s [1] "--- 0123456789" 281s 6/14 overflow.R: tce(strwrap_ctl(string, 16, indent = 3, prefix = "---")) 281s [1] "Adding prefix characters will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: string2 <- "012345678901234" 281s 6/14 overflow.R: string3 <- "0123456789012345" 281s 6/14 overflow.R: strwrap_ctl(string2, 16) 281s [1] "012345678901234" 281s 6/14 overflow.R: tce(strwrap_ctl(string3, 16)) 281s [1] "Strings longer than INT_MAX not supported (length 16 at index 1)." 281s 6/14 overflow.R: string4 <- "\033[31m0123456789" 281s 6/14 overflow.R: tce(strwrap_ctl(string4, 16)) 281s [1] "Generating closing SGR will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: invisible(fansi:::set_int_max(9)) 281s 6/14 overflow.R: tce(strwrap_ctl("A\033[31m a", 5)) 281s [1] "Generating closing SGR will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: unitizer_sect("html", { 281s 6/14 overflow.R: invisible(fansi:::set_int_max(38)) 281s 6/14 overflow.R: sgr_to_html("\033[31ma") 281s [1] "a" 281s 6/14 overflow.R: tce(sgr_to_html("\033[31mab")) 281s [1] "Expanding SGR sequences to HTML will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: tce(sgr_to_html("\033[31m\033[42mhello")) 281s [1] "Expanding SGR sequences to HTML will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: invisible(fansi:::set_int_max(57)) 281s 6/14 overflow.R: tce(sgr_to_html("\033[31m\033[42mhello", classes = TRUE)) 281s [1] "Expanding SGR sequences to HTML will create string longer than INT_MAX at index [1]. Try again with smaller strings." 281s 6/14 overflow.R: invisible(fansi:::set_int_max(58)) 281s 6/14 overflow.R: (x <- sgr_to_html("\033[31m\033[42mhello", classes = TRUE)) 281s [1] "hello" 281s 6/14 overflow.R: nchar(x) 281s [1] 58 281s 6/14 overflow.R: invisible(fansi:::set_int_max(4)) 281s 6/14 overflow.R: tce(sgr_to_html("hello")) 281s [1] "Strings longer than INT_MAX not supported (length 5 at index 1)." 281s 6/14 overflow.R: tce(html_esc("hello")) 281s [1] "Strings longer than INT_MAX not supported (length 5 at index 1)." 281s 6/14 overflow.R: tce(html_esc("<")) 281s [1] "<" 281s 6/14 overflow.R: tce(html_esc(" eval -> eval -> withVisible -> 281s 6/14 overflow.R: invisible(fansi:::set_int_max(130)) 281s 6/14 overflow.R: fansi:::size_buff(c(0L, 127L, 128L, 64L, 200L, 1024L)) 281s Error in fansi:::size_buff(c(0L, 127L, 128L, 64L, 200L, 1024L)) : 281s Internal Error: max allowed buffer size is INT_MAX + 1. (req: 201 vs lim: 131), in FANSI_size_buff_ext. 281s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 281s 6/14 overflow.R: invisible(fansi:::set_int_max(64)) 281s 6/14 overflow.R: fansi:::size_buff(c(0L, 32L, 63L, 64L)) 281s [1] 1 33 65 65 281s 6/14 overflow.R: fansi:::size_buff(c(0L, 32L, 63L, 65L)) 281s Error in fansi:::size_buff(c(0L, 32L, 63L, 65L)) : 281s Internal Error: max allowed buffer size is INT_MAX + 1. (req: 66 vs lim: 65), in FANSI_size_buff_ext. 281s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 281s 6/14 overflow.R: invisible(fansi:::set_int_max(old_max)) 281s 6/14 overflow.R: dat <- fansi:::size_buff_prot_test() 281s Warning in fansi:::size_buff_prot_test() : 281s Unable to release buffer allocated by FANSI_size_buff_prot_test while in native code. Buffer will be released on return to R. 281s Warning in fansi:::size_buff_prot_test() : 281s Unable to release buffer allocated by FANSI_size_buff_prot_test while in native code. Buffer will be released on return to R. 281s 6/14 overflow.R: dat["first", "self"] == dat["smaller 1.0", "self"] 281s [1] TRUE 281s 6/14 overflow.R: dat["new buff", "prev"] == dat["grow 1.0", "self"] 281s [1] TRUE 281s 6/14 overflow.R: dat["new buff", "prev"] != dat["new buff", "self"] 281s [1] TRUE 281s 6/14 overflow.R: dat["smaller 1.1", "self"] == dat["grow 1.0", "self"] 281s [1] TRUE 281s 6/14 overflow.R: dat["smaller 2.0", "self"] == dat["new buff", "self"] 281s [1] TRUE 281s 6/14 overflow.R: dat["smaller 2.0", "prev"] == dat["new buff", "prev"] 281s [1] TRUE 281s 6/14 overflow.R: dat["smaller 2.0", "prev"] == dat["grow 2.0", "prev"] 281s [1] TRUE 281s 6/14 overflow.R: dat["grow 1.1", "prev"] == dat["grow 2.0", "self"] 281s [1] TRUE 281s 6/14 overflow.R: dat["grow 2.1", "prev"] == dat["grow 1.1", "self"] 281s [1] TRUE 281s 6/14 overflow.R: unitizer_sect("misc", { 281s 6/14 overflow.R: invisible(fansi:::set_int_max(5)) 281s 6/14 overflow.R: substr_ctl("\033[43mA B", 5, 5) 281s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 281s Strings longer than INT_MAX not supported (length 8 at index 1). 281s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 281s 6/14 overflow.R: substr_ctl("12345", 1, 5) 281s [1] "12345" 281s 6/14 overflow.R: substr_ctl("123456", 1, 6) 281s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 281s Strings longer than INT_MAX not supported (length 6 at index 1). 281s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 281s 6/14 overflow.R: fansi:::reset_limits() 281s [1] TRUE 281s 6/14 overflow.R: unitizer_sect("R_len_t", { 281s 6/14 overflow.R: old_rlent <- fansi:::set_rlent_max(5) 281s 6/14 overflow.R: tabs_as_spaces("A\tB") 281s Error in tabs_as_spaces("A\tB") : 281s Attempting to create CHARSXP longer than R_LEN_T_MAX at index [1]. 281s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> tabs_as_spaces 281s 6/14 overflow.R: new_rlent <- fansi:::set_rlent_max(old_rlent) 281s 6/14 overflow.R: fansi:::reset_limits() 281s [1] TRUE 281s 6/14 overflow.R: unitizer_sect("internal", { 281s 6/14 overflow.R: tce(.Call(fansi:::FANSI_buff_test_reset)) 281s [1] "Internal Error: attempt to size buffer w/o reset in FANSI_buff_test_reset." 281s 6/14 overflow.R: tce(.Call(fansi:::FANSI_buff_test_copy_overflow)) 281s [1] "Internal Error: exceeded target buffer size in _copy." 281s 6/14 overflow.R: tce(.Call(fansi:::FANSI_buff_test_mcopy_overflow)) 281s [1] "Internal Error: exceeded target buffer size in _mcopy." 281s 6/14 overflow.R: tce(.Call(fansi:::FANSI_buff_test_fill_overflow)) 281s [1] "Internal Error: exceeded allocated buffer in _fill." 281s 281s 7/14 strip.R: 281s 7/14 strip.R: library(fansi) 281s 7/14 strip.R: unitizer_sect("Strip ansi", { 281s 7/14 strip.R: strip_ctl(sprintf("hello %sworld%s", red, end)) 281s [1] "hello world" 281s 7/14 strip.R: strip_ctl(sprintf("he%sllo %sworld", red, end)) 281s [1] "hello world" 281s 7/14 strip.R: strip_ctl(sprintf("%shello %sworld%s", grn.bg, red, end)) 281s [1] "hello world" 281s 7/14 strip.R: strip_ctl(sprintf("%s%shello %sworld%s", grn.bg, inv, red, end)) 281s [1] "hello world" 281s 7/14 strip.R: string <- paste("string", format(1:10)) 281s 7/14 strip.R: string[c(2, 4, 6)] <- paste0(red, string[c(2, 4, 6)], end) 281s 7/14 strip.R: strip_ctl(string) 281s [1] "string 1" "string 2" "string 3" "string 4" "string 5" "string 6" 281s [7] "string 7" "string 8" "string 9" "string 10" 281s 7/14 strip.R: strip_sgr(string) 281s [1] "string 1" "string 2" "string 3" "string 4" "string 5" "string 6" 281s [7] "string 7" "string 8" "string 9" "string 10" 281s 7/14 strip.R: strip_sgr(1:3) 281s [1] "1" "2" "3" 281s 7/14 strip.R: unitizer_sect("Corner cases", { 281s Warning in strip_ctl("hello\033") : 281s Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s 7/14 strip.R: strip_ctl("hello\033") 281s [1] "hello" 281s 7/14 strip.R: strip_ctl("hello\033", ctl = c("nl", "c0")) 281s [1] "hello\033" 281s 7/14 strip.R: strip_ctl("hello\033[") 281s [1] "hello" 281s Warning in strip_ctl("hello\033[") : 281s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s 7/14 strip.R: strip_ctl("hello\033[42") 281s [1] "hello" 281s Warning in strip_ctl("hello\033[42") : 281s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 281s 7/14 strip.R: strip_ctl("hello\033[42", ctl = c("all", "csi", "sgr")) 281s [1] "hello42" 281s 7/14 strip.R: strip_ctl("hello\033[31##3m illegal") 281s [1] "hello illegal" 282s 7/14 strip.R: strip_ctl("hello\033[31##m legal") 282s [1] "hello legal" 282s 7/14 strip.R: strip_ctl(1:3) 282s [1] "1" "2" "3" 282s 7/14 strip.R: unitizer_sect("Whitespace", { 282s 7/14 strip.R: fansi:::process("hello world") 282s [1] "hello world" 282s 7/14 strip.R: fansi:::process("hello. world") 282s [1] "hello. world" 282s 7/14 strip.R: fansi:::process(c("hello world", "hello. world")) 282s [1] "hello world" "hello. world" 282s 7/14 strip.R: fansi:::process("hello. world? moon! wow.") 282s [1] "hello. world? moon! wow." 282s 7/14 strip.R: fansi:::process(" hello") 282s [1] "hello" 282s 7/14 strip.R: fansi:::process(" hello\n world") 282s [1] "hello world" 282s 7/14 strip.R: fansi:::process(" hello \n world") 282s [1] "hello world" 282s 7/14 strip.R: fansi:::process(" hello world\n ") 282s [1] "hello world" 282s 7/14 strip.R: fansi:::process("hello. ") 282s [1] "hello." 282s 7/14 strip.R: fansi:::process("hello! ") 282s [1] "hello!" 282s 7/14 strip.R: fansi:::process("hello? ") 282s [1] "hello?" 282s 7/14 strip.R: fansi:::process("hello? ") 282s [1] "hello?" 282s 7/14 strip.R: fansi:::process(" \t hello") 282s [1] "hello" 282s 7/14 strip.R: fansi:::process(" \t\a\r hello") 282s [1] "\a\rhello" 282s 7/14 strip.R: fansi:::process(" \t\a\r hello", ctl = c("all", "c0")) 282s [1] "\a\r hello" 282s 7/14 strip.R: fansi:::process("hello. \r world.") 282s [1] "hello. \rworld." 282s 7/14 strip.R: fansi:::process("hello. \033[31m world.\033[0m") 282s [1] "hello. \033[31mworld.\033[0m" 282s 7/14 strip.R: str1 <- c("hello ", " world") 282s 7/14 strip.R: fansi:::process(str1) 282s [1] "hello" "world" 282s 7/14 strip.R: str1 282s [1] "hello " " world" 282s 7/14 strip.R: fansi:::process("hello.\n\nworld") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\n\nworld") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\n\n\nworld") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n \nworld") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\t\nworld") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\t\n\tworld") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n \t \n \t world") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\nworld\n\n") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\nworld\n\n ") 282s [1] "hello.\n\nworld" 282s 7/14 strip.R: fansi:::process("\n\nhello.\n\t\n\tworld\n\t\n woohoo\n ") 282s [1] "\n\nhello.\n\nworld\n\nwoohoo" 282s 7/14 strip.R: fansi:::process("\n \t\nhello.\n\t\n\tworld\n\t\n woohoo\n ") 282s [1] "\n\nhello.\n\nworld\n\nwoohoo" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m\nworld") 282s [1] "hello.\n\n\033[44mworld" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m\n \t\nworld") 282s [1] "hello.\n\n\033[44mworld" 282s 7/14 strip.R: fansi:::process("hello.\033[44m\n\n \t\nworld") 282s [1] "hello.\033[44m\n\nworld" 282s 7/14 strip.R: fansi:::process("hello.\n\n \t\n\033[44mworld") 282s [1] "hello.\n\n\033[44mworld" 282s 7/14 strip.R: fansi:::process("hello.\n\n\033[44m \t\nworld") 282s [1] "hello.\n\n\033[44mworld" 282s 7/14 strip.R: fansi:::process("hello \033[44m world") 282s [1] "hello \033[44mworld" 282s 7/14 strip.R: fansi:::process("hello. \033[44m world") 282s [1] "hello. \033[44mworld" 282s 7/14 strip.R: fansi:::process("hello\033[44m\033[31m world") 282s [1] "hello\033[44m\033[31m world" 282s 7/14 strip.R: fansi:::process("hello\033[44m\033[31m\n\nworld") 282s [1] "hello\033[44m\033[31m\n\nworld" 282s 7/14 strip.R: fansi:::process("hello\n\033[44m\033[31m\nworld") 282s [1] "hello\n\n\033[44m\033[31mworld" 282s 7/14 strip.R: fansi:::process("hello\n\n\033[44m\033[31mworld") 282s [1] "hello\n\n\033[44m\033[31mworld" 282s 7/14 strip.R: fansi:::process("hello\033[44m\033[31d world") 282s [1] "hello\033[44m\033[31d world" 282s 7/14 strip.R: fansi:::process("hello \033[44m\033[31d world") 282s [1] "hello \033[44m\033[31dworld" 282s 7/14 strip.R: fansi:::process("hello \033[44m \033[31d world") 282s [1] "hello \033[44m\033[31dworld" 282s 7/14 strip.R: fansi:::process("hello\033[44m\033[31d world", ctl = c("all", 282s [1] "hello\033[44m\033[31d world" 282s 7/14 strip.R: fansi:::process("hello \033[44m\033[31d world", ctl = c("all", 282s [1] "hello \033[44m\033[31d world" 282s 7/14 strip.R: fansi:::process("hello \033[44m \033[31d world", ctl = c("all", 282s [1] "hello \033[44m\033[31d world" 282s 7/14 strip.R: fansi:::process("hello\033[44m\a world", ctl = c("all")) 282s [1] "hello\033[44m\a world" 282s 7/14 strip.R: fansi:::process("hello\033[44m\a world", ctl = c("all", "c0")) 282s [1] "hello\033[44m\a world" 282s 7/14 strip.R: fansi:::process("hello. \033[44m\a world", ctl = c("all")) 282s [1] "hello. \033[44m\aworld" 282s 7/14 strip.R: fansi:::process("hello. \033[44m\a world", ctl = c("all", "c0")) 282s [1] "hello. \033[44m\a world" 282s 7/14 strip.R: fansi:::process("hello. \033[44m \a world", ctl = c("all")) 282s [1] "hello. \033[44m\aworld" 282s 7/14 strip.R: fansi:::process("hello. \033[44m \a world", ctl = c("all", "c0")) 282s [1] "hello. \033[44m\a world" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m \a world", ctl = c("all")) 282s [1] "hello. \033[44m\aworld" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m \a world", ctl = c("all", "c0") 282s [1] "hello. \033[44m\a world" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m\n\a world", ctl = c("all")) 282s [1] "hello.\n\n\033[44m\aworld" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m\n\a world", ctl = c("all", 282s [1] "hello.\n\n\033[44m\a world" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m\a\n world", ctl = c("all")) 282s [1] "hello.\n\n\033[44m\aworld" 282s 7/14 strip.R: fansi:::process("hello.\n\033[44m\a\n world", ctl = c("all", 282s [1] "hello. \033[44m\a world" 282s 7/14 strip.R: unitizer_sect("Selective stripping", { 282s 7/14 strip.R: string.0 <- "hello\033k\033[45p world\n\033[31mgoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.0) 282s [1] "hello worldgoodbye moon" 282s 7/14 strip.R: strip_ctl(string.0, "sgr") 282s [1] "hello\033k\033[45p world\ngoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.0, c("nl", "c0", "sgr", "csi", "esc")) 282s [1] "hello worldgoodbye moon" 282s 7/14 strip.R: strip_ctl(string.0, "all") 282s [1] "hello worldgoodbye moon" 282s 7/14 strip.R: strip_ctl(string.0, c("c0", "esc")) 282s [1] "hello45p world\n31mgoodbye moon" 282s 7/14 strip.R: strip_ctl(string.0, c("nl")) 282s [1] "hello\033k\033[45p world\033[31mgoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.0, character()) 282s [1] "hello\033k\033[45p world\n\033[31mgoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.0, c("all", "c0", "esc")) 282s [1] "hello\033k worldgoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.0, c("all", "sgr")) 282s [1] "hello world\033[31mgoodbye moon" 282s 7/14 strip.R: string.1 <- "hello\033\033[45p world\n\033[31#3mgoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.1, c("nl", "sgr", "esc")) 282s [1] "hello[45p worldgoodbye\a moon" 282s Warning in strip_ctl(string.1, c("nl", "sgr", "esc")) : 282s Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 282s 7/14 strip.R: strip_ctl(string.1, c("csi")) 282s [1] "hello\033 world\n\033[31#3mgoodbye\a moon" 282s 7/14 strip.R: strip_ctl(string.1, "all") 282s [1] "hello[45p worldgoodbye moon" 282s Warning in strip_ctl(string.1, "all") : 282s Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 282s 7/14 strip.R: strip_ctl(string.1, c("c0", "nl")) 282s [1] "hello\033\033[45p world\033[31#3mgoodbye moon" 282s 7/14 strip.R: strip_ctl(string.1, c("all", "sgr")) 282s [1] "hello[45p world\033[31#3mgoodbye moon" 282s Warning in strip_ctl(string.1, c("all", "sgr")) : 282s Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 282s 7/14 strip.R: strip_sgr(string.1) 282s [1] "hello\033\033[45p world\ngoodbye\a moon" 282s 7/14 strip.R: strip_ctl(c(string.0, string.1, "hello"), warn = FALSE) 282s [1] "hello worldgoodbye moon" "hello[45p worldgoodbye moon" 282s [3] "hello" 282s 7/14 strip.R: string.2 <- "\033k\033[45p\a\n\033[31mgoodbye moon" 282s 7/14 strip.R: strip_ctl(string.2) 282s [1] "goodbye moon" 282s 7/14 strip.R: strip_ctl(string.2, "sgr") 282s [1] "\033k\033[45p\a\ngoodbye moon" 282s 7/14 strip.R: string.3 <- "hello world\033k\033[45p\a\n\033[31m" 282s 7/14 strip.R: strip_ctl(string.3) 282s [1] "hello world" 282s 7/14 strip.R: strip_ctl(string.3, "sgr") 282s [1] "hello world\033k\033[45p\a\n" 282s 7/14 strip.R: unitizer_sect("Bad Inputs", { 282s 7/14 strip.R: strip_ctl("hello\033[41mworld", warn = 1:3) 282s Error in strip_ctl("hello\033[41mworld", warn = 1:3) : 282s Argument `warn` must be TRUE or FALSE. 282s Calls: unitize_dir ... eval -> withVisible -> strip_ctl -> VAL_IN_ENV -> stop2 282s 7/14 strip.R: strip_ctl("hello\033[41mworld", ctl = 1:3) 282s Error in strip_ctl("hello\033[41mworld", ctl = 1:3) : 282s Argument `ctl` must be character. 282s Calls: unitize_dir ... eval -> withVisible -> strip_ctl -> VAL_IN_ENV -> stop2 282s 7/14 strip.R: strip_ctl("hello\033[41mworld", ctl = "bananas") 282s Error in strip_ctl("hello\033[41mworld", ctl = "bananas") : 282s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 282s Calls: unitize_dir ... eval -> withVisible -> strip_ctl -> VAL_IN_ENV -> stop2 282s 7/14 strip.R: strip_ctl("hello\033[41mworld", strip = "sgr") 282s Parameter `strip` has been deprecated; use `ctl` instead. 282s [1] "helloworld" 282s 7/14 strip.R: strip_sgr("hello\033[41mworld", warn = 1:3) 282s Error in strip_sgr("hello\033[41mworld", warn = 1:3) : 282s Argument `warn` must be TRUE or FALSE. 282s Calls: unitize_dir ... eval -> withVisible -> strip_sgr -> VAL_IN_ENV -> stop2 282s 282s 8/14 strsplit.R: 282s 8/14 strsplit.R: library(fansi) 282s 8/14 strsplit.R: unitizer_sect("basic splits", { 282s 8/14 strsplit.R: str.0 <- c("hello world", "goodbye moon") 282s 8/14 strsplit.R: identical(strsplit(str.0[1], " "), strsplit_ctl(str.0[1], " ") 282s [1] TRUE 282s 8/14 strsplit.R: identical(strsplit(str.0, "h"), strsplit_ctl(str.0, "h")) 282s [1] TRUE 282s 8/14 strsplit.R: identical(strsplit(str.0, "m"), strsplit_ctl(str.0, "m")) 282s [1] TRUE 282s 8/14 strsplit.R: identical(strsplit(str.0, "g"), strsplit_ctl(str.0, "g")) 282s [1] TRUE 282s 8/14 strsplit.R: str.1 <- "hello\033[31m world" 282s 8/14 strsplit.R: str.2 <- "\033[42m hello\033[m world, Goodbye Moon" 282s 8/14 strsplit.R: strsplit_ctl(str.1, " ") 282s [[1]] 282s [1] "hello" "\033[31mworld\033[0m" 282s 282s 8/14 strsplit.R: strsplit_ctl(str.1, "hello") 282s [[1]] 282s [1] "" "\033[31m world\033[0m" 282s 282s 8/14 strsplit.R: strsplit_ctl(str.2, ", ") 282s [[1]] 282s [1] "\033[42m hello\033[m world" "Goodbye Moon" 282s 282s 8/14 strsplit.R: strsplit_ctl(c(str.1, "hello world", str.2), "hello") 282s [[1]] 282s [1] "" "\033[31m world\033[0m" 282s 282s [[2]] 282s [1] "" " world" 282s 282s [[3]] 282s [1] "\033[42m \033[0m" " world, Goodbye Moon" 282s 282s 8/14 strsplit.R: unitizer_sect("corner cases", { 282s 8/14 strsplit.R: strsplit_ctl("hello\033[31m world", "") 282s [[1]] 282s [1] "h" "e" "l" "l" 282s [5] "o" "\033[31m \033[0m" "\033[31mw\033[0m" "\033[31mo\033[0m" 282s [9] "\033[31mr\033[0m" "\033[31ml\033[0m" "\033[31md\033[0m" 282s 282s 8/14 strsplit.R: strsplit_ctl("hello\033[31m world", "[", fixed = TRUE) 282s [[1]] 282s [1] "hello\033[31m world" 282s 282s 8/14 strsplit.R: strsplit_ctl("hello\033[31m world", NA_character_) 282s Error in strsplit_ctl("hello\033[31m world", NA_character_) : 282s Argument `split` may not contain NAs. 282s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strsplit_ctl 282s 8/14 strsplit.R: strsplit_ctl("hello\033[31m world", character()) 282s [[1]] 282s [1] "h" "e" "l" "l" 282s [5] "o" "\033[31m \033[0m" "\033[31mw\033[0m" "\033[31mo\033[0m" 282s [9] "\033[31mr\033[0m" "\033[31ml\033[0m" "\033[31md\033[0m" 282s 282s 8/14 strsplit.R: strsplit_ctl("hello\033[31m world", letters) 282s [[1]] 282s [1] "hello\033[31m world" 282s 282s 8/14 strsplit.R: splits <- c("h", "e", "o", "llo", "x", "hello") 282s 8/14 strsplit.R: str.spl1 <- strsplit_ctl(rep("hello", 6), splits) 282s 8/14 strsplit.R: str.spl2 <- strsplit(rep("hello", 6), splits) 282s 8/14 strsplit.R: identical(str.spl1, str.spl2) 282s [1] TRUE 282s 8/14 strsplit.R: str.spl3 <- strsplit_ctl(rep("\033[31mhello\033[39m", 6), spli 282s 8/14 strsplit.R: str.spl3 282s [[1]] 282s [1] "" "\033[31mello\033[0m" 282s 282s [[2]] 282s [1] "\033[31mh\033[0m" "\033[31mllo\033[0m" 282s 282s [[3]] 282s [1] "\033[31mhell\033[0m" 282s 282s [[4]] 282s [1] "\033[31mhe\033[0m" 282s 282s [[5]] 282s [1] "\033[31mhello\033[39m" 282s 282s [[6]] 282s [1] "" 282s 282s 8/14 strsplit.R: identical(lapply(str.spl3, strip_ctl), str.spl2) 282s [1] TRUE 282s 8/14 strsplit.R: strsplit_ctl("", " ") 282s [[1]] 282s character(0) 282s 282s 8/14 strsplit.R: strsplit_ctl("", "") 282s [[1]] 282s character(0) 282s 282s 8/14 strsplit.R: strsplit_ctl(c("\033[31mab\033[0m", ""), "") 282s [[1]] 282s [1] "\033[31ma\033[0m" "\033[31mb\033[0m" 282s 282s [[2]] 282s character(0) 282s 282s 8/14 strsplit.R: strsplit_ctl("hello", NULL) 282s [[1]] 282s [1] "h" "e" "l" "l" "o" 282s 282s 8/14 strsplit.R: str.sp14 <- c("\033[31mhello\nworld", "\ngoodbye\nmoon") 282s 8/14 strsplit.R: strsplit_ctl(str.sp14, "\n") 282s [[1]] 282s [1] "\033[31mhello\nworld" 282s 282s [[2]] 282s [1] "\ngoodbye\nmoon" 282s 282s 8/14 strsplit.R: strsplit_sgr(str.sp14, "\n") 282s [[1]] 282s [1] "\033[31mhello\033[0m" "\033[31mworld\033[0m" 282s 282s [[2]] 282s [1] "" "goodbye" "moon" 282s 282s 8/14 strsplit.R: strsplit_ctl(str.sp14, "\n", ctl = c("all", "nl")) 282s [[1]] 282s [1] "\033[31mhello\033[0m" "\033[31mworld\033[0m" 282s 282s [[2]] 282s [1] "" "goodbye" "moon" 282s 282s 8/14 strsplit.R: unitizer_sect("bad intputs", { 282s 8/14 strsplit.R: str.bytes <- "\336" 282s 8/14 strsplit.R: Encoding(str.bytes) <- "bytes" 282s 8/14 strsplit.R: strsplit_ctl(str.bytes, "") 282s Error in strsplit_ctl(str.bytes, "") : 282s Argument `x` contains a "bytes" encoded string at index [1], which is disallowed. 282s Calls: unitize_dir ... eval -> withVisible -> strsplit_ctl -> VAL_IN_ENV -> stop2 282s 8/14 strsplit.R: strsplit_ctl(str.2, NA) 282s Error in strsplit_ctl(str.2, NA) : Argument `split` may not contain NAs. 282s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strsplit_ctl 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", warn = NULL) 282s Error in strsplit_ctl(str.2, "", warn = NULL) : 282s Argument `warn` must be TRUE or FALSE. 282s Calls: unitize_dir ... eval -> withVisible -> strsplit_ctl -> VAL_IN_ENV -> stop2 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", fixed = NA_integer_) 282s Error in strsplit_ctl(str.2, "", fixed = NA_integer_) : 282s Argument `fixed` must be TRUE or FALSE. 282s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strsplit_ctl 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", perl = NA_integer_) 282s Error in strsplit_ctl(str.2, "", perl = NA_integer_) : 282s Argument `perl` must be TRUE or FALSE. 282s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strsplit_ctl 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", useBytes = NA_integer_) 282s Error in strsplit_ctl(str.2, "", useBytes = NA_integer_) : 282s Argument `useBytes` must be TRUE or FALSE. 282s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strsplit_ctl 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", term.cap = 1:3) 282s Error in strsplit_ctl(str.2, "", term.cap = 1:3) : 282s Argument `term.cap` must be character. 282s Calls: unitize_dir ... eval -> withVisible -> strsplit_ctl -> VAL_IN_ENV -> stop2 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", term.cap = "bananas") 282s Error in strsplit_ctl(str.2, "", term.cap = "bananas") : 282s Argument `term.cap` may only contain values in c("all", "bright", "256", "truecolor", "old") 282s Calls: unitize_dir ... eval -> withVisible -> strsplit_ctl -> VAL_IN_ENV -> stop2 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", ctl = 1:3) 282s Error in strsplit_ctl(str.2, "", ctl = 1:3) : 282s Argument `ctl` must be character. 282s Calls: unitize_dir ... eval -> withVisible -> strsplit_ctl -> VAL_IN_ENV -> stop2 282s 8/14 strsplit.R: strsplit_ctl(str.2, "", ctl = "bananas") 282s Error in strsplit_ctl(str.2, "", ctl = "bananas") : 282s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 282s Calls: unitize_dir ... eval -> withVisible -> strsplit_ctl -> VAL_IN_ENV -> stop2 282s 8/14 strsplit.R: strsplit_ctl("a b", str.bytes) 282s Error in strsplit_ctl("a b", str.bytes) : 282s Argument `split` may not be "bytes" encoded. 282s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strsplit_ctl 282s 8/14 strsplit.R: unitizer_sect("issue 55", { 282s 8/14 strsplit.R: strsplit_ctl("hello\nworld", "\n") 282s [[1]] 282s [1] "hello\nworld" 282s 282s 8/14 strsplit.R: strsplit_sgr("hello\033[31mworld", "\033[31m", fixed = TRUE) 282s [[1]] 282s [1] "hello\033[31mworld" 282s 282s 8/14 strsplit.R: strsplit_ctl("a\nb", "\n", ctl = c("all", "nl")) 282s [[1]] 282s [1] "a" "b" 282s 282s 8/14 strsplit.R: strsplit_sgr("hello\nworld", "\n") 282s [[1]] 282s [1] "hello" "world" 282s 282s 282s 9/14 substr.R: 282s 9/14 substr.R: library(fansi) 282s 9/14 substr.R: unitizer_sect("Simple", { 282s 9/14 substr.R: str01 <- sprintf("hello %sworld%s how", red, inv) 282s 9/14 substr.R: substr_ctl(str01, 1, 7) 282s [1] "hello \033[31mw\033[0m" 282s 9/14 substr.R: substr_ctl(str01, 7, 11) 282s [1] "\033[31mworld\033[0m" 282s 9/14 substr.R: substr_ctl(str01, 8, 10) 282s [1] "\033[31morl\033[0m" 282s 9/14 substr.R: substr_ctl(str01, 8, 14) 282s [1] "\033[31morld\033[7m ho\033[0m" 282s 9/14 substr.R: str02 <- sprintf("%shello world %sit's a %scrazy world%s out the 282s 9/14 substr.R: term.cap <- c("bright", "256", "truecolor") 282s 9/14 substr.R: substr_ctl(str02, 1, 7) 282s [1] "\033[42mhello w\033[0m" 282s 9/14 substr.R: substr_ctl(str02, 10, 20) 282s [1] "\033[42mld \033[31mit's a \033[0mc" 282s 9/14 substr.R: substr_ctl(str02, 15, 40, term.cap = term.cap) 282s [1] "\033[31;42m's a \033[0mcrazy world\033[4;38;2;0;120;200m out there\033[0m" 282s 9/14 substr.R: substr_ctl(str02, 35, 60, term.cap = term.cap) 282s [1] "\033[4;38;2;0;120;200m there \033[7misn't it\033[0m\033[48;5;141m right?\033[0m" 282s 9/14 substr.R: str03 <- sprintf("hello %sworld", rgb.und) 282s 9/14 substr.R: substr_ctl(str03, 1, 12, term.cap = term.cap) 282s [1] "hello \033[4;38;2;0;120;200mworld\033[0m" 282s 9/14 substr.R: str04 <- sprintf("hello%s%s world%s%s yowza", red, inv, grn.bg, 282s 9/14 substr.R: substr_ctl(str04, 5, 7, term.cap = term.cap) 282s [1] "o\033[31m\033[7m w\033[0m" 282s 9/14 substr.R: substr_ctl(str04, 5, 13, term.cap = term.cap) 282s [1] "o\033[31m\033[7m world\033[42m\033[4;38;2;0;120;200m y\033[0m" 282s 9/14 substr.R: unitizer_sect("Multi-line", { 282s 9/14 substr.R: str.m.0 <- paste0("\033[44m", c("hello world", rep("goodbye \033 282s 9/14 substr.R: substr_ctl(str.m.0, (1:4) * 2, (3:8) * 2) 282s [1] "\033[44mello \033[0m" "\033[44mdbye \033[0m" 282s [3] "\033[44mye \033[45mmo\033[0m" "\033[44mombas\033[0m" 282s 9/14 substr.R: unitizer_sect("tabs", { 282s 9/14 substr.R: substr2_ctl("yo\tworld", 1, 8, tabs.as.spaces = TRUE) 282s [1] "yo " 282s 9/14 substr.R: unitizer_sect("Corner cases", { 282s 9/14 substr.R: substr_ctl("hello", 0, -1) 282s [1] "" 282s 9/14 substr.R: substr_ctl("hello", 0, 0) 282s [1] "" 282s 9/14 substr.R: substr_ctl(rep("hello", 2), c(1, 0), c(1, 1)) 282s [1] "h" "h" 282s 9/14 substr.R: substr_ctl(character(), 1, 1) 282s character(0) 282s 9/14 substr.R: substr_ctl(list("hello", list("goodbye", "there")), 1, 2) 282s [1] "he" "li" 282s 9/14 substr.R: substr_ctl(structure(list(list("goodbye", "there")), class = "fo 282s [1] "li" 282s 9/14 substr.R: str.0 <- "\033[31mred\033[m" 282s 9/14 substr.R: str.1 <- "\033[31mred\033[42m" 282s 9/14 substr.R: str.2 <- c(str.0, str.1) 282s 9/14 substr.R: substr_ctl(str.2, 0, 0) 282s [1] "" "" 282s 9/14 substr.R: substr_ctl(str.2, 1, 1) 282s [1] "\033[31mr\033[0m" "\033[31mr\033[0m" 282s 9/14 substr.R: substr_ctl(str.2, 3, 3) 282s [1] "\033[31md\033[0m" "\033[31md\033[0m" 282s 9/14 substr.R: substr_ctl(str.2, 4, 4) 282s [1] "" "" 282s 9/14 substr.R: substr_ctl(str.2, 3, 4) 282s [1] "\033[31md\033[0m" "\033[31md\033[0m" 282s 9/14 substr.R: substr_ctl(str.2, 3, 5) 282s [1] "\033[31md\033[0m" "\033[31md\033[0m" 282s 9/14 substr.R: substr_ctl(str.2, 3, 4, terminate = FALSE) 282s [1] "\033[31md\033[m" "\033[31md\033[42m" 282s 9/14 substr.R: substr_ctl(str.2, 3, 5, terminate = FALSE) 282s [1] "\033[31md\033[m" "\033[31md\033[42m" 282s 9/14 substr.R: substr_ctl(str.2, -1, 2) 282s [1] "\033[31mre\033[0m" "\033[31mre\033[0m" 282s 9/14 substr.R: substr_ctl(str.2, -2, -1) 282s [1] "" "" 283s 9/14 substr.R: substr_ctl(str.2, 4, 1) 283s [1] "" "" 283s 9/14 substr.R: substr_ctl(str.2, 4, 1, terminate = FALSE) 283s [1] "" "" 283s 9/14 substr.R: substr_ctl(str.2, 4, 1, carry = "\033[44m") 283s [1] "" "" 283s 9/14 substr.R: substr_ctl(str.2, 4, 1, carry = "\033[44m", terminate = FALSE) 283s [1] "" "" 283s 9/14 substr.R: substr_ctl("hello", 5, 5) 283s [1] "o" 283s 9/14 substr.R: substr_ctl("hello", 6, 6) 283s [1] "" 283s 9/14 substr.R: substr_ctl("hello", 7, 6) 283s [1] "" 283s 9/14 substr.R: substr_ctl("hello", 6, 7) 283s [1] "" 283s 9/14 substr.R: substr_ctl("hello", 7, 5) 283s [1] "" 283s 9/14 substr.R: substr_ctl("hello", 0, 6) 283s [1] "hello" 283s 9/14 substr.R: substr_ctl("hello", 0, 5) 283s [1] "hello" 283s 9/14 substr.R: substr_ctl("hello", 1, 6) 283s [1] "hello" 283s 9/14 substr.R: substr_ctl("hello", "1", 1) 283s [1] "h" 283s 9/14 substr.R: substr_ctl("hello", 1, "1") 283s [1] "h" 283s 9/14 substr.R: substr_ctl("hello", "a", "b") 283s Warning in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 283s NAs introduced by coercion 283s Warning in substr2_ctl(x = x, start = start, stop = stop, warn = warn, term.cap = term.cap, : 283s NAs introduced by coercion 283s [1] NA 283s 9/14 substr.R: substr_ctl("hello", 1, NA_integer_) 283s [1] NA 283s 9/14 substr.R: substr_ctl("hello", NA_integer_, 1) 283s [1] NA 283s 9/14 substr.R: substr_ctl(rep("\033[31mhello\033[m", 3), c(3, 2, 1), c(3, 4, 283s [1] "\033[31ml\033[0m" "\033[31mell\033[0m" "\033[31mhello\033[0m" 283s 9/14 substr.R: str.3 <- structure("fu\033[42mba\033[0mr", class = "foo", at = " 283s 9/14 substr.R: substr_ctl(str.3, 2, 3) 283s [1] "u\033[42mb\033[0m" 283s attr(,"class") 283s [1] "foo" 283s attr(,"at") 283s [1] "bar" 283s 9/14 substr.R: substr_ctl(str.2, 2, 6, ctl = c("all", "sgr")) 283s [1] "[31mr" "[31mr" 283s 9/14 substr.R: substr_ctl(str.2, 8, 10, ctl = c("all", "sgr")) 283s [1] "d\033[" "d\033[" 283s 9/14 substr.R: substr2_ctl(rep("o\033[31m ", 2), 1:2, 1:2) 283s [1] "o" "\033[31m \033[0m" 283s 9/14 substr.R: substr_ctl("hello\033[41b", 1, 5) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, :[1] "hello" 283s 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("hello\033[41b", 1, 6) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "hello\033[41b" 283s 9/14 substr.R: substr_ctl("\033[1p\033[31mA", 1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[31mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[1p\033[31mA", 0, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, :[1] "\033[1p\033[31mA\033[0m" 283s 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[1p\033[31mA", -1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[1p\033[31mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[31m\033[1pA", 1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s [1] "\033[31mA\033[0m" 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[31m\033[1pA", 0, 1) 283s [1] "\033[31m\033[1pA\033[0m" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[31m\033[1pA", -1, 1) 283s [1] "\033[31m\033[1pA\033[0m" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[41m\033[1mA", 1, 1) 283s [1] "\033[1;41mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[41m\033[1mA", 0, 1) 283s [1] "\033[1;41mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[41m\033[1mA", -1, 1) 283s [1] "\033[1;41mA\033[0m" 283s 9/14 substr.R: str.4 <- c("A\033[45mB", "A") 283s 9/14 substr.R: substr_ctl(str.4, 1, 1, carry = TRUE, terminate = FALSE) 283s [1] "A" "\033[45mA" 283s 9/14 substr.R: substr_ctl("a\033[42", 1, 1) 283s [1] "a" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033[42", 1, 2) 283s [1] "a\033[42" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033[42", 1, 2, terminate = FALSE) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s [1] "a\033[42" 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033]8;;END", 1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "a" 283s 9/14 substr.R: substr_ctl("a\033]8;;END", 1, 2) 283s [1] "a" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033]8;;END", 1, 2, terminate = FALSE) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off [1] "a\033]8;;END" 283s these warnings. 283s 9/14 substr.R: substr_ctl("a\033];;END", 1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "a" 283s 9/14 substr.R: substr_ctl("a\033];;END", 1, 2) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s [1] "a\033];;END" 283s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033[38;5mb", 1, 2, term.cap = "all") 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s [1] "a\033[38;5mb" 283s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033[38;2mb", 1, 2, term.cap = "all") 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "a\033[38;2mb" 283s 9/14 substr.R: substr_ctl("a\033[38;2;255mb", 1, 2, term.cap = "all") 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s [1] "a\033[38;2;255mb" 283s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("a\033[38;2;255;255mb", 1, 2, term.cap = "all") 283s [1] "a\033[38;2;255;255mb" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[45pA", 1, 1, warn = FALSE) 283s [1] "A" 283s 9/14 substr.R: substr_ctl("\033[45pA", 0, 1, warn = FALSE) 283s [1] "\033[45pA" 283s 9/14 substr.R: substr_ctl(c("AB", NA, "CD"), 1, 2) 283s [1] "AB" NA "CD" 283s 9/14 substr.R: substr_ctl(c("AB", NA, "CD"), 1, 2, carry = TRUE) 283s [1] "AB" NA NA 283s 9/14 substr.R: substr_ctl(c("AB", "CD"), c(NA, 1), 2) 283s [1] NA "CD" 283s 9/14 substr.R: substr_ctl(c("AB", "CD"), c(NA, 1), 2, carry = TRUE) 283s [1] NA "CD" 283s 9/14 substr.R: substr_ctl("\033[38;5;4mA", 1, 1, term.cap = "bright") 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[38;5;4mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;5;4mA", 1, 1, term.cap = c("bright", "old")) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can[1] "\033[4;5mA\033[0m" 283s use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[38;5;4mA", 1, 1, term.cap = c("all", "256")) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[38;5;4mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;5;4mA", 1, 1, term.cap = c("all", "256", 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[4;5mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;5;4mA", 1, 1, term.cap = c("256")) 283s [1] "\033[38;5;4mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;5;4mA", 1, 1, term.cap = c("256", "old")) 283s [1] "\033[38;5;4mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;2;1;1;1mA", 1, 1, term.cap = "bright") 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[38;2;1;1;1mA\033[0m" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[38;2;1;1;1mA", 1, 1, term.cap = c("bright", 283s [1] "\033[1;2mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;2;1;1;1mA", 1, 1, term.cap = c("all", "truec 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s [1] "\033[38;2;1;1;1mA\033[0m" 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[38;2;1;1;1mA", 1, 1, term.cap = c("all", "truec 283s [1] "\033[1;2mA\033[0m" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[38;2;1;1;1mA", 1, 1, term.cap = c("truecolor")) 283s [1] "\033[38;2;1;1;1mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[38;2;1;1;1mA", 1, 1, term.cap = c("truecolor", 283s [1] "\033[38;2;1;1;1mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[107mA", 1, 1, term.cap = "256") 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can[1] "\033[107mA\033[0m" 283s use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_ctl("\033[107mA", 1, 1, term.cap = c("256", "old")) 283s [1] "A" 283s 9/14 substr.R: substr_ctl("\033[107mA", 1, 1, term.cap = c("all", "bright")) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "\033[107mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[107mA", 1, 1, term.cap = c("all", "bright", 283s [1] "A" 283s 9/14 substr.R: substr_ctl("\033[107mA", 1, 1, term.cap = c("bright")) 283s [1] "\033[107mA\033[0m" 283s 9/14 substr.R: substr_ctl("\033[107mA", 1, 1, term.cap = c("bright", "old")) 283s [1] "\033[107mA\033[0m" 283s 9/14 substr.R: str.5 <- c("\033[48;2;100;100;100mAB", "\033[48;2;100;100;100mCD 283s 9/14 substr.R: substr_ctl(str.5, 2, 2, terminate = FALSE, carry = TRUE, term.ca 283s [1] "\033[48;2;100;100;100mB" "D" 283s 9/14 substr.R: str.5a <- c("\033[48;2;100;100;100mAB", "\033[48;2;100;100;101mC 283s 9/14 substr.R: substr_ctl(str.5a, 2, 2, terminate = FALSE, carry = TRUE, term.c 283s [1] "\033[48;2;100;100;100mB" "\033[48;2;100;100;101mD" 283s 9/14 substr.R: unitizer_sect("Obscure escapes", { 283s 9/14 substr.R: tryCatch(substr_ctl("\033[38;6;31mworld\033[m", 2, 3), warning = 283s [1] "Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 283s 9/14 substr.R: suppressWarnings(substr_ctl("\033[38;6;31mworld\033[m", 2, 3)) 283s [1] "\033[6;31mor\033[0m" 283s 9/14 substr.R: tryCatch(substr_ctl("\033[31mhello\033[38;5;256m world\033[m", 283s [1] "Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 283s 9/14 substr.R: suppressWarnings(substr_ctl("\033[31mhello\033[38;5;256m world\0 283s [1] "\033[31mwo\033[0m" 283s 9/14 substr.R: substr_ctl("\033[20mworld\033[m", 2, 3) 283s [1] "\033[20mor\033[0m" 283s 9/14 substr.R: substr_ctl("\033[21mworld\033[m", 2, 3) 283s [1] "\033[21mor\033[0m" 283s 9/14 substr.R: substr_ctl(rep("\033[26mhello \033[50mworld\033[m", 2), c(2, 283s [1] "\033[26mel\033[0m" "orl" 283s 9/14 substr.R: substr_ctl(rep("\033[61mwor\033[65mld\033[m", 2), c(2, 4), c(3, 283s [1] "\033[61mor\033[0m" "ld" 283s 9/14 substr.R: tryCatch(substr_ctl("\033[56mworld\033[m", 2, 3), warning = cond 283s [1] "Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 283s 9/14 substr.R: suppressWarnings(substr_ctl("\033[56mworld\033[m", 2, 3)) 283s [1] "or" 283s 9/14 substr.R: tryCatch(substr_ctl("\033[66mworld\033[m", 2, 3), warning = cond 283s [1] "Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 283s 9/14 substr.R: tryCatch(substr_ctl("\033[200mworld\033[m", 2, 3), warning = con 283s [1] "Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 283s 9/14 substr.R: substr_ctl(rep("\033[91mwor\033[101mld\033[m", 2), c(2, 4), c(3, 283s [1] "\033[91mor\033[0m" "\033[91;101mld\033[0m" 283s 9/14 substr.R: unitizer_sect("bad args", { 283s 9/14 substr.R: hello2.0 <- "\033[42m\thello world\033[m foobar" 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, warn = NULL) 283s Error in substr2_ctl(hello2.0, 1, 2, warn = NULL) : 283s Argument `warn` must be TRUE or FALSE. 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, tabs.as.spaces = 1) 283s [1] "\033[42m \033[0m" 283s Error in substr2_ctl(hello2.0, 1, 2, tabs.as.spaces = NA) : 283s Argument `tabs.as.spaces` must be TRUE or FALSE. 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, tabs.as.spaces = NA) 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, tab.stops = -(1:3)) 283s Error in substr2_ctl(hello2.0, 1, 2, tab.stops = -(1:3)) : 283s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, tab.stops = 0) 283s Error in substr2_ctl(hello2.0, 1, 2, tab.stops = 0) : 283s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, round = "bananas") 283s Error in substr2_ctl(hello2.0, 1, 2, round = "bananas") : 283s Argument `round` must partial match one of c("start", "stop", "both", "neither") 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, term.cap = 0) 283s Error in substr2_ctl(hello2.0, 1, 2, term.cap = 0) : 283s Argument `term.cap` must be character. 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, term.cap = "bananas") 283s Error in substr2_ctl(hello2.0, 1, 2, term.cap = "bananas") : 283s Argument `term.cap` may only contain values in c("all", "bright", "256", "truecolor", "old") 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, type = "bananas") 283s Error in substr2_ctl(hello2.0, 1, 2, type = "bananas") : 283s Argument `type` must partial match one of c("chars", "width", "graphemes") 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, ctl = "bananas") 283s Error in substr2_ctl(hello2.0, 1, 2, ctl = "bananas") : 283s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: substr2_ctl(hello2.0, 1, 2, ctl = 0) 283s Error in substr2_ctl(hello2.0, 1, 2, ctl = 0) : 283s Argument `ctl` must be character. 283s Calls: unitize_dir ... eval -> withVisible -> substr2_ctl -> VAL_IN_ENV -> stop2 283s 9/14 substr.R: unitizer_sect("`ctl` related issues", { 283s 9/14 substr.R: substr_sgr("\033[31;42mhello world", 2, 4) 283s [1] "\033[31;42mell\033[0m" 283s 9/14 substr.R: substr_sgr("\033[31m\033[42mhello world", 2, 4) 283s [1] "\033[31;42mell\033[0m" 283s 9/14 substr.R: tryCatch(substr_sgr("\033[31;42!mhello world", 2, 4), warning = 283s [1] "Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 283s 9/14 substr.R: substr_sgr("\033[55;38l\033[31mhello world", 2, 4, warn = FALSE) 283s [1] "[55" 283s 9/14 substr.R: substr_sgr("\033[31m\033[55;38lhello world", 2, 4, warn = FALSE) 283s [1] "\033[31m[55\033[0m" 283s 9/14 substr.R: substr_sgr("hello \033[31m\033[55;38lworld", 7, 9, warn = FALSE) 283s [1] "\033[31m\033[5\033[0m" 283s 9/14 substr.R: substr_ctl("\033[55;38l\033[31mhello world", 2, 4, warn = FALSE) 283s [1] "\033[31mell\033[0m" 283s 9/14 substr.R: substr_ctl("\033[31m\033[55;38lhello world", 2, 4, warn = FALSE) 283s [1] "\033[31mell\033[0m" 283s 9/14 substr.R: substr_ctl("hello \033[31m\033[55;38lworld", 7, 9, warn = FALSE) 283s [1] "\033[31mwor\033[0m" 283s 9/14 substr.R: substr_ctl("hello\033[55;38l \033[31mworld", 4, 7, warn = FALSE) 283s [1] "lo\033[55;38l \033[31mw\033[0m" 283s 9/14 substr.R: substr_sgr("ab\n\tcd\n", 3, 6, warn = FALSE) 283s [1] "\n\tcd" 283s 9/14 substr.R: substr_sgr("ab\n\033[31m\tcd\n", 3, 6, warn = FALSE) 283s [1] "\n\033[31m\tcd\033[0m" 283s 9/14 substr.R: substr_ctl("ab\n\033[31m\tcd\n", 3, 6, warn = FALSE, ctl = c("al 283s [1] "\n\033[31m\tcd\n\033[0m" 283s 9/14 substr.R: substr_ctl("ab\n\033[31m\tcd\n", 3, 6, warn = FALSE, ctl = c("al 283s [1] "\n\033[31m\tcd\033[0m" 283s 9/14 substr.R: substr_sgr(c("\a", "b", "c"), 1, 1) 283s [1] "\a" "b" "c" 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: substr_sgr(c("a", "\b", "c"), 1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 283s Argument `x` contains a C0 control character at index [2], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s [1] "a" "\b" "c" 283s 9/14 substr.R: substr_sgr(c("a", "b", "\ac"), 1, 1) 283s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, :[1] "a" "b" "\a" 283s 283s Argument `x` contains a C0 control character at index [3], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 283s 9/14 substr.R: unitizer_sect("Rep Funs - Equivalence", { 283s 9/14 substr.R: txt0 <- "ABCD" 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 2, value = "#"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 2, value = "#?"), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 3, value = "#?-"), `substr<-`( 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 0, 0, value = "#"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 1, value = "#"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 10, 12, value = "#"), `substr<-`( 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 3, value = "#"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 1, 5, value = "#"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 0, 5, value = "#"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: `substr_ctl<-`(txt0, 0, -1, value = "#") 283s [1] "ABCD" 283s 9/14 substr.R: rep1 <- c("_", "_.") 283s 9/14 substr.R: rep2 <- c("_", "_.", "...") 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 3, value = rep1), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 3, value = rep2), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: txt1 <- c("AB", "CDE") 283s 9/14 substr.R: identical(`substr_ctl<-`(txt1, 2, 3, value = "_"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt1, 2, 3, value = rep1), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt1, 2, 3, value = rep2), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: txt2 <- c("AB", "CDE", "EFGH") 283s 9/14 substr.R: identical(`substr_ctl<-`(txt2, 2, 3, value = "_"), `substr<-`(tx 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt2, 2, 3, value = rep1), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt2, 2, 3, value = rep2), `substr<-`(t 283s [1] TRUE 283s 9/14 substr.R: txt3a <- txt3b <- c("ABC", "ABC") 283s 9/14 substr.R: substr(txt3a[2], 2, 2) <- "_" 283s 9/14 substr.R: substr_ctl(txt3b[2], 2, 2) <- "_" 283s 9/14 substr.R: identical(txt3a, txt3b) 283s [1] TRUE 283s 9/14 substr.R: identical(`substr_ctl<-`(txt0, 2, 3, value = NA_character_), 283s [1] TRUE 283s 9/14 substr.R: txt.na <- NA_character_ 283s 9/14 substr.R: identical(`substr_ctl<-`(txt.na, 1, 2, value = "AB"), `substr<-` 283s [1] TRUE 283s 9/14 substr.R: unitizer_sect("Rep Funs - SGR", { 283s 9/14 substr.R: txt1 <- "\033[33mABCD" 283s 9/14 substr.R: txt2 <- "\033[33mA\033[44mBCD" 283s 9/14 substr.R: txt3 <- "\033[33mA\033[44mBC\033[1mD" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 2, value = "#") 283s [1] "\033[33mA\033[0m#\033[33mCD" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 3, value = "#?-") 283s [1] "\033[33mA\033[0m#?\033[33mD" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 3, value = "#\033[32m?-") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[33mD" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 3, value = "#\033[32m?-\033[0m") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[33mD" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 3, value = "#\033[0m?-") 283s [1] "\033[33mA\033[0m#\033[0m?\033[33mD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 3, value = "#\033[32m?-") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[33;44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 3, value = "#\033[32m?-\033[0m") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[33;44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 3, value = "#\033[0m?-") 283s [1] "\033[33mA\033[0m#\033[0m?\033[33;44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt3, 2, 3, value = "#\033[32m?-") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[1;33;44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt3, 2, 3, value = "#\033[32m?-\033[0m") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[1;33;44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt3, 2, 3, value = "#\033[0m?-") 283s [1] "\033[33mA\033[0m#\033[0m?\033[1;33;44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 2, terminate = FALSE, value = "#") 283s [1] "\033[33mA#\033[44mCD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 3, terminate = FALSE, value = "#\033[32m 283s [1] "\033[33mA#\033[32m?\033[44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 3, terminate = FALSE, value = "#\033[32m 283s [1] "\033[33mA#\033[32m?\033[44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt2, 2, 3, terminate = FALSE, value = "#\033[0m? 283s [1] "\033[33mA#\033[0m?\033[44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 3, terminate = FALSE, value = "#\033[0m? 283s [1] "\033[33mA#\033[0m?D" 283s 9/14 substr.R: `substr_ctl<-`(txt1, 2, 3, terminate = FALSE, value = "#\033[0m\ 283s [1] "\033[33mA#\033[0m\033[45m?D" 283s 9/14 substr.R: txt4 <- c(txt2, txt0, "\033[39mABCD") 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, value = "#") 283s [1] "\033[33mA\033[0m#\033[33;44mCD" "A#CD" 283s [3] "\033[39mA#CD" 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, value = c("#", "?")) 283s [1] "\033[33mA\033[0m#\033[33;44mCD" "A?CD" 283s [3] "\033[39mA#CD" 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, value = c("#", "?", "$")) 283s [1] "\033[33mA\033[0m#\033[33;44mCD" "A?CD" 283s [3] "\033[39mA$CD" 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 2, carry = TRUE, value = "#") 283s [1] "\033[33mA\033[0m#\033[33;44mCD" "A\033[0m#\033[33;44mCD" 283s [3] "\033[39mA\033[0m#\033[44mCD" 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, carry = TRUE, value = "#\033[32m?-") 283s [1] "\033[33mA\033[0m#\033[32m?\033[0m\033[33;44mD" 283s [2] "A\033[0m\033[32m#\033[32m?\033[0m\033[33;44mD" 283s [3] "\033[39mA\033[0m\033[32m#\033[32m?\033[0m\033[44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, carry = TRUE, value = "#\033[42m?-\03 283s [1] "\033[33mA\033[0m#\033[42m?\033[0m\033[33;44mD" 283s [2] "A\033[0m#\033[42m?\033[0m\033[33;44mD" 283s [3] "\033[39mA\033[0m#\033[42m?\033[0m\033[44mD" 283s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, carry = TRUE, value = "#\033[0m?-") 283s [1] "\033[33mA\033[0m#\033[0m?\033[33;44mD" 283s [2] "A\033[0m#\033[0m?\033[33;44mD" 283s [3] "\033[39mA\033[0m#\033[0m?\033[44mD" 284s 9/14 substr.R: rep4 <- c("\033[32m_\033[45m", ".-", "\033[39m__") 284s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, carry = TRUE, value = rep4) 284s [1] "\033[33mA\033[0m\033[32m_\033[0m\033[33;44mCD" 284s [2] "A\033[0m\033[32;45m.-\033[0m\033[33;44mD" 284s [3] "\033[39mA\033[0m\033[45m__\033[0m\033[44mD" 284s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 2, terminate = FALSE, carry = TRUE, valu 284s [1] "\033[33mA#\033[44mCD" "A#CD" "\033[39mA#CD" 284s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, terminate = FALSE, carry = TRUE, valu 284s [1] "\033[33mA#\033[32m?\033[44mD" "A#\033[32m?D" 284s [3] "\033[39mA#\033[32m?D" 284s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, terminate = FALSE, carry = TRUE, valu 284s [1] "\033[33mA#\033[35m?\033[44mD" "A\033[0m#\033[35m?D" 284s [3] "\033[39mA\033[0m#\033[35m?D" 284s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, terminate = FALSE, carry = TRUE, valu 284s [1] "\033[33mA#\033[0m?\033[44mD" "A#\033[0m?D" 284s [3] "\033[39mA#\033[0m?D" 284s 9/14 substr.R: `substr_ctl<-`(txt4, 2, 3, terminate = FALSE, carry = TRUE, valu 284s [1] "\033[33mA\033[32m_\033[45m\033[44mCD" 284s [2] "A.-D" 284s [3] "\033[39mA\033[0;45m__D" 284s 9/14 substr.R: txt5 <- c("ABD", "DFG") 284s 9/14 substr.R: `substr_ctl<-`(txt5, 2, 2, value = ".\033[45m", carry = TRUE, 284s [1] "A.D" "D\033[45m.G" 284s 9/14 substr.R: txt6 <- "A123456789B" 284s 9/14 substr.R: `substr2_ctl<-`(txt6, 2, 9, value = "\t", tabs.as.spaces = TRUE) 284s [1] "A 9B" 284s 9/14 substr.R: `substr2_ctl<-`(txt6, 2, 3, value = "\t", tabs.as.spaces = TRUE) 284s [1] "A 3456789B" 284s 9/14 substr.R: `substr2_ctl<-`(txt6, 2, 10, value = "\t", tabs.as.spaces = TRUE 284s [1] "A 9B" 284s 9/14 substr.R: txt7a <- "os" 284s 9/14 substr.R: txt7b <- "sos" 284s 9/14 substr.R: txt7c <- "so" 284s 9/14 substr.R: val.scar <- "" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7a, 1, 1, value = val.scar)) 284s [1] "UTF-8" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7a, 1, 1, value = "s")) 284s [1] "unknown" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7a, 2, 2, value = val.scar)) 284s [1] "UTF-8" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7a, 2, 2, value = "s")) 284s [1] "UTF-8" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7b, 2, 2, value = val.scar)) 284s [1] "UTF-8" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7b, 2, 2, value = "s")) 284s [1] "unknown" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7c, 3, 3, value = val.scar)) 284s [1] "UTF-8" 284s 9/14 substr.R: Encoding(`substr_ctl<-`(txt7c, 3, 3, value = "s")) 284s [1] "unknown" 284s 9/14 substr.R: unitizer_sect("Rep Funs - Corner Cases", { 284s 9/14 substr.R: `substr_ctl<-`(txt2, 1, 3, terminate = FALSE, value = "#\033[32m 284s [1] "\033[33m#\033[32m?\033[0m\033[44mCD" 284s 9/14 substr.R: txt8 <- "\033[32mAB\033[45m" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 2, value = "12") 284s [1] "\033[32m\033[0m12\033[32m\033[45m" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 2, value = "12", terminate = FALSE) 284s [1] "\033[32m12\033[45m" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 3, value = "12") 284s [1] "\033[32m\033[0m12" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 3, value = "1") 284s [1] "\033[32m\033[0m1\033[32mB\033[45m" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 3, value = "") 284s [1] "\033[32mAB\033[45m" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 3, value = "123") 284s [1] "\033[32m\033[0m12" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 0, 2, value = "12") 284s [1] "12\033[32m\033[45m" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 0, 3, value = "12") 284s [1] "12" 284s 9/14 substr.R: `substr_ctl<-`(txt8, 1, 3, value = "\033[1m", terminate = FALSE) 284s [1] "\033[32m\033[1mAB\033[45m" 284s 9/14 substr.R: tce(`substr_ctl<-`(txt8, 1, 3, value = "A", carry = "\033[41m")) 284s [1] "Argument `carry` must be TRUE or FALSE in replacement mode." 284s 9/14 substr.R: lat <- "fa\347ile" 284s 9/14 substr.R: Encoding(lat) <- "latin1" 284s 9/14 substr.R: tce(`substr_ctl<-`(lat, 1, 3, value = "ABC")) 284s [1] "`x` may only contain ASCII or marked UTF-8 encoded strings; you can use `enc2utf8` to convert `x` prior to use with `substr_ctl<-` (replacement form). Illegal value at position [1]." 284s 9/14 substr.R: txt.na2 <- c("AB", NA, "BC") 284s 9/14 substr.R: `substr_ctl<-`(txt.na2, 1, 1, value = "#") 284s [1] "#B" NA "#C" 284s 9/14 substr.R: txt.nona <- c("AB", "BC", "CD") 284s 9/14 substr.R: `substr_ctl<-`(txt.nona, 1, 1, value = c("#", NA), carry = TRUE) 284s [1] "#B" NA NA 284s 284s 10/14 tabs.R: 284s 10/14 tabs.R: library(unitizer) 284s 10/14 tabs.R: library(fansi) 284s 10/14 tabs.R: unitizer_sect("simple tabs", { 284s 10/14 tabs.R: string <- "1\t12\t123\t1234\t12345678" 284s 10/14 tabs.R: tabs_as_spaces(string) 284s [1] "1 12 123 1234 12345678" 284s 10/14 tabs.R: tabs_as_spaces(string, c(2, 3, 4, 5, 8)) 284s [1] "1 12 123 1234 12345678" 284s 10/14 tabs.R: tabs_as_spaces(string, c(2, 8)) 284s [1] "1 12 123 1234 12345678" 284s 10/14 tabs.R: tabs_as_spaces(1:3) 284s [1] "1" "2" "3" 284s 10/14 tabs.R: unitizer_sect("newlines", { 284s 10/14 tabs.R: string.n <- paste0("1\t12\t123\t1234\t12345678\n", "1\t12\t123\t12 284s 10/14 tabs.R: tabs_as_spaces(string.n) 284s [1] "1 12 123 1234 12345678\n1 12 123 1234 12345678" 284s 10/14 tabs.R: tabs_as_spaces(string.n, c(2, 3, 4, 8)) 284s [1] "1 12 123 1234 12345678\n1 12 123 1234 12345678" 284s 10/14 tabs.R: tabs_as_spaces(string.n, c(2, 8)) 284s [1] "1 12 123 1234 12345678\n1 12 123 1234 12345678" 284s 10/14 tabs.R: unitizer_sect("corner cases", { 284s 10/14 tabs.R: tabs_as_spaces("") 284s [1] "" 284s 10/14 tabs.R: tabs_as_spaces("\t") 284s [1] " " 284s 10/14 tabs.R: tabs_as_spaces("\n") 284s [1] "\n" 284s 10/14 tabs.R: tabs_as_spaces(c(string, string, string)) 284s [1] "1 12 123 1234 12345678" 284s [2] "1 12 123 1234 12345678" 284s [3] "1 12 123 1234 12345678" 284s 10/14 tabs.R: tabs_as_spaces("\t\t") 284s [1] " " 284s 10/14 tabs.R: unitizer_sect("bad inputs", { 284s 10/14 tabs.R: tabs_as_spaces(string, warn = 1:3) 284s Error in tabs_as_spaces(string, warn = 1:3) : 284s Argument `warn` must be TRUE or FALSE. 284s Calls: unitize_dir ... withVisible -> tabs_as_spaces -> VAL_IN_ENV -> stop2 284s 10/14 tabs.R: tabs_as_spaces(string, tab.stops = "hello") 284s Error in tabs_as_spaces(string, tab.stops = "hello") : 284s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 284s Calls: unitize_dir ... withVisible -> tabs_as_spaces -> VAL_IN_ENV -> stop2 284s 10/14 tabs.R: tabs_as_spaces(string, ctl = "hello") 284s Error in tabs_as_spaces(string, ctl = "hello") : 284s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 284s Calls: unitize_dir ... withVisible -> tabs_as_spaces -> VAL_IN_ENV -> stop2 284s 10/14 tabs.R: tabs_as_spaces(string, ctl = 0) 284s Error in tabs_as_spaces(string, ctl = 0) : 284s Argument `ctl` must be character. 284s Calls: unitize_dir ... withVisible -> tabs_as_spaces -> VAL_IN_ENV -> stop2 284s 284s 11/14 tohtml.R: 284s 11/14 tohtml.R: library(unitizer) 284s 11/14 tohtml.R: library(fansi) 284s 11/14 tohtml.R: unitizer_sect("colors", { 284s 11/14 tohtml.R: style <- "width: 16px; height: 16px; display: inline-block;" 284s 11/14 tohtml.R: span <- "" 284s 11/14 tohtml.R: colors.8 <- fansi:::esc_color_code_to_html(rbind(c(0:7), 0L, 284s 11/14 tohtml.R: colors.8 284s [1] "#000000" "#BB0000" "#00BB00" "#BBBB00" "#0000BB" "#BB00BB" "#00BBBB" 284s [8] "#BBBBBB" 284s 11/14 tohtml.R: fansi:::esc_color_code_to_html(matrix(c(9L, 0L, 0L, 0L, 0L))) 284s Error in fansi:::esc_color_code_to_html(matrix(c(9L, 0L, 0L, 0L, 0L))) : 284s Internal Error: applying non-color. 284s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 284s 11/14 tohtml.R: colors.255 <- fansi:::esc_color_code_to_html(rbind(8L, 5L, 0:255 284s 11/14 tohtml.R: colors.255 284s [1] "#000000" "#800000" "#008000" "#808000" "#000080" "#800080" "#008080" 284s [8] "#C0C0C0" "#808080" "#FF0000" "#00FF00" "#FFFF00" "#0000FF" "#FF00FF" 284s [15] "#00FFFF" "#FFFFFF" "#000000" "#00005F" "#000087" "#0000AF" "#0000D7" 284s [22] "#0000FF" "#005F00" "#005F5F" "#005F87" "#005FAF" "#005FD7" "#005FFF" 284s [29] "#008700" "#00875F" "#008787" "#0087AF" "#0087D7" "#0087FF" "#00AF00" 284s [36] "#00AF5F" "#00AF87" "#00AFAF" "#00AFD7" "#00AFFF" "#00D700" "#00D75F" 284s [43] "#00D787" "#00D7AF" "#00D7D7" "#00D7FF" "#00FF00" "#00FF5F" "#00FF87" 284s [50] "#00FFAF" "#00FFD7" "#00FFFF" "#5F0000" "#5F005F" "#5F0087" "#5F00AF" 284s [57] "#5F00D7" "#5F00FF" "#5F5F00" "#5F5F5F" "#5F5F87" "#5F5FAF" "#5F5FD7" 284s [64] "#5F5FFF" "#5F8700" "#5F875F" "#5F8787" "#5F87AF" "#5F87D7" "#5F87FF" 284s [71] "#5FAF00" "#5FAF5F" "#5FAF87" "#5FAFAF" "#5FAFD7" "#5FAFFF" "#5FD700" 284s [78] "#5FD75F" "#5FD787" "#5FD7AF" "#5FD7D7" "#5FD7FF" "#5FFF00" "#5FFF5F" 284s [85] "#5FFF87" "#5FFFAF" "#5FFFD7" "#5FFFFF" "#870000" "#87005F" "#870087" 284s [92] "#8700AF" "#8700D7" "#8700FF" "#875F00" "#875F5F" "#875F87" "#875FAF" 284s [99] "#875FD7" "#875FFF" "#878700" "#87875F" "#878787" "#8787AF" "#8787D7" 284s [106] "#8787FF" "#87AF00" "#87AF5F" "#87AF87" "#87AFAF" "#87AFD7" "#87AFFF" 284s [113] "#87D700" "#87D75F" "#87D787" "#87D7AF" "#87D7D7" "#87D7FF" "#87FF00" 284s [120] "#87FF5F" "#87FF87" "#87FFAF" "#87FFD7" "#87FFFF" "#AF0000" "#AF005F" 284s [127] "#AF0087" "#AF00AF" "#AF00D7" "#AF00FF" "#AF5F00" "#AF5F5F" "#AF5F87" 284s [134] "#AF5FAF" "#AF5FD7" "#AF5FFF" "#AF8700" "#AF875F" "#AF8787" "#AF87AF" 284s [141] "#AF87D7" "#AF87FF" "#AFAF00" "#AFAF5F" "#AFAF87" "#AFAFAF" "#AFAFD7" 284s [148] "#AFAFFF" "#AFD700" "#AFD75F" "#AFD787" "#AFD7AF" "#AFD7D7" "#AFD7FF" 284s [155] "#AFFF00" "#AFFF5F" "#AFFF87" "#AFFFAF" "#AFFFD7" "#AFFFFF" "#D70000" 284s [162] "#D7005F" "#D70087" "#D700AF" "#D700D7" "#D700FF" "#D75F00" "#D75F5F" 284s [169] "#D75F87" "#D75FAF" "#D75FD7" "#D75FFF" "#D78700" "#D7875F" "#D78787" 284s [176] "#D787AF" "#D787D7" "#D787FF" "#D7AF00" "#D7AF5F" "#D7AF87" "#D7AFAF" 284s [183] "#D7AFD7" "#D7AFFF" "#D7D700" "#D7D75F" "#D7D787" "#D7D7AF" "#D7D7D7" 284s [190] "#D7D7FF" "#D7FF00" "#D7FF5F" "#D7FF87" "#D7FFAF" "#D7FFD7" "#D7FFFF" 284s [197] "#FF0000" "#FF005F" "#FF0087" "#FF00AF" "#FF00D7" "#FF00FF" "#FF5F00" 284s [204] "#FF5F5F" "#FF5F87" "#FF5FAF" "#FF5FD7" "#FF5FFF" "#FF8700" "#FF875F" 284s [211] "#FF8787" "#FF87AF" "#FF87D7" "#FF87FF" "#FFAF00" "#FFAF5F" "#FFAF87" 284s [218] "#FFAFAF" "#FFAFD7" "#FFAFFF" "#FFD700" "#FFD75F" "#FFD787" "#FFD7AF" 284s [225] "#FFD7D7" "#FFD7FF" "#FFFF00" "#FFFF5F" "#FFFF87" "#FFFFAF" "#FFFFD7" 284s [232] "#FFFFFF" "#080808" "#121212" "#1C1C1C" "#262626" "#303030" "#3A3A3A" 284s [239] "#444444" "#4E4E4E" "#585858" "#626262" "#6C6C6C" "#767676" "#808080" 284s [246] "#8A8A8A" "#949494" "#9E9E9E" "#A8A8A8" "#B2B2B2" "#BCBCBC" "#C6C6C6" 284s [253] "#D0D0D0" "#DADADA" "#E4E4E4" "#EEEEEE" 284s 11/14 tohtml.R: vals <- c(0L, 127L, 255L) 284s 11/14 tohtml.R: colors.tru <- fansi:::esc_color_code_to_html(do.call(rbind, c(li 284s 11/14 tohtml.R: colors.tru 284s [1] "#000000" "#7F0000" "#FF0000" "#007F00" "#7F7F00" "#FF7F00" "#00FF00" 284s [8] "#7FFF00" "#FFFF00" "#00007F" "#7F007F" "#FF007F" "#007F7F" "#7F7F7F" 284s [15] "#FF7F7F" "#00FF7F" "#7FFF7F" "#FFFF7F" "#0000FF" "#7F00FF" "#FF00FF" 284s [22] "#007FFF" "#7F7FFF" "#FF7FFF" "#00FFFF" "#7FFFFF" "#FFFFFF" 284s 11/14 tohtml.R: unitizer_sect("simple html conversion", { 284s 11/14 tohtml.R: as_html_page <- function(x) { 284s 11/14 tohtml.R: sgr_to_html("hello \033[31;42;1mworld\033[0m") 284s [1] "hello world" 284s 11/14 tohtml.R: sgr_to_html("hello \033[31;48;5;23;1mworld\033[m") 284s [1] "hello world" 284s 11/14 tohtml.R: sgr_to_html("\033[1mbold\033[22m \033[2mfaint\033[22m \033[mital 284s [1] "bold faint italic\n" 284s 11/14 tohtml.R: csi_string <- c("\033[1mbold\033[22m \033[2mfaint\033[22m \033[3 284s 11/14 tohtml.R: html_string <- sgr_to_html(csi_string) 284s 11/14 tohtml.R: html_string 284s [1] "bold faint italic" 284s [2] "underline slow-blink" 284s [3] "fast-blink" 284s [4] "red-fg-green-bginverse inverse-off" 284s [5] "conceal reveal crossed-outclear" 284s [6] "bold faint italic" 284s [7] "underline slow-blink" 284s [8] "fast-blink" 284s [9] "red-fg-green-bginverse inverse-off" 284s [10] "conceal reveal crossed-outclear" 284s [11] "italic again not italic?" 284s 11/14 tohtml.R: unitizer_sect("Bright Colors", { 284s 11/14 tohtml.R: sgr_to_html("hello\033[94;101m world\033[39m yow\033[49mza") 284s [1] "hello world yowza" 284s 11/14 tohtml.R: sgr_to_html("hello\033[98;101m world\033[39m yow\033[49mza") 284s [1] "hello world yowza" 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 284s 11/14 tohtml.R: unitizer_sect("Corner cases", { 284s 11/14 tohtml.R: sgr_to_html("hello\033[0m") 284s [1] "hello" 284s 11/14 tohtml.R: sgr_to_html("hello\033[31m") 284s [1] "hello" 284s 11/14 tohtml.R: sgrs <- paste0(rep("\033[31m", 20), collapse = "") 284s 11/14 tohtml.R: sgr_to_html(sprintf("%shello world\033[m", sgrs)) 284s [1] "hello world" 284s 11/14 tohtml.R: sgr_to_html(1:3) 284s [1] "1" "2" "3" 284s 11/14 tohtml.R: sgr_to_html("\033[31mhello\033[m\033[42m world\033[m") 284s [1] "hello world" 284s 11/14 tohtml.R: sgr_to_html("\033[33mhello") 284s [1] "hello" 284s 11/14 tohtml.R: sgr_to_html("he\033[33mllo") 284s [1] "hello" 284s 11/14 tohtml.R: sgr_to_html("hello\033[33m") 284s [1] "hello" 284s 11/14 tohtml.R: sgr_to_html(c("\033[33mhello", "world")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("\033[33mhello", "\033[44mworld")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("\033[33mhello", "wor\033[44mld")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("\033[33mhello", "world\033[44m")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("he\033[33mllo", "world")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("he\033[33mllo", "\033[44mworld")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("he\033[33mllo", "wor\033[44mld")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("he\033[33mllo", "world\033[44m")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("hello\033[33m", "world")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("hello\033[33m", "\033[44mworld")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("hello\033[33m", "wor\033[44mld")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: sgr_to_html(c("hello\033[33m", "world\033[44m")) 284s [1] "hello" 284s [2] "world" 284s 11/14 tohtml.R: unitizer_sect("Bad inputs", { 284s 11/14 tohtml.R: fansi:::esc_color_code_to_html(matrix(1:12, 4)) 284s Error in fansi:::esc_color_code_to_html(matrix(1:12, 4)) : 284s Argument `x` must be a five row integer matrix. 284s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> 284s 11/14 tohtml.R: sgr_to_html(1:3) 284s [1] "1" "2" "3" 284s 11/14 tohtml.R: sgr_to_html("a", warn = 1:3) 284s Error in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `warn` must be TRUE or FALSE. 284s Calls: unitize_dir ... withVisible -> sgr_to_html -> to_html_int -> VAL_IN_ENV -> stop2 284s Error in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `term.cap` must be character. 284s Calls: unitize_dir ... withVisible -> sgr_to_html -> to_html_int -> VAL_IN_ENV -> stop2 284s 11/14 tohtml.R: sgr_to_html("a", term.cap = 1:3) 284s 11/14 tohtml.R: sgr_to_html("a", term.cap = "hello") 284s Error in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `term.cap` may only contain values in c("all", "bright", "256", "truecolor", "old") 284s Calls: unitize_dir ... withVisible -> sgr_to_html -> to_html_int -> VAL_IN_ENV -> stop2 284s 11/14 tohtml.R: unitizer_sect("issue54", { 284s 11/14 tohtml.R: string <- c("\033[31m", "\033[39m") 284s 11/14 tohtml.R: fansi::sgr_to_html(string) 284s [1] "" "" 284s 11/14 tohtml.R: string1 <- c("\033[31mhello", "world\033[39m moon") 284s 11/14 tohtml.R: fansi::sgr_to_html(string1) 284s [1] "hello" 284s [2] "world moon" 284s 11/14 tohtml.R: string2 <- c("\033[3mhello\033[24m", "world\033[23m moon") 284s 11/14 tohtml.R: fansi::sgr_to_html(string2) 284s [1] "hello" 284s [2] "world moon" 284s 11/14 tohtml.R: unitizer_sect("Colors as classes (#65)", { 284s 11/14 tohtml.R: sgr_to_html("\033[94mhello\033[31;42;1mworld\033[m", classes = T 284s [1] "helloworld" 284s 11/14 tohtml.R: class.8 <- do.call(paste, c(expand.grid(c("fg", "bg"), 0:7), 284s 11/14 tohtml.R: class.16 <- do.call(paste, c(expand.grid(c("fg", "bg"), 0:15), 284s 11/14 tohtml.R: class.256 <- do.call(paste, c(expand.grid(c("fg", "bg"), 0:255), 284s 11/14 tohtml.R: x <- c("\033[94mhe\033[107mllo\033[31;42;1mworld\033[m", "\033[4 284s 11/14 tohtml.R: term.cap <- c("bright", "256", "truecolor") 284s 11/14 tohtml.R: sgr_to_html(x, classes = class.8, term.cap = term.cap) 284s [1] "helloworld" 284s [2] "goodbye super moon" 284s 11/14 tohtml.R: sgr_to_html(x, classes = class.16, term.cap = term.cap) 284s [1] "helloworld" 284s [2] "goodbye super moon" 284s 11/14 tohtml.R: sgr_to_html(x, classes = class.256, term.cap = term.cap) 284s [1] "helloworld" 284s [2] "goodbye super moon" 284s 11/14 tohtml.R: make_styles(class.8) 284s [1] ".fg-0 {color: #000000;}" ".bg-0 {background-color: #000000;}" 284s [3] ".fg-1 {color: #800000;}" ".bg-1 {background-color: #800000;}" 284s [5] ".fg-2 {color: #008000;}" ".bg-2 {background-color: #008000;}" 284s [7] ".fg-3 {color: #808000;}" ".bg-3 {background-color: #808000;}" 284s [9] ".fg-4 {color: #000080;}" ".bg-4 {background-color: #000080;}" 284s [11] ".fg-5 {color: #800080;}" ".bg-5 {background-color: #800080;}" 284s [13] ".fg-6 {color: #008080;}" ".bg-6 {background-color: #008080;}" 284s [15] ".fg-7 {color: #C0C0C0;}" ".bg-7 {background-color: #C0C0C0;}" 284s 11/14 tohtml.R: make_styles(class.8, matrix(c(0, 1, 0, 0, 0, 1, 1, 0, 0), 3)) 284s [1] ".fg-0 {color: #000000;}" ".bg-0 {background-color: #000000;}" 284s [3] ".fg-1 {color: #000080;}" ".bg-1 {background-color: #000080;}" 284s [5] ".fg-2 {color: #800000;}" ".bg-2 {background-color: #800000;}" 284s [7] ".fg-3 {color: #800080;}" ".bg-3 {background-color: #800080;}" 284s [9] ".fg-4 {color: #008000;}" ".bg-4 {background-color: #008000;}" 284s [11] ".fg-5 {color: #008080;}" ".bg-5 {background-color: #008080;}" 284s [13] ".fg-6 {color: #808000;}" ".bg-6 {background-color: #808000;}" 284s [15] ".fg-7 {color: #C0C0C0;}" ".bg-7 {background-color: #C0C0C0;}" 284s 11/14 tohtml.R: sgr_to_html(sgr_256()) 284s [1] "Standard" 284s [2] " 0 1 2 3 4 5 6 7" 284s [3] "" 284s [4] "High-Intensity" 284s [5] " 8 9 10 11 12 13 14 15" 284s [6] "" 284s [7] "216 Colors (Dark)" 284s [8] " 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33" 284s [9] " 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69" 284s [10] " 88 89 90 91 92 93 94 95 96 97 98 99100101102103104105" 284s [11] "124125126127128129130131132133134135136137138139140141" 284s [12] "160161162163164165166167168169170171172173174175176177" 284s [13] "196197198199200201202203204205206207208209210211212213" 284s [14] "" 284s [15] "216 Colors (Light)" 284s [16] " 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51" 284s [17] " 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87" 284s [18] "106107108109110111112113114115116117118119120121122123" 284s [19] "142143144145146147148149150151152153154155156157158159" 284s [20] "178179180181182183184185186187188189190191192193194195" 284s [21] "214215216217218219220221222223224225226227228229230231" 284s [22] "" 284s [23] "Grayscale" 284s [24] "232 233 234 235 236 237 238 239 240 241 242 243" 284s [25] "244 245 246 247 248 249 250 251 252 253 254 255" 284s 11/14 tohtml.R: sgr_to_html(sgr_256(), classes = class.256) 284s [1] "Standard" 284s [2] " 0 1 2 3 4 5 6 7" 284s [3] "" 284s [4] "High-Intensity" 284s [5] " 8 9 10 11 12 13 14 15" 284s [6] "" 284s [7] "216 Colors (Dark)" 284s [8] " 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33" 284s [9] " 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69" 284s [10] " 88 89 90 91 92 93 94 95 96 97 98 99100101102103104105" 284s [11] "124125126127128129130131132133134135136137138139140141" 284s [12] "160161162163164165166167168169170171172173174175176177" 284s [13] "196197198199200201202203204205206207208209210211212213" 284s [14] "" 284s [15] "216 Colors (Light)" 284s [16] " 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51" 284s [17] " 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87" 284s [18] "106107108109110111112113114115116117118119120121122123" 284s [19] "142143144145146147148149150151152153154155156157158159" 284s [20] "178179180181182183184185186187188189190191192193194195" 284s [21] "214215216217218219220221222223224225226227228229230231" 284s [22] "" 284s [23] "Grayscale" 284s [24] "232 233 234 235 236 237 238 239 240 241 242 243" 284s [25] "244 245 246 247 248 249 250 251 252 253 254 255" 284s Error in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `classes` must be TRUE, FALSE, or a character vector. 284s Calls: unitize_dir ... eval -> eval -> withVisible -> sgr_to_html -> to_html_int 284s Error in check_classes(classes) : 284s Argument `classes` must be length 16, 32, or 512 if it is a character vector (is 7). 284s Calls: unitize_dir ... withVisible -> sgr_to_html -> to_html_int -> check_classes 284s 11/14 tohtml.R: sgr_to_html("\033[31mhello\033[31m", classes = NULL) 284s 11/14 tohtml.R: sgr_to_html("\033[31mhello\033[31m", classes = character(7L)) 284s 11/14 tohtml.R: sgr_to_html("\033[31mhello\033[31m", classes = rep(NA_character_ 284s Error in check_classes(classes) : Argument `classes` contains NA values. 284s Calls: unitize_dir ... withVisible -> sgr_to_html -> to_html_int -> check_classes 284s 11/14 tohtml.R: sgr_to_html("\033[31mhello\033[31m", classes = rep("bad class", 284s Error in check_classes(classes) : 284s Argument `classes` contains charcters other than ASCII letters, numbers, the hyphen, and underscore. 284s Calls: unitize_dir ... withVisible -> sgr_to_html -> to_html_int -> check_classes 284s 11/14 tohtml.R: make_styles(class.8, c(1, 1, 0, 0, 0, 1, 1, 0, 0)) 284s Error in make_styles(class.8, c(1, 1, 0, 0, 0, 1, 1, 0, 0)) : 284s Argument `rgb.mix` must be a 3 x 3 numeric matrix with no NAs. 284s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> make_styles 284s 11/14 tohtml.R: make_styles(class.8, matrix(c(0, 1, 0, 0, 0, 1, 1, 0, NA), 3)) 284s Error in make_styles(class.8, matrix(c(0, 1, 0, 0, 0, 1, 1, 0, NA), 3)) : 284s Argument `rgb.mix` must be a 3 x 3 numeric matrix with no NAs. 284s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> make_styles 284s 11/14 tohtml.R: make_styles(class.8, "hello") 284s Error in make_styles(class.8, "hello") : 284s Argument `rgb.mix` must be a 3 x 3 numeric matrix with no NAs. 284s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> make_styles 284s 11/14 tohtml.R: make_styles(letters, matrix(c(0, 1, 0, 0, 0, 1, 1, 0, 0), 3)) 284s Error in check_classes(classes) : 284s Argument `classes` must be length 16, 32, or 512 if it is a character vector (is 26). 284s Calls: unitize_dir ... eval -> withVisible -> make_styles -> check_classes 284s 11/14 tohtml.R: make_styles(NULL) 284s Error in make_styles(NULL) : Argument `classes` is not character. 284s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> make_styles 284s 11/14 tohtml.R: unitizer_sect("chars to escape", { 284s 11/14 tohtml.R: str.esc <- c("A\033[45mB", "A\033[43m&B") 284s 11/14 tohtml.R: to_html(str.esc) 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s `x` contains unescaped HTML special character '<' at index [1] (see ?html_esc); you can use `warn=FALSE` to turn off these warnings. 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s [1] "A" 284s [2] "A>B" 284s [3] "A&B" 284s `x` contains unescaped HTML special character '>' at index [2] (see ?html_esc); you can use `warn=FALSE` to turn off these warnings. 284s 11/14 tohtml.R: sgr_to_html(str.esc) 284s [1] "A" 284s [2] "A>B" 284s [3] "A&B" 284s 11/14 tohtml.R: to_html(str.esc, warn = FALSE) 284s [1] "A" 284s [2] "A>B" 284s [3] "A&B" 284s 11/14 tohtml.R: to_html(html_esc(str.esc)) 284s [1] "A<B" 284s [2] "A>B" 284s [3] "A&B" 284s 11/14 tohtml.R: str.esc2 <- c("A\033[45mB", "A\033[201mB") 284s 11/14 tohtml.R: to_html(str.esc2) 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s `x` contains unescaped HTML special character '<' at index [1] (see ?html_esc); you can use `warn=FALSE` to turn off these warnings. 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [2], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s `x` contains unescaped HTML special character '>' at index [2] (see ?html_esc); you can use `warn=FALSE` to turn off these warnings. 284s Warning in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 284s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [3], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 284s [1] "A" 284s [2] "A>B" 284s [3] "AB" 284s 11/14 tohtml.R: to_html(str.esc2, warn = FALSE) 284s [1] "A" 284s [2] "A>B" 284s [3] "AB" 284s 11/14 tohtml.R: unitizer_sect("helpers", { 284s 11/14 tohtml.R: html <- sgr_to_html("\033[42mHello") 284s 11/14 tohtml.R: f <- in_html(html, css = "span {background-color: #CCC;}", displ 284s 11/14 tohtml.R: readLines(f) 284s [1] "" 284s [2] "" 284s [3] "" 284s [6] "" 284s [7] "
"                                                
284s  [8] "Hello"
284s  [9] "
" 284s [10] "" 284s [11] "" 284s 11/14 tohtml.R: unlink(f) 284s 11/14 tohtml.R: in_html(html, css = "span {background-color: #CCC;}", display = 285s 11/14 tohtml.R: unitizer_sect("carry", { 285s 11/14 tohtml.R: string.2 <- c("A\033[44m", "B\033[49m", "C", "\033[39mD") 285s 11/14 tohtml.R: to_html(string.2) 285s [1] "A" 285s [2] "B" 285s [3] "C" 285s [4] "D" 285s 11/14 tohtml.R: to_html(string.2, carry = FALSE) 285s [1] "A" "B" "C" "D" 285s 11/14 tohtml.R: to_html(string.2, carry = "\033[33m") 285s [1] "A" 285s [2] "B" 285s [3] "C" 285s [4] "D" 285s 11/14 tohtml.R: to_html(string.2, carry = "\033[33m\033]8;;https://w.z\033\\") 285s [1] "A" 285s [2] "B" 286s [3] "C" 286s [4] "D" 286s 11/14 tohtml.R: string.3 <- c("A\033[44m", "\033[31mC", NA, "\033[39mD") 286s 11/14 tohtml.R: to_html(string.3) 286s [1] "A" 286s [2] "C" 286s [3] NA 286s [4] NA 286s 11/14 tohtml.R: to_html(string.3, carry = FALSE) 286s [1] "A" 286s [2] "C" 286s [3] NA 286s [4] "D" 286s 286s 12/14 trimws.R: 286s 12/14 trimws.R: library(fansi) 286s 12/14 trimws.R: unitizer_sect("Equivalence", { 286s 12/14 trimws.R: txt1 <- c("", "hello", " \t \n\r he\nl\tl\r o \r\t\n", "he\nl\tl 286s 12/14 trimws.R: identical(trimws(txt1), trimws_ctl(txt1)) 286s [1] TRUE 286s 12/14 trimws.R: identical(trimws(txt1, which = "left"), trimws_ctl(txt1, which = 286s [1] TRUE 286s 12/14 trimws.R: identical(trimws(txt1, which = "right"), trimws_ctl(txt1, which 286s [1] TRUE 286s 12/14 trimws.R: unitizer_sect("Controls", { 286s 12/14 trimws.R: txt2 <- c("\033[31m he\033[42;1m llo \033[49m\n\t ", " \033]8;;h 286s 12/14 trimws.R: trimws_ctl(txt2) 286s [1] "\033[31mhe\033[42;1m llo\033[0;1;31m" 286s [2] "\033]8;;https://x.yz\033\\LINK\033[45m hello\033[31m\033]8;;\033\\" 286s 12/14 trimws.R: trimws_ctl(txt2, which = "left") 286s [1] "\033[31mhe\033[42;1m llo \033[49m\n\t " 286s [2] "\033]8;;https://x.yz\033\\LINK\033[45m hello \033]8;;\033\\ \033[31m" 286s 12/14 trimws.R: trimws_ctl(txt2, which = "right") 286s [1] "\033[31m he\033[42;1m llo\033[0;1;31m" 286s [2] " \033]8;;https://x.yz\033\\\tLINK\033[45m hello\033[31m\033]8;;\033\\" 286s Warning in trimws_ctl(txt2, ctl = c("all", "url", "osc")) : 286s Argument `x` contains a non-CSI/OSC escape sequence at index [2], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 286s 12/14 trimws.R: trimws_ctl(txt2, ctl = c("all", "url", "osc")) 286s [1] "\033[31mhe\033[42;1m llo\033[0;1;31m" 286s [2] "8;;https://x.yz\033\\\tLINK\033[45m hello \033]8;;\033\\\033[31m" 286s 12/14 trimws.R: trimws_ctl(txt2, ctl = c("all", "sgr", "csi")) 286s [1] "31m he\033[42;1m llo \033[49m" 286s [2] "\033]8;;https://x.yz\033\\LINK\033[45m hello \033]8;;\033\\ \033[31m" 286s Warning in trimws_ctl(txt2, ctl = c("all", "sgr", "csi")) : 286s Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 286s Warning in trimws_ctl(txt2, ctl = c("all", "sgr", "csi")) : 286s Argument `x` contains a non-CSI/OSC escape sequence at index [2], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 286s 12/14 trimws.R: trimws_ctl(" \r\a A \a\t ", ctl = c("all", "c0")) 286s [1] "\a A \a" 286s Warning in trimws_ctl(" \r\a A \a\t ", ctl = c("all", "c0")) : 286s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 286s 12/14 trimws.R: unitizer_sect("Errors / Corner caess", { 286s 12/14 trimws.R: trimws_ctl(character()) 286s character(0) 286s 12/14 trimws.R: trimws_ctl("hello", which = "top") 286s Error in trimws_ctl("hello", which = "top") : 286s Argument `which` must partial match one of c("both", "left", "right"). 286s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> trimws_ctl 286s 12/14 trimws.R: trimws_ctl("hello", whitespace = " ") 286s Error in trimws_ctl("hello", whitespace = " ") : 286s Argument `whitespace` may only be set to "[ \t\r\n]". 286s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> trimws_ctl 286s 287s 13/14 url.R: 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s 13/14 url.R: library(fansi) 287s 13/14 url.R: unitizer_sect("wrap", { 287s 13/14 url.R: txt <- "This is a link" 287s 13/14 url.R: base.st <- "%s\033]8;%s;%s\033\\%s\033]8;;\033\\%s" 287s 13/14 url.R: base.a <- "%s\033]8;%s;%s\a%s\033]8;;\a%s" 287s 13/14 url.R: url <- "https://x.yz" 287s 13/14 url.R: u0 <- sprintf(base.st, "", "", url, txt, "") 287s 13/14 url.R: u1 <- sprintf(base.a, "", "", url, txt, "") 287s 13/14 url.R: strtrim_ctl(u0, 5) 287s [1] "\033]8;;https://x.yz\033\\This \033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u0, 5) 287s [1] "\033]8;;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u0, 8) 287s [1] "\033]8;;https://x.yz\033\\This is\033]8;;\033\\" 287s [2] "\033]8;;https://x.yz\033\\a link\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u1, 5) 287s [1] "\033]8;;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: u2 <- sprintf(base.st, "", "id=one", url, txt, "") 287s 13/14 url.R: u2a <- sprintf(base.st, "", "id=", url, txt, "") 287s 13/14 url.R: u2b <- sprintf(base.st, "", "id", url, txt, "") 287s 13/14 url.R: u3 <- sprintf(base.st, "", "title=ab:id=one", url, txt, "") 287s 13/14 url.R: u4 <- sprintf(base.st, "", "id=one:title=ba", url, txt, "") 287s 13/14 url.R: u6 <- sprintf(base.st, "", "id=one~title=ba", url, txt, "") 287s 13/14 url.R: strwrap_ctl(u2, 5) 287s [1] "\033]8;id=one;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;id=one;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;id=one;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u3, 5) 287s [1] "\033]8;id=one;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;id=one;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;id=one;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u4, 5) 287s [1] "\033]8;id=one;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;id=one;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;id=one;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u6, 5) 287s [1] "\033]8;id=one~title=ba;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;id=one~title=ba;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;id=one~title=ba;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: u7 <- sprintf(base.st, "AB", "id=one", url, txt, "CD") 287s 13/14 url.R: strwrap_ctl(u7, 8) 287s [1] "AB\033]8;id=one;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;id=one;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;id=one;https://x.yz\033\\link\033]8;;\033\\CD" 287s 13/14 url.R: txt2 <- "This\033[34m is a link\033[49m" 287s 13/14 url.R: u8 <- sprintf(base.st, "A\033[43mB", "", url, txt2, "CD") 287s 13/14 url.R: strwrap_ctl(u8, 7) 287s [1] "A\033[43mB\033]8;;https://x.yz\033\\This\033[0m\033]8;;\033\\" 287s [2] "\033[34;43m\033]8;;https://x.yz\033\\is a\033[0m\033]8;;\033\\" 287s [3] "\033[34;43m\033]8;;https://x.yz\033\\link\033[49m\033]8;;\033\\CD\033[0m" 287s 13/14 url.R: url2 <- ";wow;https://x.yz" 287s 13/14 url.R: u9 <- sprintf(base.st, "", "", url2, txt, "") 287s 13/14 url.R: strwrap_ctl(u9, 5) 287s [1] "\033]8;;wow;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;;wow;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;;wow;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: u10 <- sprintf(base.st, "", "\a", url, txt, "") 287s 13/14 url.R: u11 <- sprintf(base.st, "", "\016", url, txt, "") 287s 13/14 url.R: Encoding(u10) <- "UTF-8" 287s 13/14 url.R: Encoding(u11) <- "UTF-8" 287s 13/14 url.R: u11a <- sprintf(base.st, "", "hello", url, txt, "") 287s 13/14 url.R: strwrap_ctl(u10, 5) 287s [1] ";https://x.yz\033\\This" "is a" 287s [3] "link" 287s 13/14 url.R: strwrap_ctl(u11, 5) 287s [1] "\033]8;;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u11a, 5) 287s [1] "\033]8;;https://x.yz\033\\This\033]8;;\033\\" 287s [2] "\033]8;;https://x.yz\033\\is a\033]8;;\033\\" 287s [3] "\033]8;;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: nchar_ctl(c(u10, u11, u11a)) 287s [1] 27 14 14 287s 13/14 url.R: u12 <- sprintf(base.st, "", "", "\b", txt, "") 287s 13/14 url.R: u12a <- sprintf(base.st, "", "", "\200", txt, "") 287s 13/14 url.R: Encoding(u12) <- "UTF-8" 287s 13/14 url.R: Encoding(u12a) <- "UTF-8" 287s 13/14 url.R: strwrap_ctl(u12, 5) 287s [1] "This" "is a" "link" 287s 13/14 url.R: strwrap_ctl(u12a, 5) 287s 13/14 url.R: nchar_ctl(c(u12, u12a)) 287s [1] 14 14 287s 13/14 url.R: nchar_ctl(c(u12, u12a), allowNA = TRUE) 287s [1] 14 14 287s 13/14 url.R: u13 <- "a\033]8;;THE END" 287s 13/14 url.R: u13a <- "a\033];;THE END" 287s 13/14 url.R: u14 <- "a\033]8;;THE END\033]8;;NO?" 287s 13/14 url.R: u15 <- "a\033]8;;THE END\033]8;;\033[" 287s 13/14 url.R: strwrap_ctl(u13, 5) 287s [1] "a" 287s 13/14 url.R: strwrap_ctl(u13, 5, terminate = FALSE) 287s [1] "a\033]8;;THE END" 287s 13/14 url.R: strwrap_ctl(u13a, 5) 287s [1] "a\033];;THE END" 287s 13/14 url.R: strwrap_ctl(u14, 5) 287s [1] "a" 287s 13/14 url.R: strwrap_ctl(u15, 5) 287s [1] "a" 287s 13/14 url.R: nchar_ctl(c(u13, u13a, u14, u15)) 287s [1] 1 1 1 1 287s 13/14 url.R: u16 <- sprintf(base.st, "", "", "", txt, "") 287s 13/14 url.R: u17 <- sprintf(base.st, "", "", "", "", "") 287s 13/14 url.R: strwrap_ctl(u16, 5) 287s [1] "This" "is a" "link" 287s 13/14 url.R: strwrap_ctl(u17, 5) 287s [1] "" 287s 13/14 url.R: strwrap_ctl(u0, 5, terminate = FALSE) 287s [1] "\033]8;;https://x.yz\033\\This" 287s [2] "\033]8;;https://x.yz\033\\is a" 287s [3] "\033]8;;https://x.yz\033\\link\033]8;;\033\\" 287s 13/14 url.R: open <- "\033]8;;ab.c\033\\" 287s 13/14 url.R: u21 <- c("he\033[44mllo \033]8;;de.f\033\\world", "night moon") 287s 13/14 url.R: strwrap_ctl(u21, 5, carry = "\033[33m") 287s [1] "\033[33mhe\033[44mllo\033[0m" 287s [2] "\033[33;44m\033]8;;de.f\033\\world\033[0m\033]8;;\033\\" 287s [3] "\033[33;44m\033]8;;de.f\033\\night\033[0m\033]8;;\033\\" 287s [4] "\033[33;44m\033]8;;de.f\033\\moon\033[0m\033]8;;\033\\" 287s 13/14 url.R: strwrap_ctl(u21, 5, carry = paste0(open, "\033[33m")) 287s [1] "\033[33m\033]8;;ab.c\033\\he\033[44mllo\033[0m\033]8;;\033\\" 287s [2] "\033[33;44m\033]8;;de.f\033\\world\033[0m\033]8;;\033\\" 287s [3] "\033[33;44m\033]8;;de.f\033\\night\033[0m\033]8;;\033\\" 287s [4] "\033[33;44m\033]8;;de.f\033\\moon\033[0m\033]8;;\033\\" 287s 13/14 url.R: unitizer_sect("normalize", { 287s 13/14 url.R: u18 <- "A\033]8;id=a;x.yz\033\\B\033]8;id=a;x.yz\033\\C\033]8;;\033 287s 13/14 url.R: normalize_state(u18) 287s [1] "A\033]8;id=a;x.yz\033\\BC\033]8;;\033\\D" 287s 13/14 url.R: u18a <- "A\033]8;id=a;x.yz\033\\B\033]8;;\033\\\033]8;id=a;x.yz\033 287s 13/14 url.R: normalize_state(u18a) 287s [1] "A\033]8;id=a;x.yz\033\\BC\033]8;;\033\\D" 287s 13/14 url.R: u18b <- "A\033]8;id=a;x.yz\033\\\033]8;id=b;x.yz\033\\C\033]8;;\033 287s 13/14 url.R: normalize_state(u18b) 287s [1] "A\033]8;id=b;x.yz\033\\C\033]8;;\033\\D" 287s 13/14 url.R: u19 <- "A\033]8;id=a;x.yz\033\\B\033]8;id=b;x.yz\033\\C\033]8;;\033 287s 13/14 url.R: u20 <- "A\033]8;id=a;x.yz\033\\B\033]8;id=a;w.yz\033\\C\033]8;;\033 287s 13/14 url.R: normalize_state(u19) 287s [1] "A\033]8;id=a;x.yz\033\\B\033]8;id=b;x.yz\033\\C\033]8;;\033\\D" 287s 13/14 url.R: normalize_state(u20) 287s [1] "A\033]8;id=a;x.yz\033\\B\033]8;id=a;w.yz\033\\C\033]8;;\033\\D" 287s 13/14 url.R: unitizer_sect("substr", { 287s 13/14 url.R: substr_ctl(u0, 6, 9) 287s [1] "\033]8;;https://x.yz\033\\is a\033]8;;\033\\" 287s 13/14 url.R: substr_ctl(u0, 6, 9, terminate = FALSE) 287s [1] "\033]8;;https://x.yz\033\\is a" 287s 13/14 url.R: substr_ctl("hello world", 3, 8, carry = "\033]8;;a.b\033\\") 287s [1] "\033]8;;a.b\033\\llo wo\033]8;;\033\\" 287s 13/14 url.R: np.bytes <- c("A\033]8;a=\r:id=c;x.y\033\\B", "A\033]8;a=c:id=\r;x. 287s 13/14 url.R: Encoding(np.bytes) <- "UTF-8" 287s 13/14 url.R: substr_ctl(np.bytes[1:3], 2, 2) 287s [1] "\033]8;id=c;x.y\033\\B\033]8;;\033\\" 287s [2] "\033]8;;x.y\033\\B\033]8;;\033\\" 287s [3] "B" 287s 13/14 url.R: substr_ctl(np.bytes[4], 2, 2) 287s 13/14 url.R: unitizer_sect("tohtml", { 287s 13/14 url.R: to_html(u0) 287s [1] "This is a link" 287s 13/14 url.R: to_html("A\033[44mB\033]8;;x.y\033\\C\033[33m\033]8;;\033\\D") 287s [1] "ABCD" 287s 13/14 url.R: to_html("A\033[44mB\033]8;;x.y\033\\C\033[33m\033]8;;w.z\033\\D") 287s [1] "ABCD" 287s 13/14 url.R: u23 <- c("A \033[44mB \033]8;;x.y\033\\C \033[33m\033]8;;w.z\033\\D 287s 13/14 url.R: to_html(u23) 287s [1] "A B C D" 287s [2] "E F G" 287s [3] "H I" 287s 13/14 url.R: to_html(strwrap_ctl(u23, 4)) 287s [1] "A B" 287s [2] "C D" 287s [3] "E F" 287s [4] "G" 287s [5] "H I" 287s 13/14 url.R: unitizer_sect("osc", { 287s 13/14 url.R: nchar_ctl("\033]hello \aworld") 287s [1] 5 287s 13/14 url.R: nchar_ctl("\033]hello \033\\world") 287s [1] 5 287s 13/14 url.R: nchar_ctl("\033]hello \033\\world", ctl = c("all", "osc")) 287s [1] 11 287s 13/14 url.R: x <- "\033]hello\200\033\\world" 287s 13/14 url.R: Encoding(x) <- "UTF-8" 287s 13/14 url.R: nchar_ctl(x) 287s [1] 5 287s 13/14 url.R: nchar_ctl("\033]hello world") 287s [1] 0 287s 287s 14/14 wrap.R: 287s 14/14 wrap.R: library(unitizer) 287s 14/14 wrap.R: library(fansi) 287s 14/14 wrap.R: unitizer_sect("Basic wrap", { 287s 14/14 wrap.R: hello.0 <- "hello world this is a lovely day" 287s 14/14 wrap.R: strwrap_ctl(hello.0, width = 10) 287s [1] "hello" "world" "this is a" "lovely" "day" 287s 14/14 wrap.R: hello.1 <- "hello world this is. a lovely day." 287s 14/14 wrap.R: strwrap_ctl(hello.1, width = 10) 287s [1] "hello" "world" "this is." "a lovely" "day." 287s 14/14 wrap.R: hello.2 <- "hello\rworld\rthis is. a lovely day." 287s 14/14 wrap.R: strwrap_ctl(hello.2, width = 10) 287s [1] "hello\rworld\rthis" "is. a" "lovely" 287s [4] "day." 287s 14/14 wrap.R: hello.3 <- "hello\rworld\nthis is. a lovely\n day." 287s 14/14 wrap.R: strwrap_ctl(hello.3, width = 10) 287s [1] "hello\rworld" "this is." "a lovely" "day." 287s 14/14 wrap.R: hello.4 <- " hello world this is a lovely day." 287s 14/14 wrap.R: strwrap_ctl(hello.4, width = 10) 287s [1] "hello" "world" "this is a" "lovely" "day." 287s 14/14 wrap.R: hello.5 <- "hello.\n\n\nworld" 287s 14/14 wrap.R: strwrap_ctl(hello.5, width = 10) 287s [1] "hello." "" "world" 287s 14/14 wrap.R: hello.5a <- "hello.\n \n \nworld" 287s 14/14 wrap.R: strwrap_ctl(hello.5a, width = 10) 287s [1] "hello." "" "world" 287s 14/14 wrap.R: hello.6a <- "hello.\" there" 287s 14/14 wrap.R: strwrap_ctl(hello.6a, width = 40) 287s [1] "hello.\" there" 287s 14/14 wrap.R: hello.6b <- "hello.' there" 287s 14/14 wrap.R: strwrap_ctl(hello.6b, width = 40) 287s [1] "hello.' there" 287s 14/14 wrap.R: hello.6c <- "hello.) there" 287s 14/14 wrap.R: strwrap_ctl(hello.6c, width = 40) 287s [1] "hello.) there" 287s 14/14 wrap.R: unitizer_sect("Basic Ansi", { 287s 14/14 wrap.R: hello2.0 <- paste0("hello ", red, "world ", grn.bg, " this is a l 287s 14/14 wrap.R: strwrap_ctl(hello2.0, 10) 287s [1] "hello" "\033[31mworld\033[0m" 287s [3] "\033[31;42mthis is a\033[0m" "\033[31;42mlovely\033[0mday." 287s 14/14 wrap.R: strwrap_ctl(strip_ctl(hello2.0, "sgr"), 10) 287s [1] "hello" "world" "this is a" "lovelyday." 287s 14/14 wrap.R: hello2.1 <- paste0("hello \033[41mworld\033[m how are you today") 287s 14/14 wrap.R: hello2.2 <- paste0("hello \033[41mworld\033[0m how are you today") 287s 14/14 wrap.R: strwrap_ctl(hello2.1, 15) 287s [1] "hello \033[41mworld\033[0m" "how are you" 287s [3] "today" 287s 14/14 wrap.R: hello.bold.faint <- paste0("hello \033[1mbolded once upon a time\0 287s 14/14 wrap.R: strwrap_ctl(hello.bold.faint, 10) 287s [1] "hello" "\033[1mbolded\033[0m" 287s [3] "\033[1monce upon\033[0m" "\033[1ma time\033[0m" 287s [5] "normal" "\033[2mfainting\033[0m" 287s [7] "\033[2min\033[0m" "\033[2mfaintness\033[0m" 287s [9] "\033[2moh no\033[0m" "normal" 287s 14/14 wrap.R: hello.blinky <- paste0("hello \033[5mbliking slowly oh my\033[25m 287s 14/14 wrap.R: strwrap_ctl(hello.blinky, 10) 287s [1] "hello" "\033[5mbliking\033[0m" 287s [3] "\033[5mslowly oh\033[0m" "\033[5mmy\033[25m normal" 287s [5] "\033[6mblinking\033[0m" "\033[6mquickly\033[0m" 287s [7] "\033[6moh my\033[0m" "normal" 287s 14/14 wrap.R: strwrap_ctl(hello.blinky, 10, terminate = FALSE) 287s [1] "hello" "\033[5mbliking" "slowly oh" 287s [4] "my\033[25m normal" "\033[6mblinking" "quickly" 287s [7] "oh my" "\033[0mnormal" 287s 14/14 wrap.R: hello2.3 <- c(hello2.1, hello2.2) 287s 14/14 wrap.R: strwrap_ctl(hello2.3, 10, simplify = FALSE) 287s [[1]] 287s [1] "hello" "\033[41mworld\033[m how" 287s [3] "are you" "today" 287s 287s [[2]] 287s [1] "hello" "\033[41mworld\033[0m how" 287s [3] "are you" "today" 287s 287s 14/14 wrap.R: strwrap2_ctl(hello2.3, 10, simplify = FALSE) 287s [[1]] 287s [1] "hello" "\033[41mworld\033[m how" 287s [3] "are you" "today" 287s 287s [[2]] 287s [1] "hello" "\033[41mworld\033[0m how" 287s [3] "are you" "today" 287s 287s 14/14 wrap.R: strwrap_ctl("aliquip \033[31mex ea commodo consequat\033[0m\n", 287s [1] "aliquip \033[31mex ea commodo\033[0m" 287s [2] "\033[31mconsequat\033[0m" 287s 14/14 wrap.R: unitizer_sect("Long Wrap", { 287s 14/14 wrap.R: wrap.csi <- strwrap_ctl(lorem.r.thanks, 40) 287s 14/14 wrap.R: nchar(strip_ctl(wrap.csi, "sgr")) 287s [1] 34 37 30 13 0 37 38 9 0 39 36 37 15 0 35 39 37 37 31 25 0 39 37 38 39 287s [26] 5 0 39 36 34 33 36 39 27 0 31 29 37 39 35 34 37 34 31 36 25 37 287s 14/14 wrap.R: nchar(wrap.csi) 287s [1] 44 37 30 13 0 68 56 17 0 98 55 57 25 0 61 47 63 90 72 61 0 68 37 38 49 287s [26] 5 0 75 54 47 49 64 67 45 0 91 78 87 88 74 73 86 54 60 75 25 67 287s 14/14 wrap.R: unitizer_sect("Other Escapes", { 287s 14/14 wrap.R: strwrap_ctl("hello \033kworld yohoo", 12) 287s [1] "hello \033kworld" "yohoo" 287s 14/14 wrap.R: strwrap_ctl("hello \033\nworld yohoo", 12) 287s [1] "hello \033\nworld" "yohoo" 287s 14/14 wrap.R: c0 <- "hello\037\037\037\037\037\037 world yohoo" 287s 14/14 wrap.R: Encoding(c0) <- "UTF-8" 287s 14/14 wrap.R: strwrap_ctl(c0, 12) 287s [1] "hello\037\037\037\037\037\037 world" "yohoo" 287s 14/14 wrap.R: strwrap_ctl("hello \033[999mworld", 6) 287s [1] "hello" "world" 287s 14/14 wrap.R: strwrap_ctl("hello \033[31#31mworld", 6) 287s [1] "hello" "world" 287s 14/14 wrap.R: strwrap_ctl("hello \033[999nworld", 6) 287s [1] "hello" "\033[999nworld" 287s 14/14 wrap.R: strwrap_ctl("hello \033[999mworld", 6, warn = FALSE) 287s [1] "hello" "world" 287s 14/14 wrap.R: strwrap_ctl("hello \033[31#31mworld", 6, warn = FALSE) 287s [1] "hello" "world" 287s 14/14 wrap.R: strwrap_ctl("hello \033[999nworld", 6, warn = FALSE) 287s [1] "hello" "\033[999nworld" 287s 14/14 wrap.R: unitizer_sect("prefix / initial simple", { 287s 14/14 wrap.R: lorem.sentence <- unlist(strsplit_ctl(lorem, "[.]\\K ", perl = TRU 287s 14/14 wrap.R: lorem.sentence <- gsub(",", ",\n", lorem.sentence, fixed = TRUE) 287s 14/14 wrap.R: lorem.para <- c(paste0(lorem.sentence[1:2], collapse = "\n\n"), 287s 14/14 wrap.R: strwrap_ctl(lorem.para, indent = 2) 287s [1] " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" 287s [2] "eiusmod tempor incididunt ut labore et dolore magna aliqua." 287s [3] "" 287s [4] " Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris" 287s [5] "nisi ut aliquip ex ea commodo consequat." 287s [6] " Duis aute irure dolor in reprehenderit in voluptate velit esse cillum" 287s [7] "dolore eu fugiat nulla pariatur." 287s [8] "" 287s [9] " Excepteur sint occaecat cupidatat non proident, sunt in culpa qui" 287s [10] "officia deserunt mollit anim id est laborum." 287s 14/14 wrap.R: strwrap_ctl(lorem.para, exdent = 2) 287s [1] "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod" 287s [2] " tempor incididunt ut labore et dolore magna aliqua." 287s [3] "" 287s [4] "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi" 287s [5] " ut aliquip ex ea commodo consequat." 287s [6] "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum" 287s [7] " dolore eu fugiat nulla pariatur." 287s [8] "" 287s [9] "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui" 287s [10] " officia deserunt mollit anim id est laborum." 287s 14/14 wrap.R: strwrap_ctl(lorem.para, indent = 4, exdent = 2) 287s [1] " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" 287s [2] " eiusmod tempor incididunt ut labore et dolore magna aliqua." 287s [3] "" 287s [4] " Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris" 287s [5] " nisi ut aliquip ex ea commodo consequat." 287s [6] " Duis aute irure dolor in reprehenderit in voluptate velit esse" 287s [7] " cillum dolore eu fugiat nulla pariatur." 287s [8] "" 287s [9] " Excepteur sint occaecat cupidatat non proident, sunt in culpa qui" 287s [10] " officia deserunt mollit anim id est laborum." 287s 14/14 wrap.R: unitizer_sect("prefix / initial with ESC", { 287s 14/14 wrap.R: pre <- "\033[32m+ \033[0m" 287s 14/14 wrap.R: ini <- "\033[33m> \033[0m" 287s 14/14 wrap.R: hello.8a <- "hello world yohoo" 287s 14/14 wrap.R: wrap.csi.2 <- strwrap_ctl(hello.8a, 14, prefix = pre, initial = in 287s 14/14 wrap.R: wrap.csi.2 287s [1] "\033[33m> \033[0mhello world" "\033[32m+ \033[0myohoo" 287s 14/14 wrap.R: hello.8b <- c(hello.8a, "oh my this has 2 elements") 287s 14/14 wrap.R: wrap.csi.3 <- strwrap_ctl(hello.8b, 14, prefix = pre, initial = in 287s 14/14 wrap.R: wrap.csi.3 287s [1] "\033[33m> \033[0mhello world" "\033[32m+ \033[0myohoo" 287s [3] "\033[32m+ \033[0moh my this" "\033[32m+ \033[0mhas 2" 287s [5] "\033[32m+ \033[0melements" 287s 14/14 wrap.R: unitizer_sect("wrap2", { 287s 14/14 wrap.R: hello.9a <- "hello\t\033[41mred\033[49m\tworld" 287s 14/14 wrap.R: strwrap2_ctl(hello.9a, 12) 287s [1] "hello \033[41mred\033[0m" "world" 287s 14/14 wrap.R: strwrap2_ctl(hello.9a, 12, tabs.as.spaces = TRUE) 287s [1] "hello \033[41mred\033[49m" " world" 287s 14/14 wrap.R: strwrap2_ctl(hello.9a, 13, tabs.as.spaces = TRUE) 287s [1] "hello \033[41mred\033[49m " " world" 287s 14/14 wrap.R: strwrap2_ctl(hello.9a, 12, tabs.as.spaces = TRUE, tab.stops = c(6, 287s [1] "hello \033[41mred\033[49m " " " 287s [3] "world" 287s 14/14 wrap.R: r.thanks <- lorem.r.thanks.2 287s 14/14 wrap.R: bg <- ceiling(seq_along(r.thanks)/length(r.thanks) * 215) + 16 287s 14/14 wrap.R: fg <- ifelse((((bg - 16)%/%18)%%2), 30, 37) 287s 14/14 wrap.R: tpl <- "\033[%d;48;5;%dm%s\033[49m" 287s 14/14 wrap.R: nz <- nzchar(r.thanks) 287s 14/14 wrap.R: r.thanks[nz] <- sprintf(tpl, fg[nz], bg[nz], r.thanks[nz]) 287s 14/14 wrap.R: r.col <- paste0(r.thanks, collapse = "\n") 287s 14/14 wrap.R: r.wrap <- strwrap2_ctl(r.col, 35, pad.end = " ", wrap.always = TRU 287s 14/14 wrap.R: (r.wrap) 287s [1] "\033[37;48;5;23mMany more, too numerous to mention\033[0m" 287s [2] "\033[37;48;5;23mhere, have contributed by sending \033[0m" 287s [3] "\033[37;48;5;23mbug\033[49m \033[37;48;5;30mreports and suggesting various\033[0m" 287s [4] "\033[37;48;5;30mimprovements.\033[49m \033[0m" 287s [5] "\033[37m \033[0m" 287s [6] "\033[30;48;5;43mSimon Davies whilst at the \033[0m" 287s [7] "\033[30;48;5;43mUniversity of Auckland wrote the \033[0m" 287s [8] "\033[30;48;5;43moriginal\033[49m \033[30;48;5;50mversion of glm().\033[49m \033[0m" 287s [9] "\033[30m \033[0m" 287s [10] "\033[37;48;5;64mJulian Harris and Wing Kwong \033[0m" 287s [11] "\033[37;48;5;64m(Tiki) Wan whilst at the \033[0m" 287s [12] "\033[37;48;5;64mUniversity of\033[49m \033[30;48;5;70mAuckland assisted \033[0m" 287s [13] "\033[30;48;5;70mRoss Ihaka with the original \033[0m" 287s [14] "\033[30;48;5;70mMacintosh port.\033[49m \033[0m" 287s [15] "\033[30m \033[0m" 287s [16] "\033[30;48;5;84mR was inspired by the S \033[0m" 287s [17] "\033[30;48;5;84menvironment which has been \033[0m" 287s [18] "\033[30;48;5;84mprincipally\033[49m \033[37;48;5;90mdeveloped by John \033[0m" 287s [19] "\033[37;48;5;90mChambers, with substantial input \033[0m" 287s [20] "\033[37;48;5;90mfrom Douglas Bates,\033[49m \033[37;48;5;97mRick Becker, \033[0m" 287s [21] "\033[37;48;5;97mBill Cleveland, Trevor Hastie, \033[0m" 287s [22] "\033[37;48;5;97mDaryl Pregibon and\033[49m \033[37;48;5;104mAllan Wilks.\033[49m \033[0m" 287s [23] "\033[37m \033[0m" 287s [24] "\033[30;48;5;117mA special debt is owed to John \033[0m" 287s [25] "\033[30;48;5;117mChambers who has graciously \033[0m" 287s [26] "\033[30;48;5;117mcontributed\033[49m \033[37;48;5;124madvice and \033[0m" 287s [27] "\033[37;48;5;124mencouragement in the early days of\033[0m" 287s [28] "\033[37;48;5;124mR and later became a\033[49m \033[37;48;5;131mmember of the\033[0m" 287s [29] "\033[37;48;5;131mcore team.\033[49m \033[0m" 287s [30] "\033[37m \033[0m" 287s [31] "\033[30;48;5;158mThe R Foundation may decide to \033[0m" 287s [32] "\033[30;48;5;158mgive out \033[0m" 287s [33] "\033[30;48;5;158m@R-project.org\033[49m \033[0m" 287s [34] "\033[37;48;5;164memail addresses to contributors to\033[0m" 287s [35] "\033[37;48;5;164mthe R Project (even without making\033[0m" 287s [36] "\033[37;48;5;164mthem\033[49m \033[37;48;5;171mmembers of the R Foundation) \033[0m" 287s [37] "\033[37;48;5;171mwhen in the view of the R \033[0m" 287s [38] "\033[37;48;5;171mFoundation this\033[49m \033[30;48;5;178mwould help advance\033[0m" 287s [39] "\033[30;48;5;178mthe R project.\033[49m \033[0m" 287s [40] "\033[30m \033[0m" 287s [41] "\033[30;48;5;191mThe R Core Group, Roger Bivand, \033[0m" 287s [42] "\033[30;48;5;191mJennifer Bryan, Di Cook, Dirk \033[0m" 287s [43] "\033[30;48;5;191mEddelbuettel,\033[49m \033[37;48;5;198mJohn Fox, Bettina \033[0m" 287s [44] "\033[37;48;5;198mGrn, Frank Harrell, Torsten \033[0m" 287s [45] "\033[37;48;5;198mHothorn, Stefano Iacus,\033[49m \033[37;48;5;205mJulie \033[0m" 287s [46] "\033[37;48;5;205mJosse, Balasubramanian Narasimhan,\033[0m" 287s [47] "\033[37;48;5;205mMarc Schwartz, Heather Turner,\033[49m \033[0m" 287s [48] "\033[37;48;5;211mBill Venables, Hadley Wickham and \033[0m" 287s [49] "\033[37;48;5;211mAchim Zeileis are the ordinary \033[0m" 287s [50] "\033[37;48;5;211mmembers of\033[49m \033[30;48;5;218mthe R Foundation.\033[49m \033[30;48;5;225mIn \033[0m" 287s [51] "\033[30;48;5;225maddition, David Meyer and Simon \033[0m" 287s [52] "\033[30;48;5;225mWood are also e-addressable by\033[49m \033[0m" 287s [53] "\033[30;48;5;231m.@R-project.o\033[0m" 287s [54] "\033[30;48;5;231mrg.\033[49m \033[0m" 287s 14/14 wrap.R: hello.9b <- "\033[41mhello\n\nworld." 287s 14/14 wrap.R: strwrap2_ctl(hello.9b, 8, pad.end = " ") 287s [1] "\033[41mhello \033[0m" "\033[41m \033[0m" "\033[41mworld. \033[0m" 287s 14/14 wrap.R: strwrap2_ctl(hello.9b, 8, pad.end = 0) 287s [1] "\033[41mhello00\033[0m" "\033[41m0000000\033[0m" "\033[41mworld.0\033[0m" 287s 14/14 wrap.R: hello.9b <- " \033[41mhello world." 287s 14/14 wrap.R: strwrap2_ctl(hello.9b, 8, strip.spaces = FALSE) 287s [1] " \033[41mhello\033[0m" "\033[41m world.\033[0m" 287s 14/14 wrap.R: hello.9c <- "\033[41m hello world." 287s 14/14 wrap.R: ws.0 <- "hello worldza" 287s 14/14 wrap.R: ws.1 <- "hello \t worldza" 287s 14/14 wrap.R: ws.2 <- "hello \n worldza" 287s 14/14 wrap.R: strwrap2_sgr(ws.0, 7, strip.spaces = FALSE) 287s [1] "hello " " " "worldza" 287s 14/14 wrap.R: strwrap2_sgr(ws.0, 7, strip.spaces = FALSE, wrap.always = TRUE) 287s [1] "hello " " " "worldz" "a" 287s 14/14 wrap.R: strwrap2_sgr(ws.0, 6, strip.spaces = FALSE) 287s [1] "hello" " " "worldza" 287s 14/14 wrap.R: strwrap2_sgr(ws.0, 6, strip.spaces = FALSE, wrap.always = TRUE) 287s [1] "hello" " " "world" "za" 287s 14/14 wrap.R: strwrap2_sgr(ws.1, 7, strip.spaces = FALSE) 287s [1] "hello " "\t " "worldza" 287s 14/14 wrap.R: strwrap2_sgr(ws.1, 7, strip.spaces = FALSE, wrap.always = TRUE) 287s [1] "hello " "\t " "worldz" "a" 287s 14/14 wrap.R: strwrap2_sgr(ws.1, 6, strip.spaces = FALSE) 287s [1] "hello" " \t " "worldza" 287s 14/14 wrap.R: strwrap2_sgr(ws.1, 6, strip.spaces = FALSE, wrap.always = TRUE) 287s [1] "hello" " \t " "world" "za" 287s 14/14 wrap.R: strwrap2_sgr(" hello world ", 7, strip.spaces = FALSE) 287s [1] " hello" " world" " " 287s 14/14 wrap.R: strwrap2_sgr("\thello\tworld\t", 7, strip.spaces = FALSE) 287s [1] "\thello" "\tworld" "\t" 287s 14/14 wrap.R: strwrap2_sgr("\nhello\nworld\n", 7, strip.spaces = FALSE) 287s [1] "" "hello" "world" "" 287s 14/14 wrap.R: unitizer_sect("_sgr", { 287s 14/14 wrap.R: hello.9e <- c("hello\t\033[91mworld\033[m\t\033[38;2;31;42;4mworld 287s 14/14 wrap.R: strwrap_sgr(hello.9e, 12, term.cap = "256") 287s [1] "hello \033[91mworld\033[0m" 287s [2] "\033[38;2;31;42;4mworld\033[0m" 287s [3] "\033[38;2;31;42;4mboohaythere\033[0m" 287s [4] "asdfasdfasdfasdf" 287s 14/14 wrap.R: hello.9f <- "hello \033[91mworld boohaythereyowza" 287s 14/14 wrap.R: strwrap2_sgr(hello.9f, 12, prefix = "++", initial = ">>", wrap.alw 287s [1] ">>hello ~~~" "\033[91m++world ~~~\033[0m" 287s [3] "\033[91m++boohaythe\033[0m" "\033[91m++reyowza~~\033[0m" 287s 14/14 wrap.R: strwrap2_sgr(hello.9e, 12, tabs.as.spaces = TRUE, tab.stops = c(6, 287s [[1]] 287s [1] ">> hello ~" 287s [2] "\033[91m++ world\033[m " 287s [3] "++ \033[38;2;31;42;4mworld\033[0m" 287s [4] "\033[38;2;31;42;4m++ ~~~~~~~\033[0m" 287s [5] "\033[38;2;31;42;4m++ boohayth\033[0m" 287s [6] "\033[38;2;31;42;4m++ ere~~~~~\033[0m" 287s 287s [[2]] 287s [1] "++ asdfasd" "++ fasdfasd" "++ f~~~~~~~" 287s 287s 14/14 wrap.R: strwrap_sgr(hello.9e, 12, warn = FALSE, indent = 2, exdent = 1, 287s [[1]] 287s [1] ">> hello" 287s [2] "\033[91m++ world\033[0m" 287s [3] "\033[38;2;31;42;4m++ world\033[0m" 287s [4] "\033[38;2;31;42;4m++ boohaythere\033[0m" 287s 287s [[2]] 287s [1] "++ asdfasdfasdfasdf" 287s 287s 14/14 wrap.R: strwrap_sgr(hello.9e, 12, indent = 2, exdent = 1, prefix = "++", 287s [[1]] 287s [1] ">> hello" 287s [2] "\033[91m++ world\033[0m" 287s [3] "\033[38;2;31;42;4m++ world\033[0m" 287s [4] "\033[38;2;31;42;4m++ boohaythere\033[0m" 287s 287s [[2]] 287s [1] "++ asdfasdfasdfasdf" 287s 287s 14/14 wrap.R: unitizer_sect("long words", { 287s 14/14 wrap.R: hello.long <- "\033[31mhelloworld\033[mlongword" 287s 14/14 wrap.R: strwrap_ctl(hello.long, 8) 287s [1] "\033[31mhelloworld\033[mlongword" 287s 14/14 wrap.R: strwrap2_ctl(hello.long, 8, wrap.always = TRUE) 287s [1] "\033[31mhellowo\033[0m" "\033[31mrld\033[mlong" "word" 287s 14/14 wrap.R: unitizer_sect("rare escapes", { 287s 14/14 wrap.R: hello.border <- c("hello \033[51mworld woohoo\033[54m woohoo", 287s 14/14 wrap.R: strwrap_ctl(hello.border, 12) 287s [1] "hello \033[51mworld\033[0m" "\033[51mwoohoo\033[0m" 287s [3] "woohoo" "hello \033[52mworld\033[0m" 287s [5] "\033[52mwoohoo\033[0m" "woohoo" 287s [7] "hello \033[53mworld\033[0m" "\033[53mwoohoo\033[0m" 287s [9] "woohoo" 287s 14/14 wrap.R: strwrap_ctl(hello.border, 12, terminate = FALSE) 287s [1] "hello \033[51mworld" "woohoo" "\033[0mwoohoo" 287s [4] "hello \033[52mworld" "woohoo" "\033[0mwoohoo" 287s [7] "hello \033[53mworld" "woohoo" "\033[0mwoohoo" 287s 14/14 wrap.R: hello.ideogram <- c("hello \033[60mworld woohoo\033[65m woohoo", 287s 14/14 wrap.R: strwrap_ctl(hello.ideogram, 12, terminate = FALSE) 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with unknown substrings or a OSC hyperlink with unsupported parameters at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains an illegal non-ASCII byte at index [1], see `?unhandled_ctl`. 287s Calls: unitize_dir ... eval -> eval -> withVisible -> strwrap_ctl -> strwrap2_ctl 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [2], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [3], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [4], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [2], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [3], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 287s Argument `x` contains an illegal non-ASCII byte at index [1], see `?unhandled_ctl`. 287s Calls: unitize_dir ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 287s Warning in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 287s Argument `x` contains a malformed CSI or OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a malformed escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence or OSC hyperlink with invalid substrings at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s [1] "hello \033[60mworld" "woohoo" "\033[0mwoohoo" 287s [4] "hello \033[61mworld" "woohoo" "\033[0mwoohoo" 287s [7] "hello \033[62mworld" "woohoo" "\033[0mwoohoo" 287s [10] "hello \033[63mworld" "woohoo" "\033[0mwoohoo" 287s [13] "hello \033[64mworld" "woohoo" "\033[0mwoohoo" 287s 14/14 wrap.R: hello.font <- c("hello \033[10mworld woohoo\033[10m woohoo", 287s 14/14 wrap.R: strwrap_ctl(hello.font, 12, terminate = FALSE) 287s [1] "hello \033[10mworld" "woohoo" "woohoo" 287s [4] "hello \033[11mworld" "woohoo" "\033[0mwoohoo" 287s [7] "hello \033[12mworld" "woohoo" "\033[0mwoohoo" 287s [10] "hello \033[13mworld" "woohoo" "\033[0mwoohoo" 287s [13] "hello \033[14mworld" "woohoo" "\033[0mwoohoo" 287s [16] "hello \033[15mworld" "woohoo" "\033[0mwoohoo" 287s [19] "hello \033[16mworld" "woohoo" "\033[0mwoohoo" 287s [22] "hello \033[17mworld" "woohoo" "\033[0mwoohoo" 287s [25] "hello \033[18mworld" "woohoo" "\033[0mwoohoo" 287s [28] "hello \033[19mworld" "woohoo" "\033[0mwoohoo" 287s 14/14 wrap.R: unitizer_sect("term cap and bright", { 287s 14/14 wrap.R: getOption("fansi.term.cap", dflt_term_cap()) 287s [1] "bright" "256" 287s 14/14 wrap.R: hello.bright <- "\033[42mhello \033[103mworld wowza\033[49m" 287s 14/14 wrap.R: strwrap_ctl(hello.bright, 13) 287s [1] "\033[42mhello \033[103mworld\033[0m" "\033[103mwowza\033[0m" 287s 14/14 wrap.R: strwrap_ctl(hello.bright, 13, term.cap = character()) 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s [1] "\033[42mhello \033[103mworld\033[0m" "\033[103mwowza\033[0m" 287s 14/14 wrap.R: hello.255 <- "\033[42mhello \033[48;5;47mworld wowza\033[49m" 287s 14/14 wrap.R: strwrap_ctl(hello.255, 13) 287s [1] "\033[42mhello \033[48;5;47mworld\033[0m" 287s [2] "\033[48;5;47mwowza\033[0m" 287s 14/14 wrap.R: strwrap_ctl(hello.255, 13, term.cap = character()) 287s [1] "\033[42mhello \033[48;5;47mworld\033[0m" 287s [2]Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s "\033[48;5;47mwowza\033[0m" 287s 14/14 wrap.R: hello.tru <- "\033[42mhello \033[48;2;7;41;4mworld wowza\033[m" 287s 14/14 wrap.R: strwrap_ctl(hello.tru, 13, term.cap = "truecolor") 287s [1] "\033[42mhello \033[48;2;7;41;4mworld\033[0m" 287s [2] "\033[48;2;7;41;4mwowza\033[0m" 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a CSI SGR sequence with color codes not supported by terminal at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s 14/14 wrap.R: strwrap_ctl(hello.tru, 13) 287s [1] "\033[42mhello \033[48;2;7;41;4mworld\033[0m" 287s [2] "\033[48;2;7;41;4mwowza\033[0m" 287s 14/14 wrap.R: unitizer_sect("corner cases", { 287s 14/14 wrap.R: strwrap_ctl("a", -1) 287s [1] "a" 287s 14/14 wrap.R: strwrap2_ctl("a", -1) 287s [1] "a" 287s 14/14 wrap.R: strwrap2_ctl("a", Inf) 287s [1] "a" 287s 14/14 wrap.R: strwrap2_ctl("a", NA_real_) 287s Error in strwrap2_ctl("a", NA_real_) : 287s Argument `width` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap2_ctl("a", NA_integer_) 287s Error in strwrap2_ctl("a", NA_integer_) : 287s Argument `width` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap2_ctl("a", -1, wrap.always = TRUE) 287s Error in strwrap2_ctl("a", -1, wrap.always = TRUE) : 287s Width must be at least 2 in `wrap.always` mode. 287s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 287s Error in strwrap2_ctl("a", 0, wrap.always = TRUE) : 287s Width must be at least 2 in `wrap.always` mode. 287s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 287s 14/14 wrap.R: strwrap2_ctl("a", 0, wrap.always = TRUE) 287s 14/14 wrap.R: strwrap2_ctl("a", 1, wrap.always = TRUE) 287s Error in strwrap2_ctl("a", 1, wrap.always = TRUE) : 287s Width must be at least 2 in `wrap.always` mode. 287s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 287s 14/14 wrap.R: tryCatch(strwrap_ctl("hello world", 6, prefix = "\033p"), warning 287s [1] "Argument `prefix` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings." 287s 14/14 wrap.R: suppressWarnings(strwrap_ctl("hello world", 6, prefix = "\033p")) 287s [1] "\033phello" "\033pworld" 287s 14/14 wrap.R: tryCatch(strwrap2_ctl("hello world", 8, pad.end = "\t"), error = c 287s [1] "Argument `pad.end` must be an empty string or a single printable ASCII character." 287s 14/14 wrap.R: tryCatch(strwrap2_ctl("hello world", 8, pad.end = " "), error = c 287s [1] "Argument `pad.end` must be at most one byte long." 287s 14/14 wrap.R: strwrap2_ctl("goodbye moon", 8, indent = 5, prefix = "> hello >") 287s [1] "> hello > goodbye" "> hello >moon" 287s 14/14 wrap.R: strwrap2_ctl("goodbye moon", 16, indent = 5, prefix = "> hello >", 287s [1] "> hello > g" "> hello >oodbye" "> hello >moon" 287s 14/14 wrap.R: tryCatch(strwrap2_ctl("goodbye moon", 15, indent = 5, prefix = "> 287s [1] "Width error: sum of `indent` and `initial` width or sum of `exdent` and `prefix` width must be less than `width - 1` when in `wrap.always`." 287s 14/14 wrap.R: strwrap_ctl("hello world\033[31m\033A", 12) 287s [1] "hello world\033[31m\033A\033[0m" 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s 14/14 wrap.R: strwrap_ctl("hello world\033A\033[31m", 12) 287s Warning in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a non-CSI/OSC escape sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s [1] "hello world\033A" 287s 14/14 wrap.R: strwrap_ctl("hello \033[44m world", 5) 287s [1] "hello" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \033[44m world", 6) 287s [1] "hello" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \033[44m world", 5, terminate = FALSE) 287s [1] "hello" "\033[44mworld" 287s 14/14 wrap.R: strwrap_ctl("hello \033[44m world", 6, terminate = FALSE) 287s [1] "hello" "\033[44mworld" 287s 14/14 wrap.R: strwrap_ctl("hello\n\033[44m\nworld", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \n\033[44m\n world", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \n \033[44m\n world", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \n \n\033[44mworld", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \n \n\033[44m world", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \n \n\033[44m\nworld", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap_ctl("hello \033[44m\n\n world", 5) 287s [1] "hello" "" "\033[44mworld\033[0m" 287s 14/14 wrap.R: strwrap("hello \n\n world", 5) 287s [1] "hello" "" "world" 287s 14/14 wrap.R: strwrap_ctl("\033[33mAB\033[44m CD", 3) 287s [1] "\033[33mAB\033[0m" "\033[33;44mCD\033[0m" 287s 14/14 wrap.R: strwrap2_ctl("AB\033[44m\n\nCD", 3, wrap.always = TRUE) 287s [1] "AB" "" "\033[44mCD\033[0m" 287s 14/14 wrap.R: strwrap2_ctl("AB\033[44m\n\nCD", 3, wrap.always = TRUE, pad.end = 287s [1] "AB" "\033[44m##\033[0m" "\033[44mCD\033[0m" 287s 14/14 wrap.R: strwrap2_ctl("AB\033[44m\n\nCD", 3, wrap.always = TRUE, terminate 287s [1] "AB" "\033[44m" "CD" 287s 14/14 wrap.R: strwrap2_ctl("AB\033[44m CD", 4, pad.end = "#") 287s [1] "AB\033[44m#\033[0m" "\033[44mCD#\033[0m" 287s 14/14 wrap.R: strwrap2_ctl("AB\033[44m CD", 3, pad.end = "#") 287s [1] "AB" "\033[44mCD\033[0m" 287s 14/14 wrap.R: strwrap2_sgr("\033[43mAB \033[34mCD", strip.spaces = FALSE, 4) 287s [1] "\033[43mAB \033[0m" "\033[34;43mCD\033[0m" 287s 14/14 wrap.R: strwrap_ctl("\033[31m\033[43m", 5) 287s [1] "" 287s 14/14 wrap.R: strwrap2_ctl("a\033[31mb", 2, wrap.always = TRUE) 287s [1] "a" "\033[31mb\033[0m" 287s 14/14 wrap.R: strwrap_ctl("A \033[31mB\033[39m", 3) 287s [1] "A" "\033[31mB\033[0m" 287s 14/14 wrap.R: strwrap2_ctl("\033[35phello \033[35p world", 5, strip.spaces = FAL 287s Warning in strwrap2_ctl("\033[35phello \033[35p world", 5, strip.spaces = FALSE) : 287s Argument `x` contains a non-SGR CSI or a non-URL OSC sequence at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 287s [1] "\033[35phello" " \033[35p " "world" 287s 14/14 wrap.R: identical(strwrap(c(NA, "a b"), 4, prefix = ">"), strwrap_ctl(c(NA 287s [1] TRUE 287s 14/14 wrap.R: identical(strwrap("a b", 4, prefix = NA), strwrap_ctl("a b", 287s [1] TRUE 287s 14/14 wrap.R: unitizer_sect("bad inputs", { 287s 14/14 wrap.R: strwrap_ctl(1:3) 287s [1] "1" "2" "3" 287s 14/14 wrap.R: strwrap_ctl(hello2.0, width = "35") 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `width` must be numeric. 287s Calls: unitize_dir ... strwrap_ctl -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, width = NA_integer_) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `width` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, indent = NA_integer_) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `indent` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, indent = -3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `indent` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, exdent = -3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `exdent` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, exdent = 1:3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `exdent` must be a positive scalar numeric representable as integer. 287s Calls: unitize_dir ... strwrap2_ctl -> VAL_WRAP_IN_ENV -> is_scl_int_pos -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, prefix = 1:3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `prefix` must be a scalar character. 287s Calls: unitize_dir ... strwrap_ctl -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, initial = 1:3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `initial` must be a scalar character. 287s Calls: unitize_dir ... strwrap_ctl -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, warn = NULL) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `warn` must be TRUE or FALSE. 287s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, term.cap = 1:3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `term.cap` must be character. 287s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, term.cap = "bananas") 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `term.cap` may only contain values in c("all", "bright", "256", "truecolor", "old") 287s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, ctl = 1:3) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `ctl` must be character. 287s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, ctl = "bananas") 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")` 287s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, wrap.always = 1:3) 287s Error in strwrap2_ctl(hello2.0, wrap.always = 1:3) : 287s Argument `wrap.always` must be TRUE or FALSE. 287s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, wrap.always = NA) 287s Error in strwrap2_ctl(hello2.0, wrap.always = NA) : 287s Argument `wrap.always` must be TRUE or FALSE. 287s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, tabs.as.spaces = NA) 287s Error in strwrap2_ctl(hello2.0, tabs.as.spaces = NA) : 287s Argument `tabs.as.spaces` must be TRUE or FALSE. 287s Calls: unitize_dir ... eval -> withVisible -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, tabs.as.spaces = 1) 287s [1] "hello \033[31mworld \033[42m this is a lovely\033[0mday." 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, tab.stops = -(1:3)) 287s Error in strwrap2_ctl(hello2.0, tab.stops = -(1:3)) : 287s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 287s Calls: unitize_dir ... eval -> withVisible -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s Error in strwrap2_ctl(hello2.0, tab.stops = 0) : 287s Argument `tab.stops` must be numeric, strictly positive, and representable as an integer. 287s Calls: unitize_dir ... eval -> withVisible -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, tab.stops = 0) 287s Error in strwrap2_ctl(hello2.0, strip.spaces = 1:3) : 287s Argument `strip.spaces` must be TRUE or FALSE. 287s Calls: unitize_dir ... eval -> withVisible -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, strip.spaces = 1:3) 287s Error in strwrap2_ctl(hello2.0, tabs.as.spaces = TRUE, strip.spaces = TRUE) : 287s `tabs.as.spaces` and `strip.spaces` should not both be TRUE. 287s Calls: unitize_dir ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, tabs.as.spaces = TRUE, strip.spaces = TRUE) 287s Error in strwrap2_ctl(hello2.0, pad.end = letters) : 287s Argument `pad.end` must be a scalar character. 287s Calls: unitize_dir ... withVisible -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, pad.end = letters) 287s 14/14 wrap.R: bytes <- "\360\343" 287s 14/14 wrap.R: Encoding(bytes) <- "bytes" 287s 14/14 wrap.R: strwrap_ctl(hello2.0, prefix = bytes) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `prefix` cannot be "bytes" encoded. 287s Calls: unitize_dir ... strwrap_ctl -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `initial` cannot be "bytes" encoded. 287s Calls: unitize_dir ... strwrap_ctl -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap_ctl(hello2.0, initial = bytes) 287s Error in strwrap2_ctl(hello2.0, pad.end = bytes) : 287s Argument `pad.end` cannot be "bytes" encoded. 287s Calls: unitize_dir ... withVisible -> strwrap2_ctl -> VAL_WRAP_IN_ENV -> stop2 287s 14/14 wrap.R: strwrap2_ctl(hello2.0, pad.end = bytes) 287s 14/14 wrap.R: strwrap_ctl(c(hello2.0, bytes)) 287s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 287s Argument `x` contains a "bytes" encoded string at index [2], which is disallowed. 287s Calls: unitize_dir ... withVisible -> strwrap_ctl -> strwrap2_ctl -> VAL_IN_ENV -> stop2 287s 287s Warning in history_capt(history, interactive.mode) : 287s Unable to capture history in non-interactive mode. 287s Prepping Unitizers... 288s 288s | Summary of files in common directory '.': 288s | 288s | Pass Fail 288s | 1. has.R 32 - 288s | 2. interactions.R 93 - 288s | 3. misc.R 107 - 288s | 4. nchar.R 48 - 288s | 5. normalize.R 47 - 288s | 6. overflow.R 56 - 288s | 7. strip.R 99 - 288s | 8. strsplit.R 38 - 288s | 9. substr.R 219 - 288s | 10. tabs.R 16 - 288s | 11. tohtml.R 68 - 288s | 12. trimws.R 12 - 288s | 13. url.R 50 - 288s | 14. wrap.R 141 - 288s | .............................. 288s | 1026 - 288s 288s | 1026/1026 tests passed; nothing to review. 288s 289s 289s Preloads... 289s Loading unitizer data... 289s Parsing tests... 289s Parsing special/utf8.R 289s Evaluating tests... 289s 289s library(fansi) 289s unitizer_sect("substr", { 289s term.cap <- c("bright", "256", "truecolor") 289s lorem.cn.pieces <- substr(rep(lorem.cn, 5), c(1, 11, 21, 31), 289s lorem.cn.col.1 <- paste0(red, lorem.cn.pieces[1], inv, lorem.cn.pieces[2], 289s lor.cn.c.1.5 <- rep(lorem.cn.col.1, 5) 289s starts <- seq(1, 17, 4) 289s ends <- starts + 3 289s substr2_ctl(lor.cn.c.1.5, starts, ends, term.cap = term.cap) 289s [1] "\033[31m\033[0m" 289s [2] "\033[31m\033[0m" 289s [3] "\033[31m\033[7m\033[0m" 289s [4] "\033[7;31m\033[42m\033[0m" 289s [5] "\033[7;31;42m\033[4;38;2;0;120;200m\033[0m" 289s lorem.cn.col.2 <- paste0(red, lorem.cn.pieces[1], "hello", inv, 289s lor.cn.c.2.5 <- rep(lorem.cn.col.2, 5) 289s starts <- seq(1, by = 6, length.out = 5) 289s ends <- starts + 5 289s substr2_ctl(lor.cn.c.2.5, starts, ends, term.cap = term.cap) 289s [1] "\033[31m\033[0m" 289s [2] "\033[31mhe\033[0m" 289s [3] "\033[31mllo\033[7m\033[0m" 289s [4] "\033[7;31m the\033[0m" 289s [5] "\033[7;31mre \033[42m\033[4;38;2;0;120;200m\033[0m" 289s substr2_sgr(lor.cn.c.2.5, starts, ends, term.cap = term.cap) 289s [1] "\033[31m\033[0m" 289s [2] "\033[31mhe\033[0m" 289s [3] "\033[31mllo\033[7m\033[0m" 289s [4] "\033[7;31m the\033[0m" 289s [5] "\033[7;31mre \033[42m\033[4;38;2;0;120;200m\033[0m" 289s starts <- seq(1, by = 12, length.out = 5) 289s ends <- starts + 11 289s substr2_ctl(lor.cn.c.2.5, starts, ends, type = "width", term.cap = term.cap) 289s [1] "\033[31m\033[0m" 289s [2] "\033[31mhell\033[0m" 289s [3] "\033[31mo\033[7m \033[0m" 289s [4] "\033[7;31mthere \033[42m\033[4;38;2;0;120;200m\033[0m" 289s [5] "\033[4;7;38;2;0;120;200;42m\033[0m" 289s lorem.cn.col.4 <- paste0(red, lorem.cn.pieces[1], "hello", inv, 289s lor.cn.c.4.5 <- rep(lorem.cn.col.4, 5) 289s substr2_ctl(lor.cn.c.4.5, starts, ends, type = "width") 289s [1] "\033[31m\033[0m" 289s [2] "\033[31mhell\033[0m" 289s [3] "\033[31mo\033[7m \033[0m" 289s [4] "\033[7;31mthere \033[42m\033[4;38;5;141m\033[0m" 289s [5] "\033[4;7;38;5;141;42m\033[0m" 289s lorem.cn.col.3 <- paste0(red, lorem.cn.pieces[1], "helloo", inv, 289s lor.cn.c.3.5 <- rep(lorem.cn.col.3, 5) 289s starts <- seq(1, by = 12, length.out = 5) 289s ends <- starts + 10 289s ends[2] <- 24 289s substr2_ctl(lor.cn.c.3.5, starts, ends, type = "width", term.cap = term.cap) 289s [1] "\033[31m\033[0m" 289s [2] "\033[31mhell\033[0m" 289s [3] "\033[31moo\033[7m\033[0m" 289s [4] "\033[7;31m world! \033[42m\033[0m" 289s [5] "\033[4;7;38;2;0;120;200;42m\033[0m" 289s substr2_ctl(lor.cn.c.3.5, starts, ends, type = "width", round = "both", 289s [1] "\033[31m\033[0m" 289s [2] "\033[31mhell\033[0m" 289s [3] "\033[31moo\033[7m\033[0m" 289s [4] "\033[7;31m world! \033[42m\033[0m" 289s [5] "\033[4;7;38;2;0;120;200;42m\033[0m" 289s starts <- seq(1, by = 7, length.out = 5) 289s ends <- starts + 8 289s substr2_ctl(lor.cn.c.1.5, starts, ends, type = "width", term.cap = term.cap) 289s [1] "\033[31m\033[0m" 289s [2] "\033[31m\033[0m" 289s [3] "\033[31m\033[7m\033[0m" 289s [4] "\033[7;31m\033[0m" 289s [5] "\033[7;31m\033[42m\033[4;38;2;0;120;200m\033[0m" 289s substr2_ctl(lor.cn.c.1.5, starts, ends, type = "width", round = "stop", 289s [1] "\033[31m\033[0m" 289s [2] "\033[31m\033[0m" 289s [3] "\033[31m\033[7m\033[0m" 289s [4] "\033[7;31m\033[0m" 289s [5] "\033[7;31m\033[42m\033[4;38;2;0;120;200m\033[0m" 289s bytes <- "\300\261\360\261\300\261\300\261" 289s Encoding(bytes) <- "bytes" 289s tce(substr_ctl(bytes, 2, 3)) 289s [1] "Argument `x` contains a \"bytes\" encoded string at index [1], which is disallowed." 289s latin <- "H\351llo W\326rld!" 289s Encoding(latin) <- "latin1" 289s latin.utf8 <- substr_ctl(latin, 1, 9) 289s latin.utf8 289s [1] "Hllo Wr" 289s Encoding(latin.utf8) 289s [1] "UTF-8" 289s rnd.1 <- "\357\274\255n\357\274\267" 289s Encoding(rnd.1) <- "UTF-8" 289s substr2_ctl(rnd.1, 2, 4, type = "width", round = "start") 289s [1] "n" 289s substr2_ctl(rnd.1, 2, 4, type = "width", round = "stop") 289s [1] "n" 289s substr2_ctl(rnd.1, 2, 4, type = "width", round = "neither") 289s [1] "n" 289s substr2_ctl(rnd.1, 2, 4, type = "width", round = "both") 289s [1] "n" 289s rnd.2 <- "\357\274\255\357\274\267" 289s Encoding(rnd.2) <- "UTF-8" 289s substr2_ctl(rnd.2, 2, 3, type = "width", round = "start") 289s [1] "" 289s substr2_ctl(rnd.2, 2, 3, type = "width", round = "stop") 289s [1] "" 289s substr2_ctl(rnd.2, 1, 2, type = "width", round = "start") 289s [1] "" 289s substr2_ctl(rnd.2, 1, 2, type = "width", round = "stop") 289s [1] "" 289s substr2_ctl(rnd.2, 3, 4, type = "width", round = "start") 289s [1] "" 289s substr2_ctl(rnd.2, 3, 4, type = "width", round = "stop") 289s [1] "" 289s unitizer_sect("rounding", { 289s substr2_ctl(lorem.cn.col.2, 1, 2, type = "width") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 3, type = "width") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 3, type = "width") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 4, type = "width") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 3, 4, type = "width") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 2, type = "width", round = "stop") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 3, type = "width", round = "stop") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 3, type = "width", round = "stop") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 4, type = "width", round = "stop") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 3, 4, type = "width", round = "stop") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 2, type = "width", round = "both") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 3, type = "width", round = "both") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 3, type = "width", round = "both") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 4, type = "width", round = "both") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 3, 4, type = "width", round = "both") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 2, type = "width", round = "neither") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 1, 3, type = "width", round = "neither") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 3, type = "width", round = "neither") 289s [1] "" 289s substr2_ctl(lorem.cn.col.2, 2, 4, type = "width", round = "neither") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 3, 4, type = "width", round = "neither") 289s [1] "\033[31m\033[0m" 289s substr2_ctl(lorem.cn.col.2, 2, 3, type = "width", round = "neither", 289s [1] "\033[31m" 289s unitizer_sect("multi-elem", { 289s lor.cn.2.2 <- rep(lorem.cn.col.2, 2) 289s substr2_ctl(lor.cn.2.2, c(1, 3), c(2, 4), type = "width") 289s [1] "\033[31m\033[0m" "\033[31m\033[0m" 289s substr2_ctl(lor.cn.2.2, c(2, 4), c(2, 4), type = "width") 289s [1] "\033[31m\033[0m" "\033[31m\033[0m" 289s unitizer_sect("zero width combining", { 289s combo <- "hello world" 289s Encoding(combo) <- "UTF-8" 289s substr2_ctl(combo, 1, 5, type = "width") 289s [1] "hello" 289s substr2_ctl(combo, 5, 8, type = "width") 289s [1] "o wo" 289s substr2_ctl(rep(combo, 2), c(1, 5), c(5, 8), type = "width") 289s [1] "hello" "o wo" 289s nchar_ctl(combo, type = "width") 289s [1] 11 289s nchar_ctl(combo, type = "graphemes") 289s [1] 11 289s combo3 <- paste0(substr(lorem.cn.pieces[1], 1, 2), "") 289s Encoding(combo3) <- "UTF-8" 289s substr2_ctl(combo3, 3, 4, type = "width") 289s [1] "" 289s substr2_ctl(combo3, 2, 4, type = "width") 289s [1] "" 289s substr2_ctl(combo3, 4, 4, type = "width") 289s [1] "" 289s substr2_ctl(combo3, 4, 5, type = "width") 289s [1] "" 289s combo4 <- paste0("hello") 289s substr2_ctl(combo4, 1, 1, type = "width") 289s [1] "h" 289s substr2_ctl(combo4, 1, 1) 289s [1] "" 289s substr2_ctl(combo4, 0, 1, type = "width") 289s [1] "h" 289s substr2_ctl(combo4, 0, 0, type = "width") 289s [1] "" 289s unitizer_sect("Corner cases", { 289s utf8.bad <- "hello \360 world, goodnight moon" 289s Encoding(utf8.bad) <- "UTF-8" 289s substr_ctl(utf8.bad, 1, 7) 289s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 289s Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 289s Calls: unitize ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 289s substr_ctl(utf8.bad, 5, 10) 289s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 289s Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 289s Calls: unitize ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 289s tce(substr2_ctl(utf8.bad, 1, 7, type = "width")) 289s [1] "Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`." 289s tce(substr2_ctl(utf8.bad, 5, 10, type = "width")) 289s [1] "Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`." 289s chrs.2 <- "hello\356" 289s Encoding(chrs.2) <- "UTF-8" 289s tce(substr2_ctl(chrs.2, 1, 10, type = "width")) 289s [1] "Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`." 289s bad.u <- c("A\033[31;\200mB", "A\033[31;\200pB") 289s Encoding(bad.u) <- "UTF-8" 289s substr_ctl(bad.u[1], 0, 3) 289s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 289s Argument `x` contains an illegal non-ASCII byte at index [1], see `?unhandled_ctl`. 289s Calls: unitize ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 289s substr_ctl(bad.u[2], 0, 3) 289s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 289s Argument `x` contains an illegal non-ASCII byte at index [1], see `?unhandled_ctl`. 289s Calls: unitize ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 289s b.test <- c("", ("a"), ("a"), 289s identical(substr_ctl(b.test, 0, 3), substr(b.test, 0, 3)) 289s [1] TRUE 289s identical(substr_ctl(b.test, 0, 2), substr(b.test, 0, 2)) 289s [1] TRUE 289s identical(substr_ctl(b.test, 1, 2), substr(b.test, 1, 2)) 289s [1] TRUE 289s identical(substr_ctl(b.test, 0, 4), substr(b.test, 0, 4)) 289s [1] TRUE 289s identical(substr_ctl(b.test, 4, 4), substr(b.test, 4, 4)) 289s [1] TRUE 289s b.t.c <- sprintf("\033[43m%s\033[49m", b.test) 289s substr_ctl(b.t.c, 0, 0) 289s [1] "" "" "" "" 289s substr_ctl(b.t.c, 0, 2) 289s [1] "\033[43m\033[0m" "\033[43ma\033[0m" 289s [3] "\033[43m\033[0m" "\033[43ma\033[0m" 289s substr_ctl(b.t.c, 1, 2) 289s [1] "\033[43m\033[0m" "\033[43ma\033[0m" 289s [3] "\033[43m\033[0m" "\033[43ma\033[0m" 289s substr_ctl(b.t.c, 0, 4) 289s [1] "\033[43m\033[0m" "\033[43ma\033[0m" 289s [3] "\033[43ma\033[0m" "\033[43ma\033[0m" 289s substr_ctl(b.t.c, 4, 4) 289s [1] "" "" "" "" 289s substr2_ctl(b.t.c, 0, 0, type = "width") 289s [1] "" "" "" "" 289s substr2_ctl(b.t.c, 0, 2, type = "width") 289s [1] "\033[43m\033[0m" "\033[43ma\033[0m" 289s [3] "\033[43m\033[0m" "\033[43m\033[0m" 289s substr2_ctl(b.t.c, 1, 4, type = "width") 289s [1] "\033[43m\033[0m" "\033[43ma\033[0m" 289s [3] "\033[43ma\033[0m" "\033[43ma\033[0m" 289s substr2_ctl(b.t.c, 0, 5, type = "width") 289s [1] "\033[43m\033[0m" "\033[43ma\033[0m" 289s [3] "\033[43ma\033[0m" "\033[43ma\033[0m" 289s substr2_ctl(b.t.c, 5, 5, type = "width") 289s [1] "" "" "" "" 289s substr_ctl(b.t.c, 0, 4, terminate = FALSE) 289s [1] "\033[43m\033[49m" "\033[43ma\033[49m" 289s [3] "\033[43ma\033[49m" "\033[43ma\033[49m" 289s substr2_ctl(b.t.c, 1, 4, terminate = FALSE, type = "width") 289s [1] "\033[43m" "\033[43ma\033[49m" 289s [3] "\033[43ma\033[49m" "\033[43ma\033[49m" 289s unitizer_sect("nchar", { 289s chr.dia <- "A" 289s nchar_ctl(chr.dia) 289s [1] 2 289s nchar(chr.dia) 289s [1] 2 289s nchar_ctl(chr.dia, type = "width") 289s [1] 1 289s w1 <- "" 289s w2 <- "" 289s nchar_ctl(w1) 289s [1] 3 289s nchar_ctl(w2, type = "width") 289s [1] 6 289s nchar_ctl(w2, type = "graphemes") 289s [1] 3 289s nchar_ctl(w2, type = "bytes") 289s [1] 9 289s hello.illegal <- c("hello", "\360", "\360aaaa") 289s Encoding(hello.illegal) <- "UTF-8" 290s nchar_ctl(hello.illegal) 290s Error in nchar_ctl_internal(x = x, type.int = TYPE.INT, allowNA = allowNA, : 290s Argument `x` contains a malformed UTF-8 sequence at index [2], see `?unhandled_ctl`. 290s Calls: unitize ... eval -> withVisible -> nchar_ctl -> nchar_ctl_internal 290s nchar_ctl(hello.illegal, allowNA = TRUE) 290s [1] 5 NA NA 290s nzchar_ctl(hello.illegal) 290s [1] TRUE TRUE TRUE 290s esc.1 <- sprintf("hello \033[31mworld\033[m%s\033[48;5;123m blahs \033[m%s", 290s Encoding(esc.1) <- "UTF-8" 290s nchar_ctl(esc.1) 290s [1] 23 290s nchar_ctl(esc.1, type = "width") 290s [1] 28 290s nchar_ctl(esc.1, type = "bytes") 290s [1] 33 290s nzchar_ctl(esc.1) 290s [1] TRUE 290s esc.2 <- "\n\r\033P\033[31m\a" 290s nchar_ctl(c(esc.1, esc.2, "hello"), warn = FALSE) 290s [1] 23 0 5 290s esc.4 <- c(sprintf("\033[31m%shello", w1), NA, hello.illegal) 290s nchar_sgr(esc.4, type = "width", keepNA = FALSE, warn = FALSE, 290s [1] 11 2 5 NA NA 290s nzchar_sgr(esc.4, keepNA = FALSE, warn = FALSE) 290s [1] TRUE TRUE TRUE TRUE TRUE 290s nchar_sgr("\033[31m\thello", type = "width") >= nchar_ctl("\033[31m\thello", 290s [1] TRUE 290s ncb <- c("123\033[31\200m123", "123\033\200123") 290s Encoding(ncb) <- "UTF-8" 290s nchar_ctl(ncb) 290s [1] 6 6 290s unitizer_sect("unhandled", { 290s utf8.bad.0 <- "hello\033\033\033[45p \360how wor\ald" 290s Encoding(utf8.bad.0) <- "UTF-8" 290s unhandled_ctl(utf8.bad.0) 290s index start stop error translated esc 290s 1 1 6 7 malformed-ESC FALSE \033\033 290s 2 1 8 12 non-SGR/hyperlink FALSE \033[45p 290s 3 1 14 14 malformed-UTF8 FALSE 290s 4 1 22 22 C0 FALSE \a 290s utf8.bad.1 <- "hello \360ho" 290s Encoding(utf8.bad.1) <- "UTF-8" 290s unhandled_ctl(utf8.bad.1) 290s index start stop error translated esc 290s 1 1 7 7 malformed-UTF8 FALSE 290s unitizer_sect("utf8clen", { 290s chrs <- c("\302\200", "\337\277", "\340\240\200", "\340\277\277", 290s Encoding(chrs) <- "UTF-8" 290s nchar(chrs, allowNA = TRUE) 290s [1] 1 1 1 1 1 1 1 1 1 1 1 1 NA NA NA NA 290s nchar_ctl(chrs, allowNA = TRUE) 290s [1] 1 1 1 1 1 1 1 1 1 1 1 1 NA NA NA NA 290s utf8.bad.2 <- "\277aaaaaa" 290s Encoding(utf8.bad.2) <- "UTF-8" 290s nchar(utf8.bad.2, allowNA = TRUE) 290s [1] NA 290s nchar_ctl(utf8.bad.2, allowNA = TRUE) 290s [1] NA 290s substr_ctl(utf8.bad.2, 1, 1) 290s Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 290s Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 290s Calls: unitize ... withVisible -> substr_ctl -> substr2_ctl -> substr_ctl_internal 290s unitizer_sect("wrap corner cases", { 290s pre.2 <- "\033[32m\320\237 \033[0m" 290s ini.2 <- "\033[33m\321\200 \033[0m" 290s hello.8c <- "hello \320\237\321\200\320\270\320\262\320\265\321\202 world" 290s Encoding(pre.2) <- "UTF-8" 290s Encoding(ini.2) <- "UTF-8" 290s Encoding(hello.8c) <- "UTF-8" 290s pre.3 <- "\320\237 " 290s ini.3 <- "\321\200 " 290s Encoding(pre.3) <- "UTF-8" 290s Encoding(ini.3) <- "UTF-8" 290s wrap.csi.4 <- strwrap_ctl(hello.8c, 15, prefix = pre.2, initial = ini.2) 290s wrap.csi.4 290s [1] "\033[33m \033[0mhello " 290s [2] "\033[32m \033[0mworld" 290s utf8.chr <- "" 290s strwrap2_ctl(utf8.chr, 1, wrap.always = TRUE) 290s Error in strwrap2_ctl(utf8.chr, 1, wrap.always = TRUE) : 290s Width must be at least 2 in `wrap.always` mode. 290s Calls: unitize ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 290s strwrap2_ctl(utf8.chr, 2, wrap.always = TRUE) 290s Error in strwrap2_ctl(utf8.chr, 2, wrap.always = TRUE) : 290s Wrap error: trying to wrap to width narrower than character width; set `wrap.always=FALSE` to resolve. 290s Calls: unitize ... withCallingHandlers -> eval -> eval -> withVisible -> strwrap2_ctl 290s strwrap2_ctl(utf8.chr, 3, wrap.always = TRUE) 290s [1] "" 290s strwrap_ctl("lovelyday.", 10) 290s [1] "lovelyday." 290s strwrap2_ctl("lovelyday.", 10, wrap.always = TRUE) 290s [1] "lovelyday" "." 290s utf8.bad <- "hello \360 world, goodnight moon" 290s Encoding(utf8.bad) <- "UTF-8" 290s strwrap_ctl(utf8.bad, 10) 290s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 290s Argument `x` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 290s Calls: unitize ... eval -> eval -> withVisible -> strwrap_ctl -> strwrap2_ctl 290s utf8.bad.2 <- "\360" 290s Encoding(utf8.bad.2) <- "UTF-8" 290s tcw(strwrap_ctl("hello world", 6, prefix = utf8.bad.2)) 290s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 290s Argument `prefix` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 290s Calls: unitize ... tryCatchOne -> doTryCatch -> strwrap_ctl -> strwrap2_ctl 290s suppressWarnings(strwrap_ctl("hello world", 6, prefix = utf8.bad.2)) 290s Error in strwrap2_ctl(x = x, width = width, indent = indent, exdent = exdent, : 290s Argument `prefix` contains a malformed UTF-8 sequence at index [1], see `?unhandled_ctl`. 290s Calls: unitize ... doWithOneRestart -> withCallingHandlers -> eval -> eval -> withVisible 290s bytes <- "\300\261\360\261\300\261\300\261" 290s Encoding(bytes) <- "bytes" 290s tce(strwrap_ctl(bytes)) 290s [1] "Argument `x` contains a \"bytes\" encoded string at index [1], which is disallowed." 290s encstrings <- c("hell world", "hello wrld") 290s Encoding(strwrap_ctl(encstrings, 5)) 290s [1] "UTF-8" "unknown" "unknown" "UTF-8" 290s str.inf <- " " 290s strwrap2_ctl(str.inf, 2) 290s [1] "" "" 290s unitizer_sect("wrap with wide UTF8 and ESC", { 290s wrap.mix <- strwrap_ctl(lorem.mix, 25) 290s wrap.mix 290s [1] "lorem ipsum dolor" 290s [2] "\033[32m \033[0m" 290s [3] "\033[1;7;32msit amet consectetur\033[0m" 290s [4] "\033[1;7;32madipiscing elit sed do\033[0m" 290s [5] "" 290s [6] "\033[1;7;38;5;105meiusmod tempor\033[0m" 290s [7] "\033[1;7;38;5;105mincididunt ut labore et\033[0m" 290s [8] "\033[1;7;38;5;105mdolore magna aliqua ut\033[0m" 290s [9] "" 290s [10] " " 290s [11] "\033[34;43menim ad minim veniam\033[0m" 290s [12] "\033[34;43mquis\033[49mnostrud exercitation\033[0m" 290s [13] "\033[34mullamco laboris nisi\033[0m" 290s [14] "\033[4m \033[0m" 290s [15] "" 290s [16] "\033[4m \033[0m" 290s [17] "\033[4mut aliquip ex ea commodo\033[0m" 290s [18] "\033[4mconsequat\033[0m" 290s string <- "\033[37;48;5;32m\345\234\213\345\256\230\346\226\271\350\252\215\345\ 290s Encoding(string) <- "UTF-8" 290s strwrap2_ctl(string, 24, wrap.always = TRUE, pad.end = " ") 290s [1] "\033[37;48;5;32m56 \033[0m" 290s [2] "\033[37;48;5;32m\033[39;49m " 290s unitizer_sect("issue 54 ctd", { 290s string3 <- c("\033[38;5;246m# \342\200\246 with 5 more variables: total_time \03 290s Encoding(string3) <- "UTF-8" 290s fansi::sgr_to_html(html_esc(string3)) 290s [1] "# with 5 more variables: total_time <bch:tm>, result <list>, memory <list>," 290s [2] "# time <list>, gc <list>" 290s string4 <- c("wow \033[31m then", "hello\033[\200;wow", "yo \033[m there", 290s Encoding(string4) <- "UTF-8" 290s Error in to_html_int(x = x, warn = warn, term.cap = term.cap, classes = classes, : 290s Argument `x` contains an illegal non-ASCII byte at index [2], see `?unhandled_ctl`. 290s Calls: unitize ... eval -> eval -> withVisible -> sgr_to_html -> to_html_int 290s sgr_to_html(string4) 290s unitizer_sect("html_esc", { 290s x <- "" 290s html_esc(c("h&e'l\"lo", "wors", NA, ""), x) 290s Error in html_esc(c("h&e'l\"lo", "wors", NA, ""), x) : 290s Argument `what` may only contain ASCII characters "&", "<", ">", "'", or "\"". 290s Calls: unitize ... withCallingHandlers -> eval -> eval -> withVisible -> html_esc 290s 290s Prepping Unitizers... 290s Warning in history_capt(history, interactive.mode) : 290s Unable to capture history in non-interactive mode. 290s 290s | 125/125 tests passed; nothing to review. 290s 290s 290s Preloads... 290s Loading unitizer data... 290s Parsing tests... 290s Parsing special/emo-graph.R 290s Evaluating tests... 290s 290s library(fansi) 290s unitizer_sect("Emoji combining", { 290s flags <- " \033[0m" 290s [2] "\033[44m \033[0m" 290s [3] "\033[44m \033[0m" 290s strwrap2_ctl(flags, 7, wrap.always = TRUE, pad.end = " ", carry = "\033[44m") 290s [1] "\033[44m\033[0m" 290s [2] "\033[44m\033[0m" 290s flags.1 <- paste0("a", flags) 290s strwrap2_ctl(flags.1, 7, wrap.always = TRUE, pad.end = " ", carry = "\033[44m") 290s [1] "\033[44ma \033[0m" 290s [2] "\033[44m\033[0m" 290s [3] "\033[44m \033[0m" 290s substr2_ctl(flags, 1, 1, type = "width") 290s [1] "" 290s substr2_ctl(flags, 1, 1, type = "width", round = "stop") 290s [1] "" 290s substr2_ctl(flags, 1, 2, type = "width", round = "neither") 290s [1] "" 290s substr2_ctl(flags, 2, 3, type = "width", round = "stop") 290s [1] "" 290s substr2_ctl(flags, 2, 3, type = "width", round = "start") 290s [1] "" 290s substr2_ctl(flags, 2, 3, type = "width", round = "both") 290s [1] "" 290s substr2_ctl(flags, 2, 3, type = "width", round = "neither") 290s [1] "" 290s emo.0 <- "_B" 290s emo.2 <- "" 290s emo.2a <- paste0("_", emo.2, "^", emo.2) 290s nchar_ctl(c(emo.0, emo.1, emo.2), type = "width") 290s [1] 6 6 2 290s nchar_ctl(c(emo.0, emo.1, emo.2), type = "graphemes") 290s [1] 3 5 1 290s substr2_ctl(emo.0, 1, 1, type = "width") 290s [1] "" 290s substr2_ctl(emo.0, 1, 1, type = "width", round = "stop") 290s [1] "" 290s substr2_ctl(emo.0, 1, 2, type = "width", round = "stop") 290s [1] "" 290s substr2_ctl(emo.0, 2, 3, type = "width", round = "stop") 290s [1] "" 290s substr2_ctl(emo.0, 2, 3, type = "width", round = "start") 290s [1] "" 290s substr2_ctl(emo.0, 2, 3, type = "width", round = "both") 290s [1] "" 290s substr2_ctl(emo.0, 2, 3, type = "width", round = "neither") 290s [1] "" 290s substr2_ctl(emo.1, 1, 3, type = "width") 290s [1] "A_" 290s substr2_ctl(emo.1, 1, 3, type = "width", round = "stop") 290s [1] "A_" 290s substr2_ctl(emo.1, 3, 5, type = "width") 290s [1] "_" 290s substr2_ctl(emo.1, 4, 5, type = "width") 290s [1] "_" 290s emo.3 <- "" 290s emo.4 <- " \033[0m" 290s [4] "\033[44m \033[0m" 290s [5] "\033[44mthere was\033[0m" 290s [6] "\033[44ma humpty \033[0m" 290s [7] "\033[44m \033[0m" 290s [8] "\033[44m \033[0m" 290s [9] "\033[44mdumpty \033[0m" 290s [10] "\033[44mA__B on\033[0m" 290s [11] "\033[44mthe wall \033[0m" 290s [12] "\033[44mand he \033[0m" 290s [13] "\033[44mhad a \033[0m" 290s [14] "\033[44m big \033[0m" 290s [15] "\033[44mfall \033[0m" 290s [16] "\033[44moh no \033[0m" 290s [17] "\033[44monce upon\033[0m" 290s [18] "\033[44ma time \033[0m" 290s [19] "\033[44m \033[0m" 290s [20] "\033[44m \033[0m" 290s [21] "\033[44mthere was\033[0m" 290s [22] "\033[44ma humpty \033[0m" 290s [23] "\033[44m \033[0m" 290s [24] "\033[44m \033[0m" 290s [25] "\033[44mdumpty \033[0m" 290s [26] "\033[44mA__B on\033[0m" 290s [27] "\033[44mthe wall \033[0m" 290s [28] "\033[44mand he \033[0m" 290s [29] "\033[44mhad a \033[0m" 290s [30] "\033[44m big \033[0m" 290s [31] "\033[44mfall \033[0m" 290s [32] "\033[44moh no \033[0m" 290s emo.6 <- c(emo.0, emo.2a, emo.4) 290s substr2_ctl(emo.6, 1, 2, type = "graphemes") 290s [1] "" 290s [2] "_" 290s [3] "" 290s substr2_ctl(emo.6, 1, 3, type = "graphemes") 290s [1] "" 290s [2] "_^" 290s [3] "" 290s substr2_ctl(emo.6, 2, 3, type = "graphemes") 290s [1] "" 290s [2] "^" 290s [3] "" 290s substr2_ctl(emo.6, 3, 3, type = "graphemes") 290s [1] "" "^" "" 290s emo.5 <- "\360\237\221\266\033[43m\360\237\217\275###\033[m" 290s Encoding(emo.5) <- "UTF-8" 290s substr2_ctl(emo.5, 1, 2, type = "width") 290s [1] "\033[43m\033[0m" 290s substr2_ctl(emo.5, 2, 3, type = "width") 290s [1] "\033[43m#\033[0m" 290s nchar_ctl(emo.5, type = "width") 290s [1] 5 290s nchar_ctl(emo.5, type = "grapheme") 290s [1] 4 290s emo.0.1 <- paste0("\033[33m", substr2_ctl(emo.0, 1, 1, type = "graphemes"), 290s substr2_ctl(emo.0.1, 2, 2, type = "width") 290s [1] "\033[33m\033[0m" 290s substr2_ctl(emo.0.1, 2, 2, type = "width", terminate = FALSE) 290s [1] "\033[33m" 290s substr2_ctl(emo.0.1, 1, 1, type = "width", round = "stop") 290s [1] "\033[33m\033[0m" 290s substr2_ctl(emo.0.1, 1, 3, type = "width") 290s [1] "\033[33m\033[0m" 291s substr2_ctl(emo.0.1, 1, 3, type = "width", terminate = FALSE) 291s [1] "\033[33m\033[45m" 291s substr2_ctl(emo.0.1, 1, 3, type = "width", round = "stop") 291s [1] "\033[33m\033[0m" 291s emo.0.2 <- paste0(emo.0.1, "\a") 291s substr2_ctl(emo.0.2, 1, 3, type = "width", round = "start") 291s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 291s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 291s [1] "\033[33m\033[45m\a\033[0m" 291s emo.0.3 <- paste0(emo.0.1, "\a\033]8;;x.yz\033\\") 291s substr2_ctl(emo.0.3, 1, 3, type = "width", round = "start") 291s [1] "\033[33m\033[45m\a\033[0m" 291s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 291s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 291s emo.0.4 <- paste0("\033]8;;x.yz\033\\", substr2_ctl(emo.0, 1, 291s substr2_ctl(emo.0.4, 1, 3, type = "width") 291s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 291s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 291s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 291s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 291s [1] "\033]8;;x.yz\033\\\033]8;;w.ww\033\\\a\033]8;;\033\\" 291s substr2_ctl(emo.0.4, 1, 3, type = "width", terminate = FALSE) 291s [1] "\033]8;;x.yz\033\\\033]8;;w.ww\033\\\a\033[42m" 291s substr2_ctl(emo.0.4, 1, 2, type = "width", terminate = FALSE) 291s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 291s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 291s [1] "\033]8;;x.yz\033\\" 291s Warning in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT, : 291s Argument `x` contains a C0 control character at index [1], see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings. 291s substr2_ctl(emo.0.4, 1, 2, type = "width") 291s [1] "\033]8;;x.yz\033\\\033]8;;\033\\" 291s unitizer_sect("replacement and width", { 291s `substr2_ctl<-`(emo.1, 3, 4, value = emo.0) 291s [1] "A__B" 291s `substr2_ctl<-`(emo.1, 3, 4, value = emo.0, type = "width") 291s [1] "A__B" 291s `substr2_ctl<-`(emo.1, 4, 4, value = emo.0, type = "width") 291s [1] "A__B" 291s `substr2_ctl<-`(emo.1, 4, 4, value = emo.0, type = "width", round = "stop") 291s [1] "A__B" 291s `substr2_ctl<-`(emo.1, 4, 4, value = emo.0, type = "width", round = "neither") 291s [1] "A__B" 291s `substr2_ctl<-`(emo.1, 4, 4, value = "#", type = "width") 291s [1] "A_#_B" 291s `substr2_ctl<-`(emo.1, 4, 5, value = emo.0, type = "width") 291s [1] "A__B" 291s x <- "ABCDEF" 291s `substr2_ctl<-`(x, 2, 4, value = emo.0, type = "width") 291s [1] "ADEF" 291s `substr2_ctl<-`(x, 2, 4, value = emo.0, type = "width", round = "stop") 291s [1] "ADEF" 291s `substr2_ctl<-`(x, 2, 5, value = emo.0, type = "width") 291s [1] "AF" 291s `substr2_ctl<-`(emo.1, 3, 4, value = emo.0, type = "width", round = "both") 291s [1] "A__B" 291s `substr2_ctl<-`(emo.1, 4, 4, value = emo.0, type = "width", round = "both") 291s [1] "A__B" 291s a <- c(rep(emo.1, 4), rep(x, 2)) 291s b <- c(emo.0, "#", rep(emo.0, 4)) 291s starts <- c(3, 4, 4, 4, 2, 2) 291s stops <- c(4, 4, 4, 5, 4, 5) 291s x <- a 291s substr2_ctl(x, starts, stops, type = "width") <- b 291s x 291s [1] "A__B" 291s [2] "A_#_B" 291s [3] "A__B" 291s [4] "A__B" 291s [5] "ADEF" 291s [6] "AF" 291s starts <- c(3, 4, 2, 3, 4, 2) 291s ends <- c(8, 9, 7, 7, 8, 6) 291s emo.3 <- rep(paste0("", 291s emo.4 <- "" 291s [2] "" 291s [3] "" 291s [4] "" 291s [5] "" 291s [6] "" 291s substr2_ctl(x1, starts, ends, type = "width", round = "stop") <- emo.4 291s x1 291s [1] "" 291s [2] "" 291s [3] "" 291s [4] "" 291s [5] "" 291s [6] "" 291s emo.7 <- "_" 291s emo.7a <- "" 291s `substr2_ctl<-`(emo.7, 3, 3, type = "width", round = "stop", 291s [1] "_" 291s `substr2_ctl<-`(emo.7, 3, 3, type = "width", round = "stop", 291s [1] "#" 291s `substr2_ctl<-`(emo.7a, 2, 1, type = "width", round = "both", 291s [1] "" 291s 291s Prepping Unitizers... 291s Warning in history_capt(history, interactive.mode) : 291s Unable to capture history in non-interactive mode. 291s 291s | 68/68 tests passed; nothing to review. 291s 291s > 291s autopkgtest [22:12:13]: test run-unit-test: -----------------------] 292s run-unit-test PASS 292s autopkgtest [22:12:14]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 292s autopkgtest [22:12:14]: test pkg-r-autopkgtest: preparing testbed 292s Reading package lists... 293s Building dependency tree... 293s Reading state information... 293s Starting pkgProblemResolver with broken count: 0 293s Starting 2 pkgProblemResolver with broken count: 0 293s Done 293s The following NEW packages will be installed: 293s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu 293s dctrl-tools g++ g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc 293s gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gfortran gfortran-14 293s gfortran-14-x86-64-linux-gnu gfortran-x86-64-linux-gnu icu-devtools libasan8 293s libblas-dev libbz2-dev libcc1-0 libdeflate-dev libgcc-14-dev 293s libgfortran-14-dev libhwasan0 libicu-dev libisl23 libitm1 libjpeg-dev 293s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 liblzma-dev libmpc3 293s libncurses-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 293s libpkgconf3 libpng-dev libquadmath0 libreadline-dev libstdc++-14-dev 293s libtirpc-dev libtsan2 libubsan1 pkg-r-autopkgtest pkgconf pkgconf-bin 293s r-base-dev zlib1g-dev 294s 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. 294s Need to get 103 MB of archives. 294s After this operation, 363 MB of additional disk space will be used. 294s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 294s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 294s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [11.9 MB] 294s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-17ubuntu3 [1030 B] 294s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 294s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 294s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 15-20250222-0ubuntu1 [47.0 kB] 294s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 15-20250222-0ubuntu1 [28.6 kB] 294s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 15-20250222-0ubuntu1 [3055 kB] 294s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 15-20250222-0ubuntu1 [1355 kB] 294s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 15-20250222-0ubuntu1 [2756 kB] 295s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 15-20250222-0ubuntu1 [1205 kB] 295s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 15-20250222-0ubuntu1 [1677 kB] 295s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 15-20250222-0ubuntu1 [152 kB] 295s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-17ubuntu3 [2816 kB] 295s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [23.3 MB] 295s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-17ubuntu3 [536 kB] 295s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 295s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 295s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-17ubuntu3 [2486 kB] 295s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [13.4 MB] 296s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-17ubuntu3 [21.8 kB] 296s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 296s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 296s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 296s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 dctrl-tools amd64 2.24-3build3 [106 kB] 296s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran-14-dev amd64 14.2.0-17ubuntu3 [966 kB] 296s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [12.6 MB] 296s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-14 amd64 14.2.0-17ubuntu3 [13.6 kB] 296s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1022 B] 296s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran amd64 4:14.2.0-1ubuntu1 [1174 B] 296s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 icu-devtools amd64 76.1-1ubuntu2 [237 kB] 296s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas-dev amd64 3.12.1-2 [338 kB] 296s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libbz2-dev amd64 1.0.8-6 [33.8 kB] 296s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate-dev amd64 1.23-1 [71.7 kB] 296s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libicu-dev amd64 76.1-1ubuntu2 [12.6 MB] 296s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8-dev amd64 2.1.5-3ubuntu2 [324 kB] 296s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8-dev amd64 8c-2ubuntu11 [1484 B] 296s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-dev amd64 8c-2ubuntu11 [1482 B] 296s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack-dev amd64 3.12.1-2 [6489 kB] 296s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libncurses-dev amd64 6.5+20250216-2 [424 kB] 296s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 296s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.45-1 [251 kB] 296s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.45-1 [7204 B] 296s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.45-1 [908 kB] 297s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 297s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 297s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libpng-dev amd64 1.6.47-1 [298 kB] 297s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libreadline-dev amd64 8.2-6 [184 kB] 297s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 liblzma-dev amd64 5.6.4-1 [189 kB] 297s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 297s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 297s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libtirpc-dev amd64 1.3.4+ds-1.3 [193 kB] 297s Get:54 http://ftpmaster.internal/ubuntu plucky/universe amd64 r-base-dev all 4.4.3-1 [4176 B] 297s Get:55 http://ftpmaster.internal/ubuntu plucky/universe amd64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 297s Fetched 103 MB in 3s (32.2 MB/s) 297s Selecting previously unselected package libisl23:amd64. 297s (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 ... 90834 files and directories currently installed.) 297s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 297s Unpacking libisl23:amd64 (0.27-1) ... 297s Selecting previously unselected package libmpc3:amd64. 297s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 297s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 297s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 297s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package cpp-14. 297s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_amd64.deb ... 297s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 297s Selecting previously unselected package cpp-x86-64-linux-gnu. 297s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 297s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 297s Selecting previously unselected package cpp. 297s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 297s Unpacking cpp (4:14.2.0-1ubuntu1) ... 297s Selecting previously unselected package libcc1-0:amd64. 297s Preparing to unpack .../06-libcc1-0_15-20250222-0ubuntu1_amd64.deb ... 297s Unpacking libcc1-0:amd64 (15-20250222-0ubuntu1) ... 297s Selecting previously unselected package libitm1:amd64. 297s Preparing to unpack .../07-libitm1_15-20250222-0ubuntu1_amd64.deb ... 297s Unpacking libitm1:amd64 (15-20250222-0ubuntu1) ... 297s Selecting previously unselected package libasan8:amd64. 297s Preparing to unpack .../08-libasan8_15-20250222-0ubuntu1_amd64.deb ... 297s Unpacking libasan8:amd64 (15-20250222-0ubuntu1) ... 298s Selecting previously unselected package liblsan0:amd64. 298s Preparing to unpack .../09-liblsan0_15-20250222-0ubuntu1_amd64.deb ... 298s Unpacking liblsan0:amd64 (15-20250222-0ubuntu1) ... 298s Selecting previously unselected package libtsan2:amd64. 298s Preparing to unpack .../10-libtsan2_15-20250222-0ubuntu1_amd64.deb ... 298s Unpacking libtsan2:amd64 (15-20250222-0ubuntu1) ... 298s Selecting previously unselected package libubsan1:amd64. 298s Preparing to unpack .../11-libubsan1_15-20250222-0ubuntu1_amd64.deb ... 298s Unpacking libubsan1:amd64 (15-20250222-0ubuntu1) ... 298s Selecting previously unselected package libhwasan0:amd64. 298s Preparing to unpack .../12-libhwasan0_15-20250222-0ubuntu1_amd64.deb ... 298s Unpacking libhwasan0:amd64 (15-20250222-0ubuntu1) ... 298s Selecting previously unselected package libquadmath0:amd64. 298s Preparing to unpack .../13-libquadmath0_15-20250222-0ubuntu1_amd64.deb ... 298s Unpacking libquadmath0:amd64 (15-20250222-0ubuntu1) ... 298s Selecting previously unselected package libgcc-14-dev:amd64. 298s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_amd64.deb ... 298s Unpacking libgcc-14-dev:amd64 (14.2.0-17ubuntu3) ... 298s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 298s Preparing to unpack .../15-gcc-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 298s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 298s Selecting previously unselected package gcc-14. 298s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_amd64.deb ... 298s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 298s Selecting previously unselected package gcc-x86-64-linux-gnu. 298s Preparing to unpack .../17-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 298s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 298s Selecting previously unselected package gcc. 298s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 298s Unpacking gcc (4:14.2.0-1ubuntu1) ... 298s Selecting previously unselected package libstdc++-14-dev:amd64. 298s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_amd64.deb ... 298s Unpacking libstdc++-14-dev:amd64 (14.2.0-17ubuntu3) ... 299s Selecting previously unselected package g++-14-x86-64-linux-gnu. 299s Preparing to unpack .../20-g++-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 299s Unpacking g++-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 299s Selecting previously unselected package g++-14. 299s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_amd64.deb ... 299s Unpacking g++-14 (14.2.0-17ubuntu3) ... 299s Selecting previously unselected package g++-x86-64-linux-gnu. 299s Preparing to unpack .../22-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 299s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 299s Selecting previously unselected package g++. 299s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 299s Unpacking g++ (4:14.2.0-1ubuntu1) ... 299s Selecting previously unselected package build-essential. 299s Preparing to unpack .../24-build-essential_12.10ubuntu1_amd64.deb ... 299s Unpacking build-essential (12.10ubuntu1) ... 299s Selecting previously unselected package dctrl-tools. 299s Preparing to unpack .../25-dctrl-tools_2.24-3build3_amd64.deb ... 299s Unpacking dctrl-tools (2.24-3build3) ... 299s Selecting previously unselected package libgfortran-14-dev:amd64. 299s Preparing to unpack .../26-libgfortran-14-dev_14.2.0-17ubuntu3_amd64.deb ... 299s Unpacking libgfortran-14-dev:amd64 (14.2.0-17ubuntu3) ... 299s Selecting previously unselected package gfortran-14-x86-64-linux-gnu. 299s Preparing to unpack .../27-gfortran-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 299s Unpacking gfortran-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 299s Selecting previously unselected package gfortran-14. 299s Preparing to unpack .../28-gfortran-14_14.2.0-17ubuntu3_amd64.deb ... 299s Unpacking gfortran-14 (14.2.0-17ubuntu3) ... 299s Selecting previously unselected package gfortran-x86-64-linux-gnu. 299s Preparing to unpack .../29-gfortran-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 299s Unpacking gfortran-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 299s Selecting previously unselected package gfortran. 299s Preparing to unpack .../30-gfortran_4%3a14.2.0-1ubuntu1_amd64.deb ... 299s Unpacking gfortran (4:14.2.0-1ubuntu1) ... 299s Selecting previously unselected package icu-devtools. 299s Preparing to unpack .../31-icu-devtools_76.1-1ubuntu2_amd64.deb ... 299s Unpacking icu-devtools (76.1-1ubuntu2) ... 299s Selecting previously unselected package libblas-dev:amd64. 299s Preparing to unpack .../32-libblas-dev_3.12.1-2_amd64.deb ... 299s Unpacking libblas-dev:amd64 (3.12.1-2) ... 299s Selecting previously unselected package libbz2-dev:amd64. 299s Preparing to unpack .../33-libbz2-dev_1.0.8-6_amd64.deb ... 299s Unpacking libbz2-dev:amd64 (1.0.8-6) ... 299s Selecting previously unselected package libdeflate-dev:amd64. 299s Preparing to unpack .../34-libdeflate-dev_1.23-1_amd64.deb ... 299s Unpacking libdeflate-dev:amd64 (1.23-1) ... 299s Selecting previously unselected package libicu-dev:amd64. 299s Preparing to unpack .../35-libicu-dev_76.1-1ubuntu2_amd64.deb ... 299s Unpacking libicu-dev:amd64 (76.1-1ubuntu2) ... 300s Selecting previously unselected package libjpeg-turbo8-dev:amd64. 300s Preparing to unpack .../36-libjpeg-turbo8-dev_2.1.5-3ubuntu2_amd64.deb ... 300s Unpacking libjpeg-turbo8-dev:amd64 (2.1.5-3ubuntu2) ... 300s Selecting previously unselected package libjpeg8-dev:amd64. 300s Preparing to unpack .../37-libjpeg8-dev_8c-2ubuntu11_amd64.deb ... 300s Unpacking libjpeg8-dev:amd64 (8c-2ubuntu11) ... 300s Selecting previously unselected package libjpeg-dev:amd64. 300s Preparing to unpack .../38-libjpeg-dev_8c-2ubuntu11_amd64.deb ... 300s Unpacking libjpeg-dev:amd64 (8c-2ubuntu11) ... 300s Selecting previously unselected package liblapack-dev:amd64. 300s Preparing to unpack .../39-liblapack-dev_3.12.1-2_amd64.deb ... 300s Unpacking liblapack-dev:amd64 (3.12.1-2) ... 300s Selecting previously unselected package libncurses-dev:amd64. 300s Preparing to unpack .../40-libncurses-dev_6.5+20250216-2_amd64.deb ... 300s Unpacking libncurses-dev:amd64 (6.5+20250216-2) ... 300s Selecting previously unselected package libpcre2-16-0:amd64. 300s Preparing to unpack .../41-libpcre2-16-0_10.45-1_amd64.deb ... 300s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 300s Selecting previously unselected package libpcre2-32-0:amd64. 300s Preparing to unpack .../42-libpcre2-32-0_10.45-1_amd64.deb ... 300s Unpacking libpcre2-32-0:amd64 (10.45-1) ... 300s Selecting previously unselected package libpcre2-posix3:amd64. 300s Preparing to unpack .../43-libpcre2-posix3_10.45-1_amd64.deb ... 300s Unpacking libpcre2-posix3:amd64 (10.45-1) ... 300s Selecting previously unselected package libpcre2-dev:amd64. 300s Preparing to unpack .../44-libpcre2-dev_10.45-1_amd64.deb ... 300s Unpacking libpcre2-dev:amd64 (10.45-1) ... 300s Selecting previously unselected package libpkgconf3:amd64. 300s Preparing to unpack .../45-libpkgconf3_1.8.1-4_amd64.deb ... 300s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 300s Selecting previously unselected package zlib1g-dev:amd64. 300s Preparing to unpack .../46-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 300s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 300s Selecting previously unselected package libpng-dev:amd64. 300s Preparing to unpack .../47-libpng-dev_1.6.47-1_amd64.deb ... 300s Unpacking libpng-dev:amd64 (1.6.47-1) ... 300s Selecting previously unselected package libreadline-dev:amd64. 300s Preparing to unpack .../48-libreadline-dev_8.2-6_amd64.deb ... 300s Unpacking libreadline-dev:amd64 (8.2-6) ... 300s Selecting previously unselected package liblzma-dev:amd64. 300s Preparing to unpack .../49-liblzma-dev_5.6.4-1_amd64.deb ... 300s Unpacking liblzma-dev:amd64 (5.6.4-1) ... 300s Selecting previously unselected package pkgconf-bin. 300s Preparing to unpack .../50-pkgconf-bin_1.8.1-4_amd64.deb ... 300s Unpacking pkgconf-bin (1.8.1-4) ... 300s Selecting previously unselected package pkgconf:amd64. 300s Preparing to unpack .../51-pkgconf_1.8.1-4_amd64.deb ... 300s Unpacking pkgconf:amd64 (1.8.1-4) ... 300s Selecting previously unselected package libtirpc-dev:amd64. 300s Preparing to unpack .../52-libtirpc-dev_1.3.4+ds-1.3_amd64.deb ... 300s Unpacking libtirpc-dev:amd64 (1.3.4+ds-1.3) ... 300s Selecting previously unselected package r-base-dev. 300s Preparing to unpack .../53-r-base-dev_4.4.3-1_all.deb ... 301s Unpacking r-base-dev (4.4.3-1) ... 301s Selecting previously unselected package pkg-r-autopkgtest. 301s Preparing to unpack .../54-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 301s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 301s Setting up libjpeg-turbo8-dev:amd64 (2.1.5-3ubuntu2) ... 301s Setting up libncurses-dev:amd64 (6.5+20250216-2) ... 301s Setting up libreadline-dev:amd64 (8.2-6) ... 301s Setting up libpcre2-16-0:amd64 (10.45-1) ... 301s Setting up libpcre2-32-0:amd64 (10.45-1) ... 301s Setting up libtirpc-dev:amd64 (1.3.4+ds-1.3) ... 301s Setting up libpkgconf3:amd64 (1.8.1-4) ... 301s Setting up libquadmath0:amd64 (15-20250222-0ubuntu1) ... 301s Setting up libmpc3:amd64 (1.3.1-1build2) ... 301s Setting up icu-devtools (76.1-1ubuntu2) ... 301s Setting up pkgconf-bin (1.8.1-4) ... 301s Setting up liblzma-dev:amd64 (5.6.4-1) ... 301s Setting up libubsan1:amd64 (15-20250222-0ubuntu1) ... 301s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 301s Setting up libpcre2-posix3:amd64 (10.45-1) ... 301s Setting up libhwasan0:amd64 (15-20250222-0ubuntu1) ... 301s Setting up libasan8:amd64 (15-20250222-0ubuntu1) ... 301s Setting up libtsan2:amd64 (15-20250222-0ubuntu1) ... 301s Setting up libjpeg8-dev:amd64 (8c-2ubuntu11) ... 301s Setting up libisl23:amd64 (0.27-1) ... 301s Setting up libdeflate-dev:amd64 (1.23-1) ... 301s Setting up libicu-dev:amd64 (76.1-1ubuntu2) ... 301s Setting up libcc1-0:amd64 (15-20250222-0ubuntu1) ... 301s Setting up liblsan0:amd64 (15-20250222-0ubuntu1) ... 301s Setting up libblas-dev:amd64 (3.12.1-2) ... 301s 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 301s Setting up dctrl-tools (2.24-3build3) ... 301s Setting up libitm1:amd64 (15-20250222-0ubuntu1) ... 301s Setting up libbz2-dev:amd64 (1.0.8-6) ... 301s Setting up libpcre2-dev:amd64 (10.45-1) ... 301s Setting up libpng-dev:amd64 (1.6.47-1) ... 301s Setting up libjpeg-dev:amd64 (8c-2ubuntu11) ... 301s Setting up pkgconf:amd64 (1.8.1-4) ... 301s Setting up liblapack-dev:amd64 (3.12.1-2) ... 301s 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 301s Setting up cpp-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 301s Setting up cpp-14 (14.2.0-17ubuntu3) ... 301s Setting up libgcc-14-dev:amd64 (14.2.0-17ubuntu3) ... 301s Setting up libstdc++-14-dev:amd64 (14.2.0-17ubuntu3) ... 301s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 301s Setting up libgfortran-14-dev:amd64 (14.2.0-17ubuntu3) ... 301s Setting up cpp (4:14.2.0-1ubuntu1) ... 301s Setting up gcc-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 301s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 301s Setting up gcc-14 (14.2.0-17ubuntu3) ... 301s Setting up gfortran-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 301s Setting up g++-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 301s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 301s Setting up g++-14 (14.2.0-17ubuntu3) ... 301s Setting up gfortran-14 (14.2.0-17ubuntu3) ... 301s Setting up gfortran-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 301s Setting up gcc (4:14.2.0-1ubuntu1) ... 301s Setting up g++ (4:14.2.0-1ubuntu1) ... 301s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 301s Setting up build-essential (12.10ubuntu1) ... 301s Setting up gfortran (4:14.2.0-1ubuntu1) ... 301s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 301s 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 301s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 301s 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 301s Setting up r-base-dev (4.4.3-1) ... 301s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 301s Processing triggers for libc-bin (2.41-1ubuntu2) ... 301s Processing triggers for man-db (2.13.0-1) ... 302s Processing triggers for install-info (7.1.1-1) ... 303s autopkgtest [22:12:25]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 303s autopkgtest [22:12:25]: test pkg-r-autopkgtest: [----------------------- 303s Test: Try to load the R library fansi 303s 303s R version 4.4.3 (2025-02-28) -- "Trophy Case" 303s Copyright (C) 2025 The R Foundation for Statistical Computing 303s Platform: x86_64-pc-linux-gnu 303s 303s R is free software and comes with ABSOLUTELY NO WARRANTY. 303s You are welcome to redistribute it under certain conditions. 303s Type 'license()' or 'licence()' for distribution details. 303s 303s R is a collaborative project with many contributors. 303s Type 'contributors()' for more information and 303s 'citation()' on how to cite R or R packages in publications. 303s 303s Type 'demo()' for some demos, 'help()' for on-line help, or 303s 'help.start()' for an HTML browser interface to help. 303s Type 'q()' to quit R. 303s 303s > library('fansi') 303s > 303s > 303s Other tests are currently unsupported! 303s They will be progressively added. 304s autopkgtest [22:12:26]: test pkg-r-autopkgtest: -----------------------] 304s pkg-r-autopkgtest PASS 304s autopkgtest [22:12:26]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 304s autopkgtest [22:12:26]: @@@@@@@@@@@@@@@@@@@@ summary 304s run-unit-test PASS 304s pkg-r-autopkgtest PASS 321s nova [W] Skipping flock for amd64 321s Creating nova instance adt-plucky-amd64-r-cran-fansi-20250315-220721-juju-7f2275-prod-proposed-migration-environment-20-db302567-3464-4179-9c26-a81597f0e945 from image adt/ubuntu-plucky-amd64-server-20250304.img (UUID 9c7d4da5-d95f-4c85-ac1f-51eb37e75c4c)... 321s nova [W] Timed out waiting for 0eb5f768-e844-4749-b755-29db7a16d6cf to get deleted.