Re: [R-pkg-devel] URL syntax causes R CMD build failure - a fix

2023-09-03 Thread J C Nash
Thanks Uwe. I think you may have the reason, esp. if the url is output as LaTex formatted text to the intermediate files. > Where is it in your package and what is the R CMD check output? The issue was a failure to build the nlsr-devdoc.Rmd vignette. Unfortunately, the messages were as below (i

Re: [R-pkg-devel] URL syntax causes R CMD build failure - a fix

2023-09-03 Thread Uwe Ligges
John can you point us to an example? Where is it in your package and what is the R CMD check output? Guess: Within an Rd file you have to escape the % characters otherwise they start a comment. Best, Uwe Ligges On 03.09.2023 00:30, Spencer Graves wrote: I've encountered similar issues. How

Re: [R-pkg-devel] URL syntax causes R CMD build failure - a fix

2023-09-02 Thread Spencer Graves
I've encountered similar issues. However, it has been long enough ago that I don't remember enough details to say more without trying to update my CRAN packages to see what messages I get and maybe researching my notes from previous problems of this nature. Spencer Graves On 9/2/23 4:23 PM, G

Re: [R-pkg-devel] URL syntax causes R CMD build failure - a fix

2023-09-02 Thread Greg Hunt
The percent encoded characters appear to be valid in that URL, suggesting that rejecting them is an error. That kind of error could occur when the software processing them converts them back to a non-unicode character set. On Sun, 3 Sep 2023 at 4:34 am, J C Nash wrote: > I'm posting this in case

[R-pkg-devel] URL syntax causes R CMD build failure - a fix

2023-09-02 Thread J C Nash
I'm posting this in case it helps some other developers getting build failure. Recently package nlsr that I maintain got a message that it failed to build on some platforms. The exact source of the problem is still to be illuminated, but seems to be in knitr::render and/or pandoc or an unfortunat