trevorld / r-xmpdf

Edit XMP metadata and PDF bookmarks/documentation info
https://trevorldavis.com/R/xmpdf/dev/index.html
Other
4 stars 0 forks source link

CRAN Check test ERROR on M1Mac machine #58

Closed trevorld closed 11 months ago

trevorld commented 11 months ago

CRAN writes:

Dear maintainer,

Please see the problems shown on https://cran.r-project.org/web/checks/check_results_xmpdf.html.

Please correct before 2023-10-15 to safely retain your package on CRAN.

The error is only seen on macOS 14, which has a different implementation of iconv (not mentioned in its release notes).

The CRAN Team

The relevant part of the check log is

  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-docinfo.R:124:5'): set_docinfo_gs ────────────────────────────
  d$subject (`actual`) not equal to "R很棒!" (`expected`).

  `actual`:   "R??!"
  `expected`: "R很棒!"

  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 52 ]

The issue was reported by an M1 Mac machine on R-devel. This issue does not reproduce if I check on R-release via the CRAN macOS builder.

Since I can't reproduce the issue I guess the best "solution" will be to skip that test on CRAN.