I am trying to install DirichletMultinomial on R 4.1.0, however I am getting the error message below:
dirichlet_fit_main.c:221:9: error: ‘gsl_multimin_fdfminimizer_vector_bfgs2’ undeclared (first use in this function); did you mean ‘gsl_multimin_fdfminimizer_vector_bfgs’?
221 | T = gsl_multimin_fdfminimizer_vector_bfgs2;
| ^~~~~~~~~~
| gsl_multimin_fdfminimizer_vector_bfgs
dirichlet_fit_main.c:221:9: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/usr/local/lib/R/etc/Makeconf:168: dirichlet_fit_main.o] Error 1
Just managed to solve the issue, seemed to have installed an old version of GSL accidentally. Please find my answer on this stackoverflow thread if helpful!
Hi,
I am trying to install DirichletMultinomial on R 4.1.0, however I am getting the error message below:
I have already installed GSL as per this stackoverflow thread.
Many thanks, Daniel