Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-23 Thread Spencer Graves
On 5/22/23 2:38 PM, Duncan Murdoch wrote: On 22/05/2023 3:07 p.m., Ivan Krylov wrote: I fed your vignette to R CMD Sweave, and here's the relevant fragment from the resulting *.tex file: This returned a {\tt "findFn"} object identifying 405 help pages. When this was run while preparing

Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-23 Thread Duncan Murdoch
On 23/05/2023 6:53 a.m., Martin Maechler wrote: Duncan Murdoch on Mon, 22 May 2023 15:38:10 -0400 writes: > On 22/05/2023 3:07 p.m., Ivan Krylov wrote: >> I fed your vignette to R CMD Sweave, and here's the >> relevant fragment from the resulting *.tex file: >>

Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-23 Thread Martin Maechler
> Duncan Murdoch > on Mon, 22 May 2023 15:38:10 -0400 writes: > On 22/05/2023 3:07 p.m., Ivan Krylov wrote: >> I fed your vignette to R CMD Sweave, and here's the >> relevant fragment from the resulting *.tex file: >> >>> This returned a {\tt "findFn"} object

Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-22 Thread Duncan Murdoch
On 22/05/2023 3:07 p.m., Ivan Krylov wrote: I fed your vignette to R CMD Sweave, and here's the relevant fragment from the resulting *.tex file: This returned a {\tt "findFn"} object identifying 405 help pages. When this was run while preparing this manuscript, the sixth row was {\tt

Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-22 Thread Ivan Krylov
I fed your vignette to R CMD Sweave, and here's the relevant fragment from the resulting *.tex file: > This returned a {\tt "findFn"} object identifying 405 help pages. > When this was run while preparing this manuscript, the sixth row was > {\tt pspline_checker} in the \pkg{JOPS} package, which

Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-22 Thread Vincent Dorie
A simple fix might be to redefine findFn in the global environment of the vignette, have it explicitly call sos::findFn, and return a result sanitized for LaTeX output. According to this: https://stackoverflow.com/questions/32865384/function-to-sanitize-strings-for-latex-compilation it looks like

Re: [R-pkg-devel] help fixing CRAN package sos-now fails on GitHub

2023-05-22 Thread Spencer Graves
Hi, Uwe et al.: The sos vignette sos.Rnw now fails on GitHub, complaining of a LaTeX error in "{\tt pspline_ checker}". I don't find it in the code for sos.Rnw. It may be triggered by a response to an internet search that's different from before. https://github.com/sbgraves237/sos

Re: [R-pkg-devel] help fixing CRAN package sos

2023-05-22 Thread Spencer Graves
Hi, Uwe et al.: Uwe suggests I postprocess output with gsub("_", "_", output). It's not clear to me where I should apply this. The "WARN" flags the sos vignette sos.Rnw, but the offending code refers to pspline_checker, which is not in the version of the vignette available on

Re: [R-pkg-devel] help fixing CRAN package sos

2023-05-16 Thread Uwe Ligges
On 16.05.2023 14:02, Spencer Graves wrote: On 5/16/23 6:06 AM, Uwe Ligges wrote: On 16.05.2023 01:46, Spencer Graves wrote: Hello, All:    The sos package is failing some CRAN checks, complaining:[1] LaTeX errors: ! Missing $ inserted. $ l.303 {\tt pspline_

Re: [R-pkg-devel] help fixing CRAN package sos

2023-05-16 Thread Spencer Graves
On 5/16/23 6:06 AM, Uwe Ligges wrote: On 16.05.2023 01:46, Spencer Graves wrote: Hello, All:    The sos package is failing some CRAN checks, complaining:[1] LaTeX errors: ! Missing $ inserted. $ l.303 {\tt pspline_     checker} in the I can only

Re: [R-pkg-devel] help fixing CRAN package sos

2023-05-16 Thread Uwe Ligges
On 16.05.2023 01:46, Spencer Graves wrote: Hello, All:   The sos package is failing some CRAN checks, complaining:[1] LaTeX errors: ! Missing $ inserted.     $ l.303 {\tt pspline_    checker} in the I can only guess this is part of the response you

Re: [R-pkg-devel] help fixing CRAN package sos

2023-05-16 Thread Ivan Krylov
On Mon, 15 May 2023 18:46:00 -0500 Spencer Graves wrote: > I can NOT replicate these locally nor with GitHub action, and I > failed to find 'psp' in 'sos.Rnw'.[2] This raises two issue: > > > OBVIOUS: What can I do to fix this error, or at least to understand > it better? How does the