Package remove error (igraph)

Hi, thanks to read this
Im using R studio for Seurat(3.6.3) to using monocle2.
I required 'igraph' package version 1.2.7 but now my version is 1.2.6
so, I type "devtools::install_version("igraph", version = "1.2.7", repos="http://cran.us.r-project.org")"
and appears error script
"ERROR: compilation failed for package 'igraph'
*removing 'C:/Users/yunja/Documents/R/R-3.6.3/library/igraph'"

But my R/R-3.6.3/library folder is don't exist 'igraph' package. because i remove that
let me suggestion please

Please post the complete console output you get when you try to install it

devtools::install_version("igraph", version = "1.2.7", repos="http://cran.us.r-project.org")
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/igraph/igraph_1.2.7.tar.gz

  • installing source package 'igraph' ...
    ** 패키지 'igraph'는 성공적으로 압축해제되었고, MD5 sums 이 확인되었습니다
    ** using staged installation
    ** libs

C:/Rtools/mingw_32/bin/gcc -I"C:/Users/yunja/DOCUME~1/R/R-36~1.3/include" -DNDEBUG -I/include/libxml2 -I/include -DLIBXML_STATIC -DUSING_R -DHAVE_FMEMOPEN=0 -DHAVE_OPEN_MEMSTREAM=0 -DHAVE_RINTF -DWin32 -DHAVE_LIBXML -Wall -DPACKAGE_VERSION="1.2.7" -DHAVE_FMIN=1 -DHAVE_LOG2=1 -DHAVE_SNPRINTF -Ics -I/include -DHAVE_GLPK=1 -Iplfit -Iprpack -DIGRAPH_THREAD_LOCAL= -DPRPACK_IGRAPH_SUPPORT -I. -Iinclude -ISuiteSparse_config -DNDEBUG -DNPARTITION -DNTIMER -DNCAMD -DNPRINT -I/include -DINTERNAL_SUITESPARSE -DINTERNAL_ARPACK -I. -I/include -DHAVE_GFORTRAN -O3 -Wall -std=gnu99 -mtune=core2 -c feedback_arc_set.c -o feedback_arc_set.o
In file included from feedback_arc_set.c:31:0:
igraph_glpk_support.h:36:18: fatal error: glpk.h: No such file or directory
#include <glpk.h>
^
compilation terminated.
make: *** [C:/Users/yunja/DOCUME~1/R/R-36~1.3/etc/i386/Makeconf:208: feedback_arc_set.o] Error 1
ERROR: compilation failed for package 'igraph'

  • removing 'C:/Users/yunja/Documents/R/R-3.6.3/library/igraph'
    경고: installation of package ‘C:/Users/yunja/AppData/Local/Temp/Rtmp8WDvnI/remotes538144a3f0/igraph’ had non-zero exit status

You are missing the the GLPK C system library, instructions to install it on Windows can be found here

But I don't know how to make it available for the old RTools35 build chain.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.