关于AnnotationHub报错
在创建对象时
hub<-AnnotationHub:AnnotationHub()
出现如下报错
Error in useMethod(“filter_”): no applicable method for’filter_'applied to an object of class"c(‘tbl_sQLiteconnection’,‘tbl_dbi’,‘tbl_sql’,‘tbl_lazy’,‘tbl’)"
求问怎么解决?
############问题已解决#######
在GitHub上询问作者得到回复:This has been corrected in more recent versions of AnnotationHub and has to do with changes in the underlying dplyr method. Is it possible to update your version of R to use the most recent version of the package?
更新完R和AnnotationHub后得到解决
更新前版本信息:
> packageVersion("AnnotationHub")
[1] ‘2.18.0’
> BiocManager::version()
[1] ‘3.10’
>BiocManager::valid(pkgs = "AnnotationHub")
[1] TRUE
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
更新后版本信息:
> packageVersion("AnnotationHub")
[1] ‘2.22.0’
> BiocManager::version()
[1] ‘3.12’
> BiocManager::valid(pkgs = "AnnotationHub")
[1] TRUE
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)