Bioconductor / VariantAnnotation

Annotation of Genetic Variants
https://bioconductor.org/packages/VariantAnnotation
23 stars 20 forks source link

Subset No Longer Works For Fixed Columns #45

Closed DarioS closed 3 years ago

DarioS commented 3 years ago

I ran this code at the beginning of the year and it worked.

library(VariantAnnotation)
example(readVcf)
subset(vcf, FILTER == "PASS")  # Error in eval(expr, as.env(envir, enclos)) : object 'FILTER' not found

I use Bioconductor 3.12 and all packages are up-to-date. It might be nice to add it to Examples section so it's always checked.

DarioS commented 3 years ago

Upgrading from R version 4.0.1 to R version 4.0.3 and creating a new package library avoided the mysterious problem.