Having issues installing biomaRt. How do I fix this?
if (!require("BiocManager", force = TRUE)) install.packages("BiocManager")
BiocManager::install("biomaRt")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories: CRAN: https://mirror.las.iastate.edu/CRAN
Bioconductor version 3.14 (BiocManager 1.30.16), R 4.1.3 (2022-03-10)
Warning message:
package(s) not installed when version(s) same as current; use force = TRUE
to re-install: 'biomaRt'
```
I pressed enter to run biomaRT then this show up. Does it mean it worked?
If you ran the code and it looked like nothing happen then yes it worked. Some packages print welcome message and other stuff, but biomaRt is silent at that point. If there was a problem you'd see an error message, most likely "
there is no package called ‘biomaRt’
".As a quick test, after using
library(biomaRt)
you can try running one of the functions in biomaRt. For example, if I run the code below I get the output shown after. If there's a problem with biomaRt this will show an error instead.