Re: [R-pkg-devel] How to resolve help files with \Sexpr{} warning?

2025-04-14 Thread Ivan Krylov via R-package-devel
В Sun, 13 Apr 2025 21:54:03 -0700 (PDT) adi...@pdx.edu пишет: > Package has help file(s) containing install/render-stage \Sexpr{} > expressions but no prebuilt PDF manual. This is a relatively recent change (r85348, October 2023). Previously, R CMD build detected non-build-time dynamic content i

Re: [R-pkg-devel] How to resolve help files with \Sexpr{} warning?

2025-04-14 Thread adinno
Dear Iris and Ivan, Together both your comments were very helpful, and both pointed me at a solution to resolve my issue and to explain why this change in behavior emerged, and how my package was triggering the behavior. Solution that worked: Editing the DESCRIPTION file to add the line

Re: [R-pkg-devel] How to resolve help files with \Sexpr{} warning?

2025-04-14 Thread Iris Simmons
I believe R CMD build changed the default from --manual to --no-manual, I'm not sure why. You could add --manual when you build the tarball or you could add BuildManual: TRUE to your DESCRIPTION. On Mon, Apr 14, 2025, 09:41 wrote: > > > Dear R Devs, > > > I am unsure how to resolve this NOTE i

[R-pkg-devel] How to resolve help files with \Sexpr{} warning?

2025-04-14 Thread adinno
Dear R Devs, I am unsure how to resolve this NOTE in my package build (I am comfortable with the possibly misspelled words part): Package has help file(s) containing install/render-stage \Sexpr{} expressions but no prebuilt PDF manual. I've dozens of files and no idea which one(s) offen

Re: [R-pkg-devel] cran check about examples time

2025-04-14 Thread Ivan Krylov via R-package-devel
В Mon, 14 Apr 2025 08:53:38 +0200 Emanuele Cordano пишет: > CRAN check were OK (frorr Windows) whereas in Debian a function > example elapses 5.326 seconds. I need to fix this. Most lines in > the examples are within \donttest{} brackets, so they should not be > executed by CRAN checks. Nowad

Re: [R-pkg-devel] broken or outdaeted URLs

2025-04-14 Thread Ivan Krylov via R-package-devel
В Mon, 14 Apr 2025 08:57:49 +0200 Emanuele Cordano пишет: > R CMD check --as-cran on my machine did not help. Strange, it should be doing the same thing as 'urlchecker'. I've tried it with an old version of 'RMAWGEN' and saw the messages: >> * checking CRAN incoming feasibility ... [6s/526s] WA

Re: [R-pkg-devel] broken or outdaeted URLs

2025-04-14 Thread Emanuele Cordano
No, R CMD check --as-cran on my machine did not help. `urlchecker::url_check()` was very useful. It found most of broken URLs and they were fixed. Thank you for your feedback. Best Emanuele Cordano Il giorno gio 10 apr 2025 alle ore 12:52 Ivan Krylov ha scritto: > В Thu, 10 Apr 2025 11:24