Hello,
I’m trying to install OptiLCMS to run MetaboAnalystR, however when I try it with:
devtools::install_github(“xia-lab/OptiLCMS”, build = TRUE, build_vignettes = FALSE, build_manual =TRUE)
I run into trouble with the following error message:
Error: package or namespace load failed for ‘OptiLCMS’:
.onLoad failed in loadNamespace() for ‘Cairo’, details:
call: library.dynam(“Cairo”, pkgname, libname)
error: DLL ‘Cairo’ not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
I tried many ways to download Cairo, and i can trace cairo.dll file in my directory. It seems that my computer isn’t recognizing the file, does anybody have a solution to this?
I am using Windows 11 with RStudio R 4.1.3