[R-pkg-devel] Invalid URLs in Description Due to Redirection

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Sat Jul 31 13:14:55 CEST 2021



On 31.07.2021 12:18, Dr. rer. nat. Michael Thrun wrote:
> Clicking on the link (https://www.deepbionics.org/ 
> <https://www.deepbionics.org/>) it redirects correctly on my PC.
> If I understand Uwe correctly,
> this is an issue with the setting of my hosting provider meaning to 
> change the setting 301 to something else.
> Can someone be so kind to point out to me the right option for a correct 
> redirection from the point of view of CRAN?
> I have the choices
> 301, 302, Proxy, Frameset and URL anchor
> and would tend to select frameset, but then only http instead of https 
> is possible.

302 is fine.


Best,
Uwe Ligges


> 
>> On 31. Jul 2021, at 11:55, Uwe Ligges <ligges using statistik.tu-dortmund.de 
>> <mailto:ligges using statistik.tu-dortmund.de>> wrote:
>>
>>
>>
>> On 31.07.2021 10:31, Dr. rer. nat. Michael Thrun wrote:
>>> Dear R developers,
>>> I have several packages on CRAN and usually I can resolve all issues 
>>> without bothering others in the mailing list. However, in this case I 
>>> am stuck with the following note for
>>> my package https://CRAN.R-project.org/package=FCPS 
>>> <https://CRAN.R-project.org/package=FCPS> which enables access to 
>>> over 60 clustering algorithms with consistent input and output:
>>>>>> Found the following
>>> (possibly) invalid URLs:
>>>  URL:
>>> https://www.deepbionics.org/ <https://www.deepbionics.org/> (moved to
>>> https://mthrun.github.io/index <https://mthrun.github.io/index>)
>>>    From:
>>> DESCRIPTION
>>>    Status: 200
>>>    Message:
>>> OK
>>> Please change http --> https, add trailing
>>> slashes, or follow moved content as
>>> appropriate.
>>>>>> The URL https://www.deepbionics.org/ <https://www.deepbionics.org/> 
>>>  redirects currently to gihub.io <http://gihub.io>. My problem with 
>>> the proposed solution in the note is, that I will probably move the 
>>> website again somewhere else in the future.
>>> Adding slashes did not resolve the note. For the current update, I 
>>> just deleted the URL, but someday I would like to update my other 
>>> packages or this one again. Hence, I have to solve this issue 
>>> permanently.
>>> Thus, I would like to be able to link the packages to a stable URL 
>>> and not update packages every time, I move the website.
>>> Does someone know, how to resolve this issue?
>>
>> Well, the webpage reports Status 301 for permamently moved content. It 
>> should just be a redirection. Then you can keep it as is.
>>
>> Best,
>> Uwe Ligges
>>
>>
>>
>>
>>> Should I use another redirection option in the settings of my hosting 
>>> provider?
>>> Should I implement an entry website using my hosting provider 
>>> fordeepbioonics.org <http://deepbioonics.org/>which redirects the 
>>> user after 5 seconds to the current website?
>>> Best Regards
>>> Michael
>>> ______________________________________________
>>> R-package-devel using r-project.org 
>>> <mailto:R-package-devel using r-project.org>mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-package-devel 
>>> <https://stat.ethz.ch/mailman/listinfo/r-package-devel>
>



More information about the R-package-devel mailing list