I have been trying to load minfi, lumi, methylumi and DMRcate packages in Rstudio. These packages are already installed and I have been using it for a while now. However, when I try to load them this past week I have been encountering errors stating - "Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘data.table".
In addition, I have also been encountering problems with DMRcate functions due to error in loading the annotation packages - IlluminaHumanMethylationEPICanno.ilm10b2.hg19 and IlluminaHumanMethylation450kanno.ilmn12.hg19.
I have tried uninstalling and reinstalling packages followed by restarting Rstudio. I am unable to resolve this issue.
Is anyone else facing the same problem or can suggest a solution? Please help me out here.