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

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Tue Sep 2 23:00:18 CEST 2025


   Hmm. Maybe there's something region-specific? From Canada, it works 
for me from Firefox or Chromium ...

On 9/2/25 16:46, Uwe Ligges wrote:
> 
> 
> On 02.09.2025 22:39, Spencer Graves wrote:
>> Hello, All:
>>
>>
>> TWO QUESTIONS:
>>
>>
>> 1. HOW TO FIX "Number of redirects hit maximum amount"?
> 
> I guess you need a different URL.
> Have you tried in a web browser? Firefox tells me locally "redirection 
> error" (translated from German) and I cannot see any web page. So this 
> URL seems to need a change.
> 
> Best,
> Uwe Ligges
> 
> 
> 
> 
> 
> 
> 
> 
> 
>>
>> For the Ecdat package, CRAN reported, "Number of redirects hit maximum 
>> amount [www.cde.ca.gov]". Uwe Ligges asked, "Please fix and resubmit."
>>be th
>>
>> "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
>>>
>>
>> ______________________________________________
>> R-package-devel using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> 
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Associate chair (graduate), Mathematics & Statistics
Director, School of Computational Science and Engineering
* E-mail is sent at my convenience; I don't expect replies outside of 
working hours.



More information about the R-package-devel mailing list