Skip to content
Prev 11742 / 12125 Next

[R-pkg-devel] How to fix "Number of redirects hit maximum amount"?

Hello, All:


TWO QUESTIONS:


1. HOW TO FIX "Number of redirects hit maximum amount"?


For the Ecdat package, CRAN reported, "Number of redirects hit maximum 
amount [www.cde.ca.gov]". Uwe Ligges asked, "Please fix and resubmit."


"www.cde.ca.gov" works for me when I enter it into a browser. Moreover, 
that URL was unchanged after the page appeared. Also, I've looked for 
tools to trace redirects and have so far been unable to find any that 
find any redirect from "www.cde.ca.gov".


2. GITHUB ACTION WITH "--as-cran"?


Is there a way to modify GitHub Action so "R CMD check --as-cran" runs 
on one of the platforms?


** I'm currently concerned about "https://github.com/sbgraves237/Ecdat"


FYI: "R CMD check --as-cran Ecdat_0.4.6.tar.gz" on my local computer a 
few minutes ago found several "(possibly) invalid URLs", none of which 
reported "Number of redirects hit maximum amount". Also, 
"www.cde.ca.gov" was NOT flagged this time.


Should I just document this in "cran-comments.md" and hope for the best?


Thanks, Spencer Graves


-------- Forwarded Message --------
Subject: Re: CRAN package Ecdat
Date: Tue, 2 Sep 2025 12:38:24 +0200
From: Uwe Ligges <ligges at statistik.tu-dortmund.de>
Organization: Fakult?t Statistik, Technische Universit?t Dortmund
To: Spencer Graves <spencer.graves at effectivedefense.org>, CRAN at R-project.org

For your latest submission I wrote

"
Argh, so many false positives or ill configured web sites, but one is 
true positive.

      URL: https://www.cde.ca.gov
        From: man/Caschool.Rd
        Status: Error
        Message: Number of redirects hit maximum amount [www.cde.ca.gov]:
          Maximum (10) redirects followed

Please fix and resubmit.

Best,
Uwe Ligges
"


Best,
Uwe
On 02.09.2025 12:36, Spencer Graves wrote: