Re: [R-pkg-devel] broken or outdaeted URLs
В 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] WARNING >> <...> >> Found the following (possibly) invalid URLs: Some of the URL checks in R CMD check do not work if 'xml2' is not installed, but 'urlchecker' depends on it as well. Still, glad that 'urlchecker' helped you locate and fix the problematic URLs. -- Best regards, Ivan __ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] broken or outdaeted URLs
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:31 +0200 > Emanuele Cordano пишет: > > > Is there an option in R CMD check that I can use on > > my server to directly verify all URLs > > Does R CMD check --as-cran help? > > -- > Best regards, > Ivan > -- Emanuele Cordano, PhD Environmental Engineer / Ingegnere per l' Ambiente e il territorio nr. 3587 (Albo A - Provincia di Trento) cell: +39 3282818564 email: [email protected],[email protected], [email protected] PEC: [email protected] URL: www.rendena100.eu LinkedIn: https://www.linkedin.com/in/emanuele-cordano-31995333 GitHub: https://github.com/ecor [[alternative HTML version deleted]] __ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] broken or outdaeted URLs
В Thu, 10 Apr 2025 11:24:31 +0200 Emanuele Cordano пишет: > Is there an option in R CMD check that I can use on > my server to directly verify all URLs Does R CMD check --as-cran help? -- Best regards, Ivan __ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] broken or outdaeted URLs
Hi Emanuele, I usually use `urlchecker::url_check()` to start with. There is a `urlchecker::url_update()` option in the package as well. The check catches the errors, the update can fix some but not all errors. -- best, Adam 10 Apr 2025 at 17:25 by [email protected]: > Dear all, > > I'm submitting a new version of a package created and published on CRAN > since 2011. I'm the maintainer. CRAN checks highlight the presence of some > URLs link in the documentation that can be broken or outdated and CRAN > asked me to fix them. I'm fixing them following the list set by CRAN and > win-builder services. Is there an option in R CMD check that I can use on > my server to directly verify all URLs and fix them on my server / RStudio > server? > > Thank you > Best > Emanuele Cordano > > -- > Emanuele Cordano, PhD > Environmental Engineer / Ingegnere per l' Ambiente e il territorio nr. > 3587 (Albo A - Provincia di Trento) > cell: +39 3282818564 > email: [email protected],[email protected], > [email protected] > PEC: [email protected] > URL: www.rendena100.eu > LinkedIn: https://www.linkedin.com/in/emanuele-cordano-31995333 > GitHub: https://github.com/ecor > > [[alternative HTML version deleted]] > > __ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > [[alternative HTML version deleted]] __ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
