I'm having difficulty installing chemmineOB. I was able to install biocmanager and chemmineR without much difficulty. I installed openbabel using brew and found that it exists in ~/local/include/openbabel-2.0/openbabel/ in my directories. It is version 3.1.0. I am running r version 4.4.0 and I have bioconductor version 3.19 (all current). I have been running:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("ChemmineOB")
and I get:
ChemmineOB.cpp:1569:10: fatal error: 'openbabel/obutil.h' file not found
#include <openbabel/obutil.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [ChemmineOB.o] Error 1
I'm not sure why it won't recognize .obutil.h as this file exists in that directory.
I resinstalled openbabel and was successful in doing so. I also downloaded the .tgz file from the website for chemmineOB and am now getting this error. Could it possibly be that I am running it on an M2 chip and it is not compatible with it? I've also confirmed that the /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/ChemmineOB/libs/ChemmineOB.so filepath does exist.