I need to download biomaRt, however this requires the package "Seqinfo", which in turn requires "S4Vectors". However, I cannot download "Seqinfo", as it states that "namespace 'S4Vectors' 0.47.0 is being loaded, but >= 0.47.6 is required". Specifically updating S4Vectors does not seem to help. How can I download S4Vectors >= 0.47.6? Please see the code used, ad the corresponding error message
#Install BioCManager to install biomaRt
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.22")
# Force reinstall from Bioconductor
BiocManager::install("S4Vectors", ask = FALSE, force = TRUE)
Resulting Error
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'S4Vectors' 0.47.0 is being loaded, but >= 0.47.6 is required
Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'Seqinfo'

Can you please provide your
sessionInfo()after doinglibrary("S4Vectors")