-
Notifications
You must be signed in to change notification settings - Fork 24
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
BiocManager::install() not installing package if available version is lower than current #128
Comments
Thanks Hervé! I will update the message. |
Thanks Marcel. If |
Also the documentation for the |
We would have to create a mechanism to separate packages that need to be installed with Perhaps Martin @mtmorgan has some thoughts ?
They are not considered up-to-date and I will update the documentation. |
I like the current behavior, so changing the documentation of |
Isn't it that all the packages that Furthermore, you could add Thanks |
Thanks! |
Great! Thanks Marcel. Just a note about the use of
Both work and do the same thing. However I would argue that the former is less readable and works only "by accident". It behaves like the latter only because
So if the intention is to not add anything, The empty string ( H. |
Can we both be happy with |
I dunnow. I doubt this is how you would teach a 12-year old how to represent an empty string in R 😁 |
I have SQLDataFrame 1.9.1:
and the version of SQLDataFrame currently available in BioC 3.15 is 1.9.0:
But if I run
BiocManager::install()
I get:It seems to me that
BiocManager::install("somePackage")
should just re-install by default (i.e. without the need to useforce=TRUE
) when the available version is different from the installed version, including when it's lower than the installed version.If we don't want that, then the warning message would need to be corrected to say something like:
FWIW I ran into this issue in the context of
BiocManager::valid()
:But when I tried to create a valid installation by copy/paste'ing the suggested command I got:
Thanks,
H.
The text was updated successfully, but these errors were encountered: