Dear all,

When checking a package via a GitHub action I often (but not always) get a
connection-time out for the GNU license page. The github actions runs the
code below

   Sys.setenv("R_DEFAULT_INTERNET_TIMEOUT" = 360)
   options(timeout = max(360, getOption("timeout")))
    rcmdcheck::rcmdcheck(
      path = x$get_path, args = c("--timings", "--as-cran", "--no-manual"),
      error_on = "never", timeout = Inf
    )

The resulting NOTE

Found the following (possibly) invalid URLs:
  URL: https://www.gnu.org/licenses/gpl-3.0.html
    From: README.md
    Status: Error
    Message: libcurl error code 28:
      Failed to connect to www.gnu.org port 443 after 136189 ms: Couldn't
connect to server

I'm guessing that https://www.gnu.org is blocking the request from the
GitHub Action. Any suggestions how to fix this note without removing the
URL for the README?

Best regards,

Thierry

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkel...@inbo.be
Havenlaan 88 bus 73, 1000 Brussel
*Postadres:* Koning Albert II-laan 15 bus 186, 1210 Brussel
*Poststukken die naar dit adres worden gestuurd, worden ingescand en
digitaal aan de geadresseerde bezorgd. Zo kan de Vlaamse overheid haar
dossiers volledig digitaal behandelen. Poststukken met de vermelding
‘vertrouwelijk’ worden niet ingescand, maar ongeopend aan de geadresseerde
bezorgd.*
www.inbo.be

///////////////////////////////////////////////////////////////////////////////////////////
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey
///////////////////////////////////////////////////////////////////////////////////////////

<https://www.inbo.be>

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to