rdrr-io / rdrr-issues

rdrr.io issues
34 stars 7 forks source link

index does not handle github redirects #50

Open dpprdan opened 5 years ago

dpprdan commented 5 years ago

This is related to #22, but instead of a change in the packagename ("username/pkgname" -> "username/newpkgname") it seems that rdrr index does not pick up changes in the username, i.e. when packages are transferred to a new user/org (-> "newusername/pkgname").

Example: Both https://github.com/hadley/rlang/ and https://github.com/tidyverse/rlang/ redirect to https://github.com/r-lib/rlang/, but rdrr.io contains all three:

https://rdrr.io/github/hadley/rlang/ https://rdrr.io/github/tidyverse/rlang/ https://rdrr.io/github/r-lib/rlang/

I cannot say for certain, but I am pretty sure that rlang got transfered to r-lib quite a while ago, I'd guess at least >6 months, so I don't think this is a cache issue.

Another example where both username and pkgname have changed is https://rdrr.io/github/edzer/sfr/ vs. https://rdrr.io/github/r-spatial/sf/