[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 23:25:38 CEST 2025
Hi, Uwe and Ben:
Thanks for the replies. That URL worked just now in Firefox, Safari and
Chrome on my Mac and in the browser on my iPhone in Kansas City,
Missouri, USA.
It's in the documentation for "The California Test Score Data Set"
(Ecdat::Caschool), which was created years ago by Yves Croissant, a
professor at the University of Lyon, France, and author of (2024)
Microeconometrics with R (https://ycroissant.github.io/micsr_book/) and
several other publications that use R.
The fact that it didn't work for Uwe worries me.[1]
I hesitate to degrade the work of Yves Croissant. I plan to document
this in "cran-comments.md" and proceed with the other checks outlined in
Wickham and Bryan, "R Packages". The current version on GitHub has green
check marks on 5 platforms. As I mentioned, "R CMD check --as-cran"
locally flagged several URLs that I have checked multiple times and
found them good -- but did NOT flag "cde.ca.gov".
Reasonable?
Thanks again.
Spencer Graves
On 9/2/25 16:00, Ben Bolker wrote:
> 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
>
More information about the R-package-devel
mailing list