I tried several times installing the MSnbase package using:
BiocManager::install("MSnbase", dependencies= T)
When I try to load the MSnbase package using library(MSnbase) I get the following error:
> library(MSnbase) Error: package or namespace load failed for ‘MSnbase’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): object 'vI' not found
I am having the same problem with another package, "pheatmap" I do not know what else to do. Help please!
> sessionInfo() R version 3.5.3 (2019-03-11) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) Matrix products: default locale:  LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252  LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C  LC_TIME=English_United Kingdom.1252 attached base packages:  stats4 parallel stats graphics grDevices utils datasets methods base other attached packages:  BiocParallel_1.16.6 ProtGenerics_1.14.0 S4Vectors_0.20.1 mzR_2.16.2 Rcpp_1.0.1  Biobase_2.42.0 BiocGenerics_0.28.0 loaded via a namespace (and not attached):  impute_1.56.0 tools_3.5.3 grid_3.5.3 yaml_2.2.0 BiocManager_1.30.4 codetools_0.2-16  ncdf4_1.16.1 compiler_3.5.3