Skip to content
Back to formatted view

Raw Message

Message-ID: <20231013130150.04323d1e@Tarkus>
Date: 2023-10-13T10:01:50Z
From: Ivan Krylov
Subject: [R-pkg-devel] published CRAN check results give error for only r-oldrel-macos-arm64
In-Reply-To: <AS4P195MB143061979866A2C583D4BEB2BED2A@AS4P195MB1430.EURP195.PROD.OUTLOOK.COM>

On Fri, 13 Oct 2023 09:11:20 +0000
Tony Wilkes <tony_a_wilkes at outlook.com> wrote:

> My R package has yesterday been accepted by CRAN. I'm super happy
> about this, of course. But when I look at the package's CRAN check
> results (see
> https://cran.r-project.org/web/checks/check_results_tinycodet.html),
> I see that r-oldrel-macos-arm64 has latex errors.

The difference is that the r-oldrel-windows-x86_64 checks are running
R-4.2.3, but r-oldrel-macos-arm64 are running R-4.2.0. I can reproduce
the issue with R-4.2.0, and it's in the s_regex help page. Here's the
relevant difference in the intermediate *.tex files:

 The \LinkA{\Rpercent{}s-\Rpercent{}}{.Rpcent.s.Rdash..Rpcent.} and \LinkA{\Rpercent{}s/\Rpercent{}}{.Rpcent.s/.Rpcent.} operators,
-as well as the string detection operators (\LinkA{\Rpercent{}s\textbraceleft{\textbraceright{}\textbraceright{}\Rpercent{}}{.Rpcent.s.Rlbrace..Rrbrace..Rpcent.}, \LinkA{\Rpercent{}s!\textbraceleft{\textbraceright{}\textbraceright{}\Rpercent{}}{.Rpcent.s!.Rlbrace..Rrbrace..Rpcent.}),
+as well as the string detection operators (\LinkA{\Rpercent{}s\{\}\Rpercent{}}{.Rpcent.s.Rlbrace..Rrbrace..Rpcent.}, \LinkA{\Rpercent{}s!\{\}\Rpercent{}}{.Rpcent.s!.Rlbrace..Rrbrace..Rpcent.}),
 perform pattern matching for some purpose,
 where the pattern is given on the right hand side. \\{}
 When a character vector or string is given on the right hand side,

This seems to correspond to R-devel revision 82224 made on 2022-04-20
that fixed the use of {} inside \code{\link{}}.

If you'd like a clean PDF manual build on R-4.2.0 and older, it may
help to give a different \alias to the %s{}% help page and use that
inside \link.

-- 
Best regards,
Ivan