-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behavior of BiocStyle::Biocpkg() #112
Comments
Maybe instead of |
Thanks @federicomarini for pointing this out! ❤️ I believe in the context of vignettes and reproducibility the inclusion of package version in the links makes sense. As for general links to the package landing page such as ones in e.g. README documents etc. it might indeed be reasonable to have an option of including an unversioned link. My suggestion would be to introduce an argument BiocStyle::Biocpkg("iSEEde", versioned = FALSE) Feel free to submit a PR, I'm more than happy to review it 🚀 |
On it! |
I just created a small PR to implement this functionality - feel free to edit if you fancy another coding style (I tried to go the compact way but could not shorten it up further) |
Referring to this issue: iSEE/iSEEde#43
My thought was that this is indeed resulting from using
BiocStyle::Biocpkg("iSEEde")
in the Rmd README of the package.Shouldn't the ideal behavior of this function be to use a non-versioned link? Instead of returning
https://bioconductor.org/packages/3.16/iSEEde
, wouldn'thttps://bioconductor.org/packages/iSEEde
be the better option? Or alternatively, have the version info included as result of a parameter, e.g.include_version
?Why - because https://bioconductor.org/packages/3.16/iSEEde ends up "becoming broken" (but the "current one", https://bioconductor.org/packages/3.19/iSEEde would still work (probably as long as the current release is matched to that value?))
If I am missing something relevant about this being the default, let me know.
Otherwise: happy to come in with a PR 😉
The text was updated successfully, but these errors were encountered: