I have seen some problems when I install igraph on R 4.1.2.
There are errors:
In file included from blas.c:26:
blas.c: In function ‘igraph_blas_dgemv’:
igraph_blas_internal.h:42:29: error: too few arguments to function ‘dgemv_’
42 | #define igraphdgemv_ dgemv_
| ^~~~~~
blas.c:70:5: note: in expansion of macro ‘igraphdgemv_’
70 | igraphdgemv_(&trans, &m, &n, &alpha, VECTOR(a->data), &m,
| ^~~~~~~~~~~~
igraph_blas_internal.h:42:29: note: declared here
42 | #define igraphdgemv_ dgemv_
| ^~~~~~
igraph_blas_internal.h:60:6: note: in expansion of macro ‘igraphdgemv_’
60 | void igraphdgemv_(char *trans, int *m, int *n, igraph_real_t *alpha,
| ^~~~~~~~~~~~
blas.c: In function ‘igraph_blas_dgemv_array’:
igraph_blas_internal.h:42:29: error: too few arguments to function ‘dgemv_’
42 | #define igraphdgemv_ dgemv_
| ^~~~~~
blas.c:111:5: note: in expansion of macro ‘igraphdgemv_’
111 | igraphdgemv_(&trans, &m, &n, &alpha, VECTOR(a->data), &m,
| ^~~~~~~~~~~~
igraph_blas_internal.h:42:29: note: declared here
42 | #define igraphdgemv_ dgemv_
| ^~~~~~
igraph_blas_internal.h:60:6: note: in expansion of macro ‘igraphdgemv_’
60 | void igraphdgemv_(char *trans, int *m, int *n, igraph_real_t *alpha,
| ^~~~~~~~~~~~
make: *** [/usr/lib/R/etc/Makeconf:168:blas.o] 错误 1
ERROR: compilation failed for package ‘igraph’
* removing ‘/home/publich/R/x86_64-pc-linux-gnu-library/4.1/igraph’
Warning in install.packages :
installation of package ‘/home/publich/下载/igraph_1.2.8.tar.gz’ had non-zero exit status