Hello!
I am having issues with updating package 'curl.' Specifically, when performing
BiocManager::valid()
, I obtain the standard advice to run the command:
BiocManager::install("curl", update = TRUE, ask = FALSE, force = TRUE)
Doing so performs the update routine as expected. However, when performing
BiocManager::valid()
again, I obtain the same result of BiocManager informing me that 'curl' is out of date and should
be updated to create a valid installation.
Running BiocManager::install("curl")
, followed by BiocManager::valid()
leads to the same outcome.
What exactly does 'curl' do, and is there a way that I can update this package to ensure Bioconductor is up to date?
Many Thanks!
> sessionInfo()
R version 4.4.3 (2025-02-28 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26100)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: America/New_York
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.25 compiler_4.4.3 tools_4.4.3 rstudioapi_0.17.1
what is the result of
.libPaths()
It could be that curl was installed with an admin account or in a different location that would need to be specified for the update to complete.Thank you for the advice. As requested:
In the past, I have been experiencing issues with "paths not writeable" or "permission denied." For instance, in updating the package "Jpeg" today, I had to manually go into my R library to delete the old version and reinstall the package. I am not sure why I am encountering these permission issues since I have given the necessary permissions to R and RStudio, and this is a personal computer used only by myself. I wouldn't be surprised if this is why I am seeing issues with 'curl' as well, but it is unclear to me how I can resolve this issue with permissions, since even running RStudio as an administrator will occasionally give me "permission denied" errors.
Not sure how to completely clear the issues but it might be useful to see which location curl is in
find.package("curl")
and if necessary add the correct lib path to BiocManager i.e something likeinstall("curl", lib=.libPaths()[2])
. Or if necessary remove it from one location and reinstall in the other libPathThank you! This seems to narrow down the issue, at least.
I successfully installed "curl" into both paths, but received the same issue of "package is out of date." I then removed "curl" entirely from both paths, confirmed that, with no "curl" package, BiocManager::valid() is TRUE, and reinstalled "curl" as follows:
This worked with no errors, but it told me the package needed to be updated. Specifically:
Again, no errors, but when the operation was completed successfully:
I'm back to where I started.
UPDATE:
I was able to get curl to work! It seems that because the new version was literally JUST released, there is something "funky" going on with the binaries on Windows. By using:
the package installed perfectly. The true test:
I can rest easy tonight. Thanks for all of the help! It is VERY much appreciated.