Bioconductor / BiocStyle

Issues and pull requests for BiocStyle should go here.
12 stars 19 forks source link

CRANpkg links to a mirror instead of the CRAN #24

Closed llrs closed 7 years ago

llrs commented 7 years ago

When using CRANpkg("data.table") it links to the mirror of CRAN at http://cran.fhcrc.org. The mirror itself says:

Please use the canonical form https://CRAN.R-project.org/package=data.table to link to this page.

While the link CRANpkg produces is http://cran.fhcrc.org/web/packages/data.table/index.html. I tried using http://cran.fhcrc.org/packages=data.table but it couldn't be resolved.

The FAQ question What is CRAN? explicitly says:

Please always use the URL of the master site when referring to CRAN.

I know you are aware of this, but I couldn't find the reason behind this decision. Why does the BiocStyle link to FHCRC CRAN mirror instead of the recommended master site?

aoles commented 7 years ago

Many thanks for drawing our attention to this!

I believe there is no real reason why we shouldn't follow the official guidelines and link to the master CRAN repository. Also CRAN package pages say:

Please use the canonical form https://CRAN.R-project.org/package=rmarkdown to link to this page.

Unless @mtmorgan has some additional thoughts on this, I will change the links accordingly.

Cheers, Andrzej

mtmorgan commented 7 years ago

Yes, the use of fhcrc was an historical artifact and is no longer relevant.