Home > OS >  R CRAN submission - URLs check
R CRAN submission - URLs check

Time:06-28

I can not find how to replicate the internal CRAN test for the URLs healthy. It is important that this test is run only on the Debian winbuilder (yes, debian under winbuilder). As this test is not run on the Windows machine so we could NOT use the https://win-builder.r-project.org/upload.aspx website service to replicate it.

The example error message from the CRAN server, as the website was moved. Such message is producing the NOTE so the package is not automatically processed.

Found the following (possibly) invalid URLs:
  URL: http://blog.obeautifulcode.com/R/How-R-Searches-And-Finds-Stuff/
    From: inst/doc/tinyverse.html
    Status: Error
    Message: Could not resolve host: blog.obeautifulcode.com

CodePudding user response:

(Promoting comment to answer as suggested...)

The test code has been pulled out of R itself and made into a package you can install. Other than that it is of course part of any (recent enough) R or R-devel build.

FWIW I also wrapped this into a convenience script I call all the time on my systems.

  • Related