installing multiple bioconductor packages at once
I always do something like this:
bio_pkgs &lt;- c(&quot;ggbio&quot;, &quot;biomaRt&quot;, &quot;EnsDb.Hsapiens.v75&quot;, &quot;renvcBioPortalData&quot;, 
          &quot;GenomicRanges&quot;, &quot;GenomicFeatures&quot;, &quot;TxDb.Hsapiens.UCSC.hg19.knownGene&quot;, &quot;Homo.sapiens&quot;)

# install:
BiocManager::install(bio_pkgs)

# load all at once
invisible(lapply(pkgs, function(x) library(x, character.only=TRUE)))