0s autopkgtest [18:44:45]: starting date and time: 2024-03-16 18:44:45+0000
0s autopkgtest [18:44:45]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data
0s autopkgtest [18:44:45]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.wuv61r_7/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:r-base,src:curl,src:glib2.0,src:libpng1.6,src:libpsl,src:libtirpc,src:libxt,src:openssl,src:orthanc-python,src:readline,src:wp2latex --apt-upgrade r-cran-gridsvg --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 curl/8.5.0-2ubuntu7 glib2.0/2.79.3-3ubuntu5 libpng1.6/1.6.43-3 libpsl/0.21.2-1.1 libtirpc/1.3.4+ds-1.1 libxt/1:1.2.1-1.2 openssl/3.0.13-0ubuntu1 orthanc-python/4.1+ds-2build3 readline/8.2-3.1 wp2latex/4.4~ds-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-5.secgroup --name adt-noble-arm64-r-cran-gridsvg-20240316-184445-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/
222s autopkgtest [18:48:27]: testbed dpkg architecture: arm64
222s autopkgtest [18:48:27]: testbed apt version: 2.7.12
222s autopkgtest [18:48:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup
222s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB]
223s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [474 kB]
223s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B]
223s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3682 kB]
223s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB]
223s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [646 kB]
223s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B]
223s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB]
223s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B]
223s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4006 kB]
223s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B]
223s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [55.5 kB]
223s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B]
226s Fetched 9084 kB in 2s (4810 kB/s)
226s Reading package lists...
229s Reading package lists...
230s Building dependency tree...
230s Reading state information...
230s Calculating upgrade...
231s The following packages will be REMOVED:
231s libglib2.0-0 libssl3
231s The following NEW packages will be installed:
231s libglib2.0-0t64 libssl3t64 xdg-user-dirs
231s The following packages have been kept back:
231s curl
231s The following packages will be upgraded:
231s gir1.2-glib-2.0 libglib2.0-data libtirpc-common openssl readline-common
231s ubuntu-minimal ubuntu-standard
232s 7 upgraded, 3 newly installed, 2 to remove and 1 not upgraded.
232s Need to get 4613 kB of archives.
232s After this operation, 211 kB of additional disk space will be used.
232s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB]
232s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB]
232s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu1 [983 kB]
232s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu1 [1770 kB]
232s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB]
232s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc-common all 1.3.4+ds-1.1 [8018 B]
232s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB]
232s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.536 [10.7 kB]
232s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB]
232s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.536 [10.7 kB]
233s Fetched 4613 kB in 1s (6479 kB/s)
233s (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 ... 74758 files and directories currently installed.)
233s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ...
233s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ...
233s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested:
233s udisks2 depends on libglib2.0-0 (>= 2.77.0).
233s shared-mime-info depends on libglib2.0-0 (>= 2.75.3).
233s python3-gi depends on libglib2.0-0 (>= 2.77.0).
233s python3-dbus depends on libglib2.0-0 (>= 2.16.0).
233s netplan.io depends on libglib2.0-0 (>= 2.70.0).
233s netplan-generator depends on libglib2.0-0 (>= 2.70.0).
233s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0).
233s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0).
233s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3).
233s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56).
233s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0).
233s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0).
233s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0).
233s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0).
233s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3).
233s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0).
233s libmbim-proxy depends on libglib2.0-0 (>= 2.56).
233s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56).
233s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3).
233s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3).
233s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3).
233s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0).
233s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0).
233s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0).
233s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3).
233s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2).
233s fwupd depends on libglib2.0-0 (>= 2.79.0).
233s bolt depends on libglib2.0-0 (>= 2.56.0).
233s
234s (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 ... 74758 files and directories currently installed.)
234s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ...
234s Selecting previously unselected package libglib2.0-0t64:arm64.
234s (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 ... 74733 files and directories currently installed.)
234s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ...
234s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled...
234s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm'
234s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ...
234s Preparing to unpack .../openssl_3.0.13-0ubuntu1_arm64.deb ...
234s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ...
234s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested:
234s wget depends on libssl3 (>= 3.0.0).
234s u-boot-tools depends on libssl3 (>= 3.0.0).
234s tnftp depends on libssl3 (>= 3.0.0).
234s tcpdump depends on libssl3 (>= 3.0.0).
234s systemd-resolved depends on libssl3 (>= 3.0.0).
234s systemd depends on libssl3 (>= 3.0.0).
234s sudo depends on libssl3 (>= 3.0.0).
234s sbsigntool depends on libssl3 (>= 3.0.0).
234s rsync depends on libssl3 (>= 3.0.0).
234s python3-cryptography depends on libssl3 (>= 3.0.0).
234s openssh-server depends on libssl3 (>= 3.0.10).
234s openssh-client depends on libssl3 (>= 3.0.10).
234s mtd-utils depends on libssl3 (>= 3.0.0).
234s mokutil depends on libssl3 (>= 3.0.0).
234s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0).
234s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0).
234s libssh-4:arm64 depends on libssl3 (>= 3.0.0).
234s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0).
234s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0).
234s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0).
234s libnvme1 depends on libssl3 (>= 3.0.0).
234s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0).
234s libkmod2:arm64 depends on libssl3 (>= 3.0.0).
234s libfido2-1:arm64 depends on libssl3 (>= 3.0.0).
234s libcurl4:arm64 depends on libssl3 (>= 3.0.0).
234s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0).
234s kmod depends on libssl3 (>= 3.0.0).
234s dhcpcd-base depends on libssl3 (>= 3.0.0).
234s bind9-libs:arm64 depends on libssl3 (>= 3.0.0).
234s
234s (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 ... 74758 files and directories currently installed.)
234s Removing libssl3:arm64 (3.0.10-1ubuntu4) ...
234s Selecting previously unselected package libssl3t64:arm64.
234s (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 ... 74747 files and directories currently installed.)
234s Preparing to unpack .../0-libssl3t64_3.0.13-0ubuntu1_arm64.deb ...
234s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu1) ...
234s Preparing to unpack .../1-libglib2.0-data_2.79.3-3ubuntu5_all.deb ...
234s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ...
234s Preparing to unpack .../2-libtirpc-common_1.3.4+ds-1.1_all.deb ...
234s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ...
234s Preparing to unpack .../3-readline-common_8.2-3.1_all.deb ...
234s Unpacking readline-common (8.2-3.1) over (8.2-3) ...
234s Preparing to unpack .../4-ubuntu-minimal_1.536_arm64.deb ...
234s Unpacking ubuntu-minimal (1.536) over (1.535) ...
235s Selecting previously unselected package xdg-user-dirs.
235s Preparing to unpack .../5-xdg-user-dirs_0.18-1_arm64.deb ...
235s Unpacking xdg-user-dirs (0.18-1) ...
235s Preparing to unpack .../6-ubuntu-standard_1.536_arm64.deb ...
235s Unpacking ubuntu-standard (1.536) over (1.535) ...
235s Setting up ubuntu-minimal (1.536) ...
235s Setting up xdg-user-dirs (0.18-1) ...
235s Setting up libssl3t64:arm64 (3.0.13-0ubuntu1) ...
235s Setting up libtirpc-common (1.3.4+ds-1.1) ...
235s Setting up ubuntu-standard (1.536) ...
235s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ...
235s No schema files found: doing nothing.
235s Setting up libglib2.0-data (2.79.3-3ubuntu5) ...
235s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ...
235s Setting up openssl (3.0.13-0ubuntu1) ...
235s Setting up readline-common (8.2-3.1) ...
235s Processing triggers for man-db (2.12.0-3) ...
235s Processing triggers for install-info (7.1-3) ...
236s Processing triggers for libc-bin (2.39-0ubuntu2) ...
236s Reading package lists...
237s Building dependency tree...
237s Reading state information...
238s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
239s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease
239s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease
239s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease
239s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease
241s Reading package lists...
241s Reading package lists...
241s Building dependency tree...
241s Reading state information...
243s Calculating upgrade...
244s The following packages have been kept back:
244s curl
244s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
244s Reading package lists...
245s Building dependency tree...
245s Reading state information...
246s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
250s autopkgtest [18:48:55]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024
250s autopkgtest [18:48:55]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-gridsvg
252s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-gridsvg 1.7-5-1 (dsc) [2130 B]
252s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-gridsvg 1.7-5-1 (tar) [846 kB]
252s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-gridsvg 1.7-5-1 (diff) [2384 B]
252s gpgv: Signature made Thu Jun 22 11:41:27 2023 UTC
252s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1
252s gpgv: issuer "tille@debian.org"
252s gpgv: Can't check signature: No public key
252s dpkg-source: warning: cannot verify inline signature for ./r-cran-gridsvg_1.7-5-1.dsc: no acceptable signature found
253s autopkgtest [18:48:58]: testing package r-cran-gridsvg version 1.7-5-1
253s autopkgtest [18:48:58]: build not needed
254s autopkgtest [18:48:59]: test run-unit-test: preparing testbed
257s Reading package lists...
258s Building dependency tree...
258s Reading state information...
259s Starting pkgProblemResolver with broken count: 0
259s Starting 2 pkgProblemResolver with broken count: 0
259s Done
260s The following additional packages will be installed:
260s curl fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono
260s libblas3 libcairo2 libcurl4t64 libdatrie1 libdeflate0 libfontconfig1
260s libgfortran5 libgomp1 libgraphite2-3 libharfbuzz0b libice6 libjbig0
260s libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 libpango-1.0-0
260s libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0
260s libpng16-16t64 libpsl5t64 libreadline8t64 libsharpyuv0 libsm6 libtcl8.6
260s libthai-data libthai0 libtiff6 libtirpc3t64 libtk8.6 libwebp7 libxcb-render0
260s libxcb-shm0 libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-gridsvg
260s r-cran-jsonlite r-cran-lattice r-cran-xml unzip x11-common xdg-utils zip
260s Suggested packages:
260s tcl8.6 tk8.6 elpa-ess r-doc-info | r-doc-pdf r-mathlib r-base-html
260s Recommended packages:
260s r-recommended r-base-dev r-doc-html r-cran-httr r-cran-vctrs r-cran-testthat
260s r-cran-knitr r-cran-rmarkdown r-cran-r.rsp r-cran-sf libfile-mimeinfo-perl
260s libnet-dbus-perl libx11-protocol-perl x11-utils x11-xserver-utils
261s The following packages will be REMOVED:
261s libcurl4 libpng16-16 libpsl5 libreadline8 libtirpc3
261s The following NEW packages will be installed:
261s autopkgtest-satdep fontconfig fontconfig-config fonts-dejavu-core
261s fonts-dejavu-mono libblas3 libcairo2 libcurl4t64 libdatrie1 libdeflate0
261s libfontconfig1 libgfortran5 libgomp1 libgraphite2-3 libharfbuzz0b libice6
261s libjbig0 libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 libpango-1.0-0
261s libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0
261s libpng16-16t64 libpsl5t64 libreadline8t64 libsharpyuv0 libsm6 libtcl8.6
261s libthai-data libthai0 libtiff6 libtirpc3t64 libtk8.6 libwebp7 libxcb-render0
261s libxcb-shm0 libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-gridsvg
261s r-cran-jsonlite r-cran-lattice r-cran-xml unzip x11-common xdg-utils zip
261s The following packages will be upgraded:
261s curl
261s 1 upgraded, 54 newly installed, 5 to remove and 0 not upgraded.
261s Need to get 42.6 MB/42.6 MB of archives.
261s After this operation, 82.5 MB of additional disk space will be used.
261s Get:1 /tmp/autopkgtest.Diqmcp/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [720 B]
261s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpsl5t64 arm64 0.21.2-1.1 [57.4 kB]
261s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 curl arm64 8.5.0-2ubuntu7 [222 kB]
261s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl4t64 arm64 8.5.0-2ubuntu7 [332 kB]
261s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpng16-16t64 arm64 1.6.43-3 [185 kB]
261s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline8t64 arm64 8.2-3.1 [153 kB]
261s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc3t64 arm64 1.3.4+ds-1.1 [83.5 kB]
261s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB]
261s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-core all 2.37-8 [835 kB]
262s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig-config arm64 2.15.0-1ubuntu1 [37.0 kB]
262s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libfontconfig1 arm64 2.15.0-1ubuntu1 [142 kB]
262s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig arm64 2.15.0-1ubuntu1 [190 kB]
262s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libblas3 arm64 3.12.0-3 [143 kB]
262s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB]
262s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB]
262s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B]
262s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB]
262s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libcairo2 arm64 1.18.0-1 [550 kB]
262s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libdatrie1 arm64 0.2.13-3 [21.7 kB]
262s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libdeflate0 arm64 1.19-1 [43.4 kB]
262s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran5 arm64 14-20240303-1ubuntu1 [444 kB]
262s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB]
262s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libgraphite2-3 arm64 1.3.14-2 [81.5 kB]
262s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libharfbuzz0b arm64 8.3.0-2 [463 kB]
262s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB]
262s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB]
262s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu1 [160 kB]
262s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B]
262s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack3 arm64 3.12.0-3 [2241 kB]
262s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu1 [153 kB]
262s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libthai-data all 0.1.29-2 [158 kB]
262s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libthai0 arm64 0.1.29-2 [18.1 kB]
262s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libpango-1.0-0 arm64 1.51.0+ds-4 [226 kB]
262s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libpangoft2-1.0-0 arm64 1.51.0+ds-4 [41.2 kB]
262s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libpangocairo-1.0-0 arm64 1.51.0+ds-4 [27.6 kB]
262s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libpaper1 arm64 1.1.29 [13.1 kB]
262s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libpaper-utils arm64 1.1.29 [8480 B]
262s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libsharpyuv0 arm64 1.3.2-0.4 [14.4 kB]
262s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB]
262s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtcl8.6 arm64 8.6.13+dfsg-2 [980 kB]
262s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libjbig0 arm64 2.1-6.1ubuntu1 [28.9 kB]
262s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libwebp7 arm64 1.3.2-0.4 [191 kB]
262s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libtiff6 arm64 4.5.1+git230720-3ubuntu1 [226 kB]
262s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libxft2 arm64 2.3.6-1 [43.3 kB]
262s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libxss1 arm64 1:1.2.3-1build2 [8252 B]
262s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libtk8.6 arm64 8.6.13-2 [760 kB]
262s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxt6t64 arm64 1:1.2.1-1.2 [168 kB]
262s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 zip arm64 3.0-13 [172 kB]
262s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 unzip arm64 6.0-28ubuntu3 [171 kB]
262s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB]
262s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 r-base-core arm64 4.3.3-2build1 [26.8 MB]
263s Get:52 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-jsonlite arm64 1.8.8+dfsg-1 [441 kB]
263s Get:53 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-xml arm64 3.99-0.16.1-1 [1734 kB]
263s Get:54 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-gridsvg all 1.7-5-1 [1385 kB]
263s Get:55 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-lattice arm64 0.22-5-1 [1342 kB]
264s Preconfiguring packages ...
264s Fetched 42.6 MB in 2s (21.7 MB/s)
264s dpkg: libpsl5:arm64: dependency problems, but removing anyway as you requested:
264s wget depends on libpsl5 (>= 0.16.0).
264s libcurl4:arm64 depends on libpsl5 (>= 0.16.0).
264s libcurl3-gnutls:arm64 depends on libpsl5 (>= 0.16.0).
264s
264s (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 ... 74774 files and directories currently installed.)
264s Removing libpsl5:arm64 (0.21.2-1build1) ...
265s Selecting previously unselected package libpsl5t64:arm64.
265s (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 ... 74769 files and directories currently installed.)
265s Preparing to unpack .../libpsl5t64_0.21.2-1.1_arm64.deb ...
265s Unpacking libpsl5t64:arm64 (0.21.2-1.1) ...
265s Preparing to unpack .../curl_8.5.0-2ubuntu7_arm64.deb ...
265s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ...
265s (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 ... 74775 files and directories currently installed.)
265s Removing libcurl4:arm64 (8.5.0-2ubuntu2) ...
265s Selecting previously unselected package libcurl4t64:arm64.
265s (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 ... 74770 files and directories currently installed.)
265s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_arm64.deb ...
265s Unpacking libcurl4t64:arm64 (8.5.0-2ubuntu7) ...
265s dpkg: libpng16-16:arm64: dependency problems, but removing anyway as you requested:
265s libplymouth5:arm64 depends on libpng16-16 (>= 1.6.2).
265s libfreetype6:arm64 depends on libpng16-16 (>= 1.6.2-1).
265s
265s (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 ... 74776 files and directories currently installed.)
265s Removing libpng16-16:arm64 (1.6.43-1) ...
265s Selecting previously unselected package libpng16-16t64:arm64.
265s (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 ... 74766 files and directories currently installed.)
265s Preparing to unpack .../libpng16-16t64_1.6.43-3_arm64.deb ...
265s Unpacking libpng16-16t64:arm64 (1.6.43-3) ...
265s dpkg: libreadline8:arm64: dependency problems, but removing anyway as you requested:
265s parted depends on libreadline8 (>= 6.0).
265s libpython3.12-stdlib:arm64 depends on libreadline8 (>= 7.0~beta).
265s gpgsm depends on libreadline8 (>= 6.0).
265s gpgconf depends on libreadline8 (>= 6.0).
265s gpg depends on libreadline8 (>= 6.0).
265s gawk depends on libreadline8 (>= 6.0).
265s fdisk depends on libreadline8 (>= 6.0).
265s
265s (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 ... 74777 files and directories currently installed.)
265s Removing libreadline8:arm64 (8.2-3) ...
265s Selecting previously unselected package libreadline8t64:arm64.
266s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 74765 files and directories currently installed.)
266s Preparing to unpack .../libreadline8t64_8.2-3.1_arm64.deb ...
266s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
266s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
266s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
266s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
266s Unpacking libreadline8t64:arm64 (8.2-3.1) ...
266s dpkg: libtirpc3:arm64: dependency problems, but removing anyway as you requested:
266s lsof depends on libtirpc3 (>= 1.0.2).
266s libpython3.12-stdlib:arm64 depends on libtirpc3 (>= 1.0.2).
266s libnss-nisplus:arm64 depends on libtirpc3 (>= 1.0.2).
266s libnsl2:arm64 depends on libtirpc3 (>= 1.0.2).
266s iproute2 depends on libtirpc3 (>= 1.0.2).
266s
266s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 74785 files and directories currently installed.)
266s Removing libtirpc3:arm64 (1.3.4+ds-1build1) ...
266s Selecting previously unselected package libtirpc3t64:arm64.
266s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 74779 files and directories currently installed.)
266s Preparing to unpack .../00-libtirpc3t64_1.3.4+ds-1.1_arm64.deb ...
266s Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3 to /lib/aarch64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64'
266s Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3.0.0 to /lib/aarch64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64'
266s Unpacking libtirpc3t64:arm64 (1.3.4+ds-1.1) ...
266s Selecting previously unselected package fonts-dejavu-mono.
266s Preparing to unpack .../01-fonts-dejavu-mono_2.37-8_all.deb ...
266s Unpacking fonts-dejavu-mono (2.37-8) ...
266s Selecting previously unselected package fonts-dejavu-core.
266s Preparing to unpack .../02-fonts-dejavu-core_2.37-8_all.deb ...
266s Unpacking fonts-dejavu-core (2.37-8) ...
266s Selecting previously unselected package fontconfig-config.
266s Preparing to unpack .../03-fontconfig-config_2.15.0-1ubuntu1_arm64.deb ...
267s Unpacking fontconfig-config (2.15.0-1ubuntu1) ...
267s Selecting previously unselected package libfontconfig1:arm64.
267s Preparing to unpack .../04-libfontconfig1_2.15.0-1ubuntu1_arm64.deb ...
267s Unpacking libfontconfig1:arm64 (2.15.0-1ubuntu1) ...
267s Selecting previously unselected package fontconfig.
267s Preparing to unpack .../05-fontconfig_2.15.0-1ubuntu1_arm64.deb ...
267s Unpacking fontconfig (2.15.0-1ubuntu1) ...
267s Selecting previously unselected package libblas3:arm64.
267s Preparing to unpack .../06-libblas3_3.12.0-3_arm64.deb ...
267s Unpacking libblas3:arm64 (3.12.0-3) ...
267s Selecting previously unselected package libpixman-1-0:arm64.
267s Preparing to unpack .../07-libpixman-1-0_0.42.2-1_arm64.deb ...
267s Unpacking libpixman-1-0:arm64 (0.42.2-1) ...
267s Selecting previously unselected package libxcb-render0:arm64.
267s Preparing to unpack .../08-libxcb-render0_1.15-1_arm64.deb ...
267s Unpacking libxcb-render0:arm64 (1.15-1) ...
267s Selecting previously unselected package libxcb-shm0:arm64.
267s Preparing to unpack .../09-libxcb-shm0_1.15-1_arm64.deb ...
267s Unpacking libxcb-shm0:arm64 (1.15-1) ...
267s Selecting previously unselected package libxrender1:arm64.
268s Preparing to unpack .../10-libxrender1_1%3a0.9.10-1.1_arm64.deb ...
268s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ...
268s Selecting previously unselected package libcairo2:arm64.
268s Preparing to unpack .../11-libcairo2_1.18.0-1_arm64.deb ...
268s Unpacking libcairo2:arm64 (1.18.0-1) ...
268s Selecting previously unselected package libdatrie1:arm64.
268s Preparing to unpack .../12-libdatrie1_0.2.13-3_arm64.deb ...
268s Unpacking libdatrie1:arm64 (0.2.13-3) ...
268s Selecting previously unselected package libdeflate0:arm64.
268s Preparing to unpack .../13-libdeflate0_1.19-1_arm64.deb ...
268s Unpacking libdeflate0:arm64 (1.19-1) ...
268s Selecting previously unselected package libgfortran5:arm64.
268s Preparing to unpack .../14-libgfortran5_14-20240303-1ubuntu1_arm64.deb ...
268s Unpacking libgfortran5:arm64 (14-20240303-1ubuntu1) ...
268s Selecting previously unselected package libgomp1:arm64.
268s Preparing to unpack .../15-libgomp1_14-20240303-1ubuntu1_arm64.deb ...
268s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ...
268s Selecting previously unselected package libgraphite2-3:arm64.
268s Preparing to unpack .../16-libgraphite2-3_1.3.14-2_arm64.deb ...
268s Unpacking libgraphite2-3:arm64 (1.3.14-2) ...
268s Selecting previously unselected package libharfbuzz0b:arm64.
268s Preparing to unpack .../17-libharfbuzz0b_8.3.0-2_arm64.deb ...
268s Unpacking libharfbuzz0b:arm64 (8.3.0-2) ...
268s Selecting previously unselected package x11-common.
268s Preparing to unpack .../18-x11-common_1%3a7.7+23ubuntu2_all.deb ...
268s Unpacking x11-common (1:7.7+23ubuntu2) ...
268s Selecting previously unselected package libice6:arm64.
268s Preparing to unpack .../19-libice6_2%3a1.0.10-1build2_arm64.deb ...
268s Unpacking libice6:arm64 (2:1.0.10-1build2) ...
268s Selecting previously unselected package libjpeg-turbo8:arm64.
268s Preparing to unpack .../20-libjpeg-turbo8_2.1.5-2ubuntu1_arm64.deb ...
268s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ...
268s Selecting previously unselected package libjpeg8:arm64.
269s Preparing to unpack .../21-libjpeg8_8c-2ubuntu11_arm64.deb ...
269s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ...
269s Selecting previously unselected package liblapack3:arm64.
269s Preparing to unpack .../22-liblapack3_3.12.0-3_arm64.deb ...
269s Unpacking liblapack3:arm64 (3.12.0-3) ...
269s Selecting previously unselected package liblerc4:arm64.
269s Preparing to unpack .../23-liblerc4_4.0.0+ds-4ubuntu1_arm64.deb ...
269s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu1) ...
269s Selecting previously unselected package libthai-data.
269s Preparing to unpack .../24-libthai-data_0.1.29-2_all.deb ...
269s Unpacking libthai-data (0.1.29-2) ...
269s Selecting previously unselected package libthai0:arm64.
269s Preparing to unpack .../25-libthai0_0.1.29-2_arm64.deb ...
269s Unpacking libthai0:arm64 (0.1.29-2) ...
269s Selecting previously unselected package libpango-1.0-0:arm64.
269s Preparing to unpack .../26-libpango-1.0-0_1.51.0+ds-4_arm64.deb ...
269s Unpacking libpango-1.0-0:arm64 (1.51.0+ds-4) ...
269s Selecting previously unselected package libpangoft2-1.0-0:arm64.
269s Preparing to unpack .../27-libpangoft2-1.0-0_1.51.0+ds-4_arm64.deb ...
269s Unpacking libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ...
269s Selecting previously unselected package libpangocairo-1.0-0:arm64.
269s Preparing to unpack .../28-libpangocairo-1.0-0_1.51.0+ds-4_arm64.deb ...
269s Unpacking libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ...
269s Selecting previously unselected package libpaper1:arm64.
269s Preparing to unpack .../29-libpaper1_1.1.29_arm64.deb ...
269s Unpacking libpaper1:arm64 (1.1.29) ...
269s Selecting previously unselected package libpaper-utils.
269s Preparing to unpack .../30-libpaper-utils_1.1.29_arm64.deb ...
269s Unpacking libpaper-utils (1.1.29) ...
269s Selecting previously unselected package libsharpyuv0:arm64.
269s Preparing to unpack .../31-libsharpyuv0_1.3.2-0.4_arm64.deb ...
269s Unpacking libsharpyuv0:arm64 (1.3.2-0.4) ...
269s Selecting previously unselected package libsm6:arm64.
269s Preparing to unpack .../32-libsm6_2%3a1.2.3-1build2_arm64.deb ...
269s Unpacking libsm6:arm64 (2:1.2.3-1build2) ...
269s Selecting previously unselected package libtcl8.6:arm64.
269s Preparing to unpack .../33-libtcl8.6_8.6.13+dfsg-2_arm64.deb ...
269s Unpacking libtcl8.6:arm64 (8.6.13+dfsg-2) ...
269s Selecting previously unselected package libjbig0:arm64.
269s Preparing to unpack .../34-libjbig0_2.1-6.1ubuntu1_arm64.deb ...
269s Unpacking libjbig0:arm64 (2.1-6.1ubuntu1) ...
269s Selecting previously unselected package libwebp7:arm64.
269s Preparing to unpack .../35-libwebp7_1.3.2-0.4_arm64.deb ...
269s Unpacking libwebp7:arm64 (1.3.2-0.4) ...
269s Selecting previously unselected package libtiff6:arm64.
270s Preparing to unpack .../36-libtiff6_4.5.1+git230720-3ubuntu1_arm64.deb ...
270s Unpacking libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ...
270s Selecting previously unselected package libxft2:arm64.
270s Preparing to unpack .../37-libxft2_2.3.6-1_arm64.deb ...
270s Unpacking libxft2:arm64 (2.3.6-1) ...
270s Selecting previously unselected package libxss1:arm64.
270s Preparing to unpack .../38-libxss1_1%3a1.2.3-1build2_arm64.deb ...
270s Unpacking libxss1:arm64 (1:1.2.3-1build2) ...
270s Selecting previously unselected package libtk8.6:arm64.
270s Preparing to unpack .../39-libtk8.6_8.6.13-2_arm64.deb ...
270s Unpacking libtk8.6:arm64 (8.6.13-2) ...
270s Selecting previously unselected package libxt6t64:arm64.
270s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2_arm64.deb ...
270s Unpacking libxt6t64:arm64 (1:1.2.1-1.2) ...
270s Selecting previously unselected package zip.
270s Preparing to unpack .../41-zip_3.0-13_arm64.deb ...
270s Unpacking zip (3.0-13) ...
270s Selecting previously unselected package unzip.
270s Preparing to unpack .../42-unzip_6.0-28ubuntu3_arm64.deb ...
270s Unpacking unzip (6.0-28ubuntu3) ...
270s Selecting previously unselected package xdg-utils.
270s Preparing to unpack .../43-xdg-utils_1.1.3-4.1ubuntu3_all.deb ...
270s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ...
270s Selecting previously unselected package r-base-core.
270s Preparing to unpack .../44-r-base-core_4.3.3-2build1_arm64.deb ...
270s Unpacking r-base-core (4.3.3-2build1) ...
271s Selecting previously unselected package r-cran-jsonlite.
271s Preparing to unpack .../45-r-cran-jsonlite_1.8.8+dfsg-1_arm64.deb ...
271s Unpacking r-cran-jsonlite (1.8.8+dfsg-1) ...
271s Selecting previously unselected package r-cran-xml.
271s Preparing to unpack .../46-r-cran-xml_3.99-0.16.1-1_arm64.deb ...
271s Unpacking r-cran-xml (3.99-0.16.1-1) ...
271s Selecting previously unselected package r-cran-gridsvg.
271s Preparing to unpack .../47-r-cran-gridsvg_1.7-5-1_all.deb ...
271s Unpacking r-cran-gridsvg (1.7-5-1) ...
271s Selecting previously unselected package r-cran-lattice.
271s Preparing to unpack .../48-r-cran-lattice_0.22-5-1_arm64.deb ...
271s Unpacking r-cran-lattice (0.22-5-1) ...
271s Selecting previously unselected package autopkgtest-satdep.
271s Preparing to unpack .../49-1-autopkgtest-satdep.deb ...
271s Unpacking autopkgtest-satdep (0) ...
271s Setting up libgraphite2-3:arm64 (1.3.14-2) ...
271s Setting up libpixman-1-0:arm64 (0.42.2-1) ...
271s Setting up libsharpyuv0:arm64 (1.3.2-0.4) ...
271s Setting up libpaper1:arm64 (1.1.29) ...
272s
272s Creating config file /etc/papersize with new version
272s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu1) ...
272s Setting up libxrender1:arm64 (1:0.9.10-1.1) ...
272s Setting up libdatrie1:arm64 (0.2.13-3) ...
272s Setting up libtirpc3t64:arm64 (1.3.4+ds-1.1) ...
272s Setting up libxcb-render0:arm64 (1.15-1) ...
272s Setting up unzip (6.0-28ubuntu3) ...
272s Setting up x11-common (1:7.7+23ubuntu2) ...
274s Setting up libpsl5t64:arm64 (0.21.2-1.1) ...
274s Setting up libdeflate0:arm64 (1.19-1) ...
274s Setting up libxcb-shm0:arm64 (1.15-1) ...
274s Setting up libpaper-utils (1.1.29) ...
274s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ...
274s Setting up libjbig0:arm64 (2.1-6.1ubuntu1) ...
274s Setting up zip (3.0-13) ...
274s Setting up libblas3:arm64 (3.12.0-3) ...
274s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode
274s Setting up fonts-dejavu-mono (2.37-8) ...
274s Setting up libpng16-16t64:arm64 (1.6.43-3) ...
274s Setting up libtcl8.6:arm64 (8.6.13+dfsg-2) ...
274s Setting up fonts-dejavu-core (2.37-8) ...
274s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ...
274s Setting up libgfortran5:arm64 (14-20240303-1ubuntu1) ...
274s Setting up libwebp7:arm64 (1.3.2-0.4) ...
274s Setting up libreadline8t64:arm64 (8.2-3.1) ...
274s Setting up libharfbuzz0b:arm64 (8.3.0-2) ...
274s Setting up libthai-data (0.1.29-2) ...
274s Setting up libxss1:arm64 (1:1.2.3-1build2) ...
274s Setting up xdg-utils (1.1.3-4.1ubuntu3) ...
274s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode
274s Setting up libjpeg8:arm64 (8c-2ubuntu11) ...
274s Setting up libice6:arm64 (2:1.0.10-1build2) ...
274s Setting up liblapack3:arm64 (3.12.0-3) ...
274s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode
274s Setting up libcurl4t64:arm64 (8.5.0-2ubuntu7) ...
274s Setting up fontconfig-config (2.15.0-1ubuntu1) ...
275s Setting up libthai0:arm64 (0.1.29-2) ...
275s Setting up libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ...
275s Setting up curl (8.5.0-2ubuntu7) ...
275s Setting up libfontconfig1:arm64 (2.15.0-1ubuntu1) ...
275s Setting up libsm6:arm64 (2:1.2.3-1build2) ...
275s Setting up fontconfig (2.15.0-1ubuntu1) ...
278s Regenerating fonts cache... done.
278s Setting up libxft2:arm64 (2.3.6-1) ...
278s Setting up libtk8.6:arm64 (8.6.13-2) ...
278s Setting up libpango-1.0-0:arm64 (1.51.0+ds-4) ...
278s Setting up libcairo2:arm64 (1.18.0-1) ...
278s Setting up libxt6t64:arm64 (1:1.2.1-1.2) ...
278s Setting up libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ...
278s Setting up libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ...
278s Setting up r-base-core (4.3.3-2build1) ...
278s
278s Creating config file /etc/R/Renviron with new version
278s Setting up r-cran-lattice (0.22-5-1) ...
278s Setting up r-cran-xml (3.99-0.16.1-1) ...
278s Setting up r-cran-jsonlite (1.8.8+dfsg-1) ...
278s Setting up r-cran-gridsvg (1.7-5-1) ...
278s Setting up autopkgtest-satdep (0) ...
278s Processing triggers for man-db (2.12.0-3) ...
279s Processing triggers for install-info (7.1-3) ...
279s Processing triggers for libc-bin (2.39-0ubuntu2) ...
286s (Reading database ... 77237 files and directories currently installed.)
286s Removing autopkgtest-satdep (0) ...
287s autopkgtest [18:49:32]: test run-unit-test: [-----------------------
288s BEGIN TEST testanimate.R
288s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
288s
288s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
288s Copyright (C) 2024 The R Foundation for Statistical Computing
288s Platform: aarch64-unknown-linux-gnu (64-bit)
288s
288s R is free software and comes with ABSOLUTELY NO WARRANTY.
288s You are welcome to redistribute it under certain conditions.
288s Type 'license()' or 'licence()' for distribution details.
288s
288s R is a collaborative project with many contributors.
288s Type 'contributors()' for more information and
288s 'citation()' on how to cite R or R packages in publications.
288s
288s Type 'demo()' for some demos, 'help()' for on-line help, or
288s 'help.start()' for an HTML browser interface to help.
288s Type 'q()' to quit R.
288s
288s During startup - Warning messages:
288s 1: Setting LC_CTYPE failed, using "C"
288s 2: Setting LC_COLLATE failed, using "C"
288s 3: Setting LC_TIME failed, using "C"
288s 4: Setting LC_MESSAGES failed, using "C"
288s 5: Setting LC_MONETARY failed, using "C"
288s 6: Setting LC_PAPER failed, using "C"
288s 7: Setting LC_MEASUREMENT failed, using "C"
288s > library(grid)
288s > library(gridSVG)
288s
288s Attaching package: 'gridSVG'
288s
288s The following objects are masked from 'package:grid':
288s
288s linearGradient, pattern, radialGradient
288s
288s The following object is masked from 'package:grDevices':
288s
288s dev.off
288s
288s >
288s > # animValues
288s >
288s > animValue(letters[1:4])
288s $t1
288s [1] "a"
288s
288s $t2
288s [1] "b"
288s
288s $t3
288s [1] "c"
288s
288s $t4
288s [1] "d"
288s
288s > animValue(letters[1:4], timeid=rep(1:2, 2))
288s $t1
288s [1] "a" "c"
288s
288s $t2
288s [1] "b" "d"
288s
288s > animValue(letters[1:4], id=rep(1:2, 2))
288s $id1
288s $id1$t1
288s [1] "a"
288s
288s $id1$t2
288s [1] "c"
288s
288s
288s $id2
288s $id2$t1
288s [1] "b"
288s
288s $id2$t2
288s [1] "d"
288s
288s
288s >
288s > as.animValue(letters[1:4])
288s $t1
288s [1] "a"
288s
288s $t2
288s [1] "b"
288s
288s $t3
288s [1] "c"
288s
288s $t4
288s [1] "d"
288s
288s > as.animValue(matrix(letters[1:12], ncol=4))
288s $id1
288s $id1$t1
288s [1] "a"
288s
288s $id1$t2
288s [1] "b"
288s
288s $id1$t3
288s [1] "c"
288s
288s
288s $id2
288s $id2$t1
288s [1] "d"
288s
288s $id2$t2
288s [1] "e"
288s
288s $id2$t3
288s [1] "f"
288s
288s
288s $id3
288s $id3$t1
288s [1] "g"
288s
288s $id3$t2
288s [1] "h"
288s
288s $id3$t3
288s [1] "i"
288s
288s
288s $id4
288s $id4$t1
288s [1] "j"
288s
288s $id4$t2
288s [1] "k"
288s
288s $id4$t3
288s [1] "l"
288s
288s
288s > as.animValue(matrix(letters[1:12], ncol=4), multVal=TRUE)
288s $t1
288s [1] "a" "b" "c"
288s
288s $t2
288s [1] "d" "e" "f"
288s
288s $t3
288s [1] "g" "h" "i"
288s
288s $t4
288s [1] "j" "k" "l"
288s
288s > as.animValue(list(letters[1:3], letters[4:6]))
288s $id1
288s $id1$t1
288s [1] "a"
288s
288s $id1$t2
288s [1] "b"
288s
288s $id1$t3
288s [1] "c"
288s
288s
288s $id2
288s $id2$t1
288s [1] "d"
288s
288s $id2$t2
288s [1] "e"
288s
288s $id2$t3
288s [1] "f"
288s
288s
288s > as.animValue(list(letters[1:3], letters[4:6]), multVal=TRUE)
288s $t1
288s [1] "a" "b" "c"
288s
288s $t2
288s [1] "d" "e" "f"
288s
288s >
288s > # animUnits
288s >
288s > animUnit(unit(1:4, "npc"))
288s $t1
288s [1] 1npc
288s
288s $t2
288s [1] 2npc
288s
288s $t3
288s [1] 3npc
288s
288s $t4
288s [1] 4npc
288s
288s > animUnit(unit(1:4, "npc"), timeid=rep(1:2, 2))
288s $t1
288s [1] 1npc 3npc
288s
288s $t2
288s [1] 2npc 4npc
288s
288s > animUnit(unit(1:4, "npc"), id=rep(1:2, 2))
288s $id1
288s $id1$t1
288s [1] 1npc
288s
288s $id1$t2
288s [1] 3npc
288s
288s
288s $id2
288s $id2$t1
288s [1] 2npc
288s
288s $id2$t2
288s [1] 4npc
288s
288s
288s >
288s > as.animUnit(1:4, "npc")
288s $t1
288s [1] 1npc
288s
288s $t2
288s [1] 2npc
288s
288s $t3
288s [1] 3npc
288s
288s $t4
288s [1] 4npc
288s
288s > as.animUnit(unit(1:4, "npc"))
288s $t1
288s [1] 1npc
288s
288s $t2
288s [1] 2npc
288s
288s $t3
288s [1] 3npc
288s
288s $t4
288s [1] 4npc
288s
288s > as.animUnit(matrix(1:12, ncol=4), "in")
288s $id1
288s $id1$t1
288s [1] 1inches
288s
288s $id1$t2
288s [1] 2inches
288s
288s $id1$t3
288s [1] 3inches
288s
288s
288s $id2
288s $id2$t1
288s [1] 4inches
288s
288s $id2$t2
288s [1] 5inches
288s
288s $id2$t3
288s [1] 6inches
288s
288s
288s $id3
288s $id3$t1
288s [1] 7inches
288s
288s $id3$t2
288s [1] 8inches
288s
288s $id3$t3
288s [1] 9inches
288s
288s
288s $id4
288s $id4$t1
288s [1] 10inches
288s
288s $id4$t2
288s [1] 11inches
288s
288s $id4$t3
288s [1] 12inches
288s
288s
288s > as.animUnit(matrix(1:12, ncol=4), "in", multVal=TRUE)
288s $t1
288s [1] 1inches 2inches 3inches
288s
288s $t2
288s [1] 4inches 5inches 6inches
288s
288s $t3
288s [1] 7inches 8inches 9inches
288s
288s $t4
288s [1] 10inches 11inches 12inches
288s
288s > as.animUnit(list(unit(1:3, "npc"), unit(4:6, "in")))
288s $id1
288s $id1$t1
288s [1] 1npc
288s
288s $id1$t2
288s [1] 2npc
288s
288s $id1$t3
288s [1] 3npc
288s
288s
288s $id2
288s $id2$t1
288s [1] 4inches
288s
288s $id2$t2
288s [1] 5inches
288s
288s $id2$t3
288s [1] 6inches
288s
288s
288s > as.animUnit(list(unit(1:3, "npc"), unit(4:6, "in")), multVal=TRUE)
288s $t1
288s [1] 1npc 2npc 3npc
288s
288s $t2
288s [1] 4inches 5inches 6inches
288s
288s >
288s > # Some default settings
288s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
288s >
288s > grid.rect(name="rect",
288s + x=0,
288s + y=0,
288s + just=c("left", "bottom"))
288s > grid.animate("rect", x=unit(0:30, "mm"), duration=5, rep=TRUE)
288s > grid.circle(name="circle",
288s + x=unit(0.5, "npc") + unit(0, "mm"),
288s + r=unit(10, "mm"))
288s > grid.animate("circle", x=unit(0.5, "npc") + unit(0:30, "mm"),
288s + duration=5, rep=TRUE)
288s > grid.text("hello", name="text1",
288s + x=unit(0.3, "npc") + unit(0, "mm"))
288s > grid.animate("text1",
288s + x=unit(0.3, "npc") + unit(0:30, "mm"),
288s + duration=5, rep=TRUE)
288s > grid.text("hello", name="text2",
288s + x=unit(0.3, "npc") + unit(0, "mm"),
288s + y=unit(0.3, "npc") + unit(0, "mm"))
288s > grid.animate("text2",
288s + x=unit(0.3, "npc") + unit(0:30, "mm"),
288s + y=unit(0.3, "npc") + unit(0:30, "mm"),
288s + duration=5, rep=TRUE)
288s >
288s > popViewport()
288s >
288s > grid.export("animate.svg")
289s >
289s >
289s > # Animating rectangles
289s >
289s > # There are numerous possibilities to consider:
289s > # The animation values could be numeric, unit, matrix, or list
289s > # The original values could spec a single rect or multiple rects
289s > # We could animate only one of x/y/width/height or several of them at once
289s >
289s > # Simple case
289s > # (single rect, anim only x, anim values are just numeric)
289s > grid.newpage()
289s > grid.text("One rectangle moves across",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.rect(x=.2, y=.2, width=.1, height=.1, name="rect")
289s > grid.animate("rect", x=c(.2, .8), duration=3)
289s > grid.export("anim-rect-simple.svg")
289s >
289s > # Complex case
289s > # (multiple rects, anim x/y/width/height, anim values are matrices and lists)
289s > grid.newpage()
289s > grid.text("Three rectangles: one goes up, one goes across, and
289s + one goes diagonal and gets smaller",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.rect(x=rep(.2, 3), y=.2, width=.1, height=.1, name="rect")
289s > grid.animate("rect",
289s + x=cbind(c(.2, .8), c(.2, .8), .2),
289s + y=cbind(.2, c(.2, .8), c(.2, .8)),
289s + width=list(unit(.1, "npc"),
289s + unit(c(.1, 1), c("npc", "cm")),
289s + unit(.1, "npc")),
289s + height=list(unit(.1, "npc"),
289s + unit(c(.1, 1), c("npc", "cm")),
289s + unit(.1, "npc")),
289s + duration=3)
289s > grid.export("anim-rect-complex.svg")
289s >
289s > # Animating circles
289s >
289s > # Complex case
289s > # (multiple circles, anim x/y/width/height, anim values are matrices and lists)
289s > grid.newpage()
289s > grid.text("Three circles: one goes up, one goes across, and
289s + one goes diagonal and gets smaller",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.circle(x=rep(.2, 3), y=.2, r=.1, name="circle")
289s > grid.animate("circle",
289s + x=cbind(c(.2, .8), c(.2, .8), .2),
289s + y=cbind(.2, c(.2, .8), c(.2, .8)),
289s + r=list(unit(.1, "npc"),
289s + unit(c(.1, 1), c("npc", "cm")),
289s + unit(.1, "npc")),
289s + duration=3)
289s > grid.export("anim-circle-complex.svg")
289s >
289s > # Animating points
289s >
289s > # Complex case
289s > # (multiple circles, anim x/y/width/height, anim values are matrices and lists)
289s > grid.newpage()
289s > grid.text("Three points: one goes up, one goes across, and
289s + one goes diagonal and gets larger",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > pushViewport(viewport())
289s > grid.points(x=rep(.2, 3), y=rep(.2, 3), size=unit(2, "mm"), name="points")
289s > grid.animate("points",
289s + x=cbind(c(.2, .8), c(.2, .8), .2),
289s + y=cbind(.2, c(.2, .8), c(.2, .8)),
289s + size=list(unit(2, "mm"),
289s + unit(c(2, .1), c("mm", "npc")),
289s + unit(2, "mm")),
289s + duration=3)
289s > grid.export("anim-points-complex.svg")
289s >
289s > # Animating text
289s >
289s > # Complex case
289s > # (multiple text, anim x/y/width/height, anim values are matrices and lists)
289s > grid.newpage()
289s > grid.text("Three letters: one goes up, one goes across, and
289s + one goes diagonal",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.text(letters[1:3], x=rep(.2, 3), y=.2, name="text")
289s > grid.animate("text",
289s + x=cbind(c(.2, .8), c(.2, .8), .2),
289s + y=cbind(.2, c(.2, .8), c(.2, .8)),
289s + duration=3)
289s > grid.export("anim-text-complex.svg")
289s >
289s > # Animating lines
289s >
289s > # Simple case
289s > # (line only has two points, animation only has two points, only animate x)
289s > grid.newpage()
289s > grid.text("45 degree line becomes vertical",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.lines(c(.1, .9), c(.1, .9), name="lines")
289s > grid.animate("lines",
289s + x=cbind(c(.1, .9), c(.5, .5)),
289s + duration=3)
289s > grid.export("anim-lines-simple.svg")
289s >
289s > # Complex case
289s > # (line has many points, animation has three points, only animate y)
289s > x <- seq(-pi, pi, length.out=100)
289s > y <- sin(x)
289s > grid.newpage()
289s > grid.text("Sine curve becomes flat then inverts (on y)",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > pushViewport(dataViewport(x, y))
289s > grid.lines(x, y, default.units="native", name="lines")
289s > grid.animate("lines",
289s + y=cbind(y, 0, -y),
289s + duration=3)
289s > grid.export("anim-lines-complex.svg")
289s >
289s > # Animating polylines
289s >
289s > # Simple case
289s > # (line only has two points, animation only has two points, only animate x)
289s > grid.newpage()
289s > grid.text("Two parallel lines slide to the right",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.polyline(c(.1, .2, .3, .4),
289s + c(.1, .9, .1, .9),
289s + id=rep(1:2, each=2), name="polyline")
289s > grid.animate("polyline",
289s + x=animUnit(unit(c(.1, .2, .3, .4,
289s + .5, .6, .7, .8),
289s + unit="npc"),
289s + id=rep(rep(1:2, each=2), 2),
289s + timeid=rep(1:2, each=4)),
289s + duration=3)
289s > grid.export("anim-polyline-simple.svg")
289s >
289s > # Complex case
289s > # (line only has many points, animation only has many points, animate x and y)
289s > grid.newpage()
289s > grid.text("Two random walks",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > n <- 50
289s > x <- 1:n
289s > set.seed(1000)
289s > y1 <- runif(n, .6, .8)
289s > y2 <- runif(n, .2, .4)
289s > pushViewport(dataViewport(x, yscale=0:1))
289s > grid.polyline(rep(x[1:2], 2), c(y1[1:2], y2[1:2]),
289s + default.units="native",
289s + id=rep(1:2, each=2), name="polyline")
289s > grid.animate("polyline",
289s + x=animUnit(unit(rep(x[unlist(lapply(2:n, seq))], 2),
289s + "native"),
289s + id=rep(1:2, each=sum(2:n)),
289s + timeid=rep(1:(n - 1), 2:n)),
289s + y=animUnit(unit(c(y1[unlist(lapply(2:n, seq))],
289s + y2[unlist(lapply(2:n, seq))]),
289s + "native"),
289s + id=rep(1:2, each=sum(2:n)),
289s + timeid=rep(1:(n - 1), 2:n)),
289s + duration=10)
289s > grid.export("anim-polyline-complex.svg")
289s >
289s > # Animating segments
289s >
289s > # Simple case
289s > # (single segment, animation only has two values, only animate x0)
289s > grid.newpage()
289s > grid.text("45 degree line becomes vertical (on right)",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.segments(.1, .1, .9, .9, name="segments")
289s > grid.animate("segments",
289s + x0=c(.1, .9),
289s + duration=3)
289s > grid.export("anim-segments-simple.svg")
289s >
289s > # Complex case
289s > # (multiple segments, animation has three values, animate x0 and y0)
289s > grid.newpage()
289s > grid.text("crossed lines swing out to vertical then shorten",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.segments(c(.1, .9), .1, c(.9, .1), .9, name="segments")
289s > grid.animate("segments",
289s + x0=cbind(c(.1, .9, .9), c(.9, .1, .1)),
289s + y0=c(.1, .1, .5),
289s + duration=3)
289s > grid.export("anim-segments-complex.svg")
289s >
289s > # Animating polygons
289s >
289s > # Simple case
289s > # (polygon only has three points,
289s > # animation only has two points, only animate x)
289s > grid.newpage()
289s > grid.text("Single polygon slides to the right",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.polygon(c(.1, .2, .3),
289s + c(.4, .6, .4), name="polygon")
289s > grid.animate("polygon",
289s + x=animUnit(unit(c(.1, .2, .3,
289s + .7, .8, .9),
289s + unit="npc"),
289s + timeid=rep(1:2, each=3)),
289s + duration=3)
289s > grid.export("anim-polygon-simple.svg")
289s >
289s > # Complex case
289s > # (two polygons, animation has many points, animate x and y)
289s > grid.newpage()
289s > grid.text("Two polygons shrink and grow (flipped) then revert",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.polygon(c(.2, .3, .4,
289s + .6, .7, .8),
289s + c(.4, .6, .4, .6, .4, .6),
289s + id=rep(1:2, each=3), name="polygon")
289s > grid.animate("polygon",
289s + x=animUnit(unit(c(.2, .3, .4,
289s + .4, .3, .2,
289s + .2, .3, .4,
289s +
289s + .6, .7, .8,
289s + .8, .7, .6,
289s + .6, .7, .8),
289s + "npc"),
289s + id=rep(1:2, each=9),
289s + timeid=rep(rep(1:3, each=3), 2)),
289s + y=animUnit(unit(c(.4, .6, .4,
289s + .6, .4, .6,
289s + .4, .6, .4,
289s +
289s + .6, .4, .6,
289s + .4, .6, .4,
289s + .6, .4, .6),
289s + "npc"),
289s + id=rep(1:2, each=9),
289s + timeid=rep(rep(1:3, each=3), 2)),
289s + duration=5)
289s > grid.export("anim-polygon-complex.svg")
289s >
289s > # Animating paths
289s >
289s > # Simple case
289s > # (path has one sub-path,
289s > # animation only has two points, only animate x)
289s > grid.newpage()
289s > grid.text("Single simple path (triangle) slides to the right",
289s + y=unit(1, "lines"))
289s > grid.rect()
289s > grid.path(c(.1, .2, .3),
289s + c(.4, .6, .4),
289s + gp=gpar(fill="black"),
289s + name="path")
289s > grid.animate("path",
289s + x=animUnit(unit(c(.1, .2, .3,
289s + .7, .8, .9),
289s + unit="npc"),
289s + timeid=rep(1:2, each=3)),
289s + duration=3)
289s > grid.export("anim-path-simple.svg")
290s >
290s > # Complex case
290s > # (two polygons, animation has many points, animate x and y)
290s > grid.newpage()
290s > grid.text("Single complex path transmogrifies as it slides to the right",
290s + y=unit(1, "lines"))
290s > grid.rect()
290s > grid.path(c(.1, .1, .4, .4,
290s + .2, .2, .3, .3),
290s + c(.2, .8, .8, .2,
290s + .4, .6, .6, .4),
290s + id=rep(1:2, each=4),
290s + rule="evenodd",
290s + gp=gpar(fill="black"),
290s + name="path")
290s > grid.animate("path",
290s + x=animUnit(unit(c(.1, .1, .4, .4,
290s + .2, .2, .3, .3,
290s +
290s + .35, .35, .65, .65,
290s + .45, .45, .55, .55,
290s +
290s + .6, .6, .9, .9,
290s + .7, .7, .8, .8),
290s + unit="npc"),
290s + id=rep(rep(1:2, each=4), 3),
290s + timeid=rep(1:3, each=8)),
290s + y=animUnit(unit(c(.2, .8, .8, .2,
290s + .4, .6, .6, .4,
290s +
290s + .4, .6, .6, .4,
290s + .2, .8, .8, .2,
290s +
290s + .2, .8, .8, .2,
290s + .4, .6, .6, .4),
290s + unit="npc"),
290s + id=rep(rep(1:2, each=4), 3),
290s + timeid=rep(1:3, each=8)),
290s + duration=3)
290s > grid.export("anim-path-complex.svg")
290s >
290s > # Simple case
290s > # (single raster, anim only x, anim values are just numeric)
290s > grid.newpage()
290s > grid.text("One raster moves across",
290s + y=unit(1, "lines"))
290s > grid.rect()
290s > grid.raster(1:10/11, x=.2, y=.2, width=.1, height=.1, name="raster")
290s > grid.animate("raster", x=c(.2, .8), duration=3)
290s > grid.export("anim-raster-simple.svg")
290s >
290s > # Complex case
290s > # (multiple rasters, anim x/y/width/height, anim values are matrices and lists)
290s > grid.newpage()
290s > grid.text("Three rasters: one goes up, one goes across, and
290s + one goes diagonal and gets smaller",
290s + y=unit(1, "lines"))
290s > grid.rect()
290s > grid.raster(1:10/11, x=rep(.2, 3), y=.2, width=.1, height=.1, name="raster")
290s > grid.animate("raster",
290s + x=cbind(c(.2, .8), c(.2, .8), .2),
290s + y=cbind(.2, c(.2, .8), c(.2, .8)),
290s + width=list(unit(.1, "npc"),
290s + unit(c(.1, 1), c("npc", "cm")),
290s + unit(.1, "npc")),
290s + height=list(unit(.1, "npc"),
290s + unit(c(.1, 1), c("npc", "cm")),
290s + unit(.1, "npc")),
290s + duration=3)
290s > grid.export("anim-raster-complex.svg")
290s >
290s > # Simple case
290s > # (single xspline, anim only x, anim values are just numeric)
290s > grid.newpage()
290s > grid.text("Two xsplines move across",
290s + y=unit(1, "lines"))
290s > grid.rect()
290s > grid.xspline(c(.3, .1, .5, .3),
290s + c(.2, .5, .5, .2),
290s + open=TRUE, shape=1,
290s + name="xspline-1")
290s > grid.xspline(c(.3, .1, .5),
290s + c(.6, .9, .9),
290s + open=FALSE, shape=1,
290s + gp=gpar(fill="grey"),
290s + name="xspline-2")
290s > grid.animate("xspline-1",
290s + x=animUnit(unit(c(.3, .1, .5, .3,
290s + .7, .5, .9, .7),
290s + "npc"),
290s + timeid=rep(1:2, each=4)),
290s + duration=3)
290s > grid.animate("xspline-2",
290s + x=cbind(c(.3, .1, .5),
290s + c(.7, .5, .9)),
290s + duration=3)
290s > grid.export("anim-xspline-simple.svg")
290s >
290s > # Complex case
290s > # (four xsplines, animation has many points, animate x and y)
290s > grid.newpage()
290s > grid.text("Four xsplines shrink and grow (flipped) then revert",
290s + y=unit(1, "lines"))
290s > grid.rect()
290s > grid.xspline(c(.3, .1, .5, .3,
290s + .7, .5, .9, .7),
290s + c(.2, .5, .5, .2,
290s + .2, .5, .5, .2),
290s + shape=1,
290s + id=rep(1:2, each=4), name="xspline-open")
290s > grid.xspline(c(.3, .1, .5,
290s + .7, .5, .9),
290s + c(.6, .9, .9,
290s + .6, .9, .9),
290s + open=FALSE, shape=1,
290s + gp=gpar(fill="grey"),
290s + id=rep(1:2, each=3), name="xspline-closed")
290s > grid.animate("xspline-open",
290s + x=animUnit(unit(c(.3, .1, .5, .3,
290s + .5, .3, .7, .5,
290s + .7, .5, .9, .7,
290s +
290s + .7, .5, .9, .7,
290s + .5, .3, .7, .5,
290s + .3, .1, .5, .3),
290s + "npc"),
290s + id=rep(1:2, each=12),
290s + timeid=rep(rep(1:3, each=4), 2)),
290s + y=animUnit(unit(c(.2, .5, .5, .2,
290s + .5, .2, .2, .5,
290s + .2, .5, .5, .2,
290s +
290s + .2, .5, .5, .2,
290s + .5, .2, .2, .5,
290s + .2, .5, .5, .2),
290s + "npc"),
290s + id=rep(1:2, each=12),
290s + timeid=rep(rep(1:3, each=4), 2)),
290s + duration=5)
290s > grid.animate("xspline-closed",
290s + x=animUnit(unit(c(.3, .1, .5,
290s + .5, .3, .7,
290s + .7, .5, .9,
290s +
290s + .7, .5, .9,
290s + .5, .3, .7,
290s + .3, .1, .5),
290s + "npc"),
290s + id=rep(1:2, each=9),
290s + timeid=rep(rep(1:3, each=3), 2)),
290s + y=animUnit(unit(c(.6, .9, .9,
290s + .9, .6, .6,
290s + .6, .9, .9,
290s +
290s + .6, .9, .9,
290s + .9, .6, .6,
290s + .6, .9, .9),
290s + "npc"),
290s + id=rep(1:2, each=9),
290s + timeid=rep(rep(1:3, each=3), 2)),
290s + duration=5)
290s > grid.export("anim-xspline-complex.svg")
290s >
290s >
290s > ############################################
290s >
290s > # Multiple animations on same grob
290s > grid.newpage()
290s > grid.rect(x=.1, y=.1, width=.1, height=.1, name="r")
290s > grid.animate("r", x=c(.1, .9))
290s > grid.animate("r", x=c(.9, .1), begin=3)
290s > grid.export("anim-rect-multi.svg")
290s >
290s > # Animate group
290s > grid.newpage()
290s > grid.rect(x=.1, y=.1, width=.1, height=.1, name="r")
290s > grid.animate("r", visibility=c("visible", "hidden"), group=TRUE)
290s > grid.export("anim-group.svg")
290s >
290s >
290s BEGIN TEST testattrib.R
290s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
290s
290s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
290s Copyright (C) 2024 The R Foundation for Statistical Computing
290s Platform: aarch64-unknown-linux-gnu (64-bit)
290s
290s R is free software and comes with ABSOLUTELY NO WARRANTY.
290s You are welcome to redistribute it under certain conditions.
290s Type 'license()' or 'licence()' for distribution details.
290s
290s R is a collaborative project with many contributors.
290s Type 'contributors()' for more information and
290s 'citation()' on how to cite R or R packages in publications.
290s
290s Type 'demo()' for some demos, 'help()' for on-line help, or
290s 'help.start()' for an HTML browser interface to help.
290s Type 'q()' to quit R.
290s
290s During startup - Warning messages:
290s 1: Setting LC_CTYPE failed, using "C"
290s 2: Setting LC_COLLATE failed, using "C"
290s 3: Setting LC_TIME failed, using "C"
290s 4: Setting LC_MESSAGES failed, using "C"
290s 5: Setting LC_MONETARY failed, using "C"
290s 6: Setting LC_PAPER failed, using "C"
290s 7: Setting LC_MEASUREMENT failed, using "C"
290s >
290s >
290s > library(grid)
290s > library(gridSVG)
291s
291s Attaching package: 'gridSVG'
291s
291s The following objects are masked from 'package:grid':
291s
291s linearGradient, pattern, radialGradient
291s
291s The following object is masked from 'package:grDevices':
291s
291s dev.off
291s
291s >
291s > # A very simple test
291s > dev.new(width=6, height=6)
291s dev.new(): using pdf(file="Rplots1.pdf")
291s > # Test script chunk
291s > grid.script(file="test.script")
291s > # Some default settings
291s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
291s > grid.circle(r=0.1, gp=gpar(fill="red"), name="circgrob")
291s > # Test setting SVG attribute
291s > grid.garnish("circgrob", onclick="circle_click(evt)")
291s > popViewport()
291s >
291s > grid.export()
291s > dev.off()
291s null device
291s 1
291s >
291s >
291s > # Single attribute value on single grob
291s > grid.newpage()
291s > grid.circle(r=.1, gp=gpar(fill="black"), name="c")
291s > grid.garnish("c", onmousedown="alert('ouch')")
291s > grid.export("testattrcircle.svg")
291s >
291s > # Multiple attribute values on single grob
291s > grid.newpage()
291s > pushViewport(viewport())
291s > grid.points(1:3/4, 1:3/4, pch=c(1, 10, 16), name="p")
291s > grid.garnish("p",
291s + onmousedown=c("alert('pch=1')",
291s + "alert('pch=10')",
291s + "alert('pch=16')"),
291s + group=FALSE)
291s > grid.export("testattrpoints.svg")
291s >
291s > # Multiple garnishes (one with single value, one with multiple values)
291s > grid.newpage()
291s > grid.circle(x=1:3/4, r=.1, gp=gpar(fill="black"), name="c")
291s > grid.garnish("c",
291s + onmouseover=c("alert('c1')", "alert('c2')", "alert('c3')"),
291s + group=FALSE)
291s > grid.garnish("c",
291s + onmousedown="alert('click me!')")
291s > grid.export("testmultattr.svg")
291s >
291s > # Sneak an SVG attribute through via gpar()
291s > grid.newpage()
291s > grid.text("test",
291s + gp=gpar("text-decoration"="line-through"),
291s + name="tt")
291s > grid.export("testsvgattr.svg")
291s >
291s BEGIN TEST testball.R
291s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
291s
291s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
291s Copyright (C) 2024 The R Foundation for Statistical Computing
291s Platform: aarch64-unknown-linux-gnu (64-bit)
291s
291s R is free software and comes with ABSOLUTELY NO WARRANTY.
291s You are welcome to redistribute it under certain conditions.
291s Type 'license()' or 'licence()' for distribution details.
291s
291s R is a collaborative project with many contributors.
291s Type 'contributors()' for more information and
291s 'citation()' on how to cite R or R packages in publications.
291s
291s Type 'demo()' for some demos, 'help()' for on-line help, or
291s 'help.start()' for an HTML browser interface to help.
291s Type 'q()' to quit R.
291s
291s During startup - Warning messages:
291s 1: Setting LC_CTYPE failed, using "C"
291s 2: Setting LC_COLLATE failed, using "C"
291s 3: Setting LC_TIME failed, using "C"
291s 4: Setting LC_MESSAGES failed, using "C"
291s 5: Setting LC_MONETARY failed, using "C"
291s 6: Setting LC_PAPER failed, using "C"
291s 7: Setting LC_MEASUREMENT failed, using "C"
291s > library(grid)
291s > library(lattice)
291s > library(gridSVG)
292s
292s Attaching package: 'gridSVG'
292s
292s The following objects are masked from 'package:grid':
292s
292s linearGradient, pattern, radialGradient
292s
292s >
292s > postscript(width=8, height=6, paper="special")
292s The following object is masked from 'package:grDevices':
292s
292s dev.off
292s
292s >
292s > # Some default settings
292s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
292s >
292s > y <- 1:4
292s > x <- 1:4
292s > g <- factor(c("Earth", "Moon", "Jupiter", "Mars"))
292s >
292s > n <- 30
292s > d <- 20 # metres
292s > k <- c(9.8, 1.6, 24.8, 3.7) # gravities
292s > times <- 2 * sqrt(d/k) # (twice) the time taken to fall d metres
292s >
292s > cx <- unit(rep(0.5, 2*n - 1), "npc")
292s > dy <- 10*seq(0, 2, length=n)^2
292s > ecy <- unit(40 - c(dy, rev(dy)[-1]), "native")
292s >
292s > ballpanel <- function(x, y, subscripts) {
292s + pushViewport(viewport(yscale=c(-10, 50)))
292s + grid.rect(y=unit(0, "npc"),
292s + height=unit(10, "native"),
292s + just="bottom",
292s + gp=gpar(fill="grey"))
292s + duration <- switch(subscripts,
292s + times[1],
292s + times[2],
292s + times[3],
292s + times[4])
292s + col <- switch(subscripts,
292s + "blue", "grey", "brown", "red")
292s + grid.circle(name=col,
292s + x=cx[1],
292s + y=ecy[1],
292s + # r=unit(2, "mm"),
292s + r=unit(1, "native"),
292s + gp=gpar(col="black", fill=col))
292s + grid.animate(col, x=cx, y=ecy, duration=duration, rep=TRUE)
292s + if (subscripts == 1) {
292s + grid.text("20 metres",
292s + x=unit(-1, "lines"),
292s + y=unit(20, "native"),
292s + just="bottom", rot=270)
292s + grid.lines(x=unit(-1, "lines"),
292s + y=unit.c(unit(0, "native"),
292s + unit(20, "native") -
292s + unit(0.5, "strwidth", "40 metres") -
292s + unit(2, "mm")))
292s + grid.lines(x=unit(c(-.75, -1.25), "lines"),
292s + y=unit(0, "native"))
292s + grid.lines(x=unit(-1, "lines"),
292s + y=unit.c(unit(40, "native"),
292s + unit(20, "native") +
292s + unit(0.5, "strwidth", "40 metres") +
292s + unit(2, "mm")))
292s + grid.lines(x=unit(c(-.75, -1.25), "lines"),
292s + y=unit(40, "native"))
292s + }
292s + popViewport()
292s + }
292s >
292s > print(xyplot(y ~ x | g, subscripts=TRUE,
292s + layout=c(4, 1),
292s + xlab=NULL, ylab=NULL,
292s + panel=ballpanel,
292s + scales=list(draw=FALSE)),
292s + position=c(0.1, 0.1, 0.9, 0.9),
292s + newpage=FALSE)
292s >
292s > popViewport()
292s >
292s > grid.export("ball.svg")
292s >
292s > dev.off()
292s null device
292s 1
292s >
292s BEGIN TEST testclasses.R
292s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
292s
292s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
292s Copyright (C) 2024 The R Foundation for Statistical Computing
292s Platform: aarch64-unknown-linux-gnu (64-bit)
292s
292s R is free software and comes with ABSOLUTELY NO WARRANTY.
292s You are welcome to redistribute it under certain conditions.
292s Type 'license()' or 'licence()' for distribution details.
292s
292s R is a collaborative project with many contributors.
292s Type 'contributors()' for more information and
292s 'citation()' on how to cite R or R packages in publications.
292s
292s Type 'demo()' for some demos, 'help()' for on-line help, or
292s 'help.start()' for an HTML browser interface to help.
292s Type 'q()' to quit R.
292s
293s During startup - Warning messages:
293s 1: Setting LC_CTYPE failed, using "C"
293s 2: Setting LC_COLLATE failed, using "C"
293s 3: Setting LC_TIME failed, using "C"
293s 4: Setting LC_MESSAGES failed, using "C"
293s 5: Setting LC_MONETARY failed, using "C"
293s 6: Setting LC_PAPER failed, using "C"
293s 7: Setting LC_MEASUREMENT failed, using "C"
293s > library(grid)
293s > library(gridSVG)
293s
293s Attaching package: 'gridSVG'
293s
293s The following objects are masked from 'package:grid':
293s
293s linearGradient, pattern, radialGradient
293s
293s The following object is masked from 'package:grDevices':
293s
293s dev.off
293s
293s >
293s > pdf(file = NULL)
293s >
293s > pushViewport(viewport())
293s > grid.rect()
293s > grid.circle()
293s > grid.text("hello, world!")
293s > popViewport()
293s >
293s > # All grobs and viewports should now be exported with a class attribute
293s > # holding the value of their R class()
293s > grid.export("test-classes.svg", addClasses = TRUE)
294s > dev.off()
294s null device
294s 1
294s >
294s BEGIN TEST testclippath.R
294s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
294s
294s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
294s Copyright (C) 2024 The R Foundation for Statistical Computing
294s Platform: aarch64-unknown-linux-gnu (64-bit)
294s
294s R is free software and comes with ABSOLUTELY NO WARRANTY.
294s You are welcome to redistribute it under certain conditions.
294s Type 'license()' or 'licence()' for distribution details.
294s
294s R is a collaborative project with many contributors.
294s Type 'contributors()' for more information and
294s 'citation()' on how to cite R or R packages in publications.
294s
294s Type 'demo()' for some demos, 'help()' for on-line help, or
294s 'help.start()' for an HTML browser interface to help.
294s Type 'q()' to quit R.
294s
294s During startup - Warning messages:
294s 1: Setting LC_CTYPE failed, using "C"
294s 2: Setting LC_COLLATE failed, using "C"
294s 3: Setting LC_TIME failed, using "C"
294s 4: Setting LC_MESSAGES failed, using "C"
294s 5: Setting LC_MONETARY failed, using "C"
294s 6: Setting LC_PAPER failed, using "C"
294s 7: Setting LC_MEASUREMENT failed, using "C"
294s > library(grid)
294s > library(gridSVG)
294s >
294s > pdf(file = NULL)
294s
294s Attaching package: 'gridSVG'
294s
294s The following objects are masked from 'package:grid':
294s
294s linearGradient, pattern, radialGradient
294s
294s The following object is masked from 'package:grDevices':
294s
294s dev.off
294s
294s >
294s > # Create the definition of a clipping path, in this case
294s > # it will just be a circle.
294s > cp <- clipPath(circleGrob(r = 0.3))
294s >
294s > # Register the clipping path so that we can refer to it and apply it.
294s > registerClipPath("circleClip", cp)
294s >
294s > # Creating a simple plot that will be clipped to the circle
294s > sp <- gTree(name = "simplePlot",
294s + children = gList(xaxisGrob(), yaxisGrob(),
294s + rectGrob(gp = gpar(fill = "grey"))),
294s + vp = plotViewport())
294s > grid.draw(sp)
294s >
294s > # Now lets clip it
294s > grid.clipPath("simplePlot", label = "circleClip")
294s > # Alternatively we could also do this which avoids the need to call
294s > # 'registerClipPath' explicitly
294s > # grid.clipPath("simplePlot", cp)
294s >
294s > # All that remains is a grey circle
294s > grid.export("clippath-simpleplot.svg")
295s > dev.off()
295s null device
295s 1
295s >
295s >
295s > # Now lets recreate the previous example using 'pushClipPath'
295s > pdf(file = NULL)
295s > # Clear previous clipping path reference
295s > gridSVG.newpage()
295s >
295s > pushViewport(plotViewport())
295s >
295s > # Create the definition of a clipping path, in this case
295s > # it will just be a circle.
295s > cp <- clipPath(circleGrob(r = 0.3))
295s >
295s > # Create a new clipping context for this viewport
295s > pushClipPath(cp)
295s >
295s > # Creating a simple plot that will be clipped to our current clipping context
295s > sp <- gTree(name = "simplePlot",
295s + children = gList(xaxisGrob(), yaxisGrob(),
295s + rectGrob(gp = gpar(fill = "grey"))))
295s > grid.draw(sp)
295s >
295s > # End the clipping context
295s > popClipPath()
295s > popViewport()
295s >
295s > # Again we are just left with a grey circle
295s > grid.export("pushclippath-simpleplot.svg")
295s > dev.off()
295s null device
295s 1
295s >
295s >
295s BEGIN TEST testcomment.R
295s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
295s
295s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
295s Copyright (C) 2024 The R Foundation for Statistical Computing
295s Platform: aarch64-unknown-linux-gnu (64-bit)
295s
295s R is free software and comes with ABSOLUTELY NO WARRANTY.
295s You are welcome to redistribute it under certain conditions.
295s Type 'license()' or 'licence()' for distribution details.
295s
295s R is a collaborative project with many contributors.
295s Type 'contributors()' for more information and
295s 'citation()' on how to cite R or R packages in publications.
295s
295s Type 'demo()' for some demos, 'help()' for on-line help, or
295s 'help.start()' for an HTML browser interface to help.
295s Type 'q()' to quit R.
295s
295s During startup - Warning messages:
295s 1: Setting LC_CTYPE failed, using "C"
295s 2: Setting LC_COLLATE failed, using "C"
295s 3: Setting LC_TIME failed, using "C"
295s 4: Setting LC_MESSAGES failed, using "C"
295s 5: Setting LC_MONETARY failed, using "C"
295s 6: Setting LC_PAPER failed, using "C"
295s 7: Setting LC_MEASUREMENT failed, using "C"
295s > library(grid)
295s > library(gridSVG)
295s
295s Attaching package: 'gridSVG'
295s
295s The following objects are masked from 'package:grid':
295s
295s linearGradient, pattern, radialGradient
295s
295s >
295s > dev.new(width=6, height=6)
295s The following object is masked from 'package:grDevices':
295s
295s dev.off
295s
295s dev.new(): using pdf(file="Rplots2.pdf")
295s > grid.rect(name = "mainrect")
295s > grid.comment("This is a comment", "mainrect")
295s > grid.export("comment-test.svg")
295s Warning message:
295s In grabDL(warn, wrap, wrap.grobs, ...) :
295s one or more grobs overwritten (grab WILL not be faithful; try 'wrap.grobs = TRUE')
295s > dev.off()
295s null device
295s 1
295s >
295s BEGIN TEST testelement.R
295s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
296s
296s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
296s Copyright (C) 2024 The R Foundation for Statistical Computing
296s Platform: aarch64-unknown-linux-gnu (64-bit)
296s
296s R is free software and comes with ABSOLUTELY NO WARRANTY.
296s You are welcome to redistribute it under certain conditions.
296s Type 'license()' or 'licence()' for distribution details.
296s
296s R is a collaborative project with many contributors.
296s Type 'contributors()' for more information and
296s 'citation()' on how to cite R or R packages in publications.
296s
296s Type 'demo()' for some demos, 'help()' for on-line help, or
296s 'help.start()' for an HTML browser interface to help.
296s Type 'q()' to quit R.
296s
296s During startup - Warning messages:
296s 1: Setting LC_CTYPE failed, using "C"
296s 2: Setting LC_COLLATE failed, using "C"
296s 3: Setting LC_TIME failed, using "C"
296s 4: Setting LC_MESSAGES failed, using "C"
296s 5: Setting LC_MONETARY failed, using "C"
296s 6: Setting LC_PAPER failed, using "C"
296s 7: Setting LC_MEASUREMENT failed, using "C"
296s > library(grid)
296s > library(gridSVG)
296s
296s Attaching package: 'gridSVG'
296s
296s The following objects are masked from 'package:grid':
296s
296s linearGradient, pattern, radialGradient
296s
296s > The following object is masked from 'package:grDevices':
296s
296s dev.off
296s
296s
296s > dev.new(width=6, height=6)
296s dev.new(): using pdf(file="Rplots3.pdf")
296s > grid.element("test")
296s > grid.element("testParent",
296s + children = gList(commentGrob("This is a child comment"),
296s + elementGrob("firstChild"),
296s + rectGrob(),
296s + elementGrob("thirdChild",
296s + attrs = list(anAttrib = "value"))))
296s > # Create a 'title' element with descriptive text
296s > grid.element("title", children = gList(
296s + textNodeGrob("A gridSVG image with customised SVG content")))
296s > grid.export("element-test.svg")
296s > dev.off()
296s null device
296s 1
296s >
296s BEGIN TEST testfilter.R
296s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
296s
296s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
296s Copyright (C) 2024 The R Foundation for Statistical Computing
296s Platform: aarch64-unknown-linux-gnu (64-bit)
296s
296s R is free software and comes with ABSOLUTELY NO WARRANTY.
296s You are welcome to redistribute it under certain conditions.
296s Type 'license()' or 'licence()' for distribution details.
296s
296s R is a collaborative project with many contributors.
296s Type 'contributors()' for more information and
296s 'citation()' on how to cite R or R packages in publications.
296s
296s Type 'demo()' for some demos, 'help()' for on-line help, or
296s 'help.start()' for an HTML browser interface to help.
296s Type 'q()' to quit R.
296s
296s During startup - Warning messages:
296s 1: Setting LC_CTYPE failed, using "C"
296s 2: Setting LC_COLLATE failed, using "C"
296s 3: Setting LC_TIME failed, using "C"
296s 4: Setting LC_MESSAGES failed, using "C"
296s 5: Setting LC_MONETARY failed, using "C"
296s 6: Setting LC_PAPER failed, using "C"
296s 7: Setting LC_MEASUREMENT failed, using "C"
296s > library(grid)
296s > library(gridSVG)
296s
296s Attaching package: 'gridSVG'
296s
296s The following objects are masked from 'package:grid':
296s
296s linearGradient, pattern, radialGradient
296s
296s The following object is masked from 'package:grDevices':
296s
296s dev.off
296s
296s >
296s > # There are many filter effect primitives and many of them are
296s > # quite complex so this file could end up having plenty more tests!
296s >
296s > pdf(file = NULL)
296s >
296s > # First, lets draw some text that we're then going to filter
296s > grid.text("hello, world!", gp = gpar(fontsize = 96),
296s + name = "backtext")
296s > # Draw a copy over the top with white text that will be left alone
296s > grid.text("hello, world!", gp = gpar(fontsize = 96, col = "white"),
296s + name = "foretext")
296s >
296s > # We want to create a filter that takes the text thicker, and then blurs it
296s > f <- filterEffect(list(feMorphology(operator = "dilate",
296s + radius = unit(1, "mm")),
296s + feGaussianBlur(sd = 1)))
296s > # Apply the filter
296s > grid.filter("backtext", f)
296s >
296s > # Now lets export this
296s > grid.export("filter-test.svg")
297s > dev.off()
297s null device
297s 1
297s >
297s >
297s BEGIN TEST testforce.R
297s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
297s
297s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
297s Copyright (C) 2024 The R Foundation for Statistical Computing
297s Platform: aarch64-unknown-linux-gnu (64-bit)
297s
297s R is free software and comes with ABSOLUTELY NO WARRANTY.
297s You are welcome to redistribute it under certain conditions.
297s Type 'license()' or 'licence()' for distribution details.
297s
297s R is a collaborative project with many contributors.
297s Type 'contributors()' for more information and
297s 'citation()' on how to cite R or R packages in publications.
297s
297s Type 'demo()' for some demos, 'help()' for on-line help, or
297s 'help.start()' for an HTML browser interface to help.
297s Type 'q()' to quit R.
297s
297s During startup - Warning messages:
297s 1: Setting LC_CTYPE failed, using "C"
297s 2: Setting LC_COLLATE failed, using "C"
297s 3: Setting LC_TIME failed, using "C"
297s 4: Setting LC_MESSAGES failed, using "C"
297s 5: Setting LC_MONETARY failed, using "C"
297s 6: Setting LC_PAPER failed, using "C"
297s 7: Setting LC_MEASUREMENT failed, using "C"
297s > library(grid)
297s > library(gridSVG)
297s
297s Attaching package: 'gridSVG'
297s
297s > The following objects are masked from 'package:grid':
297s
297s linearGradient, pattern, radialGradient
297s
297s The following object is masked from 'package:grDevices':
297s
297s dev.off
297s
297s
297s > x <- roundrectGrob(width=.8, height=.8, name="x", gp=gpar(lwd=5))
297s >
297s > grid.newpage()
297s > grid.draw(x)
297s > grid.gradientFill("x", linearGradient(c("green", "yellow")))
297s > grid.export("force-gradient.svg")
297s >
297s > grid.newpage()
297s > grid.draw(x)
297s > grid.animate("x", "stroke-opacity"=1:0)
297s > grid.export("force-animate.svg")
297s >
297s > grid.newpage()
297s > grid.draw(x)
297s > grid.hyperlink("x", href="http://www.stat.auckland.ac.nz/")
297s > grid.export("force-hyper.svg")
298s >
298s > grid.newpage()
298s > grid.draw(x)
298s > grid.filter("x", filterEffect(feGaussianBlur(sd=5)))
298s > grid.export("force-filter.svg")
298s >
298s > grid.newpage()
298s > grid.draw(x)
298s > grid.patternFill("x", pattern(circleGrob()))
298s > grid.export("force-pattern.svg")
298s >
298s > grid.newpage()
298s > grid.draw(x)
298s > grid.garnish("x", title="tooltip")
298s > grid.export("force-garnish.svg")
298s >
298s Warning message:
298s In checkAttrs(attrs, eltName) : Removing non-SVG attribute name(s): title
298s BEGIN TEST testgradientfill.R
298s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
298s
298s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
298s Copyright (C) 2024 The R Foundation for Statistical Computing
298s Platform: aarch64-unknown-linux-gnu (64-bit)
298s
298s R is free software and comes with ABSOLUTELY NO WARRANTY.
298s You are welcome to redistribute it under certain conditions.
298s Type 'license()' or 'licence()' for distribution details.
298s
298s R is a collaborative project with many contributors.
298s Type 'contributors()' for more information and
298s 'citation()' on how to cite R or R packages in publications.
298s
298s Type 'demo()' for some demos, 'help()' for on-line help, or
298s 'help.start()' for an HTML browser interface to help.
298s Type 'q()' to quit R.
298s
298s > library(grid)
298s During startup - Warning messages:
298s 1: Setting LC_CTYPE failed, using "C"
298s 2: Setting LC_COLLATE failed, using "C"
298s 3: Setting LC_TIME failed, using "C"
298s 4: Setting LC_MESSAGES failed, using "C"
298s 5: Setting LC_MONETARY failed, using "C"
298s 6: Setting LC_PAPER failed, using "C"
298s 7: Setting LC_MEASUREMENT failed, using "C"
298s > library(gridSVG)
298s >
298s > pdf(file = NULL)
298s
298s Attaching package: 'gridSVG'
298s
298s The following objects are masked from 'package:grid':
298s
298s linearGradient, pattern, radialGradient
298s
298s The following object is masked from 'package:grDevices':
298s
298s dev.off
298s
298s >
298s > # Define a linear gradient
298s > lg <- linearGradient(col = c("blue", "red"))
298s > # Register it
298s > registerGradientFill("lingrad", lg)
298s >
298s > # Do the same thing for radial gradient but also set the focus for the
298s > # radial fill to be off-centre
298s > rg <- radialGradient(fx = 0.3, fy = 0.3,
298s + col = c("white", "black"), stops = c(0, 2))
298s > registerGradientFill("radgrad", rg)
298s >
298s > # Create rects that we are going to be gradient filling
298s > grid.rect(x = 0.2, width = 0.2, height = 0.2, name = "linearfill")
298s > grid.rect(x = 0.8, width = 0.2, height = 0.2, name = "radialfill")
298s >
298s > # Now apply the gradients
298s > grid.gradientFill("linearfill", label = "lingrad", alpha = 0.7)
298s > grid.gradientFill("radialfill", label = "radgrad")
298s >
298s > grid.export("gradient-test.svg")
298s > dev.off()
298s null device
298s 1
298s >
298s BEGIN TEST testgrid.R
298s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
298s
298s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
298s Copyright (C) 2024 The R Foundation for Statistical Computing
298s Platform: aarch64-unknown-linux-gnu (64-bit)
298s
298s R is free software and comes with ABSOLUTELY NO WARRANTY.
298s You are welcome to redistribute it under certain conditions.
298s Type 'license()' or 'licence()' for distribution details.
298s
298s R is a collaborative project with many contributors.
298s Type 'contributors()' for more information and
298s 'citation()' on how to cite R or R packages in publications.
298s
298s Type 'demo()' for some demos, 'help()' for on-line help, or
298s 'help.start()' for an HTML browser interface to help.
298s Type 'q()' to quit R.
298s
298s During startup - Warning messages:
298s 1: Setting LC_CTYPE failed, using "C"
298s 2: Setting LC_COLLATE failed, using "C"
298s 3: Setting LC_TIME failed, using "C"
298s 4: Setting LC_MESSAGES failed, using "C"
298s 5: Setting LC_MONETARY failed, using "C"
298s 6: Setting LC_PAPER failed, using "C"
298s 7: Setting LC_MEASUREMENT failed, using "C"
298s > # Try to reproduce testsvg.R from grid
298s > library(grid)
298s > library(gridSVG)
299s
299s Attaching package: 'gridSVG'
299s
299s The following objects are masked from 'package:grid':
299s
299s linearGradient, pattern, radialGradient
299s
299s >
299s > dev.new(width=6, height=6)
299s The following object is masked from 'package:grDevices':
299s
299s dev.off
299s
299s dev.new(): using pdf(file="Rplots4.pdf")
299s > # Force white background and black foreground
299s > pushViewport(viewport(gp=gpar(col="black", fill="white")))
299s > grid.rect()
299s > # NOTE: that svg.R has transforms that assume that (0, 0)
299s > # is at bottom-left so y-locations and heights in "native"
299s > # coordinates on an X11 device are not
299s > # handled properly (by svg.R; grid draws them fine).
299s > # So for the outer viewport, we fudge an approximation to the
299s > # "pixel" locations in testsvg.R
299s > # Ultimate fix requires something in svg.R transforms (ty and th)
299s > # Also, the viewport pushed above means that the "native"
299s > # device coordinates are no longer available here
299s > pushViewport(viewport(unit(1, "mm"), unit(1, "mm"),
299s + unit(0.5, "npc"), unit(0.6, "npc"),
299s + just=c("left", "bottom"),
299s + xscale=c(0, 11), yscale=c(0, 11)))
299s > grid.rect(gp=gpar(col="green"))
299s > grid.lines(1:10, 10:1,
299s + default.units="native",
299s + gp=gpar(col="green"))
299s > grid.polygon(c(1, 3, 4, 1), c(1, 1, 5, 4),
299s + default.units="native",
299s + gp=gpar(fill="grey", col=NA))
299s > grid.rect(rep(6, 2), c(3, 7), 2, 1,
299s + just=c("left", "bottom"),
299s + default.units="native",
299s + gp=gpar(fill="cyan"))
299s > grid.text(c("some text", "some more text!"), 2, 8:7,
299s + just="left",
299s + default.units="native")
299s > grid.circle(rep(8, 2), 3, c(.1, 2),
299s + default.units="native",
299s + gp=gpar(col="blue", fill=NA))
299s > grid.text("centred text", 4, 5,
299s + default.units="native", rot=20)
299s > pushViewport(viewport(x=6, y=5, w=3, h=1,
299s + default.units="native",
299s + just=c("left", "bottom"),
299s + xscale=c(0, 1), yscale=c(0, 1)))
299s > grid.rect(0, 0, 1, 1,
299s + just=c("left", "bottom"),
299s + default.units="native",
299s + gp=gpar(fill=NA, col="black"))
299s > grid.text("text in a box", 0.1, 0.5,
299s + just=c("left", "bottom"),
299s + default.units="native")
299s > popViewport()
299s > grid.rect(5, 2, 2, 7,
299s + default.units="native",
299s + just=c("left", "bottom"),
299s + gp=gpar(fill="green", alpha=.5))
299s > popViewport()
299s >
299s > popViewport()
299s >
299s > grid.export("grid.svg")
299s > dev.off()
299s null device
299s 1
299s >
299s BEGIN TEST testid.R
299s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
299s
299s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
299s Copyright (C) 2024 The R Foundation for Statistical Computing
299s Platform: aarch64-unknown-linux-gnu (64-bit)
299s
299s R is free software and comes with ABSOLUTELY NO WARRANTY.
299s You are welcome to redistribute it under certain conditions.
299s Type 'license()' or 'licence()' for distribution details.
299s
299s R is a collaborative project with many contributors.
299s Type 'contributors()' for more information and
299s 'citation()' on how to cite R or R packages in publications.
299s
299s Type 'demo()' for some demos, 'help()' for on-line help, or
299s 'help.start()' for an HTML browser interface to help.
299s Type 'q()' to quit R.
299s
299s During startup - Warning messages:
299s 1: Setting LC_CTYPE failed, using "C"
299s 2: Setting LC_COLLATE failed, using "C"
299s 3: Setting LC_TIME failed, using "C"
299s 4: Setting LC_MESSAGES failed, using "C"
299s 5: Setting LC_MONETARY failed, using "C"
299s 6: Setting LC_PAPER failed, using "C"
299s 7: Setting LC_MEASUREMENT failed, using "C"
299s >
299s > library(grid)
299s > library(gridSVG)
300s >
300s > # A very simple test
300s > dev.new(width=6, height=6)
300s > # Some default settings
300s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
300s > grid.circle(r=4:1/8, name="circgrob")
300s > grid.rect(name="rectgrob")
300s > popViewport()
300s >
300s > grid.export()
300s
300s Attaching package: 'gridSVG'
300s
300s The following objects are masked from 'package:grid':
300s
300s linearGradient, pattern, radialGradient
300s
300s The following object is masked from 'package:grDevices':
300s
300s dev.off
300s
300s dev.new(): using pdf(file="Rplots5.pdf")
300s > dev.off()
300s null device
300s 1
300s >
300s BEGIN TEST testlink.R
300s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
300s
300s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
300s Copyright (C) 2024 The R Foundation for Statistical Computing
300s Platform: aarch64-unknown-linux-gnu (64-bit)
300s
300s R is free software and comes with ABSOLUTELY NO WARRANTY.
300s You are welcome to redistribute it under certain conditions.
300s Type 'license()' or 'licence()' for distribution details.
300s
300s R is a collaborative project with many contributors.
300s Type 'contributors()' for more information and
300s 'citation()' on how to cite R or R packages in publications.
300s
300s Type 'demo()' for some demos, 'help()' for on-line help, or
300s 'help.start()' for an HTML browser interface to help.
300s Type 'q()' to quit R.
300s
301s During startup - Warning messages:
301s 1: Setting LC_CTYPE failed, using "C"
301s 2: Setting LC_COLLATE failed, using "C"
301s 3: Setting LC_TIME failed, using "C"
301s 4: Setting LC_MESSAGES failed, using "C"
301s 5: Setting LC_MONETARY failed, using "C"
301s 6: Setting LC_PAPER failed, using "C"
301s 7: Setting LC_MEASUREMENT failed, using "C"
301s >
301s > library(grid)
301s > library(gridSVG)
301s
301s Attaching package: 'gridSVG'
301s
301s The following objects are masked from 'package:grid':
301s
301s linearGradient, pattern, radialGradient
301s
301s The following object is masked from 'package:grDevices':
301s
301s dev.off
301s
301s >
301s > # A very simple test
301s > dev.new(width=6, height=6)
301s dev.new(): using pdf(file="Rplots6.pdf")
301s > # Some default settings
301s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
301s > grid.text("Click me", name="txtgrob")
301s > grid.hyperlink("txtgrob", href="http://cran.stat.auckland.ac.nz")
301s > popViewport()
301s >
301s > grid.export()
301s > dev.off()
301s null device
301s 1
301s >
301s > # A scatterplot and two dot plots designed to be
301s > # linked together
301s >
301s > # Some data
301s > data(iris)
301s >
301s > # A scatterplot of x vs y
301s > dev.new(width=6, height=6)
301s dev.new(): using pdf(file="Rplots7.pdf")
301s > # Some default settings
301s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
301s > pushViewport(plotViewport(c(5, 5, 4, 2)))
301s > pushViewport(dataViewport(iris$Sepal.Length, iris$Sepal.Width))
301s > grid.rect()
301s > grid.xaxis(name="xaxis")
301s > grid.yaxis(name="yaxis")
301s > grid.hyperlink("xaxis", "linkdotx.svg")
301s > grid.hyperlink("yaxis", "linkdoty.svg")
301s > grid.points(iris$Sepal.Length[iris$Species == "setosa"],
301s + iris$Sepal.Width[iris$Species == "setosa"],
301s + gp=gpar(col="red"))
301s > grid.points(iris$Sepal.Length[iris$Species == "versicolor"],
301s + iris$Sepal.Width[iris$Species == "versicolor"],
301s + gp=gpar(col="green"))
301s > grid.points(iris$Sepal.Length[iris$Species == "virginica"],
301s + iris$Sepal.Width[iris$Species == "virginica"],
301s + gp=gpar(col="blue"))
301s > grid.text("Sepal Length", y=unit(-3, "lines"))
301s > grid.text("Sepal Width", x=unit(-3, "lines"), rot=90)
301s > popViewport(3)
301s > grid.export("linkscatter.svg")
301s > dev.off()
301s null device
301s 1
301s >
301s > # A dot plot of x
301s > dev.new(width=6, height=3)
301s dev.new(): using pdf(file="Rplots8.pdf")
301s > # Some default settings
301s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
301s > pushViewport(plotViewport(c(5, 2, 4, 2)))
301s > pushViewport(dataViewport(iris$Sepal.Length, yscale=c(0 ,1)))
301s > grid.rect(gp=gpar(col="grey"))
301s > grid.xaxis()
301s > grid.points(iris$Sepal.Length[iris$Species == "setosa"],
301s + rnorm(50, .5, .05),
301s + size=unit(2, "char"),
301s + gp=gpar(col=NULL, fill="red", alpha=0.3))
301s > grid.points(iris$Sepal.Length[iris$Species == "versicolor"],
301s + rnorm(50, .5, .05),
301s + size=unit(2, "char"),
301s + gp=gpar(col=NULL, fill="green", alpha=0.3))
301s > grid.points(iris$Sepal.Length[iris$Species == "virginica"],
301s + rnorm(50, .5, .05),
301s + size=unit(2, "char"),
301s + gp=gpar(col=NULL, fill="blue", alpha=0.3))
301s > grid.text("Sepal Length", y=unit(-3, "lines"))
301s > grid.text(name="returnlink",
301s + "Return to Scatterplot",
301s + y=unit(1, "npc") + unit(1, "lines"),
301s + gp=gpar(col="grey"))
301s > grid.hyperlink("returnlink", "linkscatter.svg")
301s > popViewport(3)
301s > grid.export("linkdotx.svg")
301s > dev.off()
301s null device
301s 1
301s >
301s > # A dot plot of y
301s > dev.new(width=6, height=3)
301s > dev.new(): using pdf(file="Rplots9.pdf")
301s # Some default settings
301s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
301s > pushViewport(plotViewport(c(5, 2, 4, 2)))
301s > pushViewport(dataViewport(iris$Sepal.Width, yscale=c(0 ,1)))
301s > grid.rect(gp=gpar(col="grey"))
301s > grid.xaxis()
301s > grid.points(iris$Sepal.Width[iris$Species == "setosa"],
301s + rnorm(50, .5, .05),
301s + size=unit(2, "char"),
301s + gp=gpar(col=NULL, fill="red", alpha=0.3))
301s > grid.points(iris$Sepal.Width[iris$Species == "versicolor"],
301s + rnorm(50, .5, .05),
301s + size=unit(2, "char"),
301s + gp=gpar(col=NULL, fill="green", alpha=0.3))
301s > grid.points(iris$Sepal.Width[iris$Species == "virginica"],
301s + rnorm(50, .5, .05),
301s + size=unit(2, "char"),
301s + gp=gpar(col=NULL, fill="blue", alpha=0.3))
301s > grid.text("Sepal Width", y=unit(-3, "lines"))
301s > grid.text(name="returnlink",
301s + "Return to Scatterplot",
301s + y=unit(1, "npc") + unit(1, "lines"),
301s + gp=gpar(col="grey"))
301s > grid.hyperlink("returnlink", "linkscatter.svg")
301s > popViewport(3)
301s > grid.export("linkdoty.svg")
302s > dev.off()
302s null device
302s 1
302s >
302s >
302s > # Check link to overall grob works
302s >
302s > grid.newpage()
302s > grid.draw(hyperlinkGrob(linesGrob(gp=gpar(lwd=20)),
302s + href="http://www.stat.auckland.ac.nz"))
302s > grid.export("testGroupOfOneHyperlink.svg")
302s >
302s > grid.newpage()
302s > grid.draw(hyperlinkGrob(segmentsGrob(1:3/4, gp=gpar(lwd=20)),
302s + href="http://www.stat.auckland.ac.nz"))
302s > grid.export("testGroupOfManyHyperlink.svg")
302s >
302s > # Test *individual* hrefs
302s >
302s > grid.newpage()
302s > grid.draw(hyperlinkGrob(linesGrob(gp=gpar(lwd=20)),
302s + href="http://www.stat.auckland.ac.nz",
302s + group=FALSE))
302s > grid.export("testIndividualOneHyperlink.svg")
302s >
302s > grid.newpage()
302s > grid.draw(hyperlinkGrob(segmentsGrob(1:3/4, gp=gpar(lwd=20)),
302s + href="http://www.stat.auckland.ac.nz",
302s + group=FALSE))
302s > grid.export("testIndividualManyHyperlink.svg")
302s >
302s > grid.newpage()
302s > grid.draw(hyperlinkGrob(segmentsGrob(1:3/4, gp=gpar(lwd=20)),
302s + href=c("http://www.stat.auckland.ac.nz",
302s + "http://slashdot.org",
302s + "http://soccernet.com"),
302s + group=FALSE))
302s > grid.export("testIndividualManyHyperlinks.svg")
302s >
302s BEGIN TEST testmask.R
302s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
302s
302s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
302s Copyright (C) 2024 The R Foundation for Statistical Computing
302s Platform: aarch64-unknown-linux-gnu (64-bit)
302s
302s R is free software and comes with ABSOLUTELY NO WARRANTY.
302s You are welcome to redistribute it under certain conditions.
302s Type 'license()' or 'licence()' for distribution details.
302s
302s R is a collaborative project with many contributors.
302s Type 'contributors()' for more information and
302s 'citation()' on how to cite R or R packages in publications.
302s
302s Type 'demo()' for some demos, 'help()' for on-line help, or
302s 'help.start()' for an HTML browser interface to help.
302s Type 'q()' to quit R.
302s
302s During startup - Warning messages:
302s 1: Setting LC_CTYPE failed, using "C"
302s 2: Setting LC_COLLATE failed, using "C"
302s 3: Setting LC_TIME failed, using "C"
302s 4: Setting LC_MESSAGES failed, using "C"
302s 5: Setting LC_MONETARY failed, using "C"
302s 6: Setting LC_PAPER failed, using "C"
302s 7: Setting LC_MEASUREMENT failed, using "C"
302s > library(grid)
302s > library(gridSVG)
302s
302s Attaching package: 'gridSVG'
302s
302s The following objects are masked from 'package:grid':
302s
302s linearGradient, pattern, radialGradient
302s
302s >
302s > pdf(file = NULL)
302s The following object is masked from 'package:grDevices':
302s
302s dev.off
302s
302s >
302s > # Create the definition of an opacity mask, in this case
302s > # it will just be a circle with a gradient fill.
302s > rg <- radialGradient(col = c("white", "black"))
302s > m <- mask(gradientFillGrob(circleGrob(), gradient = rg))
302s >
302s > # Register the opacity mask so that we can refer to it and apply it.
302s > registerMask("circleMask", m)
302s >
302s > # Creating a simple plot that will be masked to the circle
302s > sp <- gTree(name = "simplePlot",
302s + children = gList(xaxisGrob(), yaxisGrob(),
302s + rectGrob(gp = gpar(fill = "grey"))),
302s + vp = plotViewport())
302s > grid.draw(sp)
302s >
302s > # Now lets mask it
302s > grid.mask("simplePlot", label = "circleMask")
302s > # Alternatively we could also do this which avoids the need to call
302s > # 'registerMask' explicitly
302s > # grid.mask("simplePlot", m)
302s >
302s > grid.export("mask-simpleplot.svg")
302s > dev.off()
302s null device
302s 1
302s >
302s >
302s > # Now lets recreate the previous example using 'pushMask'
302s > pdf(file = NULL)
302s > # Clear previous mask reference
302s > gridSVG.newpage()
302s >
302s >
302s > # Create the definition of an opacity mask, in this case
302s > # it will just be a circle with a gradient fill.
302s > rg <- radialGradient(col = c("white", "black"))
302s > m <- mask(gradientFillGrob(circleGrob(), gradient = rg))
302s >
302s > # Create a new masking context for this viewport
302s > pushMask(m)
302s >
302s > # Creating a simple plot that will be masked to our current masking context
302s > sp <- gTree(name = "simplePlot",
302s + children = gList(xaxisGrob(), yaxisGrob(),
302s + rectGrob(gp = gpar(fill = "grey"))),
302s + vp = plotViewport())
302s > grid.draw(sp)
302s >
302s > # End the masking context
302s > popMask()
302s >
302s > grid.export("pushmask-simpleplot.svg")
303s > dev.off()
303s null device
303s 1
303s >
303s >
303s >
303s BEGIN TEST testpath.R
303s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
303s
303s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
303s Copyright (C) 2024 The R Foundation for Statistical Computing
303s Platform: aarch64-unknown-linux-gnu (64-bit)
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 During startup - Warning messages:
303s 1: Setting LC_CTYPE failed, using "C"
303s 2: Setting LC_COLLATE failed, using "C"
303s 3: Setting LC_TIME failed, using "C"
303s 4: Setting LC_MESSAGES failed, using "C"
303s 5: Setting LC_MONETARY failed, using "C"
303s 6: Setting LC_PAPER failed, using "C"
303s 7: Setting LC_MEASUREMENT failed, using "C"
303s >
303s > library(grid)
303s > require(gridSVG)
303s Loading required package: gridSVG
303s
303s Attaching package: 'gridSVG'
303s
303s The following objects are masked from 'package:grid':
303s
303s linearGradient, pattern, radialGradient
303s
303s >
303s > example(grid.path)
303s The following object is masked from 'package:grDevices':
303s
303s dev.off
303s
303s
303s grd.pt> pathSample <- function(x, y, rule, gp = gpar()) {
303s grd.pt+ if (is.na(rule))
303s grd.pt+ grid.path(x, y, id = rep(1:2, each = 4), gp = gp)
303s grd.pt+ else
303s grd.pt+ grid.path(x, y, id = rep(1:2, each = 4), rule = rule, gp = gp)
303s grd.pt+ if (!is.na(rule))
303s grd.pt+ grid.text(paste("Rule:", rule), y = 0, just = "bottom")
303s grd.pt+ }
303s
303s grd.pt> pathTriplet <- function(x, y, title) {
303s grd.pt+ pushViewport(viewport(height = 0.9, layout = grid.layout(1, 3),
303s grd.pt+ gp = gpar(cex = .7)))
303s grd.pt+ grid.rect(y = 1, height = unit(1, "char"), just = "top",
303s grd.pt+ gp = gpar(col = NA, fill = "grey"))
303s grd.pt+ grid.text(title, y = 1, just = "top")
303s grd.pt+ pushViewport(viewport(layout.pos.col = 1))
303s grd.pt+ pathSample(x, y, rule = "winding",
303s grd.pt+ gp = gpar(fill = "grey"))
303s grd.pt+ popViewport()
303s grd.pt+ pushViewport(viewport(layout.pos.col = 2))
303s grd.pt+ pathSample(x, y, rule = "evenodd",
303s grd.pt+ gp = gpar(fill = "grey"))
303s grd.pt+ popViewport()
303s grd.pt+ pushViewport(viewport(layout.pos.col = 3))
303s grd.pt+ pathSample(x, y, rule = NA)
303s grd.pt+ popViewport()
303s grd.pt+ popViewport()
303s grd.pt+ }
303s
303s grd.pt> pathTest <- function() {
303s grd.pt+ grid.newpage()
303s grd.pt+ pushViewport(viewport(layout = grid.layout(5, 1)))
303s grd.pt+ pushViewport(viewport(layout.pos.row = 1))
303s grd.pt+ pathTriplet(c(.1, .1, .9, .9, .2, .2, .8, .8),
303s grd.pt+ c(.1, .9, .9, .1, .2, .8, .8, .2),
303s grd.pt+ "Nested rectangles, both clockwise")
303s grd.pt+ popViewport()
303s grd.pt+ pushViewport(viewport(layout.pos.row = 2))
303s grd.pt+ pathTriplet(c(.1, .1, .9, .9, .2, .8, .8, .2),
303s grd.pt+ c(.1, .9, .9, .1, .2, .2, .8, .8),
303s grd.pt+ "Nested rectangles, outer clockwise, inner anti-clockwise")
303s grd.pt+ popViewport()
303s grd.pt+ pushViewport(viewport(layout.pos.row = 3))
303s grd.pt+ pathTriplet(c(.1, .1, .4, .4, .6, .9, .9, .6),
303s grd.pt+ c(.1, .4, .4, .1, .6, .6, .9, .9),
303s grd.pt+ "Disjoint rectangles")
303s grd.pt+ popViewport()
303s grd.pt+ pushViewport(viewport(layout.pos.row = 4))
303s grd.pt+ pathTriplet(c(.1, .1, .6, .6, .4, .4, .9, .9),
303s grd.pt+ c(.1, .6, .6, .1, .4, .9, .9, .4),
303s grd.pt+ "Overlapping rectangles, both clockwise")
303s grd.pt+ popViewport()
303s grd.pt+ pushViewport(viewport(layout.pos.row = 5))
303s grd.pt+ pathTriplet(c(.1, .1, .6, .6, .4, .9, .9, .4),
303s grd.pt+ c(.1, .6, .6, .1, .4, .4, .9, .9),
303s grd.pt+ "Overlapping rectangles, one clockwise, other anti-clockwise")
303s grd.pt+ popViewport()
303s grd.pt+ popViewport()
303s grd.pt+ }
303s
303s grd.pt> pathTest()
303s
303s grd.pt> # Drawing multiple paths at once
303s grd.pt> holed_rect <- cbind(c(.15, .15, -.15, -.15, .1, .1, -.1, -.1),
303s grd.pt+ c(.15, -.15, -.15, .15, .1, -.1, -.1, .1))
303s
303s grd.pt> holed_rects <- rbind(
303s grd.pt+ holed_rect + matrix(c(.7, .2), nrow = 8, ncol = 2, byrow = TRUE),
303s grd.pt+ holed_rect + matrix(c(.7, .8), nrow = 8, ncol = 2, byrow = TRUE),
303s grd.pt+ holed_rect + matrix(c(.2, .5), nrow = 8, ncol = 2, byrow = TRUE)
303s grd.pt+ )
303s
303s grd.pt> grid.newpage()
303s
303s grd.pt> grid.path(x = holed_rects[, 1], y = holed_rects[, 2],
303s grd.pt+ id = rep(1:6, each = 4), pathId = rep(1:3, each = 8),
303s grd.pt+ gp = gpar(fill = c('red', 'blue', 'green')),
303s grd.pt+ rule = 'evenodd')
303s
303s grd.pt> # Not specifying pathId will treat all points as part of the same path, thus
303s grd.pt> # having same fill
303s grd.pt> grid.newpage()
303s
303s grd.pt> grid.path(x = holed_rects[, 1], y = holed_rects[, 2],
303s grd.pt+ id = rep(1:6, each = 4),
303s grd.pt+ gp = gpar(fill = c('red', 'blue', 'green')),
303s grd.pt+ rule = 'evenodd')
303s >
303s > grid.export("path.svg")
303s >
303s BEGIN TEST testpatternfill.R
303s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
303s
303s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
303s Copyright (C) 2024 The R Foundation for Statistical Computing
303s Platform: aarch64-unknown-linux-gnu (64-bit)
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
304s During startup - Warning messages:
304s 1: Setting LC_CTYPE failed, using "C"
304s 2: Setting LC_COLLATE failed, using "C"
304s 3: Setting LC_TIME failed, using "C"
304s 4: Setting LC_MESSAGES failed, using "C"
304s 5: Setting LC_MONETARY failed, using "C"
304s 6: Setting LC_PAPER failed, using "C"
304s 7: Setting LC_MEASUREMENT failed, using "C"
304s > library(grid)
304s > library(gridSVG)
304s
304s Attaching package: 'gridSVG'
304s
304s The following objects are masked from 'package:grid':
304s
304s linearGradient, pattern, radialGradient
304s
304s The following object is masked from 'package:grDevices':
304s
304s dev.off
304s
304s >
304s > pdf(file = NULL)
304s > grid.newpage()
304s > # We are just going to be drawing a cross for our pattern
304s > crossGrob <- gTree(children = gList(
304s + linesGrob(),
304s + linesGrob(x = unit(0:1, "npc"), y = unit(1:0, "npc"),
304s + gp = gpar(lwd = 1))
304s + ))
304s >
304s > # Call the pattern "cross"
304s > # Using a small device size because the line widths
304s > # will be too small otherwise
304s > registerPatternFill("cross", grob = crossGrob,
304s + dev.width = 1, dev.height = 1)
304s >
304s > grid.circle(name = "filledcircle")
304s > # Applying the pattern semi-transparently to the circle
304s > grid.patternFill("filledcircle", label = "cross", alpha = 0.5)
304s > grid.export("pattern-test.svg")
304s > dev.off()
304s null device
304s 1
304s >
304s > # Now lets create a new pattern that uses the existing pattern
304s > # but much larger
304s > pdf(file = NULL)
304s > grid.newpage()
304s > registerPatternFillRef("bigcross", "cross",
304s + width = 0.3, height = 0.3)
304s > grid.circle(name = "filledcircle")
304s > grid.patternFill("filledcircle", label = "bigcross", alpha = 0.5)
304s > grid.export("pattern-test-ref.svg")
304s > dev.off()
304s null device
304s 1
304s >
304s > # Test pattern offset
304s > pdf(file = NULL)
304s > grid.newpage()
304s > grid.rect(y=1, height=.5, just="top", name="zero-offset")
304s > grid.patternFill("zero-offset", label="cross")
304s > offsetPattern <- pattern(crossGrob, x=unit(1, "cm"),
304s + dev.width=1, dev.height=1)
304s > grid.rect(y=0, height=.5, just="bottom", name="non-zero-offset")
304s > grid.patternFill("non-zero-offset", offsetPattern)
304s > grid.export("pattern-test-offset.svg")
304s > dev.off()
304s null device
304s 1
304s >
304s >
304s BEGIN TEST testpendulum.R
304s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
304s
304s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
304s Copyright (C) 2024 The R Foundation for Statistical Computing
304s Platform: aarch64-unknown-linux-gnu (64-bit)
304s
304s R is free software and comes with ABSOLUTELY NO WARRANTY.
304s You are welcome to redistribute it under certain conditions.
304s Type 'license()' or 'licence()' for distribution details.
304s
304s R is a collaborative project with many contributors.
304s Type 'contributors()' for more information and
304s 'citation()' on how to cite R or R packages in publications.
304s
304s Type 'demo()' for some demos, 'help()' for on-line help, or
304s 'help.start()' for an HTML browser interface to help.
304s Type 'q()' to quit R.
304s
304s > library(grid)
304s During startup - Warning messages:
304s 1: Setting LC_CTYPE failed, using "C"
304s 2: Setting LC_COLLATE failed, using "C"
304s 3: Setting LC_TIME failed, using "C"
304s 4: Setting LC_MESSAGES failed, using "C"
304s 5: Setting LC_MONETARY failed, using "C"
304s 6: Setting LC_PAPER failed, using "C"
304s 7: Setting LC_MEASUREMENT failed, using "C"
304s > library(gridSVG)
305s >
305s > dev.new(width=6, height=6)
305s
305s Attaching package: 'gridSVG'
305s
305s The following objects are masked from 'package:grid':
305s
305s linearGradient, pattern, radialGradient
305s
305s The following object is masked from 'package:grDevices':
305s
305s dev.off
305s
305s dev.new(): using pdf(file="Rplots10.pdf")
305s >
305s > grid.newpage()
305s > # Some default settings
305s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
305s >
305s > n <- 30
305s > L <- 50 #mm
305s > A <- 20 #mm
305s > t <- seq(0, 2*pi, length=n)
305s > x <- A*cos(t)
305s > v <- -A*sin(t)
305s > theta <- atan(x/L)
305s > y <- L*cos(theta)
305s >
305s > pushViewport(viewport(layout=grid.layout(4, 1,
305s + widths=unit(2.2*A, "null"),
305s + heights=unit(c(1, L + 10, 2.2*A, 2),
305s + c("lines", "null", "null", "lines")),
305s + respect=TRUE)))
305s > pushViewport(viewport(layout.pos.row=2,
305s + xscale=A * c(-1.1, 1.1),
305s + yscale=c(0, L + 10)))
305s > grid.rect()
305s > grid.lines(name="chain",
305s + x=unit(c(0.5, x[1]), c("npc", "native")),
305s + y=unit(1, "npc") - unit(c(0, abs(y)[1]), c("npc", "native")))
305s > grid.animate("chain",
305s + x=animUnit(unit(c(rep(0.5, n), x),
305s + c(rep(c("npc", "native"), each=n))),
305s + timeid=rep(1:n, 2)),
305s + y=animUnit(unit.c(unit(rep(1, n), "npc"),
305s + unit(1, "npc") - unit(y, "native")),
305s + timeid=rep(1:n, 2)),
305s + duration=5, rep=TRUE)
305s > grid.circle(name="weight",
305s + x=unit(x[1], "native"),
305s + y=unit(1, "npc") - unit(y[1], "native"),
305s + r=unit(1, "mm"),
305s + gp=gpar(fill="black"))
305s > grid.animate("weight",
305s + x=unit(x, "native"),
305s + y=unit(1, "npc") - unit(abs(y), "native"),
305s + duration=5, rep=TRUE)
305s > popViewport()
305s >
305s > pushViewport(viewport(layout.pos.row=3,
305s + xscale=A * c(-1.1, 1.1),
305s + yscale=A * c(-1.1, 1.1)))
305s > grid.rect()
305s > grid.lines(x=unit(c(0, 0), "native"),
305s + gp=gpar(lty="dashed", col="grey"))
305s > grid.lines(y=unit(c(0, 0), "native"),
305s + gp=gpar(lty="dashed", col="grey"))
305s > grid.text("Displacement", y=unit(-1, "lines"))
305s > grid.text("Velocity", x=unit(-1, "lines"), rot=90)
305s > grid.circle(name="key",
305s + x=unit(x[1], "native"),
305s + y=unit(v[1], "native"),
305s + r=unit(1, "mm"),
305s + gp=gpar(fill="black"))
305s > grid.animate("key",
305s + x=unit(x, "native"),
305s + y=unit(v, "native"),
305s + duration=5, rep=TRUE)
305s > popViewport(2)
305s >
305s > popViewport()
305s >
305s > grid.export("pendulum.svg")
305s >
305s > dev.off()
305s null device
305s 1
305s >
305s BEGIN TEST testplot.R
305s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
305s
305s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
305s Copyright (C) 2024 The R Foundation for Statistical Computing
305s Platform: aarch64-unknown-linux-gnu (64-bit)
305s
305s R is free software and comes with ABSOLUTELY NO WARRANTY.
305s You are welcome to redistribute it under certain conditions.
305s Type 'license()' or 'licence()' for distribution details.
305s
305s R is a collaborative project with many contributors.
305s Type 'contributors()' for more information and
305s 'citation()' on how to cite R or R packages in publications.
305s
305s Type 'demo()' for some demos, 'help()' for on-line help, or
305s 'help.start()' for an HTML browser interface to help.
305s Type 'q()' to quit R.
305s
305s During startup - Warning messages:
305s 1: Setting LC_CTYPE failed, using "C"
305s 2: Setting LC_COLLATE failed, using "C"
305s 3: Setting LC_TIME failed, using "C"
305s 4: Setting LC_MESSAGES failed, using "C"
305s 5: Setting LC_MONETARY failed, using "C"
305s 6: Setting LC_PAPER failed, using "C"
305s 7: Setting LC_MEASUREMENT failed, using "C"
305s >
305s > library(grid)
305s > library(gridSVG)
305s
305s Attaching package: 'gridSVG'
305s
305s The following objects are masked from 'package:grid':
305s
305s linearGradient, pattern, radialGradient
305s
305s The following object is masked from 'package:grDevices':
305s
305s dev.off
305s
305s > dev.new(width=6, height=6)
305s dev.new(): using pdf(file="Rplots11.pdf")
305s > grid.rect(gp=gpar(col="black", fill=NA))
305s > set.seed(1000)
305s > grid.multipanel(vp=viewport(w=.7, h=.7, gp=gpar(col="black", fill=NA)),
305s + newpage=FALSE)
305s > grid.export("plot.svg")
307s > dev.off()
307s null device
307s 1
307s >
307s BEGIN TEST testplotmath.R
307s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
307s
307s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
307s Copyright (C) 2024 The R Foundation for Statistical Computing
307s Platform: aarch64-unknown-linux-gnu (64-bit)
307s
307s R is free software and comes with ABSOLUTELY NO WARRANTY.
307s You are welcome to redistribute it under certain conditions.
307s Type 'license()' or 'licence()' for distribution details.
307s
307s R is a collaborative project with many contributors.
307s Type 'contributors()' for more information and
307s 'citation()' on how to cite R or R packages in publications.
307s
307s Type 'demo()' for some demos, 'help()' for on-line help, or
307s 'help.start()' for an HTML browser interface to help.
307s Type 'q()' to quit R.
307s
307s During startup - Warning messages:
307s 1: Setting LC_CTYPE failed, using "C"
307s 2: Setting LC_COLLATE failed, using "C"
307s 3: Setting LC_TIME failed, using "C"
307s 4: Setting LC_MESSAGES failed, using "C"
307s 5: Setting LC_MONETARY failed, using "C"
307s 6: Setting LC_PAPER failed, using "C"
307s 7: Setting LC_MEASUREMENT failed, using "C"
307s > library(grid)
307s >
307s > ##################
307s > # Testing
307s > ##################
307s >
307s > # Test of a combination of shape and plotmath
307s > library(gridSVG)
307s
307s Attaching package: 'gridSVG'
307s
307s The following objects are masked from 'package:grid':
307s
307s linearGradient, pattern, radialGradient
307s
307s > grid.newpage()
307s The following object is masked from 'package:grDevices':
307s
307s dev.off
307s
307s > grid.rect(x=.4, width=.4, height=.8, gp=gpar(fill="grey", col=NA))
307s > grid.text(expression((a + b)^2), x=.4, y=.6)
307s > grid.export("test2.svg")
307s >
307s > test <- function(e, file, cex=1) {
307s + require(grid)
307s + require(gridSVG)
307s + grid.newpage()
307s + grid.rect()
307s + nrowcol <- n2mfrow(length(e))
307s + pushViewport(viewport(layout=grid.layout(nrowcol[1], nrowcol[2])))
307s + for (i in 1:length(e)) {
307s + col <- (i - 1) %% nrowcol[2] + 1
307s + row <- (i - 1) %/% nrowcol[2] + 1
307s + pushViewport(viewport(layout.pos.row=row, layout.pos.col=col))
307s + grid.segments(c(0, .5), c(.5, 0), c(1, .5), c(.5, 1),
307s + gp=gpar(col="grey"))
307s + just <- c("left", "bottom")
307s + tg <- textGrob(e[i], gp=gpar(cex=cex[(i - 1) %% length(cex) + 1]),
307s + just=just)
307s + grid.rect(width=grobWidth(tg), height=grobHeight(tg),
307s + just=just, gp=gpar(col="red"))
307s + grid.draw(tg)
307s + popViewport()
307s + }
307s + grid.export(file)
307s + grid.refresh()
307s + }
307s >
307s > test(expression(
307s + x + y,
307s + x + y,
307s + x + y,
307s + x - y,
307s + x / y,
307s + x * y,
307s + x %+-% y,
307s + x %/% y,
307s + x %*% y,
307s + x %.% y,
307s + x[i],
307s + x^2,
307s + paste(x, y, z),
307s + sqrt(x),
307s + sqrt(x, y),
307s + X + Y,
307s + a * b,
307s + a == b,
307s + x != y,
307s + x < y,
307s + x <= y,
307s + x > y,
307s + x >= y,
307s + x %~~% y,
307s + x %=~% y,
307s + x %==% y,
307s + x %prop% y,
307s + bolditalic(x + plain(y + italic(z + bold(k)))),
307s + , # space
307s + symbol("m") + symbol("\042"),
307s + list(x, y, z),
307s + 1*...*n,
307s + 1*cdots*n,
307s + 1*ldots*n,
307s + x %subset% y,
307s + x %subseteq% y,
307s + x %notsubset% y,
307s + x %supset% y,
307s + x %supseteq% y,
307s + x %in% y,
307s + x %notin% y),
307s + "testml-1.svg",
307s + cex <- c(1, 1.5, .5, rep(1, 100)))
309s >
309s > test(expression(
309s + hat(x),
309s + hat(xyz),
309s + tilde(x),
309s + dot(x),
309s + ring(x),
309s + bar(x),
309s + widehat(xyz),
309s + widetilde(xyz),
309s + x %<->% y,
309s + x %->% y,
309s + x %<-% y,
309s + x %up% y,
309s + x %down% y,
309s + x %<=>% y,
309s + x %=>% y,
309s + x %<=% y,
309s + x %dblup% y,
309s + x %dbldown% y,
309s + alpha - omega,
309s + Alpha - Omega,
309s + theta1*phi1*sigma1*omega1,
309s + Upsilon1,
309s + aleph,
309s + infinity,
309s + partialdiff,
309s + nabla,
309s + 32*degree,
309s + 60*minute,
309s + 30*second,
309s + displaystyle(sum(x[i], i==1, n)),
309s + textstyle(sum(x[i], i==1, n)),
309s + textstyle(x[i]),
309s + scriptstyle(x[i]),
309s + scriptscriptstyle(x[i]),
309s + underline(xyz),
309s + x ~~ y,
309s + x + phantom(0) + y,
309s + x + over(1, phantom(0)),
309s + frac(x, y),
309s + over(x, y),
309s + atop(x, y),
309s + ),
309s + "testml-2.svg")
311s >
311s > test(expression(
311s + sum(x[i], i==1, n),
311s + prod(plain(P)(X==x), x),
311s + integral(f(x)*dx, a, b),
311s + union(A[i], i==1, n),
311s + intersect(A[i], i==1, n),
311s + lim(f(x), x %->% 0),
311s + min(g(x), x > 0),
311s + inf(S),
311s + sup(S),
311s + x^y + z,
311s + x^(y + z),
311s + x^{y + z},
311s + group("(", list(a, b), "]"),
311s + bgroup("(", atop(x, y), ")"),
311s + group(lceil, x, rceil),
311s + ),
311s + "testml-3.svg")
311s >
311s >
311s BEGIN TEST testpolyline.R
312s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
312s
312s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
312s Copyright (C) 2024 The R Foundation for Statistical Computing
312s Platform: aarch64-unknown-linux-gnu (64-bit)
312s
312s R is free software and comes with ABSOLUTELY NO WARRANTY.
312s You are welcome to redistribute it under certain conditions.
312s Type 'license()' or 'licence()' for distribution details.
312s
312s R is a collaborative project with many contributors.
312s Type 'contributors()' for more information and
312s 'citation()' on how to cite R or R packages in publications.
312s
312s Type 'demo()' for some demos, 'help()' for on-line help, or
312s 'help.start()' for an HTML browser interface to help.
312s Type 'q()' to quit R.
312s
312s During startup - Warning messages:
312s 1: Setting LC_CTYPE failed, using "C"
312s 2: Setting LC_COLLATE failed, using "C"
312s 3: Setting LC_TIME failed, using "C"
312s 4: Setting LC_MESSAGES failed, using "C"
312s 5: Setting LC_MONETARY failed, using "C"
312s 6: Setting LC_PAPER failed, using "C"
312s 7: Setting LC_MEASUREMENT failed, using "C"
312s >
312s > library(grid)
312s > require(gridSVG)
312s Loading required package: gridSVG
312s >
312s > grid.polyline(x=outer(c(0, .5, 1, .5), 5:1/5),
312s + y=outer(c(.5, 1, .5, 0), 5:1/5),
312s + id.lengths=rep(4, 5),
312s + gp=gpar(col=1:5, lwd=3))
312s
312s Attaching package: 'gridSVG'
312s
312s The following objects are masked from 'package:grid':
312s
312s linearGradient, pattern, radialGradient
312s
312s The following object is masked from 'package:grDevices':
312s
312s dev.off
312s
312s >
312s > grid.export("polyline.svg")
312s >
312s BEGIN TEST testprefix.R
312s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
312s
312s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
312s Copyright (C) 2024 The R Foundation for Statistical Computing
312s Platform: aarch64-unknown-linux-gnu (64-bit)
312s
312s R is free software and comes with ABSOLUTELY NO WARRANTY.
312s You are welcome to redistribute it under certain conditions.
312s Type 'license()' or 'licence()' for distribution details.
312s
312s R is a collaborative project with many contributors.
312s Type 'contributors()' for more information and
312s 'citation()' on how to cite R or R packages in publications.
312s
312s Type 'demo()' for some demos, 'help()' for on-line help, or
312s 'help.start()' for an HTML browser interface to help.
312s Type 'q()' to quit R.
312s
312s During startup - Warning messages:
312s 1: Setting LC_CTYPE failed, using "C"
312s 2: Setting LC_COLLATE failed, using "C"
312s 3: Setting LC_TIME failed, using "C"
312s 4: Setting LC_MESSAGES failed, using "C"
312s 5: Setting LC_MONETARY failed, using "C"
312s 6: Setting LC_PAPER failed, using "C"
312s 7: Setting LC_MEASUREMENT failed, using "C"
312s > library(grid)
312s > library(gridSVG)
312s
312s Attaching package: 'gridSVG'
312s
312s The following objects are masked from 'package:grid':
312s
312s linearGradient, pattern, radialGradient
312s
312s The following object is masked from 'package:grDevices':
312s
312s dev.off
312s
312s >
312s > pdf(file = NULL)
312s >
312s > pushViewport(viewport())
312s > grid.rect()
312s > grid.circle(name = "mycircle")
312s > grid.text("hello, world!")
312s > popViewport()
312s >
312s > # All IDs should now be exported with the prefix "TESTPREFIX"
312s > grid.export("test-prefixes.svg", prefix = "TESTPREFIX")
313s > dev.off()
313s null device
313s 1
313s >
313s BEGIN TEST testrotate.R
313s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
313s
313s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
313s Copyright (C) 2024 The R Foundation for Statistical Computing
313s Platform: aarch64-unknown-linux-gnu (64-bit)
313s
313s R is free software and comes with ABSOLUTELY NO WARRANTY.
313s You are welcome to redistribute it under certain conditions.
313s Type 'license()' or 'licence()' for distribution details.
313s
313s R is a collaborative project with many contributors.
313s Type 'contributors()' for more information and
313s 'citation()' on how to cite R or R packages in publications.
313s
313s Type 'demo()' for some demos, 'help()' for on-line help, or
313s 'help.start()' for an HTML browser interface to help.
313s Type 'q()' to quit R.
313s
313s During startup - Warning messages:
313s 1: Setting LC_CTYPE failed, using "C"
313s 2: Setting LC_COLLATE failed, using "C"
313s 3: Setting LC_TIME failed, using "C"
313s 4: Setting LC_MESSAGES failed, using "C"
313s 5: Setting LC_MONETARY failed, using "C"
313s 6: Setting LC_PAPER failed, using "C"
313s 7: Setting LC_MEASUREMENT failed, using "C"
313s >
313s > library(grid)
313s > library(gridSVG)
313s
313s Attaching package: 'gridSVG'
313s
313s The following objects are masked from 'package:grid':
313s
313s linearGradient, pattern, radialGradient
313s
313s The following object is masked from 'package:grDevices':
313s
313s dev.off
313s
313s >
313s > # Primitives to support:
313s > # rect
313s > grid.newpage()
313s > pushViewport(viewport(width=.5, height=.5, angle=30))
313s > grid.rect()
313s > popViewport()
313s > grid.export("rot-rect-default.svg")
313s > # Check justification
313s > grid.newpage()
313s > pushViewport(viewport(width=.5, height=.5, angle=30))
313s > grid.rect(x=0, y=0, just=c("left", "bottom"))
313s > popViewport()
313s > grid.export("rot-rect-just.svg")
313s >
313s > # Primitives to support:
313s > # text
313s > grid.newpage()
313s > pushViewport(viewport(width=.5, height=.5, angle=30))
313s > grid.text("rot-test")
313s > popViewport()
313s > grid.export("rot-text-default.svg")
313s > # Check justification
313s > grid.newpage()
313s > pushViewport(viewport(width=.5, height=.5, angle=30))
313s > grid.circle(r=unit(1, "mm"))
313s > grid.text("rot-test", just=c("left", "bottom"))
313s > popViewport()
313s > grid.export("rot-text-just.svg")
313s >
313s > # Primitives to support:
313s > # clipPath
313s > grid.newpage()
313s > pushViewport(viewport(width=.5, height=.5, angle=30, clip=TRUE))
313s Warning message:
313s In grid.Call.graphics(C_setviewport, vp, TRUE) :
313s cannot clip to rotated viewport
313s > grid.circle(r=.6)
313s > popViewport()
313s > grid.export("rot-clip-default.svg")
313s Warning messages:
313s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
313s cannot clip to rotated viewport
313s 2: In grid.Call.graphics(C_setviewport, vp, TRUE) :
313s cannot clip to rotated viewport
313s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :>
313s > # Primitives to support:
313s > # raster
313s > grid.newpage()
313s
313s cannot clip to rotated viewport
313s > pushViewport(viewport(width=.5, height=.5, angle=30))
313s > grid.raster(matrix(1:4/5, ncol=2), interp=FALSE)
313s > popViewport()
313s > grid.export("rot-raster-default.svg")
313s > # Check justification
313s > grid.newpage()
313s > pushViewport(viewport(width=.5, height=.5, angle=30))
313s > grid.raster(matrix(1:4/5, ncol=2), interp=FALSE,
313s + x=0, y=0, just=c("left", "bottom"))
313s > popViewport()
313s > grid.export("rot-raster-just.svg")
314s >
314s > # Primitives to support:
314s > # plotting symbols
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect()
314s > grid.points(1:5/6, 1:5/6, pch=1:5)
314s > popViewport()
314s > grid.export("rot-points.svg")
314s >
314s > #####################################
314s > # Full STATIC test
314s > library(lattice)
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > print(xyplot(mpg ~ disp, mtcars, pch=3),
314s + newpage=FALSE)
314s Warning messages:
314s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
314s cannot clip to rotated viewport
314s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :> popViewport()
314s
314s cannot clip to rotated viewport
314s > grid.export("rot-lattice.svg")
314s Warning messages:
314s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
314s > #####################################
314s >
314s > # Implications for animation:
314s > # rect
314s > grid.newpage()
314s cannot clip to rotated viewport
314s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
314s cannot clip to rotated viewport
314s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
314s cannot clip to rotated viewport
314s 4: In grid.Call.graphics(C_downviewport, name$name, strict) :
314s cannot clip to rotated viewport
314s 5: In grid.Call.graphics(C_setviewport, vp, TRUE) :
314s cannot clip to rotated viewport
314s 6: In grid.Call.graphics(C_downviewport, name$name, strict) :
314s cannot clip to rotated viewport
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect(gp=gpar(col="grey"))
314s > grid.rect(x=.1, width=.1, height=.1, just="left", name="r")
314s > grid.animate("r", x=c(.1, .8))
314s > popViewport()
314s > grid.export("rot-rect-animate-x.svg")
314s >
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect(gp=gpar(col="grey"))
314s > grid.rect(x=.1, width=.1, height=.1, just="left", name="r")
314s > grid.animate("r", x=c(.1, .8), height=c(.1, .5))
314s > popViewport()
314s > grid.export("rot-rect-animate-height.svg")
314s >
314s > # Implications for animation:
314s > # text
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect(gp=gpar(col="grey"))
314s > grid.text("rot-test", x=.1, name="t")
314s > grid.animate("t", x=c(.1, .9))
314s > popViewport()
314s > grid.export("rot-text-animate-x.svg")
314s >
314s > # Implications for animation:
314s > # raster
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect(gp=gpar(col="grey"))
314s > grid.raster(matrix(1-4:1/20, ncol=2), interpolate=FALSE,
314s + x=.8, width=.1, just="left")
314s > grid.raster(matrix(1:4/5, ncol=2), interpolate=FALSE,
314s + x=.1, width=.1, just="left", name="r")
314s > grid.animate("r", x=c(.1, .8))
314s > popViewport()
314s > grid.export("rot-raster-animate-x.svg")
314s >
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect(gp=gpar(col="grey"))
314s > grid.raster(matrix(1-4:1/20, ncol=2), interpolate=FALSE,
314s + x=.8, width=.1, height=.5, just="left")
314s > grid.raster(matrix(1:4/5, ncol=2), interpolate=FALSE,
314s + x=.1, width=.1, just="left", name="r")
314s > # NOTE important to specify unit for height because default is NULL!
314s > grid.animate("r", x=c(.1, .8), height=unit(c(.1, .5), "npc"))
314s > popViewport()
314s > grid.export("rot-raster-animate-height.svg")
314s >
314s > # Implications for animation:
314s > # plotting symbols
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect()
314s > grid.points(5:1/6, 1:5/6, pch=1:5, gp=gpar(col="grey"))
314s > grid.points(1:5/6, 1:5/6, pch=1:5, name="p")
314s > grid.animate("p", x=animUnit(unit(c(1:5, 5:1)/6, "npc"), id=rep(1:5, 2)))
314s > popViewport()
314s > grid.export("rot-points-animate-x.svg")
314s >
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > grid.rect()
314s > grid.points(5:1/6, 1:5/6, pch=1:5, size=unit(2, "char"), gp=gpar(col="grey"))
314s > grid.points(1:5/6, 1:5/6, pch=1:5, name="p")
314s > grid.animate("p", x=animUnit(unit(c(1:5, 5:1)/6, "npc"), id=rep(1:5, 2)),
314s + size=animUnit(unit(rep(1:2, each=5), "char"), i=rep(1:5, 2)))
314s > popViewport()
314s > grid.export("rot-points-animate-size.svg")
314s >
314s > #####################################
314s > # Full DYNAMIC test
314s > library(lattice)
314s > grid.newpage()
314s > pushViewport(viewport(width=.5, height=.5, angle=30))
314s > print(xyplot(qsec ~ disp, mtcars, pch=3, col="grey",
314s + ylim=extendrange(c(mtcars$mpg, mtcars$qsec))),
314s + newpage=FALSE, prefix="plotgrey")
314s Warning messages:
314s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
314s cannot clip to rotated viewport
314s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
314s cannot clip to rotated viewport
314s > print(xyplot(mpg ~ disp, mtcars, pch=3,
314s + ylim=extendrange(c(mtcars$mpg, mtcars$qsec))),
314s + newpage=FALSE, prefix="plot1")
314s Warning messages:
314s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
314s cannot clip to rotated viewport
314s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
314s > grid.animate("plot1.xyplot.points.panel.1.1",
314s + y=animUnit(unit(c(mtcars$mpg, mtcars$qsec), "native"),
314s cannot clip to rotated viewport
314s + id=rep(1:nrow(mtcars), 2)))
314s > ylab <- grid.get("plot1.ylab")
314s > grid.animate("plot1.ylab", y=ylab$y - unit(0:1, "in"),
314s + "fill-opacity"=1:0, "stroke-opacity"=1:0)
314s > grid.animate("plotgrey.ylab", y=ylab$y + unit(1:0, "in"),
314s + "fill-opacity"=0:1, "stroke-opacity"=0:1)
314s > popViewport()
314s > grid.export("rot-lattice-animate.svg")
315s There were 12 warnings (use warnings() to see them)
315s > #####################################
315s >
315s > # Implications for exported coordinate system info (*.svg.coords.js)
315s > # need to record rotation info
315s > # AND use it in convertViewportX() etc
315s > library(lattice)
315s > grid.newpage()
315s > pushViewport(viewport(width=.5, height=.5, angle=30,
315s + name="rot"))
315s > print(xyplot(mpg ~ disp, mtcars, pch=3),
315s + newpage=FALSE, prefix="coords")
315s > downViewport("coords.panel.1.1.off.vp")
315s > grid.circle(unit(200, "native"), unit(30, "native"),
315s + r=unit(2, "mm"), gp=gpar(col=NA, fill="grey"))
315s > grid.circle(unit(300, "native"), unit(35, "native"),
315s + r=unit(1, "mm"), gp=gpar(col=NA, fill="grey"))
315s > upViewport(0)
315s > grid.export("rot-lattice-coords.svg",
315s + exportCoords="file", exportMappings="file", usePaths="none")
315s Warning messages:
315s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
315s cannot clip to rotated viewport
315s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
315s cannot clip to rotated viewport
316s > # Read image back into R
316s > library(XML)
316s Warning messages:
316s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 4: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 5: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s 6: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 7: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s > svg <- xmlParse("rot-lattice-coords.svg")
316s > # Read in coord info
316s > gridSVGCoords(readCoordsJS("rot-lattice-coords.svg.coords.js"))
316s > gridSVGMappings(readMappingsJS("rot-lattice-coords.svg.mappings.js"))
316s > # Add new point to panel
316s > panel <- getNodeSet(svg,
316s + "//svg:g[contains(@id, 'coords.panel.1.1.off.vp')]",
316s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
316s > vpname <- getSVGMappings("coords.panel.1.1.off.vp", "vp")[1]
316s > pos <- viewportConvertPos(vpname, 200, 30, "native")
316s > circ <- newXMLNode("circle",
316s + parent = panel,
316s + attrs = list(
316s + cx = pos$x, cy = pos$y,
316s + r = viewportConvertWidth(vpname, 2, "mm", "svg"),
316s + stroke = "red",
316s + fill = "red",
316s + "fill-opacity" = .5))
316s > dim <- viewportConvertDim(vpname, 100, 5, "native", "svg")
316s > line <- newXMLNode("polyline",
316s + parent = panel,
316s + attrs = list(
316s + points =
316s + paste(paste(pos$x, pos$y, sep=","),
316s + paste(pos$x + dim$w, pos$y + dim$h, sep=",")),
316s + r = viewportConvertWidth(vpname, 2, "mm", "svg"),
316s + stroke = "red",
316s + fill = "red",
316s + "fill-opacity" = .5))
316s > saveXML(svg, "rot-lattice-coords-mod.svg")
316s [1] "rot-lattice-coords-mod.svg"
316s >
316s > # Pre-existing bug in convertViewportWidth() and convertViewportHeight()
316s > library(lattice)
316s > print(xyplot(mpg ~ disp, mtcars, pch=3), prefix="bug")
316s > downViewport("bug.panel.1.1.off.vp")
316s > grid.rect(x=200, y=30, width=100, height=5, just=c("left", "bottom"),
316s + default="native", gp=gpar(col="grey", fill=NA))
316s > grid.export("bug-lattice-coords.svg",
316s + exportCoords="file", exportMappings="file", usePaths="none")
316s > library(XML)
316s > svg <- xmlParse("bug-lattice-coords.svg")
316s > gridSVGCoords(readCoordsJS("bug-lattice-coords.svg.coords.js"))
316s > gridSVGMappings(readMappingsJS("bug-lattice-coords.svg.mappings.js"))
316s > panel <- getNodeSet(svg,
316s + "//svg:g[contains(@id, 'bug.panel.1.1.off.vp')]",
316s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
316s > vpname <- getSVGMappings("bug.panel.1.1.off.vp", "vp")[1]
316s > x <- viewportConvertX(vpname, 200, "native")
316s > y <- viewportConvertY(vpname, 30, "native")
316s Warning messages:
316s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s > w <- viewportConvertWidth(vpname, 100, "native", "svg")
316s > h <- viewportConvertHeight(vpname, 5, "native", "svg")
316s > line <- newXMLNode("polyline",
316s + parent = panel,
316s + attrs = list(points = paste(paste(x, y, sep=","),
316s + paste(x + w, y + h, sep=",")),
316s + r = viewportConvertWidth(vpname, 2, "mm", "svg"),
316s + stroke = "red",
316s + fill = "red",
316s + "fill-opacity" = .5))
316s > saveXML(svg, "bug-lattice-coords-mod.svg")
316s [1] "bug-lattice-coords-mod.svg"
316s >
316s > # Implications for exported coordinate system info (*.svg.coords.js)
316s > # in viewportCreate()
316s > library(lattice)
316s > grid.newpage()
316s > pushViewport(viewport(width=.5, height=.5, angle=30,
316s + name="rot"))
316s > print(xyplot(mpg ~ disp, mtcars, pch=3),
316s + newpage=FALSE, prefix="coords")
316s > downViewport("coords.panel.1.1.off.vp")
316s > grid.yaxis(main=FALSE, gp=gpar(col="grey", fill="grey"))
316s > upViewport(0)
316s > grid.export("rot-lattice-coords-create.svg",
316s + exportCoords="file", exportMappings="file", usePaths="none")
316s Warning messages:
316s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 4: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 5: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s 6: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 7: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
316s > library(XML)
316s > svg <- xmlParse("rot-lattice-coords-create.svg")
316s > # Read in coord info
316s > gridSVGCoords(readCoordsJS("rot-lattice-coords-create.svg.coords.js"))
316s > gridSVGMappings(readMappingsJS("rot-lattice-coords-create.svg.mappings.js"))
316s > # Create new viewport
316s > vpname <- getSVGMappings("coords.panel.1.1.off.vp", "vp")[1]
316s > vp <- viewportCreate(vpname)
316s > grid.newpage()
316s > pushViewport(vp)
316s > # Draw an axis and, convert it to SVG, and extract axis SVG content
316s > grid.yaxis(main=FALSE, gp=gpar(col="red", fill="red"))
316s > newsvg <- grid.export(NULL)
316s > axissvg <- getNodeSet(newsvg$svg,
316s + "//svg:g[contains(@id, 'yaxis')]",
316s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
316s > # Add new axis to panel
316s > panel <- getNodeSet(svg,
316s + "//svg:g[contains(@id, 'coords.panel.1.1.off.vp')]",
316s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
316s > addChildren(panel, kids=list(axissvg))
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s 100
316s
316s
316s
316s
316s
316s
316s 200
316s
316s
316s
316s
316s
316s
316s 300
316s
316s
316s
316s
316s
316s
316s 400
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s
316s 10
316s
316s
316s
316s
316s
316s
316s 15
316s
316s
316s
316s
316s
316s
316s 20
316s
316s
316s
316s
316s
316s
316s 25
316s
316s
316s
316s
316s
316s
316s 30
316s
316s
316s
316s
316s
316s
316s 35
316s
316s
316s
316s
316s
316s
316s > saveXML(svg, "rot-lattice-coords-create-mod.svg")
316s [1] "rot-lattice-coords-create-mod.svg"
316s >
316s > # Implications for exported coordinate system info (*.svg.coords.js)
316s > # in javascript viewportConvertX, etc
316s > library(lattice)
316s > grid.newpage()
316s > pushViewport(viewport(width=.5, height=.5, angle=30,
316s + name="rot"))
316s > print(xyplot(mpg ~ disp, mtcars, pch=3),
316s + newpage=FALSE, prefix="coords")
316s Warning messages:
316s > downViewport("coords.panel.1.1.off.vp")
316s > grid.rect(x=200, y=30, width=100, height=5, just=c("left", "bottom"),
316s + default="native", gp=gpar(col="grey", fill=NA))
316s > upViewport(0)
316s > grid.garnish("coords.background",
316s + onclick="addPoint()",
316s + "pointer-events"="all")
316s > grid.script(file="rot-lattice-coords.js")
316s > grid.export("rot-lattice-coords-js.svg",
316s + exportCoords="file", exportMappings="file", usePaths="none",
316s + exportJS="file")
316s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
316s cannot clip to rotated viewport
316s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
316s cannot clip to rotated viewport
317s Warning messages:
317s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
317s cannot clip to rotated viewport
317s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
317s cannot clip to rotated viewport
317s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
317s cannot clip to rotated viewport
317s 4: In grid.Call.graphics(C_setviewport, vp, TRUE) :
317s cannot clip to rotated viewport
317s 5: In grid.Call.graphics(C_downviewport, name$name, strict) :
317s cannot clip to rotated viewport
317s 6: In grid.Call.graphics(C_setviewport, vp, TRUE) :>
317s > # Pre-existing bug in convertViewportWidth() and convertViewportHeight() (in JS)
317s > library(lattice)
317s > print(xyplot(mpg ~ disp, mtcars, pch=3), prefix="bug")
317s
317s cannot clip to rotated viewport
317s 7: In grid.Call.graphics(C_downviewport, name$name, strict) :
317s cannot clip to rotated viewport
317s > downViewport("bug.panel.1.1.off.vp")
317s > grid.rect(x=200, y=30, width=100, height=5, just=c("left", "bottom"),
317s + default="native", gp=gpar(col="grey", fill=NA))
317s > grid.garnish("bug.background",
317s + onclick="addPoint()",
317s + "pointer-events"="all")
317s > grid.script(file="bug-lattice-coords.js")
317s > grid.export("bug-lattice-coords-js.svg",
317s + exportCoords="file", exportMappings="file", usePaths="none",
317s + exportJS="file")
317s >
317s >
317s >
317s >
317s BEGIN TEST testsvg.R
317s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
317s
317s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
317s Copyright (C) 2024 The R Foundation for Statistical Computing
317s Platform: aarch64-unknown-linux-gnu (64-bit)
317s
317s R is free software and comes with ABSOLUTELY NO WARRANTY.
317s You are welcome to redistribute it under certain conditions.
317s Type 'license()' or 'licence()' for distribution details.
317s
317s R is a collaborative project with many contributors.
317s Type 'contributors()' for more information and
317s 'citation()' on how to cite R or R packages in publications.
317s
317s Type 'demo()' for some demos, 'help()' for on-line help, or
317s 'help.start()' for an HTML browser interface to help.
317s Type 'q()' to quit R.
317s
317s During startup - Warning messages:
317s 1: Setting LC_CTYPE failed, using "C"
317s 2: Setting LC_COLLATE failed, using "C"
317s 3: Setting LC_TIME failed, using "C"
317s 4: Setting LC_MESSAGES failed, using "C"
317s 5: Setting LC_MONETARY failed, using "C"
317s 6: Setting LC_PAPER failed, using "C"
317s 7: Setting LC_MEASUREMENT failed, using "C"
317s > library(grid)
317s > library(gridSVG)
318s > svgdev <- svgOpen(width=400, height=400)
318s > svgRect(0, 0, 400, 400,
318s + style=svgStyle(fill="none", stroke="black"),
318s + svgdev=svgdev)
318s > svgStartGroup(svgdev=svgdev)
318s > svgRect(2, 2, 240, 320,
318s + style=svgStyle(fill="none", stroke="green"),
318s + svgdev=svgdev)
318s > svgLines(c(23.81, 45.63, 67.45, 89.27, 111.09, 132.90,
318s + 154.72, 176.54, 198.36, 220.18),
318s + c(292.90, 263.81, 234.72, 205.63, 176.54,
318s + 147.45, 118.36, 89.27, 60.18, 31.09),
318s + style=svgStyle(stroke="green"),
318s + svgdev=svgdev)
318s > svgPolygon(c(23.81, 67.45, 89.27, 23.81),
318s + c(31.09, 31.09, 147.45, 118.36),
318s + style=svgStyle(fill="grey"),
318s + svgdev=svgdev)
318s > svgRect(132.90, 89.27, 43.63, 29.09,
318s + style=svgStyle(fill="cyan"),
318s + svgdev=svgdev)
318s > svgText(45.63, 234.728,
318s + "some text",
318s + style=svgStyle(fill="red"),
318s + svgdev=svgdev)
318s > svgCircle(176.54, 89.27, 2.18,
318s + style=svgStyle(stroke="blue", fill="none"),
318s + svgdev=svgdev)
318s
318s Attaching package: 'gridSVG'
318s
318s The following objects are masked from 'package:grid':
318s
318s linearGradient, pattern, radialGradient
318s
318s The following object is masked from 'package:grDevices':
318s
318s dev.off
318s
318s > svgText(89.27, 147.45, "centred text", hjust="centre", vjust="centre", rot=20,
318s + style=svgStyle(fill="yellow", stroke="black"),
318s + svgdev=svgdev)
318s >
318s >
318s > svgStartGroup(svgdev=svgdev)
318s > svgRect(132.90, 147.45, 65.45, 29.09,
318s + style=svgStyle(fill="none", stroke="black"),
318s + svgdev=svgdev)
318s > svgText(139.45, 162, "text in a box",
318s + svgdev=svgdev)
318s > svgEndGroup(svgdev=svgdev)
318s >
318s >
318s > svgRect(111.09, 60.18, 43.63, 203.63,
318s + style=svgStyle(fill="green", opacity=.5),
318s + svgdev=svgdev)
318s > svgEndGroup(svgdev=svgdev)
318s > svgClose(svgdev)
318s
318s >
318s >
318s BEGIN TEST testtransparency.R
318s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
318s
318s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
318s Copyright (C) 2024 The R Foundation for Statistical Computing
318s Platform: aarch64-unknown-linux-gnu (64-bit)
318s
318s R is free software and comes with ABSOLUTELY NO WARRANTY.
318s You are welcome to redistribute it under certain conditions.
318s Type 'license()' or 'licence()' for distribution details.
318s
318s R is a collaborative project with many contributors.
318s Type 'contributors()' for more information and
318s 'citation()' on how to cite R or R packages in publications.
318s
318s Type 'demo()' for some demos, 'help()' for on-line help, or
318s 'help.start()' for an HTML browser interface to help.
318s Type 'q()' to quit R.
318s
318s During startup - Warning messages:
318s 1: Setting LC_CTYPE failed, using "C"
318s 2: Setting LC_COLLATE failed, using "C"
318s 3: Setting LC_TIME failed, using "C"
318s 4: Setting LC_MESSAGES failed, using "C"
318s 5: Setting LC_MONETARY failed, using "C"
318s 6: Setting LC_PAPER failed, using "C"
318s 7: Setting LC_MEASUREMENT failed, using "C"
318s > library(grid)
318s > library(gridSVG)
318s
318s Attaching package: 'gridSVG'
318s
318s The following objects are masked from 'package:grid':
318s
318s linearGradient, pattern, radialGradient
318s
318s The following object is masked from 'package:grDevices':
318s
318s dev.off
318s
318s > dev.new(width=6, height=6)
318s dev.new(): using pdf(file="Rplots12.pdf")
318s > # Some default settings
318s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
318s >
318s > # A plot with overlapping polygons where the overlap needs to be
318s > # coloured differently
318s >
318s > # Implemented using transparency
318s >
318s > # Some dummy data
318s > set.seed(1000)
318s > x <- sort(runif(20, 1, 10))
318s > y1 <- (x - 5) + rnorm(20)
318s > y2 <- -(x - 5) + rnorm(20)
318s >
318s > # Some "analysis"
318s > lm1 <- lm(y1 ~ x)
318s > lm2 <- lm(y2 ~ x)
318s >
318s > # Some calculated values to plot
318s > p1 <- predict(lm1, interval="confidence", type="response")
318s > p2 <- predict(lm2, interval="confidence", type="response")
318s >
318s > pushViewport(plotViewport(c(5, 5, 4, 2)))
318s > pushViewport(dataViewport(x, c(p1[,2], p2[,2], p1[,3], p2[,3])))
318s > grid.rect()
318s > grid.xaxis()
318s > grid.yaxis()
318s > grid.points(x, y1)
318s > grid.points(x, y2, pch=3)
318s > grid.lines(x, p1[,1], default.units="native")
318s > grid.lines(x, p1[,2], default.units="native")
318s > grid.lines(x, p1[,3], default.units="native")
318s > grid.lines(x, p2[,1], default.units="native")
318s > grid.lines(x, p2[,2], default.units="native")
318s > grid.lines(x, p2[,3], default.units="native")
318s > # overlapping polygons
318s > grid.polygon(c(x, rev(x)), c(p1[,2], rev(p1[,3])),
318s + gp=gpar(fill="red", alpha=0.5),
318s + default.units="native")
318s > grid.polygon(c(x, rev(x)), c(p2[,2], rev(p2[,3])),
318s + gp=gpar(fill="green", alpha=0.5),
318s + default.units="native")
318s >
318s >
318s > popViewport(2)
318s >
318s > popViewport()
318s >
318s > grid.export("transparency.svg")
319s > dev.off()
319s null device
319s 1
319s >
319s BEGIN TEST testvp.R
319s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
319s
319s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
319s Copyright (C) 2024 The R Foundation for Statistical Computing
319s Platform: aarch64-unknown-linux-gnu (64-bit)
319s
319s R is free software and comes with ABSOLUTELY NO WARRANTY.
319s You are welcome to redistribute it under certain conditions.
319s Type 'license()' or 'licence()' for distribution details.
319s
319s R is a collaborative project with many contributors.
319s Type 'contributors()' for more information and
319s 'citation()' on how to cite R or R packages in publications.
319s
319s Type 'demo()' for some demos, 'help()' for on-line help, or
319s 'help.start()' for an HTML browser interface to help.
319s Type 'q()' to quit R.
319s
319s During startup - Warning messages:
319s 1: Setting LC_CTYPE failed, using "C"
319s 2: Setting LC_COLLATE failed, using "C"
319s 3: Setting LC_TIME failed, using "C"
319s 4: Setting LC_MESSAGES failed, using "C"
319s 5: Setting LC_MONETARY failed, using "C"
319s 6: Setting LC_PAPER failed, using "C"
319s 7: Setting LC_MEASUREMENT failed, using "C"
319s >
319s > # Test that 'vp' slots [viewports (vpTrees, vpLists, vpStacks) and vpPaths]
319s > # are being recorded correctly
319s >
319s > library(grid)
319s > library(gridSVG)
319s
319s Attaching package: 'gridSVG'
319s
319s The following objects are masked from 'package:grid':
319s
319s linearGradient, pattern, radialGradient
319s
319s >
319s > grid.newpage()
319s The following object is masked from 'package:grDevices':
319s
319s dev.off
319s
319s > vp <- viewport(width=.5, height=.5, gp=gpar(fill="grey"))
319s > grid.rect(vp=vp)
319s > grid.export("grob-viewport.svg")
320s >
320s > grid.newpage()
320s > vp <- vpStack(viewport(width=.5, height=.5, gp=gpar(fill="grey")),
320s + viewport(gp=gpar(col="red")))
320s > grid.rect(vp=vp)
320s > grid.export("grob-vpStack.svg")
320s >
320s > grid.newpage()
320s > vp <- vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey")),
320s + viewport(gp=gpar(col="red")))
320s > grid.rect(vp=vp)
320s > grid.export("grob-vpList.svg")
320s >
320s > grid.newpage()
320s > vp <- vpTree(viewport(width=.5, height=.5),
320s + vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey")),
320s + viewport(gp=gpar(col="red"))))
320s > grid.rect(vp=vp)
320s > grid.export("grob-vpTree.svg")
320s >
320s > grid.newpage()
320s > vp <- vpTree(viewport(width=.5, height=.5, name="p"),
320s + vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey"),
320s + name="c1"),
320s + viewport(gp=gpar(col="red"),
320s + name="c2")))
320s > pushViewport(vp)
320s > upViewport(0)
320s > grid.rect(vp="p::c1")
320s > grid.export("grob-vpPath.svg")
320s >
320s > grid.newpage()
320s > vp <- viewport(width=.5, height=.5, gp=gpar(fill="grey"))
320s > grid.draw(gTree(children=gList(rectGrob()), vp=vp))
320s > grid.export("gTree-viewport.svg")
320s >
320s > # Pathological
320s > grid.newpage()
320s > vp <- vpTree(viewport(width=.5, height=.5, name="p"),
320s + vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey"),
320s + name="c1"),
320s + viewport(gp=gpar(col="red"),
320s + name="c2")))
320s > pushViewport(vp)
320s > upViewport(0)
320s > grid.draw(gTree(childrenvp=vp,
320s + children=gList(rectGrob(vp="p::c1")),
320s + vp="p::c1"))
320s > grid.export("gTree-vpPath.svg")
320s >
320s autopkgtest [18:50:05]: test run-unit-test: -----------------------]
321s run-unit-test PASS
321s autopkgtest [18:50:06]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - -
321s autopkgtest [18:50:06]: test pkg-r-autopkgtest: preparing testbed
323s Reading package lists...
323s Building dependency tree...
323s Reading state information...
323s Starting pkgProblemResolver with broken count: 0
323s Starting 2 pkgProblemResolver with broken count: 0
323s Done
324s The following additional packages will be installed:
324s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu
324s dctrl-tools g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc
324s gcc-13 gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu gfortran gfortran-13
324s gfortran-13-aarch64-linux-gnu gfortran-aarch64-linux-gnu icu-devtools
324s libasan8 libatomic1 libblas-dev libbz2-dev libc-dev-bin libc6-dev libcc1-0
324s libcrypt-dev libgcc-13-dev libgfortran-13-dev libhwasan0 libicu-dev libisl23
324s libitm1 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0
324s liblzma-dev libmpc3 libncurses-dev libnsl-dev libpcre2-16-0 libpcre2-32-0
324s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev
324s libstdc++-13-dev libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkg-config
324s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev
324s Suggested packages:
324s cpp-doc gcc-13-locales cpp-13-doc debtags gcc-13-doc gcc-multilib
324s manpages-dev autoconf automake libtool flex bison gdb gcc-doc
324s gdb-aarch64-linux-gnu gfortran-doc gfortran-13-doc libcoarrays-dev
324s liblapack-doc glibc-doc icu-doc liblzma-doc ncurses-doc readline-doc
324s libstdc++-13-doc texlive-base texlive-latex-base texlive-plain-generic
324s texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils
324s texlive-latex-recommended texlive-latex-extra texinfo
324s Recommended packages:
324s bzip2-doc manpages manpages-dev libc-devtools libpng-tools
324s The following NEW packages will be installed:
324s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu
324s cpp-aarch64-linux-gnu dctrl-tools g++ g++-13 g++-13-aarch64-linux-gnu
324s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu
324s gcc-aarch64-linux-gnu gfortran gfortran-13 gfortran-13-aarch64-linux-gnu
324s gfortran-aarch64-linux-gnu icu-devtools libasan8 libatomic1 libblas-dev
324s libbz2-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libgcc-13-dev
324s libgfortran-13-dev libhwasan0 libicu-dev libisl23 libitm1 libjpeg-dev
324s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 liblzma-dev libmpc3
324s libncurses-dev libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev
324s libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev libstdc++-13-dev
324s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkg-config pkg-r-autopkgtest
324s pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev
324s 0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded.
324s Need to get 92.8 MB/92.8 MB of archives.
324s After this operation, 343 MB of additional disk space will be used.
324s Get:1 /tmp/autopkgtest.Diqmcp/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [728 B]
324s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB]
324s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB]
325s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB]
325s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc-dev arm64 1.3.4+ds-1.1 [201 kB]
325s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB]
325s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB]
325s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB]
325s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB]
325s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB]
325s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB]
325s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B]
325s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B]
325s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB]
325s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB]
325s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB]
325s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB]
325s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB]
325s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB]
325s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB]
325s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB]
325s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB]
325s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB]
325s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB]
326s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB]
326s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B]
326s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B]
326s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB]
326s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB]
326s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB]
326s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B]
326s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B]
326s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B]
326s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 dctrl-tools arm64 2.24-3build2 [65.2 kB]
326s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran-13-dev arm64 13.2.0-17ubuntu2 [478 kB]
326s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.8 MB]
326s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-13 arm64 13.2.0-17ubuntu2 [10.3 kB]
326s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1022 B]
326s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran arm64 4:13.2.0-7ubuntu1 [1164 B]
326s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 icu-devtools arm64 74.2-1ubuntu1 [209 kB]
326s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libblas-dev arm64 3.12.0-3 [111 kB]
327s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libbz2-dev arm64 1.0.8-5ubuntu1 [35.8 kB]
327s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libicu-dev arm64 74.2-1ubuntu1 [11.9 MB]
327s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8-dev arm64 2.1.5-2ubuntu1 [304 kB]
327s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8-dev arm64 8c-2ubuntu11 [1484 B]
327s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-dev arm64 8c-2ubuntu11 [1482 B]
327s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack-dev arm64 3.12.0-3 [4293 kB]
327s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libncurses-dev arm64 6.4+20240113-1ubuntu1 [385 kB]
327s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB]
327s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB]
327s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B]
327s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB]
327s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB]
327s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB]
327s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpng-dev arm64 1.6.43-3 [267 kB]
327s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline-dev arm64 8.2-3.1 [177 kB]
327s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB]
327s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB]
327s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 pkg-config arm64 1.8.1-2 [7170 B]
327s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 liblzma-dev arm64 5.4.5-0.3 [209 kB]
327s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 r-base-dev all 4.3.3-2build1 [4334 B]
327s Get:62 http://ftpmaster.internal/ubuntu noble/universe arm64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B]
328s Fetched 92.8 MB in 3s (33.2 MB/s)
328s Selecting previously unselected package libc-dev-bin.
328s (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 ... 77237 files and directories currently installed.)
328s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_arm64.deb ...
328s Unpacking libc-dev-bin (2.39-0ubuntu2) ...
328s Selecting previously unselected package linux-libc-dev:arm64.
328s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_arm64.deb ...
328s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ...
328s Selecting previously unselected package libcrypt-dev:arm64.
328s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_arm64.deb ...
328s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ...
328s Selecting previously unselected package libtirpc-dev:arm64.
328s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1.1_arm64.deb ...
328s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1.1) ...
328s Selecting previously unselected package libnsl-dev:arm64.
328s Preparing to unpack .../04-libnsl-dev_1.3.0-3_arm64.deb ...
328s Unpacking libnsl-dev:arm64 (1.3.0-3) ...
328s Selecting previously unselected package rpcsvc-proto.
328s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ...
328s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
328s Selecting previously unselected package libc6-dev:arm64.
328s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_arm64.deb ...
328s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ...
329s Selecting previously unselected package libisl23:arm64.
329s Preparing to unpack .../07-libisl23_0.26-3_arm64.deb ...
329s Unpacking libisl23:arm64 (0.26-3) ...
329s Selecting previously unselected package libmpc3:arm64.
329s Preparing to unpack .../08-libmpc3_1.3.1-1_arm64.deb ...
329s Unpacking libmpc3:arm64 (1.3.1-1) ...
329s Selecting previously unselected package cpp-13-aarch64-linux-gnu.
329s Preparing to unpack .../09-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ...
329s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
329s Selecting previously unselected package cpp-13.
329s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_arm64.deb ...
329s Unpacking cpp-13 (13.2.0-17ubuntu2) ...
329s Selecting previously unselected package cpp-aarch64-linux-gnu.
329s Preparing to unpack .../11-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ...
329s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
329s Selecting previously unselected package cpp.
329s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ...
329s Unpacking cpp (4:13.2.0-7ubuntu1) ...
329s Selecting previously unselected package libcc1-0:arm64.
329s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_arm64.deb ...
329s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ...
329s Selecting previously unselected package libitm1:arm64.
329s Preparing to unpack .../14-libitm1_14-20240303-1ubuntu1_arm64.deb ...
329s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ...
329s Selecting previously unselected package libatomic1:arm64.
329s Preparing to unpack .../15-libatomic1_14-20240303-1ubuntu1_arm64.deb ...
329s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ...
329s Selecting previously unselected package libasan8:arm64.
329s Preparing to unpack .../16-libasan8_14-20240303-1ubuntu1_arm64.deb ...
329s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ...
330s Selecting previously unselected package liblsan0:arm64.
330s Preparing to unpack .../17-liblsan0_14-20240303-1ubuntu1_arm64.deb ...
330s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ...
330s Selecting previously unselected package libtsan2:arm64.
330s Preparing to unpack .../18-libtsan2_14-20240303-1ubuntu1_arm64.deb ...
330s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ...
330s Selecting previously unselected package libubsan1:arm64.
330s Preparing to unpack .../19-libubsan1_14-20240303-1ubuntu1_arm64.deb ...
330s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ...
330s Selecting previously unselected package libhwasan0:arm64.
330s Preparing to unpack .../20-libhwasan0_14-20240303-1ubuntu1_arm64.deb ...
330s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ...
330s Selecting previously unselected package libgcc-13-dev:arm64.
330s Preparing to unpack .../21-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ...
330s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ...
330s Selecting previously unselected package gcc-13-aarch64-linux-gnu.
330s Preparing to unpack .../22-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ...
330s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
330s Selecting previously unselected package gcc-13.
330s Preparing to unpack .../23-gcc-13_13.2.0-17ubuntu2_arm64.deb ...
330s Unpacking gcc-13 (13.2.0-17ubuntu2) ...
330s Selecting previously unselected package gcc-aarch64-linux-gnu.
330s Preparing to unpack .../24-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ...
330s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
331s Selecting previously unselected package gcc.
331s Preparing to unpack .../25-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ...
331s Unpacking gcc (4:13.2.0-7ubuntu1) ...
331s Selecting previously unselected package libstdc++-13-dev:arm64.
331s Preparing to unpack .../26-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ...
331s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ...
331s Selecting previously unselected package g++-13-aarch64-linux-gnu.
331s Preparing to unpack .../27-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ...
331s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
331s Selecting previously unselected package g++-13.
331s Preparing to unpack .../28-g++-13_13.2.0-17ubuntu2_arm64.deb ...
331s Unpacking g++-13 (13.2.0-17ubuntu2) ...
331s Selecting previously unselected package g++-aarch64-linux-gnu.
331s Preparing to unpack .../29-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ...
331s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
331s Selecting previously unselected package g++.
331s Preparing to unpack .../30-g++_4%3a13.2.0-7ubuntu1_arm64.deb ...
331s Unpacking g++ (4:13.2.0-7ubuntu1) ...
331s Selecting previously unselected package build-essential.
331s Preparing to unpack .../31-build-essential_12.10ubuntu1_arm64.deb ...
331s Unpacking build-essential (12.10ubuntu1) ...
331s Selecting previously unselected package dctrl-tools.
331s Preparing to unpack .../32-dctrl-tools_2.24-3build2_arm64.deb ...
331s Unpacking dctrl-tools (2.24-3build2) ...
331s Selecting previously unselected package libgfortran-13-dev:arm64.
332s Preparing to unpack .../33-libgfortran-13-dev_13.2.0-17ubuntu2_arm64.deb ...
332s Unpacking libgfortran-13-dev:arm64 (13.2.0-17ubuntu2) ...
332s Selecting previously unselected package gfortran-13-aarch64-linux-gnu.
332s Preparing to unpack .../34-gfortran-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ...
332s Unpacking gfortran-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
332s Selecting previously unselected package gfortran-13.
332s Preparing to unpack .../35-gfortran-13_13.2.0-17ubuntu2_arm64.deb ...
332s Unpacking gfortran-13 (13.2.0-17ubuntu2) ...
332s Selecting previously unselected package gfortran-aarch64-linux-gnu.
332s Preparing to unpack .../36-gfortran-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ...
332s Unpacking gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
332s Selecting previously unselected package gfortran.
332s Preparing to unpack .../37-gfortran_4%3a13.2.0-7ubuntu1_arm64.deb ...
332s Unpacking gfortran (4:13.2.0-7ubuntu1) ...
332s Selecting previously unselected package icu-devtools.
332s Preparing to unpack .../38-icu-devtools_74.2-1ubuntu1_arm64.deb ...
332s Unpacking icu-devtools (74.2-1ubuntu1) ...
332s Selecting previously unselected package libblas-dev:arm64.
332s Preparing to unpack .../39-libblas-dev_3.12.0-3_arm64.deb ...
332s Unpacking libblas-dev:arm64 (3.12.0-3) ...
332s Selecting previously unselected package libbz2-dev:arm64.
332s Preparing to unpack .../40-libbz2-dev_1.0.8-5ubuntu1_arm64.deb ...
332s Unpacking libbz2-dev:arm64 (1.0.8-5ubuntu1) ...
332s Selecting previously unselected package libicu-dev:arm64.
332s Preparing to unpack .../41-libicu-dev_74.2-1ubuntu1_arm64.deb ...
332s Unpacking libicu-dev:arm64 (74.2-1ubuntu1) ...
333s Selecting previously unselected package libjpeg-turbo8-dev:arm64.
333s Preparing to unpack .../42-libjpeg-turbo8-dev_2.1.5-2ubuntu1_arm64.deb ...
333s Unpacking libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ...
333s Selecting previously unselected package libjpeg8-dev:arm64.
333s Preparing to unpack .../43-libjpeg8-dev_8c-2ubuntu11_arm64.deb ...
333s Unpacking libjpeg8-dev:arm64 (8c-2ubuntu11) ...
333s Selecting previously unselected package libjpeg-dev:arm64.
333s Preparing to unpack .../44-libjpeg-dev_8c-2ubuntu11_arm64.deb ...
333s Unpacking libjpeg-dev:arm64 (8c-2ubuntu11) ...
333s Selecting previously unselected package liblapack-dev:arm64.
333s Preparing to unpack .../45-liblapack-dev_3.12.0-3_arm64.deb ...
333s Unpacking liblapack-dev:arm64 (3.12.0-3) ...
333s Selecting previously unselected package libncurses-dev:arm64.
333s Preparing to unpack .../46-libncurses-dev_6.4+20240113-1ubuntu1_arm64.deb ...
333s Unpacking libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ...
333s Selecting previously unselected package libpcre2-16-0:arm64.
333s Preparing to unpack .../47-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ...
333s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ...
333s Selecting previously unselected package libpcre2-32-0:arm64.
333s Preparing to unpack .../48-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ...
333s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ...
333s Selecting previously unselected package libpcre2-posix3:arm64.
333s Preparing to unpack .../49-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ...
333s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ...
333s Selecting previously unselected package libpcre2-dev:arm64.
333s Preparing to unpack .../50-libpcre2-dev_10.42-4ubuntu1_arm64.deb ...
333s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ...
333s Selecting previously unselected package libpkgconf3:arm64.
333s Preparing to unpack .../51-libpkgconf3_1.8.1-2_arm64.deb ...
333s Unpacking libpkgconf3:arm64 (1.8.1-2) ...
333s Selecting previously unselected package zlib1g-dev:arm64.
333s Preparing to unpack .../52-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ...
333s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ...
333s Selecting previously unselected package libpng-dev:arm64.
333s Preparing to unpack .../53-libpng-dev_1.6.43-3_arm64.deb ...
333s Unpacking libpng-dev:arm64 (1.6.43-3) ...
333s Selecting previously unselected package libreadline-dev:arm64.
333s Preparing to unpack .../54-libreadline-dev_8.2-3.1_arm64.deb ...
333s Unpacking libreadline-dev:arm64 (8.2-3.1) ...
334s Selecting previously unselected package pkgconf-bin.
334s Preparing to unpack .../55-pkgconf-bin_1.8.1-2_arm64.deb ...
334s Unpacking pkgconf-bin (1.8.1-2) ...
334s Selecting previously unselected package pkgconf:arm64.
334s Preparing to unpack .../56-pkgconf_1.8.1-2_arm64.deb ...
334s Unpacking pkgconf:arm64 (1.8.1-2) ...
334s Selecting previously unselected package pkg-config:arm64.
334s Preparing to unpack .../57-pkg-config_1.8.1-2_arm64.deb ...
334s Unpacking pkg-config:arm64 (1.8.1-2) ...
334s Selecting previously unselected package liblzma-dev:arm64.
334s Preparing to unpack .../58-liblzma-dev_5.4.5-0.3_arm64.deb ...
334s Unpacking liblzma-dev:arm64 (5.4.5-0.3) ...
334s Selecting previously unselected package r-base-dev.
334s Preparing to unpack .../59-r-base-dev_4.3.3-2build1_all.deb ...
334s Unpacking r-base-dev (4.3.3-2build1) ...
334s Selecting previously unselected package pkg-r-autopkgtest.
334s Preparing to unpack .../60-pkg-r-autopkgtest_20231212ubuntu1_all.deb ...
334s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ...
334s Selecting previously unselected package autopkgtest-satdep.
334s Preparing to unpack .../61-2-autopkgtest-satdep.deb ...
334s Unpacking autopkgtest-satdep (0) ...
334s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ...
334s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ...
334s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ...
334s Setting up libtirpc-dev:arm64 (1.3.4+ds-1.1) ...
334s Setting up libpkgconf3:arm64 (1.8.1-2) ...
334s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
334s Setting up libmpc3:arm64 (1.3.1-1) ...
334s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ...
334s Setting up icu-devtools (74.2-1ubuntu1) ...
334s Setting up pkgconf-bin (1.8.1-2) ...
334s Setting up liblzma-dev:arm64 (5.4.5-0.3) ...
334s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ...
334s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ...
334s Setting up libnsl-dev:arm64 (1.3.0-3) ...
334s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ...
334s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ...
334s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ...
334s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ...
334s Setting up libisl23:arm64 (0.26-3) ...
334s Setting up libc-dev-bin (2.39-0ubuntu2) ...
334s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ...
334s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ...
334s Setting up libblas-dev:arm64 (3.12.0-3) ...
334s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so to provide /usr/lib/aarch64-linux-gnu/libblas.so (libblas.so-aarch64-linux-gnu) in auto mode
334s Setting up dctrl-tools (2.24-3build2) ...
334s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ...
334s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
334s Setting up pkgconf:arm64 (1.8.1-2) ...
334s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
334s Setting up liblapack-dev:arm64 (3.12.0-3) ...
334s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so to provide /usr/lib/aarch64-linux-gnu/liblapack.so (liblapack.so-aarch64-linux-gnu) in auto mode
334s Setting up pkg-config:arm64 (1.8.1-2) ...
334s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ...
334s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ...
334s Setting up libgfortran-13-dev:arm64 (13.2.0-17ubuntu2) ...
334s Setting up libicu-dev:arm64 (74.2-1ubuntu1) ...
334s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ...
334s Setting up libbz2-dev:arm64 (1.0.8-5ubuntu1) ...
334s Setting up libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ...
334s Setting up libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ...
334s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ...
334s Setting up cpp-13 (13.2.0-17ubuntu2) ...
334s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
334s Setting up libreadline-dev:arm64 (8.2-3.1) ...
334s Setting up gcc-13 (13.2.0-17ubuntu2) ...
334s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ...
334s Setting up cpp (4:13.2.0-7ubuntu1) ...
334s Setting up libjpeg8-dev:arm64 (8c-2ubuntu11) ...
334s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
334s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
334s Setting up g++-13 (13.2.0-17ubuntu2) ...
334s Setting up libpng-dev:arm64 (1.6.43-3) ...
334s Setting up libjpeg-dev:arm64 (8c-2ubuntu11) ...
334s Setting up gfortran-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
334s Setting up gcc (4:13.2.0-7ubuntu1) ...
334s Setting up gfortran-13 (13.2.0-17ubuntu2) ...
334s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
334s Setting up gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
334s Setting up gfortran (4:13.2.0-7ubuntu1) ...
334s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
334s 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
334s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
334s 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
334s Setting up g++ (4:13.2.0-7ubuntu1) ...
334s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
334s Setting up build-essential (12.10ubuntu1) ...
334s Setting up r-base-dev (4.3.3-2build1) ...
334s Setting up pkg-r-autopkgtest (20231212ubuntu1) ...
334s Setting up autopkgtest-satdep (0) ...
334s Processing triggers for man-db (2.12.0-3) ...
335s Processing triggers for install-info (7.1-3) ...
336s Processing triggers for libc-bin (2.39-0ubuntu2) ...
340s (Reading database ... 80796 files and directories currently installed.)
340s Removing autopkgtest-satdep (0) ...
341s autopkgtest [18:50:26]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest
341s autopkgtest [18:50:26]: test pkg-r-autopkgtest: [-----------------------
341s Test: Try to load the R library gridSVG
341s
341s R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
341s Copyright (C) 2024 The R Foundation for Statistical Computing
341s Platform: aarch64-unknown-linux-gnu (64-bit)
341s
341s R is free software and comes with ABSOLUTELY NO WARRANTY.
341s You are welcome to redistribute it under certain conditions.
341s Type 'license()' or 'licence()' for distribution details.
341s
341s R is a collaborative project with many contributors.
341s Type 'contributors()' for more information and
341s 'citation()' on how to cite R or R packages in publications.
341s
341s Type 'demo()' for some demos, 'help()' for on-line help, or
341s 'help.start()' for an HTML browser interface to help.
341s Type 'q()' to quit R.
341s
342s > library('gridSVG')
342s
342s Attaching package: ‘gridSVG’
342s
342s >
342s >
342s The following object is masked from ‘package:grDevices’:
342s
342s dev.off
342s
342s Other tests are currently unsupported!
342s They will be progressively added.
342s autopkgtest [18:50:27]: test pkg-r-autopkgtest: -----------------------]
343s pkg-r-autopkgtest PASS
343s autopkgtest [18:50:28]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
343s autopkgtest [18:50:28]: @@@@@@@@@@@@@@@@@@@@ summary
343s run-unit-test PASS
343s pkg-r-autopkgtest PASS
354s Creating nova instance adt-noble-arm64-r-cran-gridsvg-20240316-184445-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240314.img (UUID 7faf5f09-d335-4346-a441-4eab2f9c04fe)...