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

Spencer Graves @pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Tue Sep 2 22:39:50 CEST 2025


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 using statistik.tu-dortmund.de>
Organization: Fakultät Statistik, Technische Universität Dortmund
To: Spencer Graves <spencer.graves using effectivedefense.org>, CRAN using 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:
> Dear CRAN team:
> 
> 
> I'm confused: The link below is for an earlier version of Ecdat, 0.4-2.
> 
> 
> On 8/27/25, 17:31 Central I received an email from ligges using statistik.tu- 
> dortmund.de Subject: [CRAN-pretest-inspect-recheck] CRAN Submission 
> Ecdat 0.4-5.
> 
> 
> The first complaint in the link below says, "No Authors using R field in 
> DESCRIPTION." Tests on other platforms complained, "Lost braces" 
> following \doi. Those were fixed in 0.4-5.
> 
> 
> I also submitted cran-comments.md, which identified two other problems I 
> thought I had fixed.
> 
> 
> HOWEVER, I am working on another version and will submit that version 
> before 2025-09-30.
> 
> 
> Thanks,
> Spencer Graves
> 
> 
> On 9/2/25 02:44, Kurt Hornik wrote:
>> Dear maintainer,
>>
>> Please see the problems shown on
>> <https://cran.r-project.org/web/checks/check_results_Ecdat.html>.
>>
>> Please correct before 2025-09-30 to safely retain your package on CRAN.
>>
>> Note that this will be the *final* reminder.
>>
>> Best wishes,
>> The CRAN Team
>



More information about the R-package-devel mailing list