[R-pkg-team] Bug#998287: r-cran-pdftools: autopkgtest failure: nrow(fonts) not equal to 3
Paul Gevers
elbrus at debian.org
Mon Nov 1 20:11:54 GMT 2021
Source: r-cran-pdftools
Version: 3.0.1-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: fails-always
Dear maintainer(s),
Your package r-cran-pdftools has an autopkgtest, great. However, it
fails. Can you please investigate the situation and fix it? I copied
some of the output at the bottom of this report.
The release team has announced [1] that failing autopkgtest are now
considered RC in testing.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html
https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-pdftools/16361110/log.gz
autopkgtest [17:58:47]: test run-unit-test: [-----------------------
BEGIN TEST poppler.R
R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(pdftools)
Using poppler version 20.09.0
>
BEGIN TEST testthat.R
R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(pdftools)
Using poppler version 20.09.0
>
> test_check("pdftools")
══ Skipped tests
═══════════════════════════════════════════════════════════════
• On CRAN (1)
══ Failed tests
════════════════════════════════════════════════════════════════
── Failure (test-chinese.R:7:3): reading Chinese text
──────────────────────────
`text` does not match "風險因素".
Actual value: "
T\+2\\n\\n\\n\\n 17,300,000\\n\\n\\n\\n 299,900\\n\\n\\n\\n\\n
36\.8%\\n34\.9%\\n 4,300,000
6,900,000 7,100,000\\n 300,000\\n\\n\\n
3\.7% 1\.5% 3\.4% 0\.1%\\n\\n\\n\\n\\n
80%\\n 10%
80%\\n\\n\\n\\n\\n – 31 –\\n"
Backtrace:
█
1. └─testthat::expect_match(text, "風險因素") test-chinese.R:7:2
2. └─testthat:::expect_match_(...)
── Failure (test-chinese.R:11:3): reading Chinese text
─────────────────────────
nrow(fonts) not equal to 3.
1/1 mismatches
[1] 1 - 3 == -2
── Failure (test-chinese.R:13:3): reading Chinese text
─────────────────────────
fonts\$name\[2\] does not match "MSung".
Actual value: "<NA>"
Backtrace:
█
1. └─testthat::expect_match(fonts$name[2], "MSung") test-chinese.R:13:2
2. └─testthat:::expect_match_(...)
── Failure (test-chinese.R:14:3): reading Chinese text
─────────────────────────
fonts\$name\[3\] does not match "MHei".
Actual value: "<NA>"
Backtrace:
█
1. └─testthat::expect_match(fonts$name[3], "MHei") test-chinese.R:14:2
2. └─testthat:::expect_match_(...)
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 20 ]
Error: Test failures
Execution halted
autopkgtest [17:58:49]: test run-unit-test: -----------------------]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20211101/67384550/attachment.sig>
More information about the R-pkg-team
mailing list