Hey, earlier today/yesterday pathview code ran fine. Right now getting this error
Error in UseMethod("select_") : no applicable method for 'select_' applied to an object of class "c('OrgDb', 'AnnotationDb', 'envRefClass', '.environment', 'refClass', 'environment', 'refObject', 'AssayData')" Error in `$<-.data.frame`(`*tmp*`, "labels", value = c("", "", "", "", : replacement has 105 rows, data has 122
Anyone any clue what this could be? As I said, all the code ran fine yesterday.
Could you please show us the code that produced this error? Which version of Pathview do you use ?
You have to make sure that dplyr is not masking the "source_" command.
Simply try this before your command to confirm:
detach("package:pathview", unload=TRUE)
detach("package:dplyr", unload=TRUE)
library(pathview)
Dear tiroshamit,
i cannot unload dplyr as i am using plotly as well. Where in the code is the source_ function defined so i can change its name?
Many thanks!