Closed csgillespie closed 7 years ago
Not all packages return the base GitHub url, e.g. the URL for https://cran.r-project.org/web/packages/tsDyn/index.html is http://github.com/MatthieuStigler/tsDyn/wiki
This causes get_num_contributors() to fail.
get_num_contributors()
You could recover the canonical URL, i.e. remove wiki but this would be wrong in a few cases where more than one package lives in the same github repo. Options:
wiki
Thanks also for this fix, Colin. And for pointing out why recovering the canonical URL might lead to misleading results.
Not all packages return the base GitHub url, e.g. the URL for https://cran.r-project.org/web/packages/tsDyn/index.html is http://github.com/MatthieuStigler/tsDyn/wiki
This causes
get_num_contributors()
to fail.You could recover the canonical URL, i.e. remove
wiki
but this would be wrong in a few cases where more than one package lives in the same github repo. Options: