0s autopkgtest [17:49:11]: starting date and time: 2024-03-22 17:49:11+0000
0s autopkgtest [17:49:11]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps
0s autopkgtest [17:49:11]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.t1am0l5a/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:r-base --apt-upgrade r-cran-gridsvg --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-58.secgroup --name adt-noble-i386-r-cran-gridsvg-20240322-174910-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/
157s autopkgtest [17:51:48]: testbed dpkg architecture: amd64
157s autopkgtest [17:51:48]: testbed apt version: 2.7.12
157s autopkgtest [17:51:48]: test architecture: i386
157s autopkgtest [17:51:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup
157s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB]
158s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [55.8 kB]
158s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB]
158s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B]
158s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3883 kB]
158s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [697 kB]
158s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [462 kB]
158s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [3508 B]
158s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [30.5 kB]
158s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [6700 B]
158s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B]
158s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [1286 kB]
158s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [4250 kB]
158s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [9396 B]
158s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 Packages [93.7 kB]
158s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse i386 Packages [26.8 kB]
158s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [196 B]
161s Fetched 11.4 MB in 2s (7245 kB/s)
162s Reading package lists...
163s Reading package lists...
164s Building dependency tree...
164s Reading state information...
164s Calculating upgrade...
164s The following packages will be upgraded:
164s cloud-init fonts-ubuntu-console python3-markupsafe
164s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
164s Need to get 629 kB of archives.
164s After this operation, 11.3 kB disk space will be freed.
164s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-ubuntu-console all 0.869+git20240321-0ubuntu1 [18.7 kB]
164s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 python3-markupsafe amd64 2.1.5-1build1 [12.6 kB]
164s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 cloud-init all 24.1.2-0ubuntu1 [597 kB]
164s Preconfiguring packages ...
165s Fetched 629 kB in 0s (21.7 MB/s)
165s (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 ... 71865 files and directories currently installed.)
165s Preparing to unpack .../fonts-ubuntu-console_0.869+git20240321-0ubuntu1_all.deb ...
165s Unpacking fonts-ubuntu-console (0.869+git20240321-0ubuntu1) over (0.869-0ubuntu1) ...
165s Preparing to unpack .../python3-markupsafe_2.1.5-1build1_amd64.deb ...
165s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ...
165s Preparing to unpack .../cloud-init_24.1.2-0ubuntu1_all.deb ...
165s Unpacking cloud-init (24.1.2-0ubuntu1) over (24.1.1-0ubuntu1) ...
165s Setting up fonts-ubuntu-console (0.869+git20240321-0ubuntu1) ...
165s Setting up cloud-init (24.1.2-0ubuntu1) ...
167s Setting up python3-markupsafe (2.1.5-1build1) ...
167s Processing triggers for man-db (2.12.0-3) ...
167s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ...
168s Reading package lists...
168s Building dependency tree...
168s Reading state information...
168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
169s sh: Attempting to set up Debian/Ubuntu apt sources automatically
169s sh: Distribution appears to be Ubuntu
170s Reading package lists...
170s Building dependency tree...
170s Reading state information...
170s eatmydata is already the newest version (131-1).
170s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
170s Reading package lists...
171s Building dependency tree...
171s Reading state information...
171s dbus is already the newest version (1.14.10-4ubuntu1).
171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
171s Reading package lists...
171s Building dependency tree...
171s Reading state information...
172s rng-tools-debian is already the newest version (2.4).
172s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
172s Reading package lists...
172s Building dependency tree...
172s Reading state information...
173s The following packages will be REMOVED:
173s cloud-init* python3-configobj* python3-debconf*
173s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
173s After this operation, 3256 kB disk space will be freed.
173s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 71864 files and directories currently installed.)
173s Removing cloud-init (24.1.2-0ubuntu1) ...
174s Removing python3-configobj (5.0.8-3) ...
174s Removing python3-debconf (1.5.86) ...
174s Processing triggers for man-db (2.12.0-3) ...
174s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 71475 files and directories currently installed.)
174s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ...
175s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed
175s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ...
175s invoke-rc.d: policy-rc.d denied execution of try-restart.
175s Reading package lists...
175s Building dependency tree...
175s Reading state information...
176s linux-generic is already the newest version (6.8.0-11.11+1).
176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
176s Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB]
176s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease
176s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease
176s Get:4 http://ftpmaster.internal/ubuntu noble/universe Sources [19.8 MB]
176s Get:5 http://ftpmaster.internal/ubuntu noble/universe i386 Packages [8267 kB]
176s Get:6 http://ftpmaster.internal/ubuntu noble/universe amd64 Packages [15.2 MB]
182s Fetched 43.6 MB in 5s (8467 kB/s)
183s Reading package lists...
183s Reading package lists...
183s Building dependency tree...
183s Reading state information...
183s Calculating upgrade...
183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
184s Reading package lists...
184s Building dependency tree...
184s Reading state information...
184s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
184s autopkgtest [17:52:15]: rebooting testbed after setup commands that affected boot
220s autopkgtest [17:52:51]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 00:29:05 UTC 2024
221s autopkgtest [17:52:52]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-gridsvg
222s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-gridsvg 1.7-5-1 (dsc) [2130 B]
222s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-gridsvg 1.7-5-1 (tar) [846 kB]
222s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-gridsvg 1.7-5-1 (diff) [2384 B]
222s gpgv: Signature made Thu Jun 22 11:41:27 2023 UTC
222s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1
222s gpgv: issuer "tille@debian.org"
222s gpgv: Can't check signature: No public key
222s dpkg-source: warning: cannot verify inline signature for ./r-cran-gridsvg_1.7-5-1.dsc: no acceptable signature found
222s autopkgtest [17:52:53]: testing package r-cran-gridsvg version 1.7-5-1
223s autopkgtest [17:52:54]: build not needed
225s autopkgtest [17:52:56]: test run-unit-test: preparing testbed
228s Note, using file '/tmp/autopkgtest.PwWzHk/1-autopkgtest-satdep.dsc' to get the build dependencies
228s Reading package lists...
228s Building dependency tree...
228s Reading state information...
229s Starting pkgProblemResolver with broken count: 0
229s Starting 2 pkgProblemResolver with broken count: 0
229s Done
229s The following NEW packages will be installed:
229s build-essential cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu
229s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono g++ g++-13
229s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13
229s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libatomic1 libblas3
229s libc-dev-bin libc6-dev libcairo2 libcc1-0 libcrypt-dev libdatrie1
229s libdeflate0 libfontconfig1 libgcc-13-dev libgfortran5 libgomp1
229s libgraphite2-3 libharfbuzz0b libhwasan0 libice6 libisl23 libitm1 libjbig0
229s libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 liblsan0 libmpc3 libnsl-dev
229s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils
229s libpaper1 libpixman-1-0 libquadmath0 libsharpyuv0 libsm6 libstdc++-13-dev
229s libtcl8.6 libthai-data libthai0 libtiff6 libtirpc-dev libtk8.6 libtsan2
229s libubsan1 libwebp7 libxcb-render0 libxcb-shm0 libxft2 libxrender1 libxss1
229s libxt6 linux-libc-dev r-base-core r-cran-gridsvg r-cran-jsonlite
229s r-cran-lattice r-cran-xml rpcsvc-proto unzip x11-common xdg-utils zip
230s 0 upgraded, 81 newly installed, 0 to remove and 0 not upgraded.
230s Need to get 109 MB of archives.
230s After this operation, 329 MB of additional disk space will be used.
230s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 libc-dev-bin amd64 2.39-0ubuntu2 [20.4 kB]
230s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 linux-libc-dev amd64 6.8.0-11.11 [1595 kB]
230s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 libcrypt-dev amd64 1:4.4.36-4 [128 kB]
230s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 libtirpc-dev amd64 1.3.4+ds-1build1 [222 kB]
230s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 libnsl-dev amd64 1.3.0-3 [71.2 kB]
230s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
230s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 libc6-dev amd64 2.39-0ubuntu2 [2126 kB]
230s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libisl23 amd64 0.26-3 [741 kB]
230s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libmpc3 amd64 1.3.1-1 [54.1 kB]
230s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [11.2 MB]
230s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13 amd64 13.2.0-17ubuntu2 [1030 B]
230s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B]
230s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB]
230s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 libcc1-0 amd64 14-20240303-1ubuntu1 [47.7 kB]
230s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libgomp1 amd64 14-20240303-1ubuntu1 [147 kB]
230s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libitm1 amd64 14-20240303-1ubuntu1 [29.1 kB]
230s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libatomic1 amd64 14-20240303-1ubuntu1 [10.4 kB]
230s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libasan8 amd64 14-20240303-1ubuntu1 [3026 kB]
230s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 liblsan0 amd64 14-20240303-1ubuntu1 [1310 kB]
230s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libtsan2 amd64 14-20240303-1ubuntu1 [2732 kB]
230s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 libubsan1 amd64 14-20240303-1ubuntu1 [1172 kB]
230s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libhwasan0 amd64 14-20240303-1ubuntu1 [1629 kB]
230s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libquadmath0 amd64 14-20240303-1ubuntu1 [155 kB]
230s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 libgcc-13-dev amd64 13.2.0-17ubuntu2 [2687 kB]
230s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [21.9 MB]
230s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13 amd64 13.2.0-17ubuntu2 [477 kB]
230s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B]
230s Get:28 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B]
230s Get:29 http://ftpmaster.internal/ubuntu noble/main amd64 libstdc++-13-dev amd64 13.2.0-17ubuntu2 [2340 kB]
230s Get:30 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [12.5 MB]
230s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13 amd64 13.2.0-17ubuntu2 [14.5 kB]
230s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B]
230s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B]
230s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B]
230s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB]
230s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-dejavu-core all 2.37-8 [835 kB]
230s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 fontconfig-config amd64 2.15.0-1ubuntu1 [36.9 kB]
230s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 libfontconfig1 amd64 2.15.0-1ubuntu1 [139 kB]
230s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 fontconfig amd64 2.15.0-1ubuntu1 [180 kB]
230s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 libblas3 amd64 3.12.0-3 [238 kB]
230s Get:41 http://ftpmaster.internal/ubuntu noble/main amd64 libpixman-1-0 amd64 0.42.2-1 [268 kB]
230s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 libxcb-render0 amd64 1.15-1 [16.3 kB]
230s Get:43 http://ftpmaster.internal/ubuntu noble/main amd64 libxcb-shm0 amd64 1.15-1 [5740 B]
230s Get:44 http://ftpmaster.internal/ubuntu noble/main amd64 libxrender1 amd64 1:0.9.10-1.1 [20.0 kB]
230s Get:45 http://ftpmaster.internal/ubuntu noble/main amd64 libcairo2 amd64 1.18.0-1 [572 kB]
230s Get:46 http://ftpmaster.internal/ubuntu noble/main amd64 libdatrie1 amd64 0.2.13-3 [20.9 kB]
230s Get:47 http://ftpmaster.internal/ubuntu noble/main amd64 libdeflate0 amd64 1.19-1 [43.7 kB]
230s Get:48 http://ftpmaster.internal/ubuntu noble/main amd64 libgfortran5 amd64 14-20240303-1ubuntu1 [924 kB]
230s Get:49 http://ftpmaster.internal/ubuntu noble/main amd64 libgraphite2-3 amd64 1.3.14-2 [83.1 kB]
230s Get:50 http://ftpmaster.internal/ubuntu noble/main amd64 libharfbuzz0b amd64 8.3.0-2 [469 kB]
230s Get:51 http://ftpmaster.internal/ubuntu noble/main amd64 x11-common all 1:7.7+23ubuntu2 [23.4 kB]
230s Get:52 http://ftpmaster.internal/ubuntu noble/main amd64 libice6 amd64 2:1.0.10-1build2 [42.6 kB]
230s Get:53 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-turbo8 amd64 2.1.5-2ubuntu1 [147 kB]
230s Get:54 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B]
230s Get:55 http://ftpmaster.internal/ubuntu noble/main amd64 liblapack3 amd64 3.12.0-3 [2649 kB]
230s Get:56 http://ftpmaster.internal/ubuntu noble/main amd64 liblerc4 amd64 4.0.0+ds-4ubuntu1 [184 kB]
230s Get:57 http://ftpmaster.internal/ubuntu noble/main amd64 libthai-data all 0.1.29-2 [158 kB]
230s Get:58 http://ftpmaster.internal/ubuntu noble/main amd64 libthai0 amd64 0.1.29-2 [18.8 kB]
230s Get:59 http://ftpmaster.internal/ubuntu noble/main amd64 libpango-1.0-0 amd64 1.51.0+ds-4 [228 kB]
230s Get:60 http://ftpmaster.internal/ubuntu noble/main amd64 libpangoft2-1.0-0 amd64 1.51.0+ds-4 [42.1 kB]
230s Get:61 http://ftpmaster.internal/ubuntu noble/main amd64 libpangocairo-1.0-0 amd64 1.51.0+ds-4 [29.0 kB]
230s Get:62 http://ftpmaster.internal/ubuntu noble/main amd64 libpaper1 amd64 1.1.29 [13.4 kB]
230s Get:63 http://ftpmaster.internal/ubuntu noble/main amd64 libpaper-utils amd64 1.1.29 [8658 B]
230s Get:64 http://ftpmaster.internal/ubuntu noble/main amd64 libsharpyuv0 amd64 1.3.2-0.4 [15.6 kB]
230s Get:65 http://ftpmaster.internal/ubuntu noble/main amd64 libsm6 amd64 2:1.2.3-1build2 [16.7 kB]
230s Get:66 http://ftpmaster.internal/ubuntu noble/main amd64 libtcl8.6 amd64 8.6.13+dfsg-2 [984 kB]
230s Get:67 http://ftpmaster.internal/ubuntu noble/main amd64 libjbig0 amd64 2.1-6.1ubuntu1 [29.3 kB]
230s Get:68 http://ftpmaster.internal/ubuntu noble/main amd64 libwebp7 amd64 1.3.2-0.4 [230 kB]
230s Get:69 http://ftpmaster.internal/ubuntu noble/main amd64 libtiff6 amd64 4.5.1+git230720-3ubuntu1 [232 kB]
230s Get:70 http://ftpmaster.internal/ubuntu noble/main amd64 libxft2 amd64 2.3.6-1 [44.5 kB]
230s Get:71 http://ftpmaster.internal/ubuntu noble/main amd64 libxss1 amd64 1:1.2.3-1build2 [8476 B]
230s Get:72 http://ftpmaster.internal/ubuntu noble/main amd64 libtk8.6 amd64 8.6.13-2 [776 kB]
230s Get:73 http://ftpmaster.internal/ubuntu noble/main amd64 libxt6 amd64 1:1.2.1-1.1 [173 kB]
230s Get:74 http://ftpmaster.internal/ubuntu noble/main amd64 zip amd64 3.0-13 [176 kB]
230s Get:75 http://ftpmaster.internal/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu3 [174 kB]
230s Get:76 http://ftpmaster.internal/ubuntu noble/main amd64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB]
230s Get:77 http://ftpmaster.internal/ubuntu noble/universe amd64 r-base-core amd64 4.3.2-1build1 [27.0 MB]
230s Get:78 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-jsonlite amd64 1.8.8+dfsg-1 [441 kB]
230s Get:79 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-xml amd64 3.99-0.16.1-1 [1733 kB]
230s Get:80 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-gridsvg all 1.7-5-1 [1385 kB]
230s Get:81 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-lattice amd64 0.22-5-1 [1342 kB]
231s Preconfiguring packages ...
231s Fetched 109 MB in 1s (116 MB/s)
231s Selecting previously unselected package libc-dev-bin.
231s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 71420 files and directories currently installed.)
231s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_amd64.deb ...
231s Unpacking libc-dev-bin (2.39-0ubuntu2) ...
231s Selecting previously unselected package linux-libc-dev:amd64.
231s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_amd64.deb ...
231s Unpacking linux-libc-dev:amd64 (6.8.0-11.11) ...
232s Selecting previously unselected package libcrypt-dev:amd64.
232s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_amd64.deb ...
232s Unpacking libcrypt-dev:amd64 (1:4.4.36-4) ...
232s Selecting previously unselected package libtirpc-dev:amd64.
232s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_amd64.deb ...
232s Unpacking libtirpc-dev:amd64 (1.3.4+ds-1build1) ...
232s Selecting previously unselected package libnsl-dev:amd64.
232s Preparing to unpack .../04-libnsl-dev_1.3.0-3_amd64.deb ...
232s Unpacking libnsl-dev:amd64 (1.3.0-3) ...
232s Selecting previously unselected package rpcsvc-proto.
232s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
232s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
232s Selecting previously unselected package libc6-dev:amd64.
232s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_amd64.deb ...
232s Unpacking libc6-dev:amd64 (2.39-0ubuntu2) ...
232s Selecting previously unselected package libisl23:amd64.
232s Preparing to unpack .../07-libisl23_0.26-3_amd64.deb ...
232s Unpacking libisl23:amd64 (0.26-3) ...
232s Selecting previously unselected package libmpc3:amd64.
232s Preparing to unpack .../08-libmpc3_1.3.1-1_amd64.deb ...
232s Unpacking libmpc3:amd64 (1.3.1-1) ...
232s Selecting previously unselected package cpp-13-x86-64-linux-gnu.
232s Preparing to unpack .../09-cpp-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ...
232s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
232s Selecting previously unselected package cpp-13.
232s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_amd64.deb ...
232s Unpacking cpp-13 (13.2.0-17ubuntu2) ...
232s Selecting previously unselected package cpp-x86-64-linux-gnu.
232s Preparing to unpack .../11-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ...
232s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
232s Selecting previously unselected package cpp.
232s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ...
232s Unpacking cpp (4:13.2.0-7ubuntu1) ...
232s Selecting previously unselected package libcc1-0:amd64.
232s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_amd64.deb ...
232s Unpacking libcc1-0:amd64 (14-20240303-1ubuntu1) ...
232s Selecting previously unselected package libgomp1:amd64.
232s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_amd64.deb ...
232s Unpacking libgomp1:amd64 (14-20240303-1ubuntu1) ...
232s Selecting previously unselected package libitm1:amd64.
232s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_amd64.deb ...
232s Unpacking libitm1:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libatomic1:amd64.
233s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking libatomic1:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libasan8:amd64.
233s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking libasan8:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package liblsan0:amd64.
233s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking liblsan0:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libtsan2:amd64.
233s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking libtsan2:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libubsan1:amd64.
233s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking libubsan1:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libhwasan0:amd64.
233s Preparing to unpack .../21-libhwasan0_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking libhwasan0:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libquadmath0:amd64.
233s Preparing to unpack .../22-libquadmath0_14-20240303-1ubuntu1_amd64.deb ...
233s Unpacking libquadmath0:amd64 (14-20240303-1ubuntu1) ...
233s Selecting previously unselected package libgcc-13-dev:amd64.
233s Preparing to unpack .../23-libgcc-13-dev_13.2.0-17ubuntu2_amd64.deb ...
233s Unpacking libgcc-13-dev:amd64 (13.2.0-17ubuntu2) ...
233s Selecting previously unselected package gcc-13-x86-64-linux-gnu.
233s Preparing to unpack .../24-gcc-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ...
233s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
234s Selecting previously unselected package gcc-13.
234s Preparing to unpack .../25-gcc-13_13.2.0-17ubuntu2_amd64.deb ...
234s Unpacking gcc-13 (13.2.0-17ubuntu2) ...
234s Selecting previously unselected package gcc-x86-64-linux-gnu.
234s Preparing to unpack .../26-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ...
234s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
234s Selecting previously unselected package gcc.
234s Preparing to unpack .../27-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ...
234s Unpacking gcc (4:13.2.0-7ubuntu1) ...
234s Selecting previously unselected package libstdc++-13-dev:amd64.
234s Preparing to unpack .../28-libstdc++-13-dev_13.2.0-17ubuntu2_amd64.deb ...
234s Unpacking libstdc++-13-dev:amd64 (13.2.0-17ubuntu2) ...
234s Selecting previously unselected package g++-13-x86-64-linux-gnu.
234s Preparing to unpack .../29-g++-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ...
234s Unpacking g++-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
234s Selecting previously unselected package g++-13.
234s Preparing to unpack .../30-g++-13_13.2.0-17ubuntu2_amd64.deb ...
234s Unpacking g++-13 (13.2.0-17ubuntu2) ...
234s Selecting previously unselected package g++-x86-64-linux-gnu.
234s Preparing to unpack .../31-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ...
234s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
234s Selecting previously unselected package g++.
234s Preparing to unpack .../32-g++_4%3a13.2.0-7ubuntu1_amd64.deb ...
234s Unpacking g++ (4:13.2.0-7ubuntu1) ...
234s Selecting previously unselected package build-essential.
234s Preparing to unpack .../33-build-essential_12.10ubuntu1_amd64.deb ...
234s Unpacking build-essential (12.10ubuntu1) ...
234s Selecting previously unselected package fonts-dejavu-mono.
234s Preparing to unpack .../34-fonts-dejavu-mono_2.37-8_all.deb ...
234s Unpacking fonts-dejavu-mono (2.37-8) ...
234s Selecting previously unselected package fonts-dejavu-core.
234s Preparing to unpack .../35-fonts-dejavu-core_2.37-8_all.deb ...
234s Unpacking fonts-dejavu-core (2.37-8) ...
234s Selecting previously unselected package fontconfig-config.
234s Preparing to unpack .../36-fontconfig-config_2.15.0-1ubuntu1_amd64.deb ...
235s Unpacking fontconfig-config (2.15.0-1ubuntu1) ...
235s Selecting previously unselected package libfontconfig1:amd64.
235s Preparing to unpack .../37-libfontconfig1_2.15.0-1ubuntu1_amd64.deb ...
235s Unpacking libfontconfig1:amd64 (2.15.0-1ubuntu1) ...
235s Selecting previously unselected package fontconfig.
235s Preparing to unpack .../38-fontconfig_2.15.0-1ubuntu1_amd64.deb ...
235s Unpacking fontconfig (2.15.0-1ubuntu1) ...
235s Selecting previously unselected package libblas3:amd64.
235s Preparing to unpack .../39-libblas3_3.12.0-3_amd64.deb ...
235s Unpacking libblas3:amd64 (3.12.0-3) ...
235s Selecting previously unselected package libpixman-1-0:amd64.
235s Preparing to unpack .../40-libpixman-1-0_0.42.2-1_amd64.deb ...
235s Unpacking libpixman-1-0:amd64 (0.42.2-1) ...
235s Selecting previously unselected package libxcb-render0:amd64.
235s Preparing to unpack .../41-libxcb-render0_1.15-1_amd64.deb ...
235s Unpacking libxcb-render0:amd64 (1.15-1) ...
235s Selecting previously unselected package libxcb-shm0:amd64.
235s Preparing to unpack .../42-libxcb-shm0_1.15-1_amd64.deb ...
235s Unpacking libxcb-shm0:amd64 (1.15-1) ...
235s Selecting previously unselected package libxrender1:amd64.
235s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1_amd64.deb ...
235s Unpacking libxrender1:amd64 (1:0.9.10-1.1) ...
235s Selecting previously unselected package libcairo2:amd64.
235s Preparing to unpack .../44-libcairo2_1.18.0-1_amd64.deb ...
235s Unpacking libcairo2:amd64 (1.18.0-1) ...
235s Selecting previously unselected package libdatrie1:amd64.
235s Preparing to unpack .../45-libdatrie1_0.2.13-3_amd64.deb ...
235s Unpacking libdatrie1:amd64 (0.2.13-3) ...
235s Selecting previously unselected package libdeflate0:amd64.
235s Preparing to unpack .../46-libdeflate0_1.19-1_amd64.deb ...
235s Unpacking libdeflate0:amd64 (1.19-1) ...
235s Selecting previously unselected package libgfortran5:amd64.
235s Preparing to unpack .../47-libgfortran5_14-20240303-1ubuntu1_amd64.deb ...
235s Unpacking libgfortran5:amd64 (14-20240303-1ubuntu1) ...
235s Selecting previously unselected package libgraphite2-3:amd64.
235s Preparing to unpack .../48-libgraphite2-3_1.3.14-2_amd64.deb ...
235s Unpacking libgraphite2-3:amd64 (1.3.14-2) ...
235s Selecting previously unselected package libharfbuzz0b:amd64.
235s Preparing to unpack .../49-libharfbuzz0b_8.3.0-2_amd64.deb ...
235s Unpacking libharfbuzz0b:amd64 (8.3.0-2) ...
235s Selecting previously unselected package x11-common.
235s Preparing to unpack .../50-x11-common_1%3a7.7+23ubuntu2_all.deb ...
235s Unpacking x11-common (1:7.7+23ubuntu2) ...
235s Selecting previously unselected package libice6:amd64.
235s Preparing to unpack .../51-libice6_2%3a1.0.10-1build2_amd64.deb ...
235s Unpacking libice6:amd64 (2:1.0.10-1build2) ...
235s Selecting previously unselected package libjpeg-turbo8:amd64.
235s Preparing to unpack .../52-libjpeg-turbo8_2.1.5-2ubuntu1_amd64.deb ...
235s Unpacking libjpeg-turbo8:amd64 (2.1.5-2ubuntu1) ...
235s Selecting previously unselected package libjpeg8:amd64.
235s Preparing to unpack .../53-libjpeg8_8c-2ubuntu11_amd64.deb ...
235s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ...
235s Selecting previously unselected package liblapack3:amd64.
235s Preparing to unpack .../54-liblapack3_3.12.0-3_amd64.deb ...
235s Unpacking liblapack3:amd64 (3.12.0-3) ...
235s Selecting previously unselected package liblerc4:amd64.
235s Preparing to unpack .../55-liblerc4_4.0.0+ds-4ubuntu1_amd64.deb ...
235s Unpacking liblerc4:amd64 (4.0.0+ds-4ubuntu1) ...
235s Selecting previously unselected package libthai-data.
235s Preparing to unpack .../56-libthai-data_0.1.29-2_all.deb ...
235s Unpacking libthai-data (0.1.29-2) ...
235s Selecting previously unselected package libthai0:amd64.
235s Preparing to unpack .../57-libthai0_0.1.29-2_amd64.deb ...
235s Unpacking libthai0:amd64 (0.1.29-2) ...
235s Selecting previously unselected package libpango-1.0-0:amd64.
235s Preparing to unpack .../58-libpango-1.0-0_1.51.0+ds-4_amd64.deb ...
235s Unpacking libpango-1.0-0:amd64 (1.51.0+ds-4) ...
235s Selecting previously unselected package libpangoft2-1.0-0:amd64.
235s Preparing to unpack .../59-libpangoft2-1.0-0_1.51.0+ds-4_amd64.deb ...
235s Unpacking libpangoft2-1.0-0:amd64 (1.51.0+ds-4) ...
235s Selecting previously unselected package libpangocairo-1.0-0:amd64.
235s Preparing to unpack .../60-libpangocairo-1.0-0_1.51.0+ds-4_amd64.deb ...
235s Unpacking libpangocairo-1.0-0:amd64 (1.51.0+ds-4) ...
235s Selecting previously unselected package libpaper1:amd64.
235s Preparing to unpack .../61-libpaper1_1.1.29_amd64.deb ...
235s Unpacking libpaper1:amd64 (1.1.29) ...
235s Selecting previously unselected package libpaper-utils.
235s Preparing to unpack .../62-libpaper-utils_1.1.29_amd64.deb ...
235s Unpacking libpaper-utils (1.1.29) ...
236s Selecting previously unselected package libsharpyuv0:amd64.
236s Preparing to unpack .../63-libsharpyuv0_1.3.2-0.4_amd64.deb ...
236s Unpacking libsharpyuv0:amd64 (1.3.2-0.4) ...
236s Selecting previously unselected package libsm6:amd64.
236s Preparing to unpack .../64-libsm6_2%3a1.2.3-1build2_amd64.deb ...
236s Unpacking libsm6:amd64 (2:1.2.3-1build2) ...
236s Selecting previously unselected package libtcl8.6:amd64.
236s Preparing to unpack .../65-libtcl8.6_8.6.13+dfsg-2_amd64.deb ...
236s Unpacking libtcl8.6:amd64 (8.6.13+dfsg-2) ...
236s Selecting previously unselected package libjbig0:amd64.
236s Preparing to unpack .../66-libjbig0_2.1-6.1ubuntu1_amd64.deb ...
236s Unpacking libjbig0:amd64 (2.1-6.1ubuntu1) ...
236s Selecting previously unselected package libwebp7:amd64.
236s Preparing to unpack .../67-libwebp7_1.3.2-0.4_amd64.deb ...
236s Unpacking libwebp7:amd64 (1.3.2-0.4) ...
236s Selecting previously unselected package libtiff6:amd64.
236s Preparing to unpack .../68-libtiff6_4.5.1+git230720-3ubuntu1_amd64.deb ...
236s Unpacking libtiff6:amd64 (4.5.1+git230720-3ubuntu1) ...
236s Selecting previously unselected package libxft2:amd64.
236s Preparing to unpack .../69-libxft2_2.3.6-1_amd64.deb ...
236s Unpacking libxft2:amd64 (2.3.6-1) ...
236s Selecting previously unselected package libxss1:amd64.
236s Preparing to unpack .../70-libxss1_1%3a1.2.3-1build2_amd64.deb ...
236s Unpacking libxss1:amd64 (1:1.2.3-1build2) ...
236s Selecting previously unselected package libtk8.6:amd64.
236s Preparing to unpack .../71-libtk8.6_8.6.13-2_amd64.deb ...
236s Unpacking libtk8.6:amd64 (8.6.13-2) ...
236s Selecting previously unselected package libxt6:amd64.
236s Preparing to unpack .../72-libxt6_1%3a1.2.1-1.1_amd64.deb ...
236s Unpacking libxt6:amd64 (1:1.2.1-1.1) ...
236s Selecting previously unselected package zip.
236s Preparing to unpack .../73-zip_3.0-13_amd64.deb ...
236s Unpacking zip (3.0-13) ...
236s Selecting previously unselected package unzip.
236s Preparing to unpack .../74-unzip_6.0-28ubuntu3_amd64.deb ...
236s Unpacking unzip (6.0-28ubuntu3) ...
236s Selecting previously unselected package xdg-utils.
236s Preparing to unpack .../75-xdg-utils_1.1.3-4.1ubuntu3_all.deb ...
236s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ...
236s Selecting previously unselected package r-base-core.
236s Preparing to unpack .../76-r-base-core_4.3.2-1build1_amd64.deb ...
236s Unpacking r-base-core (4.3.2-1build1) ...
236s Selecting previously unselected package r-cran-jsonlite.
236s Preparing to unpack .../77-r-cran-jsonlite_1.8.8+dfsg-1_amd64.deb ...
236s Unpacking r-cran-jsonlite (1.8.8+dfsg-1) ...
236s Selecting previously unselected package r-cran-xml.
236s Preparing to unpack .../78-r-cran-xml_3.99-0.16.1-1_amd64.deb ...
236s Unpacking r-cran-xml (3.99-0.16.1-1) ...
237s Selecting previously unselected package r-cran-gridsvg.
237s Preparing to unpack .../79-r-cran-gridsvg_1.7-5-1_all.deb ...
237s Unpacking r-cran-gridsvg (1.7-5-1) ...
237s Selecting previously unselected package r-cran-lattice.
237s Preparing to unpack .../80-r-cran-lattice_0.22-5-1_amd64.deb ...
237s Unpacking r-cran-lattice (0.22-5-1) ...
237s Setting up libgraphite2-3:amd64 (1.3.14-2) ...
237s Setting up libpixman-1-0:amd64 (0.42.2-1) ...
237s Setting up libsharpyuv0:amd64 (1.3.2-0.4) ...
237s Setting up libpaper1:amd64 (1.1.29) ...
237s
237s Creating config file /etc/papersize with new version
237s Setting up liblerc4:amd64 (4.0.0+ds-4ubuntu1) ...
237s Setting up libxrender1:amd64 (1:0.9.10-1.1) ...
237s Setting up libdatrie1:amd64 (0.2.13-3) ...
237s Setting up libxcb-render0:amd64 (1.15-1) ...
237s Setting up unzip (6.0-28ubuntu3) ...
237s Setting up x11-common (1:7.7+23ubuntu2) ...
237s Setting up libdeflate0:amd64 (1.19-1) ...
237s Setting up linux-libc-dev:amd64 (6.8.0-11.11) ...
237s Setting up libxcb-shm0:amd64 (1.15-1) ...
237s Setting up libpaper-utils (1.1.29) ...
237s Setting up libgomp1:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libjbig0:amd64 (2.1-6.1ubuntu1) ...
237s Setting up zip (3.0-13) ...
237s Setting up libblas3:amd64 (3.12.0-3) ...
237s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
237s Setting up libtirpc-dev:amd64 (1.3.4+ds-1build1) ...
237s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
237s Setting up libquadmath0:amd64 (14-20240303-1ubuntu1) ...
237s Setting up fonts-dejavu-mono (2.37-8) ...
237s Setting up libmpc3:amd64 (1.3.1-1) ...
237s Setting up libatomic1:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libtcl8.6:amd64 (8.6.13+dfsg-2) ...
237s Setting up fonts-dejavu-core (2.37-8) ...
237s Setting up libjpeg-turbo8:amd64 (2.1.5-2ubuntu1) ...
237s Setting up libgfortran5:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libwebp7:amd64 (1.3.2-0.4) ...
237s Setting up libubsan1:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libnsl-dev:amd64 (1.3.0-3) ...
237s Setting up libhwasan0:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libcrypt-dev:amd64 (1:4.4.36-4) ...
237s Setting up libasan8:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libharfbuzz0b:amd64 (8.3.0-2) ...
237s Setting up libthai-data (0.1.29-2) ...
237s Setting up libxss1:amd64 (1:1.2.3-1build2) ...
237s Setting up libtsan2:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libisl23:amd64 (0.26-3) ...
237s Setting up libc-dev-bin (2.39-0ubuntu2) ...
237s Setting up xdg-utils (1.1.3-4.1ubuntu3) ...
237s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode
237s Setting up libcc1-0:amd64 (14-20240303-1ubuntu1) ...
237s Setting up liblsan0:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libitm1:amd64 (14-20240303-1ubuntu1) ...
237s Setting up libjpeg8:amd64 (8c-2ubuntu11) ...
237s Setting up libice6:amd64 (2:1.0.10-1build2) ...
237s Setting up liblapack3:amd64 (3.12.0-3) ...
237s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
237s Setting up cpp-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
237s Setting up fontconfig-config (2.15.0-1ubuntu1) ...
238s Setting up libthai0:amd64 (0.1.29-2) ...
238s Setting up libgcc-13-dev:amd64 (13.2.0-17ubuntu2) ...
238s Setting up libtiff6:amd64 (4.5.1+git230720-3ubuntu1) ...
238s Setting up libc6-dev:amd64 (2.39-0ubuntu2) ...
238s Setting up libfontconfig1:amd64 (2.15.0-1ubuntu1) ...
238s Setting up libsm6:amd64 (2:1.2.3-1build2) ...
238s Setting up libstdc++-13-dev:amd64 (13.2.0-17ubuntu2) ...
238s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
238s Setting up fontconfig (2.15.0-1ubuntu1) ...
240s Regenerating fonts cache... done.
240s Setting up libxft2:amd64 (2.3.6-1) ...
240s Setting up cpp-13 (13.2.0-17ubuntu2) ...
240s Setting up gcc-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
240s Setting up libtk8.6:amd64 (8.6.13-2) ...
240s Setting up libpango-1.0-0:amd64 (1.51.0+ds-4) ...
240s Setting up libcairo2:amd64 (1.18.0-1) ...
240s Setting up gcc-13 (13.2.0-17ubuntu2) ...
240s Setting up libxt6:amd64 (1:1.2.1-1.1) ...
240s Setting up cpp (4:13.2.0-7ubuntu1) ...
240s Setting up libpangoft2-1.0-0:amd64 (1.51.0+ds-4) ...
240s Setting up libpangocairo-1.0-0:amd64 (1.51.0+ds-4) ...
240s Setting up g++-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
240s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
240s Setting up gcc (4:13.2.0-7ubuntu1) ...
240s Setting up r-base-core (4.3.2-1build1) ...
240s
240s Creating config file /etc/R/Renviron with new version
240s Setting up r-cran-lattice (0.22-5-1) ...
240s Setting up r-cran-xml (3.99-0.16.1-1) ...
240s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
240s Setting up g++-13 (13.2.0-17ubuntu2) ...
240s Setting up r-cran-jsonlite (1.8.8+dfsg-1) ...
240s Setting up g++ (4:13.2.0-7ubuntu1) ...
240s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
240s Setting up build-essential (12.10ubuntu1) ...
240s Setting up r-cran-gridsvg (1.7-5-1) ...
240s Processing triggers for install-info (7.1-3) ...
240s Processing triggers for libc-bin (2.39-0ubuntu2) ...
240s Processing triggers for man-db (2.12.0-3) ...
243s Reading package lists...
243s Building dependency tree...
243s Reading state information...
244s Starting pkgProblemResolver with broken count: 0
244s Starting 2 pkgProblemResolver with broken count: 0
244s Done
245s The following NEW packages will be installed:
245s autopkgtest-satdep
245s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
245s Need to get 0 B/696 B of archives.
245s After this operation, 0 B of additional disk space will be used.
245s Get:1 /tmp/autopkgtest.PwWzHk/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [696 B]
245s Selecting previously unselected package autopkgtest-satdep.
245s (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 ... 76886 files and directories currently installed.)
245s Preparing to unpack .../2-autopkgtest-satdep.deb ...
245s Unpacking autopkgtest-satdep (0) ...
245s Setting up autopkgtest-satdep (0) ...
248s (Reading database ... 76886 files and directories currently installed.)
248s Removing autopkgtest-satdep (0) ...
248s autopkgtest [17:53:19]: test run-unit-test: [-----------------------
248s BEGIN TEST testanimate.R
248s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
248s
248s R version 4.3.2 (2023-10-31) -- "Eye Holes"
248s Copyright (C) 2023 The R Foundation for Statistical Computing
248s Platform: x86_64-pc-linux-gnu (64-bit)
248s
248s R is free software and comes with ABSOLUTELY NO WARRANTY.
248s You are welcome to redistribute it under certain conditions.
248s Type 'license()' or 'licence()' for distribution details.
248s
248s R is a collaborative project with many contributors.
248s Type 'contributors()' for more information and
248s 'citation()' on how to cite R or R packages in publications.
248s
248s Type 'demo()' for some demos, 'help()' for on-line help, or
248s 'help.start()' for an HTML browser interface to help.
248s Type 'q()' to quit R.
248s
248s During startup - Warning messages:
248s 1: Setting LC_CTYPE failed, using "C"
248s 2: Setting LC_COLLATE failed, using "C"
248s 3: Setting LC_TIME failed, using "C"
248s 4: Setting LC_MESSAGES failed, using "C"
248s 5: Setting LC_MONETARY failed, using "C"
248s 6: Setting LC_PAPER failed, using "C"
248s 7: Setting LC_MEASUREMENT failed, using "C"
248s > library(grid)
248s > library(gridSVG)
248s
248s Attaching package: 'gridSVG'
248s
248s The following objects are masked from 'package:grid':
248s
248s linearGradient, pattern, radialGradient
248s
248s The following object is masked from 'package:grDevices':
248s
248s dev.off
248s
248s >
248s > # animValues
248s >
248s > animValue(letters[1:4])
248s $t1
248s [1] "a"
248s
248s $t2
248s [1] "b"
248s
248s $t3
248s [1] "c"
248s
248s $t4
248s [1] "d"
248s
248s > animValue(letters[1:4], timeid=rep(1:2, 2))
248s $t1
248s [1] "a" "c"
248s
248s $t2
248s [1] "b" "d"
248s
248s > animValue(letters[1:4], id=rep(1:2, 2))
248s $id1
248s $id1$t1
248s [1] "a"
248s
248s $id1$t2
248s [1] "c"
248s
248s
248s $id2
248s $id2$t1
248s [1] "b"
248s
248s $id2$t2
248s [1] "d"
248s
248s
248s >
248s > as.animValue(letters[1:4])
248s $t1
248s [1] "a"
248s
248s $t2
248s [1] "b"
248s
248s $t3
248s [1] "c"
248s
248s $t4
248s [1] "d"
248s
248s > as.animValue(matrix(letters[1:12], ncol=4))
248s $id1
248s $id1$t1
248s [1] "a"
248s
248s $id1$t2
248s [1] "b"
248s
248s $id1$t3
248s [1] "c"
248s
248s
248s $id2
248s $id2$t1
248s [1] "d"
248s
248s $id2$t2
248s [1] "e"
248s
248s $id2$t3
248s [1] "f"
248s
248s
248s $id3
248s $id3$t1
248s [1] "g"
248s
248s $id3$t2
248s [1] "h"
248s
248s $id3$t3
248s [1] "i"
248s
248s
248s $id4
248s $id4$t1
248s [1] "j"
248s
248s $id4$t2
248s [1] "k"
248s
248s $id4$t3
248s [1] "l"
248s
248s
248s > as.animValue(matrix(letters[1:12], ncol=4), multVal=TRUE)
248s $t1
248s [1] "a" "b" "c"
248s
248s $t2
248s [1] "d" "e" "f"
248s
248s $t3
248s [1] "g" "h" "i"
248s
248s $t4
248s [1] "j" "k" "l"
248s
248s > as.animValue(list(letters[1:3], letters[4:6]))
248s $id1
248s $id1$t1
248s [1] "a"
248s
248s $id1$t2
248s [1] "b"
248s
248s $id1$t3
248s [1] "c"
248s
248s
248s $id2
248s $id2$t1
248s [1] "d"
248s
248s $id2$t2
248s [1] "e"
248s
248s $id2$t3
248s [1] "f"
248s
248s
248s > as.animValue(list(letters[1:3], letters[4:6]), multVal=TRUE)
248s $t1
248s [1] "a" "b" "c"
248s
248s $t2
248s [1] "d" "e" "f"
248s
248s >
248s > # animUnits
248s >
248s > animUnit(unit(1:4, "npc"))
248s $t1
248s [1] 1npc
248s
248s $t2
248s [1] 2npc
248s
248s $t3
248s [1] 3npc
248s
248s $t4
248s [1] 4npc
248s
248s > animUnit(unit(1:4, "npc"), timeid=rep(1:2, 2))
248s $t1
248s [1] 1npc 3npc
248s
248s $t2
248s [1] 2npc 4npc
248s
248s > animUnit(unit(1:4, "npc"), id=rep(1:2, 2))
248s $id1
248s $id1$t1
248s [1] 1npc
248s
248s $id1$t2
248s [1] 3npc
248s
248s
248s $id2
248s $id2$t1
248s [1] 2npc
248s
248s $id2$t2
248s [1] 4npc
248s
248s
248s >
248s > as.animUnit(1:4, "npc")
248s $t1
248s [1] 1npc
248s
248s $t2
248s [1] 2npc
248s
248s $t3
248s [1] 3npc
248s
248s $t4
248s [1] 4npc
248s
248s > as.animUnit(unit(1:4, "npc"))
248s $t1
248s [1] 1npc
248s
248s $t2
248s [1] 2npc
248s
248s $t3
248s [1] 3npc
248s
248s $t4
248s [1] 4npc
248s
248s > as.animUnit(matrix(1:12, ncol=4), "in")
248s $id1
248s $id1$t1
248s [1] 1inches
248s
248s $id1$t2
248s [1] 2inches
248s
248s $id1$t3
248s [1] 3inches
248s
248s
248s $id2
248s $id2$t1
248s [1] 4inches
248s
248s $id2$t2
248s [1] 5inches
248s
248s $id2$t3
248s [1] 6inches
248s
248s
248s $id3
248s $id3$t1
248s [1] 7inches
248s
248s $id3$t2
248s [1] 8inches
248s
248s $id3$t3
248s [1] 9inches
248s
248s
248s $id4
248s $id4$t1
248s [1] 10inches
248s
248s $id4$t2
248s [1] 11inches
248s
248s $id4$t3
248s [1] 12inches
248s
248s
248s > as.animUnit(matrix(1:12, ncol=4), "in", multVal=TRUE)
248s $t1
248s [1] 1inches 2inches 3inches
248s
248s $t2
248s [1] 4inches 5inches 6inches
248s
248s $t3
248s [1] 7inches 8inches 9inches
248s
248s $t4
248s [1] 10inches 11inches 12inches
248s
248s > as.animUnit(list(unit(1:3, "npc"), unit(4:6, "in")))
248s $id1
248s $id1$t1
248s [1] 1npc
248s
248s $id1$t2
248s [1] 2npc
248s
248s $id1$t3
248s [1] 3npc
248s
248s
248s $id2
248s $id2$t1
248s [1] 4inches
248s
248s $id2$t2
248s [1] 5inches
248s
248s $id2$t3
248s [1] 6inches
248s
248s
248s > as.animUnit(list(unit(1:3, "npc"), unit(4:6, "in")), multVal=TRUE)
248s $t1
248s [1] 1npc 2npc 3npc
248s
248s $t2
248s [1] 4inches 5inches 6inches
248s
248s >
248s > # Some default settings
248s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
248s >
248s > grid.rect(name="rect",
248s + x=0,
248s + y=0,
248s + just=c("left", "bottom"))
248s > grid.animate("rect", x=unit(0:30, "mm"), duration=5, rep=TRUE)
248s > grid.circle(name="circle",
248s + x=unit(0.5, "npc") + unit(0, "mm"),
248s + r=unit(10, "mm"))
248s > grid.animate("circle", x=unit(0.5, "npc") + unit(0:30, "mm"),
248s + duration=5, rep=TRUE)
248s > grid.text("hello", name="text1",
248s + x=unit(0.3, "npc") + unit(0, "mm"))
248s > grid.animate("text1",
248s + x=unit(0.3, "npc") + unit(0:30, "mm"),
248s + duration=5, rep=TRUE)
248s > grid.text("hello", name="text2",
248s + x=unit(0.3, "npc") + unit(0, "mm"),
248s + y=unit(0.3, "npc") + unit(0, "mm"))
248s > grid.animate("text2",
248s + x=unit(0.3, "npc") + unit(0:30, "mm"),
248s + y=unit(0.3, "npc") + unit(0:30, "mm"),
248s + duration=5, rep=TRUE)
248s >
248s > popViewport()
248s >
248s > grid.export("animate.svg")
249s >
249s >
249s > # Animating rectangles
249s >
249s > # There are numerous possibilities to consider:
249s > # The animation values could be numeric, unit, matrix, or list
249s > # The original values could spec a single rect or multiple rects
249s > # We could animate only one of x/y/width/height or several of them at once
249s >
249s > # Simple case
249s > # (single rect, anim only x, anim values are just numeric)
249s > grid.newpage()
249s > grid.text("One rectangle moves across",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.rect(x=.2, y=.2, width=.1, height=.1, name="rect")
249s > grid.animate("rect", x=c(.2, .8), duration=3)
249s > grid.export("anim-rect-simple.svg")
249s >
249s > # Complex case
249s > # (multiple rects, anim x/y/width/height, anim values are matrices and lists)
249s > grid.newpage()
249s > grid.text("Three rectangles: one goes up, one goes across, and
249s + one goes diagonal and gets smaller",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.rect(x=rep(.2, 3), y=.2, width=.1, height=.1, name="rect")
249s > grid.animate("rect",
249s + x=cbind(c(.2, .8), c(.2, .8), .2),
249s + y=cbind(.2, c(.2, .8), c(.2, .8)),
249s + width=list(unit(.1, "npc"),
249s + unit(c(.1, 1), c("npc", "cm")),
249s + unit(.1, "npc")),
249s + height=list(unit(.1, "npc"),
249s + unit(c(.1, 1), c("npc", "cm")),
249s + unit(.1, "npc")),
249s + duration=3)
249s > grid.export("anim-rect-complex.svg")
249s >
249s > # Animating circles
249s >
249s > # Complex case
249s > # (multiple circles, anim x/y/width/height, anim values are matrices and lists)
249s > grid.newpage()
249s > grid.text("Three circles: one goes up, one goes across, and
249s + one goes diagonal and gets smaller",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.circle(x=rep(.2, 3), y=.2, r=.1, name="circle")
249s > grid.animate("circle",
249s + x=cbind(c(.2, .8), c(.2, .8), .2),
249s + y=cbind(.2, c(.2, .8), c(.2, .8)),
249s + r=list(unit(.1, "npc"),
249s + unit(c(.1, 1), c("npc", "cm")),
249s + unit(.1, "npc")),
249s + duration=3)
249s > grid.export("anim-circle-complex.svg")
249s >
249s > # Animating points
249s >
249s > # Complex case
249s > # (multiple circles, anim x/y/width/height, anim values are matrices and lists)
249s > grid.newpage()
249s > grid.text("Three points: one goes up, one goes across, and
249s + one goes diagonal and gets larger",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > pushViewport(viewport())
249s > grid.points(x=rep(.2, 3), y=rep(.2, 3), size=unit(2, "mm"), name="points")
249s > grid.animate("points",
249s + x=cbind(c(.2, .8), c(.2, .8), .2),
249s + y=cbind(.2, c(.2, .8), c(.2, .8)),
249s + size=list(unit(2, "mm"),
249s + unit(c(2, .1), c("mm", "npc")),
249s + unit(2, "mm")),
249s + duration=3)
249s > grid.export("anim-points-complex.svg")
249s >
249s > # Animating text
249s >
249s > # Complex case
249s > # (multiple text, anim x/y/width/height, anim values are matrices and lists)
249s > grid.newpage()
249s > grid.text("Three letters: one goes up, one goes across, and
249s + one goes diagonal",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.text(letters[1:3], x=rep(.2, 3), y=.2, name="text")
249s > grid.animate("text",
249s + x=cbind(c(.2, .8), c(.2, .8), .2),
249s + y=cbind(.2, c(.2, .8), c(.2, .8)),
249s + duration=3)
249s > grid.export("anim-text-complex.svg")
249s >
249s > # Animating lines
249s >
249s > # Simple case
249s > # (line only has two points, animation only has two points, only animate x)
249s > grid.newpage()
249s > grid.text("45 degree line becomes vertical",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.lines(c(.1, .9), c(.1, .9), name="lines")
249s > grid.animate("lines",
249s + x=cbind(c(.1, .9), c(.5, .5)),
249s + duration=3)
249s > grid.export("anim-lines-simple.svg")
249s >
249s > # Complex case
249s > # (line has many points, animation has three points, only animate y)
249s > x <- seq(-pi, pi, length.out=100)
249s > y <- sin(x)
249s > grid.newpage()
249s > grid.text("Sine curve becomes flat then inverts (on y)",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > pushViewport(dataViewport(x, y))
249s > grid.lines(x, y, default.units="native", name="lines")
249s > grid.animate("lines",
249s + y=cbind(y, 0, -y),
249s + duration=3)
249s > grid.export("anim-lines-complex.svg")
249s >
249s > # Animating polylines
249s >
249s > # Simple case
249s > # (line only has two points, animation only has two points, only animate x)
249s > grid.newpage()
249s > grid.text("Two parallel lines slide to the right",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.polyline(c(.1, .2, .3, .4),
249s + c(.1, .9, .1, .9),
249s + id=rep(1:2, each=2), name="polyline")
249s > grid.animate("polyline",
249s + x=animUnit(unit(c(.1, .2, .3, .4,
249s + .5, .6, .7, .8),
249s + unit="npc"),
249s + id=rep(rep(1:2, each=2), 2),
249s + timeid=rep(1:2, each=4)),
249s + duration=3)
249s > grid.export("anim-polyline-simple.svg")
249s >
249s > # Complex case
249s > # (line only has many points, animation only has many points, animate x and y)
249s > grid.newpage()
249s > grid.text("Two random walks",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > n <- 50
249s > x <- 1:n
249s > set.seed(1000)
249s > y1 <- runif(n, .6, .8)
249s > y2 <- runif(n, .2, .4)
249s > pushViewport(dataViewport(x, yscale=0:1))
249s > grid.polyline(rep(x[1:2], 2), c(y1[1:2], y2[1:2]),
249s + default.units="native",
249s + id=rep(1:2, each=2), name="polyline")
249s > grid.animate("polyline",
249s + x=animUnit(unit(rep(x[unlist(lapply(2:n, seq))], 2),
249s + "native"),
249s + id=rep(1:2, each=sum(2:n)),
249s + timeid=rep(1:(n - 1), 2:n)),
249s + y=animUnit(unit(c(y1[unlist(lapply(2:n, seq))],
249s + y2[unlist(lapply(2:n, seq))]),
249s + "native"),
249s + id=rep(1:2, each=sum(2:n)),
249s + timeid=rep(1:(n - 1), 2:n)),
249s + duration=10)
249s > grid.export("anim-polyline-complex.svg")
249s >
249s > # Animating segments
249s >
249s > # Simple case
249s > # (single segment, animation only has two values, only animate x0)
249s > grid.newpage()
249s > grid.text("45 degree line becomes vertical (on right)",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.segments(.1, .1, .9, .9, name="segments")
249s > grid.animate("segments",
249s + x0=c(.1, .9),
249s + duration=3)
249s > grid.export("anim-segments-simple.svg")
249s >
249s > # Complex case
249s > # (multiple segments, animation has three values, animate x0 and y0)
249s > grid.newpage()
249s > grid.text("crossed lines swing out to vertical then shorten",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.segments(c(.1, .9), .1, c(.9, .1), .9, name="segments")
249s > grid.animate("segments",
249s + x0=cbind(c(.1, .9, .9), c(.9, .1, .1)),
249s + y0=c(.1, .1, .5),
249s + duration=3)
249s > grid.export("anim-segments-complex.svg")
249s >
249s > # Animating polygons
249s >
249s > # Simple case
249s > # (polygon only has three points,
249s > # animation only has two points, only animate x)
249s > grid.newpage()
249s > grid.text("Single polygon slides to the right",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.polygon(c(.1, .2, .3),
249s + c(.4, .6, .4), name="polygon")
249s > grid.animate("polygon",
249s + x=animUnit(unit(c(.1, .2, .3,
249s + .7, .8, .9),
249s + unit="npc"),
249s + timeid=rep(1:2, each=3)),
249s + duration=3)
249s > grid.export("anim-polygon-simple.svg")
249s >
249s > # Complex case
249s > # (two polygons, animation has many points, animate x and y)
249s > grid.newpage()
249s > grid.text("Two polygons shrink and grow (flipped) then revert",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.polygon(c(.2, .3, .4,
249s + .6, .7, .8),
249s + c(.4, .6, .4, .6, .4, .6),
249s + id=rep(1:2, each=3), name="polygon")
249s > grid.animate("polygon",
249s + x=animUnit(unit(c(.2, .3, .4,
249s + .4, .3, .2,
249s + .2, .3, .4,
249s +
249s + .6, .7, .8,
249s + .8, .7, .6,
249s + .6, .7, .8),
249s + "npc"),
249s + id=rep(1:2, each=9),
249s + timeid=rep(rep(1:3, each=3), 2)),
249s + y=animUnit(unit(c(.4, .6, .4,
249s + .6, .4, .6,
249s + .4, .6, .4,
249s +
249s + .6, .4, .6,
249s + .4, .6, .4,
249s + .6, .4, .6),
249s + "npc"),
249s + id=rep(1:2, each=9),
249s + timeid=rep(rep(1:3, each=3), 2)),
249s + duration=5)
249s > grid.export("anim-polygon-complex.svg")
249s >
249s > # Animating paths
249s >
249s > # Simple case
249s > # (path has one sub-path,
249s > # animation only has two points, only animate x)
249s > grid.newpage()
249s > grid.text("Single simple path (triangle) slides to the right",
249s + y=unit(1, "lines"))
249s > grid.rect()
249s > grid.path(c(.1, .2, .3),
249s + c(.4, .6, .4),
249s + gp=gpar(fill="black"),
249s + name="path")
249s > grid.animate("path",
249s + x=animUnit(unit(c(.1, .2, .3,
249s + .7, .8, .9),
249s + unit="npc"),
249s + timeid=rep(1:2, each=3)),
249s + duration=3)
249s > grid.export("anim-path-simple.svg")
250s >
250s > # Complex case
250s > # (two polygons, animation has many points, animate x and y)
250s > grid.newpage()
250s > grid.text("Single complex path transmogrifies as it slides to the right",
250s + y=unit(1, "lines"))
250s > grid.rect()
250s > grid.path(c(.1, .1, .4, .4,
250s + .2, .2, .3, .3),
250s + c(.2, .8, .8, .2,
250s + .4, .6, .6, .4),
250s + id=rep(1:2, each=4),
250s + rule="evenodd",
250s + gp=gpar(fill="black"),
250s + name="path")
250s > grid.animate("path",
250s + x=animUnit(unit(c(.1, .1, .4, .4,
250s + .2, .2, .3, .3,
250s +
250s + .35, .35, .65, .65,
250s + .45, .45, .55, .55,
250s +
250s + .6, .6, .9, .9,
250s + .7, .7, .8, .8),
250s + unit="npc"),
250s + id=rep(rep(1:2, each=4), 3),
250s + timeid=rep(1:3, each=8)),
250s + y=animUnit(unit(c(.2, .8, .8, .2,
250s + .4, .6, .6, .4,
250s +
250s + .4, .6, .6, .4,
250s + .2, .8, .8, .2,
250s +
250s + .2, .8, .8, .2,
250s + .4, .6, .6, .4),
250s + unit="npc"),
250s + id=rep(rep(1:2, each=4), 3),
250s + timeid=rep(1:3, each=8)),
250s + duration=3)
250s > grid.export("anim-path-complex.svg")
250s >
250s > # Simple case
250s > # (single raster, anim only x, anim values are just numeric)
250s > grid.newpage()
250s > grid.text("One raster moves across",
250s + y=unit(1, "lines"))
250s > grid.rect()
250s > grid.raster(1:10/11, x=.2, y=.2, width=.1, height=.1, name="raster")
250s > grid.animate("raster", x=c(.2, .8), duration=3)
250s > grid.export("anim-raster-simple.svg")
250s >
250s > # Complex case
250s > # (multiple rasters, anim x/y/width/height, anim values are matrices and lists)
250s > grid.newpage()
250s > grid.text("Three rasters: one goes up, one goes across, and
250s + one goes diagonal and gets smaller",
250s + y=unit(1, "lines"))
250s > grid.rect()
250s > grid.raster(1:10/11, x=rep(.2, 3), y=.2, width=.1, height=.1, name="raster")
250s > grid.animate("raster",
250s + x=cbind(c(.2, .8), c(.2, .8), .2),
250s + y=cbind(.2, c(.2, .8), c(.2, .8)),
250s + width=list(unit(.1, "npc"),
250s + unit(c(.1, 1), c("npc", "cm")),
250s + unit(.1, "npc")),
250s + height=list(unit(.1, "npc"),
250s + unit(c(.1, 1), c("npc", "cm")),
250s + unit(.1, "npc")),
250s + duration=3)
250s > grid.export("anim-raster-complex.svg")
250s >
250s > # Simple case
250s > # (single xspline, anim only x, anim values are just numeric)
250s > grid.newpage()
250s > grid.text("Two xsplines move across",
250s + y=unit(1, "lines"))
250s > grid.rect()
250s > grid.xspline(c(.3, .1, .5, .3),
250s + c(.2, .5, .5, .2),
250s + open=TRUE, shape=1,
250s + name="xspline-1")
250s > grid.xspline(c(.3, .1, .5),
250s + c(.6, .9, .9),
250s + open=FALSE, shape=1,
250s + gp=gpar(fill="grey"),
250s + name="xspline-2")
250s > grid.animate("xspline-1",
250s + x=animUnit(unit(c(.3, .1, .5, .3,
250s + .7, .5, .9, .7),
250s + "npc"),
250s + timeid=rep(1:2, each=4)),
250s + duration=3)
250s > grid.animate("xspline-2",
250s + x=cbind(c(.3, .1, .5),
250s + c(.7, .5, .9)),
250s + duration=3)
250s > grid.export("anim-xspline-simple.svg")
250s >
250s > # Complex case
250s > # (four xsplines, animation has many points, animate x and y)
250s > grid.newpage()
250s > grid.text("Four xsplines shrink and grow (flipped) then revert",
250s + y=unit(1, "lines"))
250s > grid.rect()
250s > grid.xspline(c(.3, .1, .5, .3,
250s + .7, .5, .9, .7),
250s + c(.2, .5, .5, .2,
250s + .2, .5, .5, .2),
250s + shape=1,
250s + id=rep(1:2, each=4), name="xspline-open")
250s > grid.xspline(c(.3, .1, .5,
250s + .7, .5, .9),
250s + c(.6, .9, .9,
250s + .6, .9, .9),
250s + open=FALSE, shape=1,
250s + gp=gpar(fill="grey"),
250s + id=rep(1:2, each=3), name="xspline-closed")
250s > grid.animate("xspline-open",
250s + x=animUnit(unit(c(.3, .1, .5, .3,
250s + .5, .3, .7, .5,
250s + .7, .5, .9, .7,
250s +
250s + .7, .5, .9, .7,
250s + .5, .3, .7, .5,
250s + .3, .1, .5, .3),
250s + "npc"),
250s + id=rep(1:2, each=12),
250s + timeid=rep(rep(1:3, each=4), 2)),
250s + y=animUnit(unit(c(.2, .5, .5, .2,
250s + .5, .2, .2, .5,
250s + .2, .5, .5, .2,
250s +
250s + .2, .5, .5, .2,
250s + .5, .2, .2, .5,
250s + .2, .5, .5, .2),
250s + "npc"),
250s + id=rep(1:2, each=12),
250s + timeid=rep(rep(1:3, each=4), 2)),
250s + duration=5)
250s > grid.animate("xspline-closed",
250s + x=animUnit(unit(c(.3, .1, .5,
250s + .5, .3, .7,
250s + .7, .5, .9,
250s +
250s + .7, .5, .9,
250s + .5, .3, .7,
250s + .3, .1, .5),
250s + "npc"),
250s + id=rep(1:2, each=9),
250s + timeid=rep(rep(1:3, each=3), 2)),
250s + y=animUnit(unit(c(.6, .9, .9,
250s + .9, .6, .6,
250s + .6, .9, .9,
250s +
250s + .6, .9, .9,
250s + .9, .6, .6,
250s + .6, .9, .9),
250s + "npc"),
250s + id=rep(1:2, each=9),
250s + timeid=rep(rep(1:3, each=3), 2)),
250s + duration=5)
250s > grid.export("anim-xspline-complex.svg")
250s >
250s >
250s > ############################################
250s >
250s > # Multiple animations on same grob
250s > grid.newpage()
250s > grid.rect(x=.1, y=.1, width=.1, height=.1, name="r")
250s > grid.animate("r", x=c(.1, .9))
250s > grid.animate("r", x=c(.9, .1), begin=3)
250s > grid.export("anim-rect-multi.svg")
250s >
250s > # Animate group
250s > grid.newpage()
250s > grid.rect(x=.1, y=.1, width=.1, height=.1, name="r")
250s > grid.animate("r", visibility=c("visible", "hidden"), group=TRUE)
250s > grid.export("anim-group.svg")
250s >
250s >
250s BEGIN TEST testattrib.R
250s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
250s
250s R version 4.3.2 (2023-10-31) -- "Eye Holes"
250s Copyright (C) 2023 The R Foundation for Statistical Computing
250s Platform: x86_64-pc-linux-gnu (64-bit)
250s
250s R is free software and comes with ABSOLUTELY NO WARRANTY.
250s You are welcome to redistribute it under certain conditions.
250s Type 'license()' or 'licence()' for distribution details.
250s
250s R is a collaborative project with many contributors.
250s Type 'contributors()' for more information and
250s 'citation()' on how to cite R or R packages in publications.
250s
250s Type 'demo()' for some demos, 'help()' for on-line help, or
250s 'help.start()' for an HTML browser interface to help.
250s Type 'q()' to quit R.
250s
250s During startup - Warning messages:
250s 1: Setting LC_CTYPE failed, using "C"
250s 2: Setting LC_COLLATE failed, using "C"
250s 3: Setting LC_TIME failed, using "C"
250s 4: Setting LC_MESSAGES failed, using "C"
250s 5: Setting LC_MONETARY failed, using "C"
250s 6: Setting LC_PAPER failed, using "C"
250s 7: Setting LC_MEASUREMENT failed, using "C"
250s >
250s >
250s > library(grid)
250s > library(gridSVG)
250s
250s Attaching package: 'gridSVG'
250s
250s The following objects are masked from 'package:grid':
250s
250s linearGradient, pattern, radialGradient
250s
250s The following object is masked from 'package:grDevices':
250s
250s dev.off
250s
250s >
250s > # A very simple test
250s > dev.new(width=6, height=6)
250s dev.new(): using pdf(file="Rplots1.pdf")
250s > # Test script chunk
250s > grid.script(file="test.script")
250s > # Some default settings
250s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
250s > grid.circle(r=0.1, gp=gpar(fill="red"), name="circgrob")
250s > # Test setting SVG attribute
250s > grid.garnish("circgrob", onclick="circle_click(evt)")
250s > popViewport()
250s >
250s > grid.export()
251s > dev.off()
251s null device
251s 1
251s >
251s >
251s > # Single attribute value on single grob
251s > grid.newpage()
251s > grid.circle(r=.1, gp=gpar(fill="black"), name="c")
251s > grid.garnish("c", onmousedown="alert('ouch')")
251s > grid.export("testattrcircle.svg")
251s >
251s > # Multiple attribute values on single grob
251s > grid.newpage()
251s > pushViewport(viewport())
251s > grid.points(1:3/4, 1:3/4, pch=c(1, 10, 16), name="p")
251s > grid.garnish("p",
251s + onmousedown=c("alert('pch=1')",
251s + "alert('pch=10')",
251s + "alert('pch=16')"),
251s + group=FALSE)
251s > grid.export("testattrpoints.svg")
251s >
251s > # Multiple garnishes (one with single value, one with multiple values)
251s > grid.newpage()
251s > grid.circle(x=1:3/4, r=.1, gp=gpar(fill="black"), name="c")
251s > grid.garnish("c",
251s + onmouseover=c("alert('c1')", "alert('c2')", "alert('c3')"),
251s + group=FALSE)
251s > grid.garnish("c",
251s + onmousedown="alert('click me!')")
251s > grid.export("testmultattr.svg")
251s >
251s > # Sneak an SVG attribute through via gpar()
251s > grid.newpage()
251s > grid.text("test",
251s + gp=gpar("text-decoration"="line-through"),
251s + name="tt")
251s > grid.export("testsvgattr.svg")
251s >
251s BEGIN TEST testball.R
251s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
251s
251s R version 4.3.2 (2023-10-31) -- "Eye Holes"
251s Copyright (C) 2023 The R Foundation for Statistical Computing
251s Platform: x86_64-pc-linux-gnu (64-bit)
251s
251s R is free software and comes with ABSOLUTELY NO WARRANTY.
251s You are welcome to redistribute it under certain conditions.
251s Type 'license()' or 'licence()' for distribution details.
251s
251s R is a collaborative project with many contributors.
251s Type 'contributors()' for more information and
251s 'citation()' on how to cite R or R packages in publications.
251s
251s Type 'demo()' for some demos, 'help()' for on-line help, or
251s 'help.start()' for an HTML browser interface to help.
251s Type 'q()' to quit R.
251s
251s During startup - Warning messages:
251s 1: Setting LC_CTYPE failed, using "C"
251s 2: Setting LC_COLLATE failed, using "C"
251s 3: Setting LC_TIME failed, using "C"
251s 4: Setting LC_MESSAGES failed, using "C"
251s 5: Setting LC_MONETARY failed, using "C"
251s 6: Setting LC_PAPER failed, using "C"
251s 7: Setting LC_MEASUREMENT failed, using "C"
251s > library(grid)
251s > library(lattice)
251s > library(gridSVG)
251s
251s Attaching package: 'gridSVG'
251s
251s The following objects are masked from 'package:grid':
251s
251s linearGradient, pattern, radialGradient
251s
251s The following object is masked from 'package:grDevices':
251s
251s dev.off
251s
251s >
251s > postscript(width=8, height=6, paper="special")
251s >
251s > # Some default settings
251s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
251s >
251s > y <- 1:4
251s > x <- 1:4
251s > g <- factor(c("Earth", "Moon", "Jupiter", "Mars"))
251s >
251s > n <- 30
251s > d <- 20 # metres
251s > k <- c(9.8, 1.6, 24.8, 3.7) # gravities
251s > times <- 2 * sqrt(d/k) # (twice) the time taken to fall d metres
251s >
251s > cx <- unit(rep(0.5, 2*n - 1), "npc")
251s > dy <- 10*seq(0, 2, length=n)^2
251s > ecy <- unit(40 - c(dy, rev(dy)[-1]), "native")
251s >
251s > ballpanel <- function(x, y, subscripts) {
251s + pushViewport(viewport(yscale=c(-10, 50)))
251s + grid.rect(y=unit(0, "npc"),
251s + height=unit(10, "native"),
251s + just="bottom",
251s + gp=gpar(fill="grey"))
251s + duration <- switch(subscripts,
251s + times[1],
251s + times[2],
251s + times[3],
251s + times[4])
251s + col <- switch(subscripts,
251s + "blue", "grey", "brown", "red")
251s + grid.circle(name=col,
251s + x=cx[1],
251s + y=ecy[1],
251s + # r=unit(2, "mm"),
251s + r=unit(1, "native"),
251s + gp=gpar(col="black", fill=col))
251s + grid.animate(col, x=cx, y=ecy, duration=duration, rep=TRUE)
251s + if (subscripts == 1) {
251s + grid.text("20 metres",
251s + x=unit(-1, "lines"),
251s + y=unit(20, "native"),
251s + just="bottom", rot=270)
251s + grid.lines(x=unit(-1, "lines"),
251s + y=unit.c(unit(0, "native"),
251s + unit(20, "native") -
251s + unit(0.5, "strwidth", "40 metres") -
251s + unit(2, "mm")))
251s + grid.lines(x=unit(c(-.75, -1.25), "lines"),
251s + y=unit(0, "native"))
251s + grid.lines(x=unit(-1, "lines"),
251s + y=unit.c(unit(40, "native"),
251s + unit(20, "native") +
251s + unit(0.5, "strwidth", "40 metres") +
251s + unit(2, "mm")))
251s + grid.lines(x=unit(c(-.75, -1.25), "lines"),
251s + y=unit(40, "native"))
251s + }
251s + popViewport()
251s + }
251s >
251s > print(xyplot(y ~ x | g, subscripts=TRUE,
251s + layout=c(4, 1),
251s + xlab=NULL, ylab=NULL,
251s + panel=ballpanel,
251s + scales=list(draw=FALSE)),
251s + position=c(0.1, 0.1, 0.9, 0.9),
251s + newpage=FALSE)
252s >
252s > popViewport()
252s >
252s > grid.export("ball.svg")
252s >
252s > dev.off()
252s null device
252s 1
252s >
252s BEGIN TEST testclasses.R
252s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
252s
252s R version 4.3.2 (2023-10-31) -- "Eye Holes"
252s Copyright (C) 2023 The R Foundation for Statistical Computing
252s Platform: x86_64-pc-linux-gnu (64-bit)
252s
252s R is free software and comes with ABSOLUTELY NO WARRANTY.
252s You are welcome to redistribute it under certain conditions.
252s Type 'license()' or 'licence()' for distribution details.
252s
252s R is a collaborative project with many contributors.
252s Type 'contributors()' for more information and
252s 'citation()' on how to cite R or R packages in publications.
252s
252s Type 'demo()' for some demos, 'help()' for on-line help, or
252s 'help.start()' for an HTML browser interface to help.
252s Type 'q()' to quit R.
252s
252s During startup - Warning messages:
252s 1: Setting LC_CTYPE failed, using "C"
252s 2: Setting LC_COLLATE failed, using "C"
252s 3: Setting LC_TIME failed, using "C"
252s 4: Setting LC_MESSAGES failed, using "C"
252s 5: Setting LC_MONETARY failed, using "C"
252s 6: Setting LC_PAPER failed, using "C"
252s 7: Setting LC_MEASUREMENT failed, using "C"
252s > library(grid)
252s > library(gridSVG)
253s
253s Attaching package: 'gridSVG'
253s
253s The following objects are masked from 'package:grid':
253s
253s linearGradient, pattern, radialGradient
253s
253s The following object is masked from 'package:grDevices':
253s
253s dev.off
253s
253s >
253s > pdf(file = NULL)
253s >
253s > pushViewport(viewport())
253s > grid.rect()
253s > grid.circle()
253s > grid.text("hello, world!")
253s > popViewport()
253s >
253s > # All grobs and viewports should now be exported with a class attribute
253s > # holding the value of their R class()
253s > grid.export("test-classes.svg", addClasses = TRUE)
253s > dev.off()
253s null device
253s 1
253s >
253s BEGIN TEST testclippath.R
253s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
253s
253s R version 4.3.2 (2023-10-31) -- "Eye Holes"
253s Copyright (C) 2023 The R Foundation for Statistical Computing
253s Platform: x86_64-pc-linux-gnu (64-bit)
253s
253s R is free software and comes with ABSOLUTELY NO WARRANTY.
253s You are welcome to redistribute it under certain conditions.
253s Type 'license()' or 'licence()' for distribution details.
253s
253s R is a collaborative project with many contributors.
253s Type 'contributors()' for more information and
253s 'citation()' on how to cite R or R packages in publications.
253s
253s Type 'demo()' for some demos, 'help()' for on-line help, or
253s 'help.start()' for an HTML browser interface to help.
253s Type 'q()' to quit R.
253s
253s During startup - Warning messages:
253s 1: Setting LC_CTYPE failed, using "C"
253s 2: Setting LC_COLLATE failed, using "C"
253s 3: Setting LC_TIME failed, using "C"
253s 4: Setting LC_MESSAGES failed, using "C"
253s 5: Setting LC_MONETARY failed, using "C"
253s 6: Setting LC_PAPER failed, using "C"
253s 7: Setting LC_MEASUREMENT failed, using "C"
253s > library(grid)
253s > library(gridSVG)
253s
253s Attaching package: 'gridSVG'
253s
253s The following objects are masked from 'package:grid':
253s
253s linearGradient, pattern, radialGradient
253s
253s The following object is masked from 'package:grDevices':
253s
253s dev.off
253s
253s >
253s > pdf(file = NULL)
253s >
253s > # Create the definition of a clipping path, in this case
253s > # it will just be a circle.
253s > cp <- clipPath(circleGrob(r = 0.3))
253s >
253s > # Register the clipping path so that we can refer to it and apply it.
253s > registerClipPath("circleClip", cp)
253s >
253s > # Creating a simple plot that will be clipped to the circle
253s > sp <- gTree(name = "simplePlot",
253s + children = gList(xaxisGrob(), yaxisGrob(),
253s + rectGrob(gp = gpar(fill = "grey"))),
253s + vp = plotViewport())
253s > grid.draw(sp)
253s >
253s > # Now lets clip it
253s > grid.clipPath("simplePlot", label = "circleClip")
253s > # Alternatively we could also do this which avoids the need to call
253s > # 'registerClipPath' explicitly
253s > # grid.clipPath("simplePlot", cp)
253s >
253s > # All that remains is a grey circle
253s > grid.export("clippath-simpleplot.svg")
254s > dev.off()
254s null device
254s 1
254s >
254s >
254s > # Now lets recreate the previous example using 'pushClipPath'
254s > pdf(file = NULL)
254s > # Clear previous clipping path reference
254s > gridSVG.newpage()
254s >
254s > pushViewport(plotViewport())
254s >
254s > # Create the definition of a clipping path, in this case
254s > # it will just be a circle.
254s > cp <- clipPath(circleGrob(r = 0.3))
254s >
254s > # Create a new clipping context for this viewport
254s > pushClipPath(cp)
254s >
254s > # Creating a simple plot that will be clipped to our current clipping context
254s > sp <- gTree(name = "simplePlot",
254s + children = gList(xaxisGrob(), yaxisGrob(),
254s + rectGrob(gp = gpar(fill = "grey"))))
254s > grid.draw(sp)
254s >
254s > # End the clipping context
254s > popClipPath()
254s > popViewport()
254s >
254s > # Again we are just left with a grey circle
254s > grid.export("pushclippath-simpleplot.svg")
254s > dev.off()
254s null device
254s 1
254s >
254s >
254s BEGIN TEST testcomment.R
254s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
254s
254s R version 4.3.2 (2023-10-31) -- "Eye Holes"
254s Copyright (C) 2023 The R Foundation for Statistical Computing
254s Platform: x86_64-pc-linux-gnu (64-bit)
254s
254s R is free software and comes with ABSOLUTELY NO WARRANTY.
254s You are welcome to redistribute it under certain conditions.
254s Type 'license()' or 'licence()' for distribution details.
254s
254s R is a collaborative project with many contributors.
254s Type 'contributors()' for more information and
254s 'citation()' on how to cite R or R packages in publications.
254s
254s Type 'demo()' for some demos, 'help()' for on-line help, or
254s 'help.start()' for an HTML browser interface to help.
254s Type 'q()' to quit R.
254s
254s During startup - Warning messages:
254s 1: Setting LC_CTYPE failed, using "C"
254s 2: Setting LC_COLLATE failed, using "C"
254s 3: Setting LC_TIME failed, using "C"
254s 4: Setting LC_MESSAGES failed, using "C"
254s 5: Setting LC_MONETARY failed, using "C"
254s 6: Setting LC_PAPER failed, using "C"
254s 7: Setting LC_MEASUREMENT failed, using "C"
254s > library(grid)
254s > library(gridSVG)
254s
254s Attaching package: 'gridSVG'
254s
254s >
254s > dev.new(width=6, height=6)
254s The following objects are masked from 'package:grid':
254s
254s linearGradient, pattern, radialGradient
254s
254s The following object is masked from 'package:grDevices':
254s
254s dev.off
254s
254s dev.new(): using pdf(file="Rplots2.pdf")
254s > grid.rect(name = "mainrect")
254s > grid.comment("This is a comment", "mainrect")
254s > grid.export("comment-test.svg")
254s > dev.off()
254s null device
254s 1
254s >
254s Warning message:
254s In grabDL(warn, wrap, wrap.grobs, ...) :
254s one or more grobs overwritten (grab WILL not be faithful; try 'wrap.grobs = TRUE')
254s BEGIN TEST testelement.R
254s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
254s
254s R version 4.3.2 (2023-10-31) -- "Eye Holes"
254s Copyright (C) 2023 The R Foundation for Statistical Computing
254s Platform: x86_64-pc-linux-gnu (64-bit)
254s
254s R is free software and comes with ABSOLUTELY NO WARRANTY.
254s You are welcome to redistribute it under certain conditions.
254s Type 'license()' or 'licence()' for distribution details.
254s
254s R is a collaborative project with many contributors.
254s Type 'contributors()' for more information and
254s 'citation()' on how to cite R or R packages in publications.
254s
254s Type 'demo()' for some demos, 'help()' for on-line help, or
254s 'help.start()' for an HTML browser interface to help.
254s Type 'q()' to quit R.
254s
255s During startup - Warning messages:
255s 1: Setting LC_CTYPE failed, using "C"
255s 2: Setting LC_COLLATE failed, using "C"
255s 3: Setting LC_TIME failed, using "C"
255s 4: Setting LC_MESSAGES failed, using "C"
255s 5: Setting LC_MONETARY failed, using "C"
255s 6: Setting LC_PAPER failed, using "C"
255s 7: Setting LC_MEASUREMENT failed, using "C"
255s > library(grid)
255s > library(gridSVG)
255s >
255s Attaching package: 'gridSVG'
255s
255s The following objects are masked from 'package:grid':
255s
255s linearGradient, pattern, radialGradient
255s
255s
255s The following object is masked from 'package:grDevices':
255s
255s dev.off
255s
255s > dev.new(width=6, height=6)
255s dev.new(): using pdf(file="Rplots3.pdf")
255s > grid.element("test")
255s > grid.element("testParent",
255s + children = gList(commentGrob("This is a child comment"),
255s + elementGrob("firstChild"),
255s + rectGrob(),
255s + elementGrob("thirdChild",
255s + attrs = list(anAttrib = "value"))))
255s > # Create a 'title' element with descriptive text
255s > grid.element("title", children = gList(
255s + textNodeGrob("A gridSVG image with customised SVG content")))
255s > grid.export("element-test.svg")
255s > dev.off()
255s null device
255s 1
255s >
255s BEGIN TEST testfilter.R
255s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
255s
255s R version 4.3.2 (2023-10-31) -- "Eye Holes"
255s Copyright (C) 2023 The R Foundation for Statistical Computing
255s Platform: x86_64-pc-linux-gnu (64-bit)
255s
255s R is free software and comes with ABSOLUTELY NO WARRANTY.
255s You are welcome to redistribute it under certain conditions.
255s Type 'license()' or 'licence()' for distribution details.
255s
255s R is a collaborative project with many contributors.
255s Type 'contributors()' for more information and
255s 'citation()' on how to cite R or R packages in publications.
255s
255s Type 'demo()' for some demos, 'help()' for on-line help, or
255s 'help.start()' for an HTML browser interface to help.
255s Type 'q()' to quit R.
255s
255s During startup - Warning messages:
255s 1: Setting LC_CTYPE failed, using "C"
255s 2: Setting LC_COLLATE failed, using "C"
255s 3: Setting LC_TIME failed, using "C"
255s 4: Setting LC_MESSAGES failed, using "C"
255s 5: Setting LC_MONETARY failed, using "C"
255s 6: Setting LC_PAPER failed, using "C"
255s 7: Setting LC_MEASUREMENT failed, using "C"
255s > library(grid)
255s > library(gridSVG)
255s
255s Attaching package: 'gridSVG'
255s
255s The following objects are masked from 'package:grid':
255s
255s linearGradient, pattern, radialGradient
255s
255s The following object is masked from 'package:grDevices':
255s
255s dev.off
255s
255s >
255s > # There are many filter effect primitives and many of them are
255s > # quite complex so this file could end up having plenty more tests!
255s >
255s > pdf(file = NULL)
256s >
256s > # First, lets draw some text that we're then going to filter
256s > grid.text("hello, world!", gp = gpar(fontsize = 96),
256s + name = "backtext")
256s > # Draw a copy over the top with white text that will be left alone
256s > grid.text("hello, world!", gp = gpar(fontsize = 96, col = "white"),
256s + name = "foretext")
256s >
256s > # We want to create a filter that takes the text thicker, and then blurs it
256s > f <- filterEffect(list(feMorphology(operator = "dilate",
256s + radius = unit(1, "mm")),
256s + feGaussianBlur(sd = 1)))
256s > # Apply the filter
256s > grid.filter("backtext", f)
256s >
256s > # Now lets export this
256s > grid.export("filter-test.svg")
256s > dev.off()
256s null device
256s 1
256s >
256s >
256s BEGIN TEST testforce.R
256s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
256s
256s R version 4.3.2 (2023-10-31) -- "Eye Holes"
256s Copyright (C) 2023 The R Foundation for Statistical Computing
256s Platform: x86_64-pc-linux-gnu (64-bit)
256s
256s R is free software and comes with ABSOLUTELY NO WARRANTY.
256s You are welcome to redistribute it under certain conditions.
256s Type 'license()' or 'licence()' for distribution details.
256s
256s R is a collaborative project with many contributors.
256s Type 'contributors()' for more information and
256s 'citation()' on how to cite R or R packages in publications.
256s
256s Type 'demo()' for some demos, 'help()' for on-line help, or
256s 'help.start()' for an HTML browser interface to help.
256s Type 'q()' to quit R.
256s
256s During startup - Warning messages:
256s 1: Setting LC_CTYPE failed, using "C"
256s 2: Setting LC_COLLATE failed, using "C"
256s 3: Setting LC_TIME failed, using "C"
256s 4: Setting LC_MESSAGES failed, using "C"
256s 5: Setting LC_MONETARY failed, using "C"
256s 6: Setting LC_PAPER failed, using "C"
256s 7: Setting LC_MEASUREMENT failed, using "C"
256s > library(grid)
256s > library(gridSVG)
256s
256s Attaching package: 'gridSVG'
256s
256s >
256s > x <- roundrectGrob(width=.8, height=.8, name="x", gp=gpar(lwd=5))
256s >
256s > grid.newpage()
256s The following objects are masked from 'package:grid':
256s
256s linearGradient, pattern, radialGradient
256s
256s The following object is masked from 'package:grDevices':
256s
256s dev.off
256s
256s > grid.draw(x)
256s > grid.gradientFill("x", linearGradient(c("green", "yellow")))
256s > grid.export("force-gradient.svg")
256s >
256s > grid.newpage()
256s > grid.draw(x)
256s > grid.animate("x", "stroke-opacity"=1:0)
256s > grid.export("force-animate.svg")
256s >
256s > grid.newpage()
256s > grid.draw(x)
256s > grid.hyperlink("x", href="http://www.stat.auckland.ac.nz/")
256s > grid.export("force-hyper.svg")
256s >
256s > grid.newpage()
256s > grid.draw(x)
256s > grid.filter("x", filterEffect(feGaussianBlur(sd=5)))
256s > grid.export("force-filter.svg")
256s >
256s > grid.newpage()
256s > grid.draw(x)
256s > grid.patternFill("x", pattern(circleGrob()))
256s > grid.export("force-pattern.svg")
256s >
256s > grid.newpage()
256s > grid.draw(x)
256s > grid.garnish("x", title="tooltip")
256s > grid.export("force-garnish.svg")
257s Warning message:
257s In checkAttrs(attrs, eltName) : Removing non-SVG attribute name(s): title
257s >
257s BEGIN TEST testgradientfill.R
257s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
257s
257s R version 4.3.2 (2023-10-31) -- "Eye Holes"
257s Copyright (C) 2023 The R Foundation for Statistical Computing
257s Platform: x86_64-pc-linux-gnu (64-bit)
257s
257s R is free software and comes with ABSOLUTELY NO WARRANTY.
257s You are welcome to redistribute it under certain conditions.
257s Type 'license()' or 'licence()' for distribution details.
257s
257s R is a collaborative project with many contributors.
257s Type 'contributors()' for more information and
257s 'citation()' on how to cite R or R packages in publications.
257s
257s Type 'demo()' for some demos, 'help()' for on-line help, or
257s 'help.start()' for an HTML browser interface to help.
257s Type 'q()' to quit R.
257s
257s During startup - Warning messages:
257s 1: Setting LC_CTYPE failed, using "C"
257s 2: Setting LC_COLLATE failed, using "C"
257s 3: Setting LC_TIME failed, using "C"
257s 4: Setting LC_MESSAGES failed, using "C"
257s 5: Setting LC_MONETARY failed, using "C"
257s 6: Setting LC_PAPER failed, using "C"
257s 7: Setting LC_MEASUREMENT failed, using "C"
257s > library(grid)
257s > library(gridSVG)
257s
257s Attaching package: 'gridSVG'
257s
257s The following objects are masked from 'package:grid':
257s
257s linearGradient, pattern, radialGradient
257s
257s The following object is masked from 'package:grDevices':
257s
257s dev.off
257s
257s >
257s > pdf(file = NULL)
257s >
257s > # Define a linear gradient
257s > lg <- linearGradient(col = c("blue", "red"))
257s > # Register it
257s > registerGradientFill("lingrad", lg)
257s >
257s > # Do the same thing for radial gradient but also set the focus for the
257s > # radial fill to be off-centre
257s > rg <- radialGradient(fx = 0.3, fy = 0.3,
257s + col = c("white", "black"), stops = c(0, 2))
257s > registerGradientFill("radgrad", rg)
257s >
257s > # Create rects that we are going to be gradient filling
257s > grid.rect(x = 0.2, width = 0.2, height = 0.2, name = "linearfill")
257s > grid.rect(x = 0.8, width = 0.2, height = 0.2, name = "radialfill")
257s >
257s > # Now apply the gradients
257s > grid.gradientFill("linearfill", label = "lingrad", alpha = 0.7)
257s > grid.gradientFill("radialfill", label = "radgrad")
257s >
257s > grid.export("gradient-test.svg")
257s > dev.off()
257s null device
257s 1
257s >
257s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
257s BEGIN TEST testgrid.R
257s
257s R version 4.3.2 (2023-10-31) -- "Eye Holes"
257s Copyright (C) 2023 The R Foundation for Statistical Computing
257s Platform: x86_64-pc-linux-gnu (64-bit)
257s
257s R is free software and comes with ABSOLUTELY NO WARRANTY.
257s You are welcome to redistribute it under certain conditions.
257s Type 'license()' or 'licence()' for distribution details.
257s
257s R is a collaborative project with many contributors.
257s Type 'contributors()' for more information and
257s 'citation()' on how to cite R or R packages in publications.
257s
257s Type 'demo()' for some demos, 'help()' for on-line help, or
257s 'help.start()' for an HTML browser interface to help.
257s Type 'q()' to quit R.
257s
257s During startup - Warning messages:
257s 1: Setting LC_CTYPE failed, using "C"
257s 2: Setting LC_COLLATE failed, using "C"
257s 3: Setting LC_TIME failed, using "C"
257s 4: Setting LC_MESSAGES failed, using "C"
257s 5: Setting LC_MONETARY failed, using "C"
257s 6: Setting LC_PAPER failed, using "C"
257s 7: Setting LC_MEASUREMENT failed, using "C"
257s > # Try to reproduce testsvg.R from grid
257s > library(grid)
257s > library(gridSVG)
257s
257s Attaching package: 'gridSVG'
257s
257s The following objects are masked from 'package:grid':
257s
257s linearGradient, pattern, radialGradient
257s
257s The following object is masked from 'package:grDevices':
257s
257s dev.off
257s
257s >
257s > dev.new(width=6, height=6)
257s dev.new(): using pdf(file="Rplots4.pdf")
257s > # Force white background and black foreground
257s > pushViewport(viewport(gp=gpar(col="black", fill="white")))
258s > grid.rect()
258s > # NOTE: that svg.R has transforms that assume that (0, 0)
258s > # is at bottom-left so y-locations and heights in "native"
258s > # coordinates on an X11 device are not
258s > # handled properly (by svg.R; grid draws them fine).
258s > # So for the outer viewport, we fudge an approximation to the
258s > # "pixel" locations in testsvg.R
258s > # Ultimate fix requires something in svg.R transforms (ty and th)
258s > # Also, the viewport pushed above means that the "native"
258s > # device coordinates are no longer available here
258s > pushViewport(viewport(unit(1, "mm"), unit(1, "mm"),
258s + unit(0.5, "npc"), unit(0.6, "npc"),
258s + just=c("left", "bottom"),
258s + xscale=c(0, 11), yscale=c(0, 11)))
258s > grid.rect(gp=gpar(col="green"))
258s > grid.lines(1:10, 10:1,
258s + default.units="native",
258s + gp=gpar(col="green"))
258s > grid.polygon(c(1, 3, 4, 1), c(1, 1, 5, 4),
258s + default.units="native",
258s + gp=gpar(fill="grey", col=NA))
258s > grid.rect(rep(6, 2), c(3, 7), 2, 1,
258s + just=c("left", "bottom"),
258s + default.units="native",
258s + gp=gpar(fill="cyan"))
258s > grid.text(c("some text", "some more text!"), 2, 8:7,
258s + just="left",
258s + default.units="native")
258s > grid.circle(rep(8, 2), 3, c(.1, 2),
258s + default.units="native",
258s + gp=gpar(col="blue", fill=NA))
258s > grid.text("centred text", 4, 5,
258s + default.units="native", rot=20)
258s > pushViewport(viewport(x=6, y=5, w=3, h=1,
258s + default.units="native",
258s + just=c("left", "bottom"),
258s + xscale=c(0, 1), yscale=c(0, 1)))
258s > grid.rect(0, 0, 1, 1,
258s + just=c("left", "bottom"),
258s + default.units="native",
258s + gp=gpar(fill=NA, col="black"))
258s > grid.text("text in a box", 0.1, 0.5,
258s + just=c("left", "bottom"),
258s + default.units="native")
258s > popViewport()
258s > grid.rect(5, 2, 2, 7,
258s + default.units="native",
258s + just=c("left", "bottom"),
258s + gp=gpar(fill="green", alpha=.5))
258s > popViewport()
258s >
258s > popViewport()
258s >
258s > grid.export("grid.svg")
258s > dev.off()
258s null device
258s 1
258s >
258s BEGIN TEST testid.R
258s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
258s
258s R version 4.3.2 (2023-10-31) -- "Eye Holes"
258s Copyright (C) 2023 The R Foundation for Statistical Computing
258s Platform: x86_64-pc-linux-gnu (64-bit)
258s
258s R is free software and comes with ABSOLUTELY NO WARRANTY.
258s You are welcome to redistribute it under certain conditions.
258s Type 'license()' or 'licence()' for distribution details.
258s
258s R is a collaborative project with many contributors.
258s Type 'contributors()' for more information and
258s 'citation()' on how to cite R or R packages in publications.
258s
258s Type 'demo()' for some demos, 'help()' for on-line help, or
258s 'help.start()' for an HTML browser interface to help.
258s Type 'q()' to quit R.
258s
258s During startup - Warning messages:
258s 1: Setting LC_CTYPE failed, using "C"
258s 2: Setting LC_COLLATE failed, using "C"
258s 3: Setting LC_TIME failed, using "C"
258s 4: Setting LC_MESSAGES failed, using "C"
258s 5: Setting LC_MONETARY failed, using "C"
258s 6: Setting LC_PAPER failed, using "C"
258s 7: Setting LC_MEASUREMENT failed, using "C"
258s >
258s > library(grid)
258s > library(gridSVG)
258s
258s Attaching package: 'gridSVG'
258s
258s >
258s > # A very simple test
258s > dev.new(width=6, height=6)
258s The following objects are masked from 'package:grid':
258s
258s linearGradient, pattern, radialGradient
258s
258s The following object is masked from 'package:grDevices':
258s
258s dev.off
258s
258s dev.new(): using pdf(file="Rplots5.pdf")
258s > # Some default settings
258s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
258s > grid.circle(r=4:1/8, name="circgrob")
258s > grid.rect(name="rectgrob")
258s > popViewport()
258s >
258s > grid.export()
258s > dev.off()
258s null device
258s 1
258s >
258s BEGIN TEST testlink.R
258s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
258s
258s R version 4.3.2 (2023-10-31) -- "Eye Holes"
258s Copyright (C) 2023 The R Foundation for Statistical Computing
258s Platform: x86_64-pc-linux-gnu (64-bit)
258s
258s R is free software and comes with ABSOLUTELY NO WARRANTY.
258s You are welcome to redistribute it under certain conditions.
258s Type 'license()' or 'licence()' for distribution details.
258s
258s R is a collaborative project with many contributors.
258s Type 'contributors()' for more information and
258s 'citation()' on how to cite R or R packages in publications.
258s
258s Type 'demo()' for some demos, 'help()' for on-line help, or
258s 'help.start()' for an HTML browser interface to help.
258s Type 'q()' to quit R.
258s
258s During startup - Warning messages:
258s 1: Setting LC_CTYPE failed, using "C"
258s 2: Setting LC_COLLATE failed, using "C"
258s 3: Setting LC_TIME failed, using "C"
258s 4: Setting LC_MESSAGES failed, using "C"
258s 5: Setting LC_MONETARY failed, using "C"
258s 6: Setting LC_PAPER failed, using "C"
258s 7: Setting LC_MEASUREMENT failed, using "C"
258s >
258s > library(grid)
258s > library(gridSVG)
259s
259s Attaching package: 'gridSVG'
259s
259s >
259s > # A very simple test
259s > dev.new(width=6, height=6)
259s The following objects are masked from 'package:grid':
259s
259s linearGradient, pattern, radialGradient
259s
259s The following object is masked from 'package:grDevices':
259s
259s dev.off
259s
259s dev.new(): using pdf(file="Rplots6.pdf")
259s > # Some default settings
259s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
259s > grid.text("Click me", name="txtgrob")
259s > grid.hyperlink("txtgrob", href="http://cran.stat.auckland.ac.nz")
259s > popViewport()
259s >
259s > grid.export()
259s > dev.off()
259s null device
259s 1
259s >
259s > # A scatterplot and two dot plots designed to be
259s > # linked together
259s >
259s > # Some data
259s > data(iris)
259s >
259s > # A scatterplot of x vs y
259s > dev.new(width=6, height=6)
259s dev.new(): using pdf(file="Rplots7.pdf")
259s > # Some default settings
259s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
259s > pushViewport(plotViewport(c(5, 5, 4, 2)))
259s > pushViewport(dataViewport(iris$Sepal.Length, iris$Sepal.Width))
259s > grid.rect()
259s > grid.xaxis(name="xaxis")
259s > grid.yaxis(name="yaxis")
259s > grid.hyperlink("xaxis", "linkdotx.svg")
259s > grid.hyperlink("yaxis", "linkdoty.svg")
259s > grid.points(iris$Sepal.Length[iris$Species == "setosa"],
259s + iris$Sepal.Width[iris$Species == "setosa"],
259s + gp=gpar(col="red"))
259s > grid.points(iris$Sepal.Length[iris$Species == "versicolor"],
259s + iris$Sepal.Width[iris$Species == "versicolor"],
259s + gp=gpar(col="green"))
259s > grid.points(iris$Sepal.Length[iris$Species == "virginica"],
259s + iris$Sepal.Width[iris$Species == "virginica"],
259s + gp=gpar(col="blue"))
259s > grid.text("Sepal Length", y=unit(-3, "lines"))
259s > grid.text("Sepal Width", x=unit(-3, "lines"), rot=90)
259s > popViewport(3)
259s > grid.export("linkscatter.svg")
259s > dev.off()
259s null device
259s 1
259s >
259s > # A dot plot of x
259s > dev.new(width=6, height=3)
259s dev.new(): using pdf(file="Rplots8.pdf")
259s > # Some default settings
259s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
259s > pushViewport(plotViewport(c(5, 2, 4, 2)))
259s > pushViewport(dataViewport(iris$Sepal.Length, yscale=c(0 ,1)))
259s > grid.rect(gp=gpar(col="grey"))
259s > grid.xaxis()
259s > grid.points(iris$Sepal.Length[iris$Species == "setosa"],
259s + rnorm(50, .5, .05),
259s + size=unit(2, "char"),
259s + gp=gpar(col=NULL, fill="red", alpha=0.3))
259s > grid.points(iris$Sepal.Length[iris$Species == "versicolor"],
259s + rnorm(50, .5, .05),
259s + size=unit(2, "char"),
259s + gp=gpar(col=NULL, fill="green", alpha=0.3))
259s > grid.points(iris$Sepal.Length[iris$Species == "virginica"],
259s + rnorm(50, .5, .05),
259s + size=unit(2, "char"),
259s + gp=gpar(col=NULL, fill="blue", alpha=0.3))
259s > grid.text("Sepal Length", y=unit(-3, "lines"))
259s > grid.text(name="returnlink",
259s + "Return to Scatterplot",
259s + y=unit(1, "npc") + unit(1, "lines"),
259s + gp=gpar(col="grey"))
259s > grid.hyperlink("returnlink", "linkscatter.svg")
259s > popViewport(3)
259s > grid.export("linkdotx.svg")
259s > dev.off()
259s null device
259s 1
259s >
259s > # A dot plot of y
259s > dev.new(width=6, height=3)
259s dev.new(): using pdf(file="Rplots9.pdf")
259s > # Some default settings
259s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
259s > pushViewport(plotViewport(c(5, 2, 4, 2)))
259s > pushViewport(dataViewport(iris$Sepal.Width, yscale=c(0 ,1)))
259s > grid.rect(gp=gpar(col="grey"))
259s > grid.xaxis()
259s > grid.points(iris$Sepal.Width[iris$Species == "setosa"],
259s + rnorm(50, .5, .05),
259s + size=unit(2, "char"),
259s + gp=gpar(col=NULL, fill="red", alpha=0.3))
259s > grid.points(iris$Sepal.Width[iris$Species == "versicolor"],
259s + rnorm(50, .5, .05),
259s + size=unit(2, "char"),
259s + gp=gpar(col=NULL, fill="green", alpha=0.3))
259s > grid.points(iris$Sepal.Width[iris$Species == "virginica"],
259s + rnorm(50, .5, .05),
259s + size=unit(2, "char"),
259s + gp=gpar(col=NULL, fill="blue", alpha=0.3))
259s > grid.text("Sepal Width", y=unit(-3, "lines"))
259s > grid.text(name="returnlink",
259s + "Return to Scatterplot",
259s + y=unit(1, "npc") + unit(1, "lines"),
259s + gp=gpar(col="grey"))
259s > grid.hyperlink("returnlink", "linkscatter.svg")
259s > popViewport(3)
259s > grid.export("linkdoty.svg")
259s > dev.off()
259s null device
259s 1
259s >
259s >
259s > # Check link to overall grob works
259s >
259s > grid.newpage()
259s > grid.draw(hyperlinkGrob(linesGrob(gp=gpar(lwd=20)),
259s + href="http://www.stat.auckland.ac.nz"))
259s > grid.export("testGroupOfOneHyperlink.svg")
259s >
259s > grid.newpage()
259s > grid.draw(hyperlinkGrob(segmentsGrob(1:3/4, gp=gpar(lwd=20)),
259s + href="http://www.stat.auckland.ac.nz"))
259s > grid.export("testGroupOfManyHyperlink.svg")
259s >
259s > # Test *individual* hrefs
259s >
259s > grid.newpage()
259s > grid.draw(hyperlinkGrob(linesGrob(gp=gpar(lwd=20)),
259s + href="http://www.stat.auckland.ac.nz",
259s + group=FALSE))
259s > grid.export("testIndividualOneHyperlink.svg")
260s >
260s > grid.newpage()
260s > grid.draw(hyperlinkGrob(segmentsGrob(1:3/4, gp=gpar(lwd=20)),
260s + href="http://www.stat.auckland.ac.nz",
260s + group=FALSE))
260s > grid.export("testIndividualManyHyperlink.svg")
260s >
260s > grid.newpage()
260s > grid.draw(hyperlinkGrob(segmentsGrob(1:3/4, gp=gpar(lwd=20)),
260s + href=c("http://www.stat.auckland.ac.nz",
260s + "http://slashdot.org",
260s + "http://soccernet.com"),
260s + group=FALSE))
260s > grid.export("testIndividualManyHyperlinks.svg")
260s >
260s BEGIN TEST testmask.R
260s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
260s
260s R version 4.3.2 (2023-10-31) -- "Eye Holes"
260s Copyright (C) 2023 The R Foundation for Statistical Computing
260s Platform: x86_64-pc-linux-gnu (64-bit)
260s
260s R is free software and comes with ABSOLUTELY NO WARRANTY.
260s You are welcome to redistribute it under certain conditions.
260s Type 'license()' or 'licence()' for distribution details.
260s
260s R is a collaborative project with many contributors.
260s Type 'contributors()' for more information and
260s 'citation()' on how to cite R or R packages in publications.
260s
260s Type 'demo()' for some demos, 'help()' for on-line help, or
260s 'help.start()' for an HTML browser interface to help.
260s Type 'q()' to quit R.
260s
260s During startup - Warning messages:
260s 1: Setting LC_CTYPE failed, using "C"
260s 2: Setting LC_COLLATE failed, using "C"
260s 3: Setting LC_TIME failed, using "C"
260s 4: Setting LC_MESSAGES failed, using "C"
260s 5: Setting LC_MONETARY failed, using "C"
260s 6: Setting LC_PAPER failed, using "C"
260s 7: Setting LC_MEASUREMENT failed, using "C"
260s > library(grid)
260s > library(gridSVG)
260s
260s Attaching package: 'gridSVG'
260s
260s The following objects are masked from 'package:grid':
260s
260s linearGradient, pattern, radialGradient
260s
260s The following object is masked from 'package:grDevices':
260s
260s dev.off
260s
260s >
260s > pdf(file = NULL)
260s >
260s > # Create the definition of an opacity mask, in this case
260s > # it will just be a circle with a gradient fill.
260s > rg <- radialGradient(col = c("white", "black"))
260s > m <- mask(gradientFillGrob(circleGrob(), gradient = rg))
260s >
260s > # Register the opacity mask so that we can refer to it and apply it.
260s > registerMask("circleMask", m)
260s >
260s > # Creating a simple plot that will be masked to the circle
260s > sp <- gTree(name = "simplePlot",
260s + children = gList(xaxisGrob(), yaxisGrob(),
260s + rectGrob(gp = gpar(fill = "grey"))),
260s + vp = plotViewport())
260s > grid.draw(sp)
260s >
260s > # Now lets mask it
260s > grid.mask("simplePlot", label = "circleMask")
260s > # Alternatively we could also do this which avoids the need to call
260s > # 'registerMask' explicitly
260s > # grid.mask("simplePlot", m)
260s >
260s > grid.export("mask-simpleplot.svg")
260s > dev.off()
260s null device
260s 1
260s >
260s >
260s > # Now lets recreate the previous example using 'pushMask'
260s > pdf(file = NULL)
260s > # Clear previous mask reference
260s > gridSVG.newpage()
260s >
260s >
260s > # Create the definition of an opacity mask, in this case
260s > # it will just be a circle with a gradient fill.
260s > rg <- radialGradient(col = c("white", "black"))
260s > m <- mask(gradientFillGrob(circleGrob(), gradient = rg))
260s >
260s > # Create a new masking context for this viewport
260s > pushMask(m)
260s >
260s > # Creating a simple plot that will be masked to our current masking context
260s > sp <- gTree(name = "simplePlot",
260s + children = gList(xaxisGrob(), yaxisGrob(),
260s + rectGrob(gp = gpar(fill = "grey"))),
260s + vp = plotViewport())
260s > grid.draw(sp)
260s >
260s > # End the masking context
260s > popMask()
260s >
260s > grid.export("pushmask-simpleplot.svg")
261s > dev.off()
261s null device
261s 1
261s >
261s >
261s >
261s BEGIN TEST testpath.R
261s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
261s
261s R version 4.3.2 (2023-10-31) -- "Eye Holes"
261s Copyright (C) 2023 The R Foundation for Statistical Computing
261s Platform: x86_64-pc-linux-gnu (64-bit)
261s
261s R is free software and comes with ABSOLUTELY NO WARRANTY.
261s You are welcome to redistribute it under certain conditions.
261s Type 'license()' or 'licence()' for distribution details.
261s
261s R is a collaborative project with many contributors.
261s Type 'contributors()' for more information and
261s 'citation()' on how to cite R or R packages in publications.
261s
261s Type 'demo()' for some demos, 'help()' for on-line help, or
261s 'help.start()' for an HTML browser interface to help.
261s Type 'q()' to quit R.
261s
261s During startup - Warning messages:
261s 1: Setting LC_CTYPE failed, using "C"
261s 2: Setting LC_COLLATE failed, using "C"
261s 3: Setting LC_TIME failed, using "C"
261s 4: Setting LC_MESSAGES failed, using "C"
261s 5: Setting LC_MONETARY failed, using "C"
261s 6: Setting LC_PAPER failed, using "C"
261s 7: Setting LC_MEASUREMENT failed, using "C"
261s >
261s > library(grid)
261s > require(gridSVG)
261s Loading required package: gridSVG
261s
261s Attaching package: 'gridSVG'
261s
261s The following objects are masked from 'package:grid':
261s
261s linearGradient, pattern, radialGradient
261s
261s The following object is masked from 'package:grDevices':
261s
261s dev.off
261s
261s >
261s > example(grid.path)
261s
261s grd.pt> pathSample <- function(x, y, rule, gp = gpar()) {
261s grd.pt+ if (is.na(rule))
261s grd.pt+ grid.path(x, y, id = rep(1:2, each = 4), gp = gp)
261s grd.pt+ else
261s grd.pt+ grid.path(x, y, id = rep(1:2, each = 4), rule = rule, gp = gp)
261s grd.pt+ if (!is.na(rule))
261s grd.pt+ grid.text(paste("Rule:", rule), y = 0, just = "bottom")
261s grd.pt+ }
261s
261s grd.pt> pathTriplet <- function(x, y, title) {
261s grd.pt+ pushViewport(viewport(height = 0.9, layout = grid.layout(1, 3),
261s grd.pt+ gp = gpar(cex = .7)))
261s grd.pt+ grid.rect(y = 1, height = unit(1, "char"), just = "top",
261s grd.pt+ gp = gpar(col = NA, fill = "grey"))
261s grd.pt+ grid.text(title, y = 1, just = "top")
261s grd.pt+ pushViewport(viewport(layout.pos.col = 1))
261s grd.pt+ pathSample(x, y, rule = "winding",
261s grd.pt+ gp = gpar(fill = "grey"))
261s grd.pt+ popViewport()
261s grd.pt+ pushViewport(viewport(layout.pos.col = 2))
261s grd.pt+ pathSample(x, y, rule = "evenodd",
261s grd.pt+ gp = gpar(fill = "grey"))
261s grd.pt+ popViewport()
261s grd.pt+ pushViewport(viewport(layout.pos.col = 3))
261s grd.pt+ pathSample(x, y, rule = NA)
261s grd.pt+ popViewport()
261s grd.pt+ popViewport()
261s grd.pt+ }
261s
261s grd.pt> pathTest <- function() {
261s grd.pt+ grid.newpage()
261s grd.pt+ pushViewport(viewport(layout = grid.layout(5, 1)))
261s grd.pt+ pushViewport(viewport(layout.pos.row = 1))
261s grd.pt+ pathTriplet(c(.1, .1, .9, .9, .2, .2, .8, .8),
261s grd.pt+ c(.1, .9, .9, .1, .2, .8, .8, .2),
261s grd.pt+ "Nested rectangles, both clockwise")
261s grd.pt+ popViewport()
261s grd.pt+ pushViewport(viewport(layout.pos.row = 2))
261s grd.pt+ pathTriplet(c(.1, .1, .9, .9, .2, .8, .8, .2),
261s grd.pt+ c(.1, .9, .9, .1, .2, .2, .8, .8),
261s grd.pt+ "Nested rectangles, outer clockwise, inner anti-clockwise")
261s grd.pt+ popViewport()
261s grd.pt+ pushViewport(viewport(layout.pos.row = 3))
261s grd.pt+ pathTriplet(c(.1, .1, .4, .4, .6, .9, .9, .6),
261s grd.pt+ c(.1, .4, .4, .1, .6, .6, .9, .9),
261s grd.pt+ "Disjoint rectangles")
261s grd.pt+ popViewport()
261s grd.pt+ pushViewport(viewport(layout.pos.row = 4))
261s grd.pt+ pathTriplet(c(.1, .1, .6, .6, .4, .4, .9, .9),
261s grd.pt+ c(.1, .6, .6, .1, .4, .9, .9, .4),
261s grd.pt+ "Overlapping rectangles, both clockwise")
261s grd.pt+ popViewport()
261s grd.pt+ pushViewport(viewport(layout.pos.row = 5))
261s grd.pt+ pathTriplet(c(.1, .1, .6, .6, .4, .9, .9, .4),
261s grd.pt+ c(.1, .6, .6, .1, .4, .4, .9, .9),
261s grd.pt+ "Overlapping rectangles, one clockwise, other anti-clockwise")
261s grd.pt+ popViewport()
261s grd.pt+ popViewport()
261s grd.pt+ }
261s
261s grd.pt> pathTest()
261s
261s grd.pt> # Drawing multiple paths at once
261s grd.pt> holed_rect <- cbind(c(.15, .15, -.15, -.15, .1, .1, -.1, -.1),
261s grd.pt+ c(.15, -.15, -.15, .15, .1, -.1, -.1, .1))
261s
261s grd.pt> holed_rects <- rbind(
261s grd.pt+ holed_rect + matrix(c(.7, .2), nrow = 8, ncol = 2, byrow = TRUE),
261s grd.pt+ holed_rect + matrix(c(.7, .8), nrow = 8, ncol = 2, byrow = TRUE),
261s grd.pt+ holed_rect + matrix(c(.2, .5), nrow = 8, ncol = 2, byrow = TRUE)
261s grd.pt+ )
261s
261s grd.pt> grid.newpage()
261s
261s grd.pt> grid.path(x = holed_rects[, 1], y = holed_rects[, 2],
261s grd.pt+ id = rep(1:6, each = 4), pathId = rep(1:3, each = 8),
261s grd.pt+ gp = gpar(fill = c('red', 'blue', 'green')),
261s grd.pt+ rule = 'evenodd')
261s
261s grd.pt> # Not specifying pathId will treat all points as part of the same path, thus
261s grd.pt> # having same fill
261s grd.pt> grid.newpage()
261s
261s grd.pt> grid.path(x = holed_rects[, 1], y = holed_rects[, 2],
261s grd.pt+ id = rep(1:6, each = 4),
261s grd.pt+ gp = gpar(fill = c('red', 'blue', 'green')),
261s grd.pt+ rule = 'evenodd')
261s >
261s > grid.export("path.svg")
261s >
261s BEGIN TEST testpatternfill.R
261s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
261s
261s R version 4.3.2 (2023-10-31) -- "Eye Holes"
261s Copyright (C) 2023 The R Foundation for Statistical Computing
261s Platform: x86_64-pc-linux-gnu (64-bit)
261s
261s R is free software and comes with ABSOLUTELY NO WARRANTY.
261s You are welcome to redistribute it under certain conditions.
261s Type 'license()' or 'licence()' for distribution details.
261s
261s R is a collaborative project with many contributors.
261s Type 'contributors()' for more information and
261s 'citation()' on how to cite R or R packages in publications.
261s
261s Type 'demo()' for some demos, 'help()' for on-line help, or
261s 'help.start()' for an HTML browser interface to help.
261s Type 'q()' to quit R.
261s
261s During startup - Warning messages:
261s 1: Setting LC_CTYPE failed, using "C"
261s 2: Setting LC_COLLATE failed, using "C"
261s 3: Setting LC_TIME failed, using "C"
261s 4: Setting LC_MESSAGES failed, using "C"
261s 5: Setting LC_MONETARY failed, using "C"
261s 6: Setting LC_PAPER failed, using "C"
261s 7: Setting LC_MEASUREMENT failed, using "C"
261s > library(grid)
262s > library(gridSVG)
262s
262s Attaching package: 'gridSVG'
262s
262s The following objects are masked from 'package:grid':
262s
262s linearGradient, pattern, radialGradient
262s
262s The following object is masked from 'package:grDevices':
262s
262s dev.off
262s
262s >
262s > pdf(file = NULL)
262s > grid.newpage()
262s > # We are just going to be drawing a cross for our pattern
262s > crossGrob <- gTree(children = gList(
262s + linesGrob(),
262s + linesGrob(x = unit(0:1, "npc"), y = unit(1:0, "npc"),
262s + gp = gpar(lwd = 1))
262s + ))
262s >
262s > # Call the pattern "cross"
262s > # Using a small device size because the line widths
262s > # will be too small otherwise
262s > registerPatternFill("cross", grob = crossGrob,
262s + dev.width = 1, dev.height = 1)
262s >
262s > grid.circle(name = "filledcircle")
262s > # Applying the pattern semi-transparently to the circle
262s > grid.patternFill("filledcircle", label = "cross", alpha = 0.5)
262s > grid.export("pattern-test.svg")
262s > dev.off()
262s null device
262s 1
262s >
262s > # Now lets create a new pattern that uses the existing pattern
262s > # but much larger
262s > pdf(file = NULL)
262s > grid.newpage()
262s > registerPatternFillRef("bigcross", "cross",
262s + width = 0.3, height = 0.3)
262s > grid.circle(name = "filledcircle")
262s > grid.patternFill("filledcircle", label = "bigcross", alpha = 0.5)
262s > grid.export("pattern-test-ref.svg")
262s > dev.off()
262s null device
262s 1
262s >
262s > # Test pattern offset
262s > pdf(file = NULL)
262s > grid.newpage()
262s > grid.rect(y=1, height=.5, just="top", name="zero-offset")
262s > grid.patternFill("zero-offset", label="cross")
262s > offsetPattern <- pattern(crossGrob, x=unit(1, "cm"),
262s + dev.width=1, dev.height=1)
262s > grid.rect(y=0, height=.5, just="bottom", name="non-zero-offset")
262s > grid.patternFill("non-zero-offset", offsetPattern)
262s > grid.export("pattern-test-offset.svg")
262s > dev.off()
262s null device
262s 1
262s >
262s >
262s BEGIN TEST testpendulum.R
262s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
262s
262s R version 4.3.2 (2023-10-31) -- "Eye Holes"
262s Copyright (C) 2023 The R Foundation for Statistical Computing
262s Platform: x86_64-pc-linux-gnu (64-bit)
262s
262s R is free software and comes with ABSOLUTELY NO WARRANTY.
262s You are welcome to redistribute it under certain conditions.
262s Type 'license()' or 'licence()' for distribution details.
262s
262s R is a collaborative project with many contributors.
262s Type 'contributors()' for more information and
262s 'citation()' on how to cite R or R packages in publications.
262s
262s Type 'demo()' for some demos, 'help()' for on-line help, or
262s 'help.start()' for an HTML browser interface to help.
262s Type 'q()' to quit R.
262s
262s During startup - Warning messages:
262s 1: Setting LC_CTYPE failed, using "C"
262s 2: Setting LC_COLLATE failed, using "C"
262s 3: Setting LC_TIME failed, using "C"
262s 4: Setting LC_MESSAGES failed, using "C"
262s 5: Setting LC_MONETARY failed, using "C"
262s 6: Setting LC_PAPER failed, using "C"
262s 7: Setting LC_MEASUREMENT failed, using "C"
262s > library(grid)
262s > library(gridSVG)
263s
263s Attaching package: 'gridSVG'
263s
263s The following objects are masked from 'package:grid':
263s
263s linearGradient, pattern, radialGradient
263s
263s The following object is masked from 'package:grDevices':
263s
263s dev.off
263s
263s >
263s > dev.new(width=6, height=6)
263s dev.new(): using pdf(file="Rplots10.pdf")
263s >
263s > grid.newpage()
263s > # Some default settings
263s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
263s >
263s > n <- 30
263s > L <- 50 #mm
263s > A <- 20 #mm
263s > t <- seq(0, 2*pi, length=n)
263s > x <- A*cos(t)
263s > v <- -A*sin(t)
263s > theta <- atan(x/L)
263s > y <- L*cos(theta)
263s >
263s > pushViewport(viewport(layout=grid.layout(4, 1,
263s + widths=unit(2.2*A, "null"),
263s + heights=unit(c(1, L + 10, 2.2*A, 2),
263s + c("lines", "null", "null", "lines")),
263s + respect=TRUE)))
263s > pushViewport(viewport(layout.pos.row=2,
263s + xscale=A * c(-1.1, 1.1),
263s + yscale=c(0, L + 10)))
263s > grid.rect()
263s > grid.lines(name="chain",
263s + x=unit(c(0.5, x[1]), c("npc", "native")),
263s + y=unit(1, "npc") - unit(c(0, abs(y)[1]), c("npc", "native")))
263s > grid.animate("chain",
263s + x=animUnit(unit(c(rep(0.5, n), x),
263s + c(rep(c("npc", "native"), each=n))),
263s + timeid=rep(1:n, 2)),
263s + y=animUnit(unit.c(unit(rep(1, n), "npc"),
263s + unit(1, "npc") - unit(y, "native")),
263s + timeid=rep(1:n, 2)),
263s + duration=5, rep=TRUE)
263s > grid.circle(name="weight",
263s + x=unit(x[1], "native"),
263s + y=unit(1, "npc") - unit(y[1], "native"),
263s + r=unit(1, "mm"),
263s + gp=gpar(fill="black"))
263s > grid.animate("weight",
263s + x=unit(x, "native"),
263s + y=unit(1, "npc") - unit(abs(y), "native"),
263s + duration=5, rep=TRUE)
263s > popViewport()
263s >
263s > pushViewport(viewport(layout.pos.row=3,
263s + xscale=A * c(-1.1, 1.1),
263s + yscale=A * c(-1.1, 1.1)))
263s > grid.rect()
263s > grid.lines(x=unit(c(0, 0), "native"),
263s + gp=gpar(lty="dashed", col="grey"))
263s > grid.lines(y=unit(c(0, 0), "native"),
263s + gp=gpar(lty="dashed", col="grey"))
263s > grid.text("Displacement", y=unit(-1, "lines"))
263s > grid.text("Velocity", x=unit(-1, "lines"), rot=90)
263s > grid.circle(name="key",
263s + x=unit(x[1], "native"),
263s + y=unit(v[1], "native"),
263s + r=unit(1, "mm"),
263s + gp=gpar(fill="black"))
263s > grid.animate("key",
263s + x=unit(x, "native"),
263s + y=unit(v, "native"),
263s + duration=5, rep=TRUE)
263s > popViewport(2)
263s >
263s > popViewport()
263s >
263s > grid.export("pendulum.svg")
263s >
263s > dev.off()
263s null device
263s 1
263s >
263s BEGIN TEST testplot.R
263s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
263s
263s R version 4.3.2 (2023-10-31) -- "Eye Holes"
263s Copyright (C) 2023 The R Foundation for Statistical Computing
263s Platform: x86_64-pc-linux-gnu (64-bit)
263s
263s R is free software and comes with ABSOLUTELY NO WARRANTY.
263s You are welcome to redistribute it under certain conditions.
263s Type 'license()' or 'licence()' for distribution details.
263s
263s R is a collaborative project with many contributors.
263s Type 'contributors()' for more information and
263s 'citation()' on how to cite R or R packages in publications.
263s
263s Type 'demo()' for some demos, 'help()' for on-line help, or
263s 'help.start()' for an HTML browser interface to help.
263s Type 'q()' to quit R.
263s
263s During startup - Warning messages:
263s 1: Setting LC_CTYPE failed, using "C"
263s 2: Setting LC_COLLATE failed, using "C"
263s 3: Setting LC_TIME failed, using "C"
263s 4: Setting LC_MESSAGES failed, using "C"
263s 5: Setting LC_MONETARY failed, using "C"
263s 6: Setting LC_PAPER failed, using "C"
263s 7: Setting LC_MEASUREMENT failed, using "C"
263s >
263s > library(grid)
263s > library(gridSVG)
263s
263s Attaching package: 'gridSVG'
263s
263s The following objects are masked from 'package:grid':
263s
263s linearGradient, pattern, radialGradient
263s
263s The following object is masked from 'package:grDevices':
263s
263s dev.off
263s
263s > dev.new(width=6, height=6)
263s dev.new(): using pdf(file="Rplots11.pdf")
264s > grid.rect(gp=gpar(col="black", fill=NA))
264s > set.seed(1000)
264s > grid.multipanel(vp=viewport(w=.7, h=.7, gp=gpar(col="black", fill=NA)),
264s + newpage=FALSE)
264s > grid.export("plot.svg")
265s > dev.off()
265s null device
265s 1
265s >
265s BEGIN TEST testplotmath.R
265s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
265s
265s R version 4.3.2 (2023-10-31) -- "Eye Holes"
265s Copyright (C) 2023 The R Foundation for Statistical Computing
265s Platform: x86_64-pc-linux-gnu (64-bit)
265s
265s R is free software and comes with ABSOLUTELY NO WARRANTY.
265s You are welcome to redistribute it under certain conditions.
265s Type 'license()' or 'licence()' for distribution details.
265s
265s R is a collaborative project with many contributors.
265s Type 'contributors()' for more information and
265s 'citation()' on how to cite R or R packages in publications.
265s
265s Type 'demo()' for some demos, 'help()' for on-line help, or
265s 'help.start()' for an HTML browser interface to help.
265s Type 'q()' to quit R.
265s
265s During startup - Warning messages:
265s 1: Setting LC_CTYPE failed, using "C"
265s 2: Setting LC_COLLATE failed, using "C"
265s 3: Setting LC_TIME failed, using "C"
265s 4: Setting LC_MESSAGES failed, using "C"
265s 5: Setting LC_MONETARY failed, using "C"
265s 6: Setting LC_PAPER failed, using "C"
265s 7: Setting LC_MEASUREMENT failed, using "C"
265s > library(grid)
265s >
265s > ##################
265s > # Testing
265s > ##################
265s >
265s > # Test of a combination of shape and plotmath
265s > library(gridSVG)
265s
265s Attaching package: 'gridSVG'
265s
265s The following objects are masked from 'package:grid':
265s
265s linearGradient, pattern, radialGradient
265s
265s The following object is masked from 'package:grDevices':
265s
265s dev.off
265s
265s > grid.newpage()
265s > grid.rect(x=.4, width=.4, height=.8, gp=gpar(fill="grey", col=NA))
265s > grid.text(expression((a + b)^2), x=.4, y=.6)
265s > grid.export("test2.svg")
265s >
265s > test <- function(e, file, cex=1) {
265s + require(grid)
265s + require(gridSVG)
265s + grid.newpage()
265s + grid.rect()
265s + nrowcol <- n2mfrow(length(e))
265s + pushViewport(viewport(layout=grid.layout(nrowcol[1], nrowcol[2])))
265s + for (i in 1:length(e)) {
265s + col <- (i - 1) %% nrowcol[2] + 1
265s + row <- (i - 1) %/% nrowcol[2] + 1
265s + pushViewport(viewport(layout.pos.row=row, layout.pos.col=col))
265s + grid.segments(c(0, .5), c(.5, 0), c(1, .5), c(.5, 1),
265s + gp=gpar(col="grey"))
265s + just <- c("left", "bottom")
265s + tg <- textGrob(e[i], gp=gpar(cex=cex[(i - 1) %% length(cex) + 1]),
265s + just=just)
265s + grid.rect(width=grobWidth(tg), height=grobHeight(tg),
265s + just=just, gp=gpar(col="red"))
265s + grid.draw(tg)
265s + popViewport()
265s + }
265s + grid.export(file)
265s + grid.refresh()
265s + }
265s >
265s > test(expression(
265s + x + y,
265s + x + y,
265s + x + y,
265s + x - y,
265s + x / y,
265s + x * y,
265s + x %+-% y,
265s + x %/% y,
265s + x %*% y,
265s + x %.% y,
265s + x[i],
265s + x^2,
265s + paste(x, y, z),
265s + sqrt(x),
265s + sqrt(x, y),
265s + X + Y,
265s + a * b,
265s + a == b,
265s + x != y,
265s + x < y,
265s + x <= y,
265s + x > y,
265s + x >= y,
265s + x %~~% y,
265s + x %=~% y,
265s + x %==% y,
265s + x %prop% y,
265s + bolditalic(x + plain(y + italic(z + bold(k)))),
265s + , # space
265s + symbol("m") + symbol("\042"),
265s + list(x, y, z),
265s + 1*...*n,
265s + 1*cdots*n,
265s + 1*ldots*n,
265s + x %subset% y,
265s + x %subseteq% y,
265s + x %notsubset% y,
265s + x %supset% y,
265s + x %supseteq% y,
265s + x %in% y,
265s + x %notin% y),
265s + "testml-1.svg",
265s + cex <- c(1, 1.5, .5, rep(1, 100)))
267s >
267s > test(expression(
267s + hat(x),
267s + hat(xyz),
267s + tilde(x),
267s + dot(x),
267s + ring(x),
267s + bar(x),
267s + widehat(xyz),
267s + widetilde(xyz),
267s + x %<->% y,
267s + x %->% y,
267s + x %<-% y,
267s + x %up% y,
267s + x %down% y,
267s + x %<=>% y,
267s + x %=>% y,
267s + x %<=% y,
267s + x %dblup% y,
267s + x %dbldown% y,
267s + alpha - omega,
267s + Alpha - Omega,
267s + theta1*phi1*sigma1*omega1,
267s + Upsilon1,
267s + aleph,
267s + infinity,
267s + partialdiff,
267s + nabla,
267s + 32*degree,
267s + 60*minute,
267s + 30*second,
267s + displaystyle(sum(x[i], i==1, n)),
267s + textstyle(sum(x[i], i==1, n)),
267s + textstyle(x[i]),
267s + scriptstyle(x[i]),
267s + scriptscriptstyle(x[i]),
267s + underline(xyz),
267s + x ~~ y,
267s + x + phantom(0) + y,
267s + x + over(1, phantom(0)),
267s + frac(x, y),
267s + over(x, y),
267s + atop(x, y),
267s + ),
267s + "testml-2.svg")
268s >
268s > test(expression(
268s + sum(x[i], i==1, n),
268s + prod(plain(P)(X==x), x),
268s + integral(f(x)*dx, a, b),
268s + union(A[i], i==1, n),
268s + intersect(A[i], i==1, n),
268s + lim(f(x), x %->% 0),
268s + min(g(x), x > 0),
268s + inf(S),
268s + sup(S),
268s + x^y + z,
268s + x^(y + z),
268s + x^{y + z},
268s + group("(", list(a, b), "]"),
268s + bgroup("(", atop(x, y), ")"),
268s + group(lceil, x, rceil),
268s + ),
268s + "testml-3.svg")
269s >
269s >
269s BEGIN TEST testpolyline.R
269s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
269s
269s R version 4.3.2 (2023-10-31) -- "Eye Holes"
269s Copyright (C) 2023 The R Foundation for Statistical Computing
269s Platform: x86_64-pc-linux-gnu (64-bit)
269s
269s R is free software and comes with ABSOLUTELY NO WARRANTY.
269s You are welcome to redistribute it under certain conditions.
269s Type 'license()' or 'licence()' for distribution details.
269s
269s R is a collaborative project with many contributors.
269s Type 'contributors()' for more information and
269s 'citation()' on how to cite R or R packages in publications.
269s
269s Type 'demo()' for some demos, 'help()' for on-line help, or
269s 'help.start()' for an HTML browser interface to help.
269s Type 'q()' to quit R.
269s
269s During startup - Warning messages:
269s 1: Setting LC_CTYPE failed, using "C"
269s 2: Setting LC_COLLATE failed, using "C"
269s 3: Setting LC_TIME failed, using "C"
269s 4: Setting LC_MESSAGES failed, using "C"
269s 5: Setting LC_MONETARY failed, using "C"
269s 6: Setting LC_PAPER failed, using "C"
269s 7: Setting LC_MEASUREMENT failed, using "C"
269s >
269s > library(grid)
269s Loading required package: gridSVG
269s > require(gridSVG)
269s
269s Attaching package: 'gridSVG'
269s
269s The following objects are masked from 'package:grid':
269s
269s linearGradient, pattern, radialGradient
269s
269s The following object is masked from 'package:grDevices':
269s
269s dev.off
269s
269s >
269s > grid.polyline(x=outer(c(0, .5, 1, .5), 5:1/5),
269s + y=outer(c(.5, 1, .5, 0), 5:1/5),
269s + id.lengths=rep(4, 5),
269s + gp=gpar(col=1:5, lwd=3))
269s >
269s > grid.export("polyline.svg")
269s >
269s BEGIN TEST testprefix.R
269s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
269s
269s R version 4.3.2 (2023-10-31) -- "Eye Holes"
269s Copyright (C) 2023 The R Foundation for Statistical Computing
269s Platform: x86_64-pc-linux-gnu (64-bit)
269s
269s R is free software and comes with ABSOLUTELY NO WARRANTY.
269s You are welcome to redistribute it under certain conditions.
269s Type 'license()' or 'licence()' for distribution details.
269s
269s R is a collaborative project with many contributors.
269s Type 'contributors()' for more information and
269s 'citation()' on how to cite R or R packages in publications.
269s
269s Type 'demo()' for some demos, 'help()' for on-line help, or
269s 'help.start()' for an HTML browser interface to help.
269s Type 'q()' to quit R.
269s
270s During startup - Warning messages:
270s 1: Setting LC_CTYPE failed, using "C"
270s 2: Setting LC_COLLATE failed, using "C"
270s 3: Setting LC_TIME failed, using "C"
270s 4: Setting LC_MESSAGES failed, using "C"
270s 5: Setting LC_MONETARY failed, using "C"
270s 6: Setting LC_PAPER failed, using "C"
270s 7: Setting LC_MEASUREMENT failed, using "C"
270s > library(grid)
270s > library(gridSVG)
270s
270s Attaching package: 'gridSVG'
270s
270s The following objects are masked from 'package:grid':
270s
270s linearGradient, pattern, radialGradient
270s
270s The following object is masked from 'package:grDevices':
270s
270s dev.off
270s
270s >
270s > pdf(file = NULL)
270s >
270s > pushViewport(viewport())
270s > grid.rect()
270s > grid.circle(name = "mycircle")
270s > grid.text("hello, world!")
270s > popViewport()
270s >
270s > # All IDs should now be exported with the prefix "TESTPREFIX"
270s > grid.export("test-prefixes.svg", prefix = "TESTPREFIX")
270s > dev.off()
270s null device
270s 1
270s >
270s BEGIN TEST testrotate.R
270s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
270s
270s R version 4.3.2 (2023-10-31) -- "Eye Holes"
270s Copyright (C) 2023 The R Foundation for Statistical Computing
270s Platform: x86_64-pc-linux-gnu (64-bit)
270s
270s R is free software and comes with ABSOLUTELY NO WARRANTY.
270s You are welcome to redistribute it under certain conditions.
270s Type 'license()' or 'licence()' for distribution details.
270s
270s R is a collaborative project with many contributors.
270s Type 'contributors()' for more information and
270s 'citation()' on how to cite R or R packages in publications.
270s
270s Type 'demo()' for some demos, 'help()' for on-line help, or
270s 'help.start()' for an HTML browser interface to help.
270s Type 'q()' to quit R.
270s
270s During startup - Warning messages:
270s 1: Setting LC_CTYPE failed, using "C"
270s 2: Setting LC_COLLATE failed, using "C"
270s 3: Setting LC_TIME failed, using "C"
270s 4: Setting LC_MESSAGES failed, using "C"
270s 5: Setting LC_MONETARY failed, using "C"
270s 6: Setting LC_PAPER failed, using "C"
270s 7: Setting LC_MEASUREMENT failed, using "C"
270s >
270s > library(grid)
270s > library(gridSVG)
270s
270s Attaching package: 'gridSVG'
270s
270s The following objects are masked from 'package:grid':
270s
270s linearGradient, pattern, radialGradient
270s
270s The following object is masked from 'package:grDevices':
270s
270s dev.off
270s
270s >
270s > # Primitives to support:
270s > # rect
270s > grid.newpage()
270s > pushViewport(viewport(width=.5, height=.5, angle=30))
270s > grid.rect()
270s > popViewport()
270s > grid.export("rot-rect-default.svg")
270s > # Check justification
270s > grid.newpage()
270s > pushViewport(viewport(width=.5, height=.5, angle=30))
270s > grid.rect(x=0, y=0, just=c("left", "bottom"))
270s > popViewport()
270s > grid.export("rot-rect-just.svg")
271s >
271s > # Primitives to support:
271s > # text
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.text("rot-test")
271s > popViewport()
271s > grid.export("rot-text-default.svg")
271s > # Check justification
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.circle(r=unit(1, "mm"))
271s > grid.text("rot-test", just=c("left", "bottom"))
271s > popViewport()
271s > grid.export("rot-text-just.svg")
271s >
271s > # Primitives to support:
271s > # clipPath
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30, clip=TRUE))
271s Warning message:
271s In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s > grid.circle(r=.6)
271s cannot clip to rotated viewport
271s > popViewport()
271s > grid.export("rot-clip-default.svg")
271s Warning messages:
271s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 2: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s >
271s > # Primitives to support:
271s > # raster
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.raster(matrix(1:4/5, ncol=2), interp=FALSE)
271s > popViewport()
271s > grid.export("rot-raster-default.svg")
271s > # Check justification
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.raster(matrix(1:4/5, ncol=2), interp=FALSE,
271s + x=0, y=0, just=c("left", "bottom"))
271s > popViewport()
271s > grid.export("rot-raster-just.svg")
271s >
271s > # Primitives to support:
271s > # plotting symbols
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect()
271s > grid.points(1:5/6, 1:5/6, pch=1:5)
271s > popViewport()
271s > grid.export("rot-points.svg")
271s >
271s > #####################################
271s > # Full STATIC test
271s > library(lattice)
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > print(xyplot(mpg ~ disp, mtcars, pch=3),
271s + newpage=FALSE)
271s Warning messages:
271s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
271s cannot clip to rotated viewport
271s > popViewport()
271s > grid.export("rot-lattice.svg")
271s Warning messages:
271s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
271s cannot clip to rotated viewport
271s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 4: In grid.Call.graphics(C_downviewport, name$name, strict) :
271s cannot clip to rotated viewport
271s 5: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 6: In grid.Call.graphics(C_downviewport, name$name, strict) :
271s cannot clip to rotated viewport
271s > #####################################
271s >
271s > # Implications for animation:
271s > # rect
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect(gp=gpar(col="grey"))
271s > grid.rect(x=.1, width=.1, height=.1, just="left", name="r")
271s > grid.animate("r", x=c(.1, .8))
271s > popViewport()
271s > grid.export("rot-rect-animate-x.svg")
271s >
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect(gp=gpar(col="grey"))
271s > grid.rect(x=.1, width=.1, height=.1, just="left", name="r")
271s > grid.animate("r", x=c(.1, .8), height=c(.1, .5))
271s > popViewport()
271s > grid.export("rot-rect-animate-height.svg")
271s >
271s > # Implications for animation:
271s > # text
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect(gp=gpar(col="grey"))
271s > grid.text("rot-test", x=.1, name="t")
271s > grid.animate("t", x=c(.1, .9))
271s > popViewport()
271s > grid.export("rot-text-animate-x.svg")
271s >
271s > # Implications for animation:
271s > # raster
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect(gp=gpar(col="grey"))
271s > grid.raster(matrix(1-4:1/20, ncol=2), interpolate=FALSE,
271s + x=.8, width=.1, just="left")
271s > grid.raster(matrix(1:4/5, ncol=2), interpolate=FALSE,
271s + x=.1, width=.1, just="left", name="r")
271s > grid.animate("r", x=c(.1, .8))
271s > popViewport()
271s > grid.export("rot-raster-animate-x.svg")
271s >
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect(gp=gpar(col="grey"))
271s > grid.raster(matrix(1-4:1/20, ncol=2), interpolate=FALSE,
271s + x=.8, width=.1, height=.5, just="left")
271s > grid.raster(matrix(1:4/5, ncol=2), interpolate=FALSE,
271s + x=.1, width=.1, just="left", name="r")
271s > # NOTE important to specify unit for height because default is NULL!
271s > grid.animate("r", x=c(.1, .8), height=unit(c(.1, .5), "npc"))
271s > popViewport()
271s > grid.export("rot-raster-animate-height.svg")
271s >
271s > # Implications for animation:
271s > # plotting symbols
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect()
271s > grid.points(5:1/6, 1:5/6, pch=1:5, gp=gpar(col="grey"))
271s > grid.points(1:5/6, 1:5/6, pch=1:5, name="p")
271s > grid.animate("p", x=animUnit(unit(c(1:5, 5:1)/6, "npc"), id=rep(1:5, 2)))
271s > popViewport()
271s > grid.export("rot-points-animate-x.svg")
271s >
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > grid.rect()
271s > grid.points(5:1/6, 1:5/6, pch=1:5, size=unit(2, "char"), gp=gpar(col="grey"))
271s > grid.points(1:5/6, 1:5/6, pch=1:5, name="p")
271s > grid.animate("p", x=animUnit(unit(c(1:5, 5:1)/6, "npc"), id=rep(1:5, 2)),
271s + size=animUnit(unit(rep(1:2, each=5), "char"), i=rep(1:5, 2)))
271s > popViewport()
271s > grid.export("rot-points-animate-size.svg")
271s >
271s > #####################################
271s > # Full DYNAMIC test
271s > library(lattice)
271s > grid.newpage()
271s > pushViewport(viewport(width=.5, height=.5, angle=30))
271s > print(xyplot(qsec ~ disp, mtcars, pch=3, col="grey",
271s + ylim=extendrange(c(mtcars$mpg, mtcars$qsec))),
271s + newpage=FALSE, prefix="plotgrey")
271s > print(xyplot(mpg ~ disp, mtcars, pch=3,
271s + ylim=extendrange(c(mtcars$mpg, mtcars$qsec))),
271s + newpage=FALSE, prefix="plot1")
271s Warning messages:
271s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
271s cannot clip to rotated viewport
271s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
271s cannot clip to rotated viewport
272s > grid.animate("plot1.xyplot.points.panel.1.1",
272s + y=animUnit(unit(c(mtcars$mpg, mtcars$qsec), "native"),
272s + id=rep(1:nrow(mtcars), 2)))
272s Warning messages:
272s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
272s cannot clip to rotated viewport
272s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
272s cannot clip to rotated viewport
272s > ylab <- grid.get("plot1.ylab")
272s > grid.animate("plot1.ylab", y=ylab$y - unit(0:1, "in"),
272s + "fill-opacity"=1:0, "stroke-opacity"=1:0)
272s > grid.animate("plotgrey.ylab", y=ylab$y + unit(1:0, "in"),
272s + "fill-opacity"=0:1, "stroke-opacity"=0:1)
272s > popViewport()
272s > grid.export("rot-lattice-animate.svg")
272s > #####################################
272s >
272s > # Implications for exported coordinate system info (*.svg.coords.js)
272s > # need to record rotation info
272s > # AND use it in convertViewportX() etc
272s > library(lattice)
272s > grid.newpage()
272s There were 12 warnings (use warnings() to see them)
272s > pushViewport(viewport(width=.5, height=.5, angle=30,
272s + name="rot"))
272s > print(xyplot(mpg ~ disp, mtcars, pch=3),
272s + newpage=FALSE, prefix="coords")
272s > downViewport("coords.panel.1.1.off.vp")
272s > grid.circle(unit(200, "native"), unit(30, "native"),
272s + r=unit(2, "mm"), gp=gpar(col=NA, fill="grey"))
272s Warning messages:
272s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
272s cannot clip to rotated viewport
272s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
272s cannot clip to rotated viewport
272s > grid.circle(unit(300, "native"), unit(35, "native"),
272s + r=unit(1, "mm"), gp=gpar(col=NA, fill="grey"))
272s > upViewport(0)
272s > grid.export("rot-lattice-coords.svg",
272s + exportCoords="file", exportMappings="file", usePaths="none")
273s > # Read image back into R
273s > library(XML)
273s Warning messages:
273s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 4: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 5: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s 6: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 7: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s > svg <- xmlParse("rot-lattice-coords.svg")
273s > # Read in coord info
273s > gridSVGCoords(readCoordsJS("rot-lattice-coords.svg.coords.js"))
273s > gridSVGMappings(readMappingsJS("rot-lattice-coords.svg.mappings.js"))
273s > # Add new point to panel
273s > panel <- getNodeSet(svg,
273s + "//svg:g[contains(@id, 'coords.panel.1.1.off.vp')]",
273s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
273s > vpname <- getSVGMappings("coords.panel.1.1.off.vp", "vp")[1]
273s > pos <- viewportConvertPos(vpname, 200, 30, "native")
273s > circ <- newXMLNode("circle",
273s + parent = panel,
273s + attrs = list(
273s + cx = pos$x, cy = pos$y,
273s + r = viewportConvertWidth(vpname, 2, "mm", "svg"),
273s + stroke = "red",
273s + fill = "red",
273s + "fill-opacity" = .5))
273s > dim <- viewportConvertDim(vpname, 100, 5, "native", "svg")
273s > line <- newXMLNode("polyline",
273s + parent = panel,
273s + attrs = list(
273s + points =
273s + paste(paste(pos$x, pos$y, sep=","),
273s + paste(pos$x + dim$w, pos$y + dim$h, sep=",")),
273s + r = viewportConvertWidth(vpname, 2, "mm", "svg"),
273s + stroke = "red",
273s + fill = "red",
273s + "fill-opacity" = .5))
273s > saveXML(svg, "rot-lattice-coords-mod.svg")
273s [1] "rot-lattice-coords-mod.svg"
273s >
273s > # Pre-existing bug in convertViewportWidth() and convertViewportHeight()
273s > library(lattice)
273s > print(xyplot(mpg ~ disp, mtcars, pch=3), prefix="bug")
273s > downViewport("bug.panel.1.1.off.vp")
273s > grid.rect(x=200, y=30, width=100, height=5, just=c("left", "bottom"),
273s + default="native", gp=gpar(col="grey", fill=NA))
273s > grid.export("bug-lattice-coords.svg",
273s + exportCoords="file", exportMappings="file", usePaths="none")
273s > library(XML)
273s > svg <- xmlParse("bug-lattice-coords.svg")
273s > gridSVGCoords(readCoordsJS("bug-lattice-coords.svg.coords.js"))
273s > gridSVGMappings(readMappingsJS("bug-lattice-coords.svg.mappings.js"))
273s > panel <- getNodeSet(svg,
273s + "//svg:g[contains(@id, 'bug.panel.1.1.off.vp')]",
273s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
273s > vpname <- getSVGMappings("bug.panel.1.1.off.vp", "vp")[1]
273s > x <- viewportConvertX(vpname, 200, "native")
273s > y <- viewportConvertY(vpname, 30, "native")
273s > w <- viewportConvertWidth(vpname, 100, "native", "svg")
273s > h <- viewportConvertHeight(vpname, 5, "native", "svg")
273s > line <- newXMLNode("polyline",
273s + parent = panel,
273s + attrs = list(points = paste(paste(x, y, sep=","),
273s + paste(x + w, y + h, sep=",")),
273s + r = viewportConvertWidth(vpname, 2, "mm", "svg"),
273s + stroke = "red",
273s + fill = "red",
273s + "fill-opacity" = .5))
273s > saveXML(svg, "bug-lattice-coords-mod.svg")
273s [1] "bug-lattice-coords-mod.svg"
273s >
273s > # Implications for exported coordinate system info (*.svg.coords.js)
273s > # in viewportCreate()
273s > library(lattice)
273s > grid.newpage()
273s > pushViewport(viewport(width=.5, height=.5, angle=30,
273s + name="rot"))
273s > print(xyplot(mpg ~ disp, mtcars, pch=3),
273s + newpage=FALSE, prefix="coords")
273s > downViewport("coords.panel.1.1.off.vp")
273s > grid.yaxis(main=FALSE, gp=gpar(col="grey", fill="grey"))
273s Warning messages:
273s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s > upViewport(0)
273s > grid.export("rot-lattice-coords-create.svg",
273s + exportCoords="file", exportMappings="file", usePaths="none")
273s > library(XML)
273s > svg <- xmlParse("rot-lattice-coords-create.svg")
273s Warning messages:
273s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 4: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 5: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s 6: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 7: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s > # Read in coord info
273s > gridSVGCoords(readCoordsJS("rot-lattice-coords-create.svg.coords.js"))
273s > gridSVGMappings(readMappingsJS("rot-lattice-coords-create.svg.mappings.js"))
273s > # Create new viewport
273s > vpname <- getSVGMappings("coords.panel.1.1.off.vp", "vp")[1]
273s > vp <- viewportCreate(vpname)
273s > grid.newpage()
273s > pushViewport(vp)
273s > # Draw an axis and, convert it to SVG, and extract axis SVG content
273s > grid.yaxis(main=FALSE, gp=gpar(col="red", fill="red"))
273s > newsvg <- grid.export(NULL)
273s > axissvg <- getNodeSet(newsvg$svg,
273s + "//svg:g[contains(@id, 'yaxis')]",
273s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
273s > # Add new axis to panel
273s > panel <- getNodeSet(svg,
273s + "//svg:g[contains(@id, 'coords.panel.1.1.off.vp')]",
273s + namespaces=c(svg="http://www.w3.org/2000/svg"))[[1]]
273s > addChildren(panel, kids=list(axissvg))
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s 100
273s
273s
273s
273s
273s
273s
273s 200
273s
273s
273s
273s
273s
273s
273s 300
273s
273s
273s
273s
273s
273s
273s 400
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s
273s 10
273s
273s
273s
273s
273s
273s
273s 15
273s
273s
273s
273s
273s
273s
273s 20
273s
273s
273s
273s
273s
273s
273s 25
273s
273s
273s
273s
273s
273s
273s 30
273s
273s
273s
273s
273s
273s
273s 35
273s
273s
273s
273s
273s
273s
273s > saveXML(svg, "rot-lattice-coords-create-mod.svg")
273s [1] "rot-lattice-coords-create-mod.svg"
273s >
273s > # Implications for exported coordinate system info (*.svg.coords.js)
273s > # in javascript viewportConvertX, etc
273s > library(lattice)
273s > grid.newpage()
273s > pushViewport(viewport(width=.5, height=.5, angle=30,
273s + name="rot"))
273s > print(xyplot(mpg ~ disp, mtcars, pch=3),
273s + newpage=FALSE, prefix="coords")
273s > downViewport("coords.panel.1.1.off.vp")
273s > grid.rect(x=200, y=30, width=100, height=5, just=c("left", "bottom"),
273s + default="native", gp=gpar(col="grey", fill=NA))
273s Warning messages:
273s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
273s cannot clip to rotated viewport
273s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
273s cannot clip to rotated viewport
273s > upViewport(0)
273s > grid.garnish("coords.background",
273s + onclick="addPoint()",
273s + "pointer-events"="all")
274s > grid.script(file="rot-lattice-coords.js")
274s > grid.export("rot-lattice-coords-js.svg",
274s + exportCoords="file", exportMappings="file", usePaths="none",
274s + exportJS="file")
274s >
274s > # Pre-existing bug in convertViewportWidth() and convertViewportHeight() (in JS)
274s > library(lattice)
274s > print(xyplot(mpg ~ disp, mtcars, pch=3), prefix="bug")
274s Warning messages:
274s 1: In grid.Call.graphics(C_setviewport, vp, TRUE) :
274s cannot clip to rotated viewport
274s 2: In grid.Call.graphics(C_downviewport, name$name, strict) :
274s cannot clip to rotated viewport
274s 3: In grid.Call.graphics(C_setviewport, vp, TRUE) :
274s cannot clip to rotated viewport
274s 4: In grid.Call.graphics(C_setviewport, vp, TRUE) :
274s cannot clip to rotated viewport
274s 5: In grid.Call.graphics(C_downviewport, name$name, strict) :
274s cannot clip to rotated viewport
274s 6: In grid.Call.graphics(C_setviewport, vp, TRUE) :
274s cannot clip to rotated viewport
274s 7: In grid.Call.graphics(C_downviewport, name$name, strict) :
274s cannot clip to rotated viewport
274s > downViewport("bug.panel.1.1.off.vp")
274s > grid.rect(x=200, y=30, width=100, height=5, just=c("left", "bottom"),
274s + default="native", gp=gpar(col="grey", fill=NA))
274s > grid.garnish("bug.background",
274s + onclick="addPoint()",
274s + "pointer-events"="all")
274s > grid.script(file="bug-lattice-coords.js")
274s > grid.export("bug-lattice-coords-js.svg",
274s + exportCoords="file", exportMappings="file", usePaths="none",
274s + exportJS="file")
274s >
274s >
274s >
274s >
274s BEGIN TEST testsvg.R
274s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
274s
274s R version 4.3.2 (2023-10-31) -- "Eye Holes"
274s Copyright (C) 2023 The R Foundation for Statistical Computing
274s Platform: x86_64-pc-linux-gnu (64-bit)
274s
274s R is free software and comes with ABSOLUTELY NO WARRANTY.
274s You are welcome to redistribute it under certain conditions.
274s Type 'license()' or 'licence()' for distribution details.
274s
274s R is a collaborative project with many contributors.
274s Type 'contributors()' for more information and
274s 'citation()' on how to cite R or R packages in publications.
274s
274s Type 'demo()' for some demos, 'help()' for on-line help, or
274s 'help.start()' for an HTML browser interface to help.
274s Type 'q()' to quit R.
274s
274s During startup - Warning messages:
274s 1: Setting LC_CTYPE failed, using "C"
274s 2: Setting LC_COLLATE failed, using "C"
274s 3: Setting LC_TIME failed, using "C"
274s 4: Setting LC_MESSAGES failed, using "C"
274s 5: Setting LC_MONETARY failed, using "C"
274s 6: Setting LC_PAPER failed, using "C"
274s 7: Setting LC_MEASUREMENT failed, using "C"
274s > library(grid)
274s > library(gridSVG)
275s
275s Attaching package: 'gridSVG'
275s
275s > svgdev <- svgOpen(width=400, height=400)
275s The following objects are masked from 'package:grid':
275s
275s linearGradient, pattern, radialGradient
275s
275s The following object is masked from 'package:grDevices':
275s
275s dev.off
275s
275s > svgRect(0, 0, 400, 400,
275s + style=svgStyle(fill="none", stroke="black"),
275s + svgdev=svgdev)
275s > svgStartGroup(svgdev=svgdev)
275s > svgRect(2, 2, 240, 320,
275s + style=svgStyle(fill="none", stroke="green"),
275s + svgdev=svgdev)
275s > svgLines(c(23.81, 45.63, 67.45, 89.27, 111.09, 132.90,
275s + 154.72, 176.54, 198.36, 220.18),
275s + c(292.90, 263.81, 234.72, 205.63, 176.54,
275s + 147.45, 118.36, 89.27, 60.18, 31.09),
275s + style=svgStyle(stroke="green"),
275s + svgdev=svgdev)
275s > svgPolygon(c(23.81, 67.45, 89.27, 23.81),
275s + c(31.09, 31.09, 147.45, 118.36),
275s + style=svgStyle(fill="grey"),
275s + svgdev=svgdev)
275s > svgRect(132.90, 89.27, 43.63, 29.09,
275s + style=svgStyle(fill="cyan"),
275s + svgdev=svgdev)
275s > svgText(45.63, 234.728,
275s + "some text",
275s + style=svgStyle(fill="red"),
275s + svgdev=svgdev)
275s > svgCircle(176.54, 89.27, 2.18,
275s + style=svgStyle(stroke="blue", fill="none"),
275s + svgdev=svgdev)
275s > svgText(89.27, 147.45, "centred text", hjust="centre", vjust="centre", rot=20,
275s + style=svgStyle(fill="yellow", stroke="black"),
275s + svgdev=svgdev)
275s >
275s >
275s > svgStartGroup(svgdev=svgdev)
275s > svgRect(132.90, 147.45, 65.45, 29.09,
275s + style=svgStyle(fill="none", stroke="black"),
275s + svgdev=svgdev)
275s > svgText(139.45, 162, "text in a box",
275s + svgdev=svgdev)
275s > svgEndGroup(svgdev=svgdev)
275s >
275s >
275s > svgRect(111.09, 60.18, 43.63, 203.63,
275s + style=svgStyle(fill="green", opacity=.5),
275s + svgdev=svgdev)
275s > svgEndGroup(svgdev=svgdev)
275s > svgClose(svgdev)
275s
275s >
275s >
275s BEGIN TEST testtransparency.R
275s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
275s
275s R version 4.3.2 (2023-10-31) -- "Eye Holes"
275s Copyright (C) 2023 The R Foundation for Statistical Computing
275s Platform: x86_64-pc-linux-gnu (64-bit)
275s
275s R is free software and comes with ABSOLUTELY NO WARRANTY.
275s You are welcome to redistribute it under certain conditions.
275s Type 'license()' or 'licence()' for distribution details.
275s
275s R is a collaborative project with many contributors.
275s Type 'contributors()' for more information and
275s 'citation()' on how to cite R or R packages in publications.
275s
275s Type 'demo()' for some demos, 'help()' for on-line help, or
275s 'help.start()' for an HTML browser interface to help.
275s Type 'q()' to quit R.
275s
275s During startup - Warning messages:
275s 1: Setting LC_CTYPE failed, using "C"
275s 2: Setting LC_COLLATE failed, using "C"
275s 3: Setting LC_TIME failed, using "C"
275s 4: Setting LC_MESSAGES failed, using "C"
275s 5: Setting LC_MONETARY failed, using "C"
275s 6: Setting LC_PAPER failed, using "C"
275s 7: Setting LC_MEASUREMENT failed, using "C"
275s > library(grid)
275s > library(gridSVG)
275s
275s Attaching package: 'gridSVG'
275s
275s The following objects are masked from 'package:grid':
275s
275s linearGradient, pattern, radialGradient
275s
275s The following object is masked from 'package:grDevices':
275s
275s dev.off
275s
275s > dev.new(width=6, height=6)
275s dev.new(): using pdf(file="Rplots12.pdf")
275s > # Some default settings
275s > pushViewport(viewport(gp=gpar(col="black", fill=NA)))
275s >
275s > # A plot with overlapping polygons where the overlap needs to be
275s > # coloured differently
275s >
275s > # Implemented using transparency
275s >
275s > # Some dummy data
275s > set.seed(1000)
275s > x <- sort(runif(20, 1, 10))
275s > y1 <- (x - 5) + rnorm(20)
275s > y2 <- -(x - 5) + rnorm(20)
275s >
275s > # Some "analysis"
275s > lm1 <- lm(y1 ~ x)
275s > lm2 <- lm(y2 ~ x)
275s >
275s > # Some calculated values to plot
275s > p1 <- predict(lm1, interval="confidence", type="response")
275s > p2 <- predict(lm2, interval="confidence", type="response")
275s >
275s > pushViewport(plotViewport(c(5, 5, 4, 2)))
275s > pushViewport(dataViewport(x, c(p1[,2], p2[,2], p1[,3], p2[,3])))
275s > grid.rect()
275s > grid.xaxis()
275s > grid.yaxis()
275s > grid.points(x, y1)
275s > grid.points(x, y2, pch=3)
275s > grid.lines(x, p1[,1], default.units="native")
275s > grid.lines(x, p1[,2], default.units="native")
275s > grid.lines(x, p1[,3], default.units="native")
275s > grid.lines(x, p2[,1], default.units="native")
275s > grid.lines(x, p2[,2], default.units="native")
275s > grid.lines(x, p2[,3], default.units="native")
275s > # overlapping polygons
275s > grid.polygon(c(x, rev(x)), c(p1[,2], rev(p1[,3])),
275s + gp=gpar(fill="red", alpha=0.5),
275s + default.units="native")
275s > grid.polygon(c(x, rev(x)), c(p2[,2], rev(p2[,3])),
275s + gp=gpar(fill="green", alpha=0.5),
275s + default.units="native")
275s >
275s >
275s > popViewport(2)
275s >
275s > popViewport()
275s >
275s > grid.export("transparency.svg")
275s > dev.off()
275s null device
275s 1
275s >
275s /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en.UTF-8)
275s BEGIN TEST testvp.R
275s
275s R version 4.3.2 (2023-10-31) -- "Eye Holes"
275s Copyright (C) 2023 The R Foundation for Statistical Computing
275s Platform: x86_64-pc-linux-gnu (64-bit)
275s
275s R is free software and comes with ABSOLUTELY NO WARRANTY.
275s You are welcome to redistribute it under certain conditions.
275s Type 'license()' or 'licence()' for distribution details.
275s
275s R is a collaborative project with many contributors.
275s Type 'contributors()' for more information and
275s 'citation()' on how to cite R or R packages in publications.
275s
275s Type 'demo()' for some demos, 'help()' for on-line help, or
275s 'help.start()' for an HTML browser interface to help.
275s Type 'q()' to quit R.
275s
276s During startup - Warning messages:
276s 1: Setting LC_CTYPE failed, using "C"
276s 2: Setting LC_COLLATE failed, using "C"
276s 3: Setting LC_TIME failed, using "C"
276s 4: Setting LC_MESSAGES failed, using "C"
276s 5: Setting LC_MONETARY failed, using "C"
276s 6: Setting LC_PAPER failed, using "C"
276s 7: Setting LC_MEASUREMENT failed, using "C"
276s >
276s > # Test that 'vp' slots [viewports (vpTrees, vpLists, vpStacks) and vpPaths]
276s > # are being recorded correctly
276s >
276s > library(grid)
276s > library(gridSVG)
276s
276s Attaching package: 'gridSVG'
276s
276s The following objects are masked from 'package:grid':
276s
276s linearGradient, pattern, radialGradient
276s
276s The following object is masked from 'package:grDevices':
276s
276s dev.off
276s
276s >
276s > grid.newpage()
276s > vp <- viewport(width=.5, height=.5, gp=gpar(fill="grey"))
276s > grid.rect(vp=vp)
276s > grid.export("grob-viewport.svg")
276s >
276s > grid.newpage()
276s > vp <- vpStack(viewport(width=.5, height=.5, gp=gpar(fill="grey")),
276s + viewport(gp=gpar(col="red")))
276s > grid.rect(vp=vp)
276s > grid.export("grob-vpStack.svg")
276s >
276s > grid.newpage()
276s > vp <- vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey")),
276s + viewport(gp=gpar(col="red")))
276s > grid.rect(vp=vp)
276s > grid.export("grob-vpList.svg")
276s >
276s > grid.newpage()
276s > vp <- vpTree(viewport(width=.5, height=.5),
276s + vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey")),
276s + viewport(gp=gpar(col="red"))))
276s > grid.rect(vp=vp)
276s > grid.export("grob-vpTree.svg")
276s >
276s > grid.newpage()
276s > vp <- vpTree(viewport(width=.5, height=.5, name="p"),
276s + vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey"),
276s + name="c1"),
276s + viewport(gp=gpar(col="red"),
276s + name="c2")))
276s > pushViewport(vp)
276s > upViewport(0)
276s > grid.rect(vp="p::c1")
276s > grid.export("grob-vpPath.svg")
276s >
276s > grid.newpage()
276s > vp <- viewport(width=.5, height=.5, gp=gpar(fill="grey"))
276s > grid.draw(gTree(children=gList(rectGrob()), vp=vp))
276s > grid.export("gTree-viewport.svg")
276s >
276s > # Pathological
276s > grid.newpage()
276s > vp <- vpTree(viewport(width=.5, height=.5, name="p"),
276s + vpList(viewport(width=.5, height=.5, gp=gpar(fill="grey"),
276s + name="c1"),
276s + viewport(gp=gpar(col="red"),
276s + name="c2")))
276s > pushViewport(vp)
276s > upViewport(0)
276s > grid.draw(gTree(childrenvp=vp,
276s + children=gList(rectGrob(vp="p::c1")),
276s + vp="p::c1"))
276s > grid.export("gTree-vpPath.svg")
276s >
277s autopkgtest [17:53:48]: test run-unit-test: -----------------------]
277s autopkgtest [17:53:48]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - -
277s run-unit-test PASS
277s autopkgtest [17:53:48]: test pkg-r-autopkgtest: preparing testbed
279s Note, using file '/tmp/autopkgtest.PwWzHk/3-autopkgtest-satdep.dsc' to get the build dependencies
279s Reading package lists...
280s Building dependency tree...
280s Reading state information...
280s Starting pkgProblemResolver with broken count: 0
280s Starting 2 pkgProblemResolver with broken count: 0
280s Done
281s The following NEW packages will be installed:
281s dctrl-tools gfortran gfortran-13 gfortran-13-x86-64-linux-gnu
281s gfortran-x86-64-linux-gnu icu-devtools libblas-dev libbz2-dev
281s libgfortran-13-dev libicu-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev
281s liblapack-dev liblzma-dev libncurses-dev libpcre2-16-0 libpcre2-32-0
281s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev
281s pkg-config pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev zlib1g-dev
281s 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
281s Need to get 33.6 MB of archives.
281s After this operation, 130 MB of additional disk space will be used.
281s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 dctrl-tools amd64 2.24-3build2 [66.9 kB]
281s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 libgfortran-13-dev amd64 13.2.0-17ubuntu2 [942 kB]
281s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [11.6 MB]
281s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-13 amd64 13.2.0-17ubuntu2 [10.3 kB]
281s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1024 B]
281s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran amd64 4:13.2.0-7ubuntu1 [1176 B]
281s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 icu-devtools amd64 74.2-1ubuntu1 [212 kB]
281s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libblas-dev amd64 3.12.0-3 [170 kB]
281s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libbz2-dev amd64 1.0.8-5ubuntu1 [33.6 kB]
281s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 libicu-dev amd64 74.2-1ubuntu1 [11.9 MB]
281s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-turbo8-dev amd64 2.1.5-2ubuntu1 [294 kB]
281s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg8-dev amd64 8c-2ubuntu11 [1484 B]
281s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-dev amd64 8c-2ubuntu11 [1482 B]
281s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 liblapack-dev amd64 3.12.0-3 [5196 kB]
281s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libncurses-dev amd64 6.4+20240113-1ubuntu1 [384 kB]
281s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu1 [211 kB]
281s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu1 [198 kB]
281s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu1 [6808 B]
281s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-dev amd64 10.42-4ubuntu1 [743 kB]
281s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libpkgconf3 amd64 1.8.1-2 [31.1 kB]
281s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3ubuntu1 [896 kB]
281s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libpng-dev amd64 1.6.43-1 [264 kB]
281s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libreadline-dev amd64 8.2-3 [167 kB]
281s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 pkgconf-bin amd64 1.8.1-2 [20.7 kB]
281s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 pkgconf amd64 1.8.1-2 [16.8 kB]
281s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 pkg-config amd64 1.8.1-2 [7170 B]
281s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 liblzma-dev amd64 5.4.5-0.3 [205 kB]
281s Get:28 http://ftpmaster.internal/ubuntu noble/universe amd64 r-base-dev all 4.3.2-1build1 [4336 B]
281s Get:29 http://ftpmaster.internal/ubuntu noble/universe amd64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B]
282s Fetched 33.6 MB in 0s (98.4 MB/s)
282s Selecting previously unselected package dctrl-tools.
282s (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 ... 76886 files and directories currently installed.)
282s Preparing to unpack .../00-dctrl-tools_2.24-3build2_amd64.deb ...
282s Unpacking dctrl-tools (2.24-3build2) ...
282s Selecting previously unselected package libgfortran-13-dev:amd64.
282s Preparing to unpack .../01-libgfortran-13-dev_13.2.0-17ubuntu2_amd64.deb ...
282s Unpacking libgfortran-13-dev:amd64 (13.2.0-17ubuntu2) ...
282s Selecting previously unselected package gfortran-13-x86-64-linux-gnu.
282s Preparing to unpack .../02-gfortran-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ...
282s Unpacking gfortran-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
282s Selecting previously unselected package gfortran-13.
282s Preparing to unpack .../03-gfortran-13_13.2.0-17ubuntu2_amd64.deb ...
282s Unpacking gfortran-13 (13.2.0-17ubuntu2) ...
282s Selecting previously unselected package gfortran-x86-64-linux-gnu.
282s Preparing to unpack .../04-gfortran-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ...
282s Unpacking gfortran-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
282s Selecting previously unselected package gfortran.
282s Preparing to unpack .../05-gfortran_4%3a13.2.0-7ubuntu1_amd64.deb ...
282s Unpacking gfortran (4:13.2.0-7ubuntu1) ...
282s Selecting previously unselected package icu-devtools.
282s Preparing to unpack .../06-icu-devtools_74.2-1ubuntu1_amd64.deb ...
282s Unpacking icu-devtools (74.2-1ubuntu1) ...
282s Selecting previously unselected package libblas-dev:amd64.
282s Preparing to unpack .../07-libblas-dev_3.12.0-3_amd64.deb ...
282s Unpacking libblas-dev:amd64 (3.12.0-3) ...
282s Selecting previously unselected package libbz2-dev:amd64.
282s Preparing to unpack .../08-libbz2-dev_1.0.8-5ubuntu1_amd64.deb ...
282s Unpacking libbz2-dev:amd64 (1.0.8-5ubuntu1) ...
282s Selecting previously unselected package libicu-dev:amd64.
282s Preparing to unpack .../09-libicu-dev_74.2-1ubuntu1_amd64.deb ...
282s Unpacking libicu-dev:amd64 (74.2-1ubuntu1) ...
283s Selecting previously unselected package libjpeg-turbo8-dev:amd64.
283s Preparing to unpack .../10-libjpeg-turbo8-dev_2.1.5-2ubuntu1_amd64.deb ...
283s Unpacking libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu1) ...
283s Selecting previously unselected package libjpeg8-dev:amd64.
283s Preparing to unpack .../11-libjpeg8-dev_8c-2ubuntu11_amd64.deb ...
283s Unpacking libjpeg8-dev:amd64 (8c-2ubuntu11) ...
283s Selecting previously unselected package libjpeg-dev:amd64.
283s Preparing to unpack .../12-libjpeg-dev_8c-2ubuntu11_amd64.deb ...
283s Unpacking libjpeg-dev:amd64 (8c-2ubuntu11) ...
283s Selecting previously unselected package liblapack-dev:amd64.
283s Preparing to unpack .../13-liblapack-dev_3.12.0-3_amd64.deb ...
283s Unpacking liblapack-dev:amd64 (3.12.0-3) ...
283s Selecting previously unselected package libncurses-dev:amd64.
283s Preparing to unpack .../14-libncurses-dev_6.4+20240113-1ubuntu1_amd64.deb ...
283s Unpacking libncurses-dev:amd64 (6.4+20240113-1ubuntu1) ...
283s Selecting previously unselected package libpcre2-16-0:amd64.
283s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_amd64.deb ...
283s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu1) ...
283s Selecting previously unselected package libpcre2-32-0:amd64.
283s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_amd64.deb ...
283s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu1) ...
283s Selecting previously unselected package libpcre2-posix3:amd64.
283s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_amd64.deb ...
283s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu1) ...
283s Selecting previously unselected package libpcre2-dev:amd64.
283s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_amd64.deb ...
283s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu1) ...
283s Selecting previously unselected package libpkgconf3:amd64.
283s Preparing to unpack .../19-libpkgconf3_1.8.1-2_amd64.deb ...
283s Unpacking libpkgconf3:amd64 (1.8.1-2) ...
283s Selecting previously unselected package zlib1g-dev:amd64.
283s Preparing to unpack .../20-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_amd64.deb ...
283s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3ubuntu1) ...
283s Selecting previously unselected package libpng-dev:amd64.
283s Preparing to unpack .../21-libpng-dev_1.6.43-1_amd64.deb ...
283s Unpacking libpng-dev:amd64 (1.6.43-1) ...
283s Selecting previously unselected package libreadline-dev:amd64.
283s Preparing to unpack .../22-libreadline-dev_8.2-3_amd64.deb ...
283s Unpacking libreadline-dev:amd64 (8.2-3) ...
283s Selecting previously unselected package pkgconf-bin.
283s Preparing to unpack .../23-pkgconf-bin_1.8.1-2_amd64.deb ...
283s Unpacking pkgconf-bin (1.8.1-2) ...
283s Selecting previously unselected package pkgconf:amd64.
283s Preparing to unpack .../24-pkgconf_1.8.1-2_amd64.deb ...
283s Unpacking pkgconf:amd64 (1.8.1-2) ...
283s Selecting previously unselected package pkg-config:amd64.
283s Preparing to unpack .../25-pkg-config_1.8.1-2_amd64.deb ...
283s Unpacking pkg-config:amd64 (1.8.1-2) ...
284s Selecting previously unselected package liblzma-dev:amd64.
284s Preparing to unpack .../26-liblzma-dev_5.4.5-0.3_amd64.deb ...
284s Unpacking liblzma-dev:amd64 (5.4.5-0.3) ...
284s Selecting previously unselected package r-base-dev.
284s Preparing to unpack .../27-r-base-dev_4.3.2-1build1_all.deb ...
284s Unpacking r-base-dev (4.3.2-1build1) ...
284s Selecting previously unselected package pkg-r-autopkgtest.
284s Preparing to unpack .../28-pkg-r-autopkgtest_20231212ubuntu1_all.deb ...
284s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ...
284s Setting up libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu1) ...
284s Setting up libncurses-dev:amd64 (6.4+20240113-1ubuntu1) ...
284s Setting up libreadline-dev:amd64 (8.2-3) ...
284s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu1) ...
284s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu1) ...
284s Setting up libpkgconf3:amd64 (1.8.1-2) ...
284s Setting up icu-devtools (74.2-1ubuntu1) ...
284s Setting up pkgconf-bin (1.8.1-2) ...
284s Setting up liblzma-dev:amd64 (5.4.5-0.3) ...
284s Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3ubuntu1) ...
284s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu1) ...
284s Setting up libjpeg8-dev:amd64 (8c-2ubuntu11) ...
284s Setting up libgfortran-13-dev:amd64 (13.2.0-17ubuntu2) ...
284s Setting up libicu-dev:amd64 (74.2-1ubuntu1) ...
284s Setting up libblas-dev:amd64 (3.12.0-3) ...
284s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
284s Setting up dctrl-tools (2.24-3build2) ...
284s Setting up libbz2-dev:amd64 (1.0.8-5ubuntu1) ...
284s Setting up libpcre2-dev:amd64 (10.42-4ubuntu1) ...
284s Setting up libpng-dev:amd64 (1.6.43-1) ...
284s Setting up libjpeg-dev:amd64 (8c-2ubuntu11) ...
284s Setting up gfortran-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ...
284s Setting up pkgconf:amd64 (1.8.1-2) ...
284s Setting up gfortran-13 (13.2.0-17ubuntu2) ...
284s Setting up liblapack-dev:amd64 (3.12.0-3) ...
284s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
284s Setting up pkg-config:amd64 (1.8.1-2) ...
284s Setting up gfortran-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
284s Setting up gfortran (4:13.2.0-7ubuntu1) ...
284s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
284s 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
284s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
284s 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
284s Setting up r-base-dev (4.3.2-1build1) ...
284s Setting up pkg-r-autopkgtest (20231212ubuntu1) ...
284s Processing triggers for libc-bin (2.39-0ubuntu2) ...
284s Processing triggers for man-db (2.12.0-3) ...
285s Processing triggers for install-info (7.1-3) ...
286s Reading package lists...
286s Building dependency tree...
286s Reading state information...
286s Starting pkgProblemResolver with broken count: 0
287s Starting 2 pkgProblemResolver with broken count: 0
287s Done
287s The following NEW packages will be installed:
287s autopkgtest-satdep
287s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
287s Need to get 0 B/696 B of archives.
287s After this operation, 0 B of additional disk space will be used.
287s Get:1 /tmp/autopkgtest.PwWzHk/4-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [696 B]
287s Selecting previously unselected package autopkgtest-satdep.
288s (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 ... 77615 files and directories currently installed.)
288s Preparing to unpack .../4-autopkgtest-satdep.deb ...
288s Unpacking autopkgtest-satdep (0) ...
288s Setting up autopkgtest-satdep (0) ...
289s (Reading database ... 77615 files and directories currently installed.)
289s Removing autopkgtest-satdep (0) ...
290s autopkgtest [17:54:01]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest
290s autopkgtest [17:54:01]: test pkg-r-autopkgtest: [-----------------------
290s Test: Try to load the R library gridSVG
290s
290s R version 4.3.2 (2023-10-31) -- "Eye Holes"
290s Copyright (C) 2023 The R Foundation for Statistical Computing
290s Platform: x86_64-pc-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 > library('gridSVG')
290s
290s Attaching package: ‘gridSVG’
290s
290s The following object is masked from ‘package:grDevices’:
290s
290s dev.off
290s
290s >
290s >
290s Other tests are currently unsupported!
290s They will be progressively added.
291s autopkgtest [17:54:02]: test pkg-r-autopkgtest: -----------------------]
291s autopkgtest [17:54:02]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
291s pkg-r-autopkgtest PASS
291s autopkgtest [17:54:02]: @@@@@@@@@@@@@@@@@@@@ summary
291s run-unit-test PASS
291s pkg-r-autopkgtest PASS
301s Creating nova instance adt-noble-i386-r-cran-gridsvg-20240322-174910-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-amd64-server-20240321.img (UUID 6f9effbc-61d8-4d0a-a7e9-883547f42ac1)...