This is a test version of Biostars. For the public version, visit https://www.biostars.org.
VariantAnnotation installation error in R package

I have been trying to install VariantAnnotation in R, but keep getting the following installation errors: Can someone please suggest me how to fix these issues.

>  biocLite("VariantAnnotation")  Warning message: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :  
 installation of package ‘VariantAnnotation’ had non-zero exit status
>  library("VariantAnnotation") #load the package Error in library("VariantAnnotation") :    ‘VariantAnnotation’ is not a valid
 installed package
r

1 answer

This set of commands worked for me, from the Bioconductor installation page for VariantAnnotation:

## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("VariantAnnotation")
library("VariantAnnotation")

So if you're getting errors with the install process, it's likely to be something underlying your version of biocLite or your system. If there's a way to get more verbose error output, that would help in debugging the problem.

kinit user@server was the issue. The directory was not accessible. Thanks anyway!

Log in to answer this question.