Error: invalid class "VRanges" object
1
0
Entering edit mode
@jayendra-shinde-16256
Last seen 6.4 years ago

Hi all,

I am facing an error using on the package “VariantAnnotation

It is one of the dependencies for my package hosted on GitHub and currently a lot of the users with latest R version are facing this error.

‘invalid class "VRanges" object: 'strand' should be a 'factor' Rle with levels c("+", "-", "*")’

The package works fine with the R version 3.3.2 but fails with the above mentioned error on the higher or latest R version.

Could you point out to what is different and why am I facing this error that is R version dependent?

 

Looking forward to your help.

Thanks

variantannotation VRanges R Rle • 1.4k views
ADD COMMENT
0
Entering edit mode

Please provide a reproducible example.

ADD REPLY
0
Entering edit mode
@valerie-obenchain-4275
Last seen 2.9 years ago
United States

Each version of Bioconductor is designed to work with an associated set of packages. For example the current release version of Bioconductor is 3.7 and the devel version is 3.8 (both use R 3.5). You can see the package versions associated with each on the build reports:

https://www.bioconductor.org/checkResults/release/bioc-LATEST/

https://www.bioconductor.org/checkResults/devel/bioc-LATEST/

My guess is that you have a mixture of old and new packages in your installation. Please show the output of sessionInfo() and check your installation with BiocInstaller::biocValid().

Valerie

ADD COMMENT

Login before adding your answer.

Traffic: 474 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6