[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 11:55:17 CEST 2021



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 which enables access to over 60 clustering algorithms with consistent input and output:
> 
>> Found the following
> (possibly) invalid URLs:
>   URL:
> https://www.deepbionics.org/ (moved to
> 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/  redirects currently to 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 for deepbioonics.org which redirects the user after 5 seconds to the current website?
> 
> Best Regards
> Michael
> 
> ______________________________________________
> 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