Entering edit mode
13 days ago
harsh
▴
20
using C compiler: ‘gcc (Ubuntu 12.3.0-17ubuntu1) 12.3.0’
using C++ compiler: ‘g++ (Ubuntu 12.3.0-17ubuntu1) 12.3.0’
g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I'/home/omicslogic/R/x86_64-pc-linux-gnu-library/4.5/Rcpp/include' -fpic -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/r-base-qkOIYD/r-base-4.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/r-base-qkOIYD/r-base-4.5.0=/usr/src/r-base-4.5.0-3.2404.0 -Wdate-time -D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o
gcc -std=gnu2x -I"/usr/share/R/include" -DNDEBUG -I'/home/omicslogic/R/x86_64-pc-linux-gnu-library/4.5/Rcpp/include' -fpic -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/r-base-qkOIYD/r-base-4.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/r-base-qkOIYD/r-base-4.5.0=/usr/src/r-base-4.5.0-3.2404.0 -Wdate-time -D_FORTIFY_SOURCE=3 -c loop_apply.c -o loop_apply.o
In file included from /usr/share/R/include/R.h:70,
from loop_apply.c:1:
/usr/share/R/include/R_ext/Boolean.h:65:16: error: expected ‘{’ before ‘:’ token
65 | typedef enum :int { FALSE = 0, TRUE } Rboolean; // so NOT NA
| ^
/usr/share/R/include/R_ext/Boolean.h:65:41: warning: data definition has no type or storage class
65 | typedef enum :int { FALSE = 0, TRUE } Rboolean; // so NOT NA
| ^~~~~~~~ ^~~~~~~~
make: *** [/usr/lib/R/etc/Makeconf:202: loop_apply.o] Error 1
ERROR: compilation failed for package ‘plyr’
* removing ‘/home/omicslogic/R/x86_64-pc-linux-gnu-library/4.5/plyr’
Warning in install.packages :
installation of package ‘plyr’ had non-zero exit status
Simply posting a snippet of error message in a question is the reason you have not received any responses.
Please make an effort to formulate a proper question. Tell us what package you are installing and how you are installing it (e.g. command line). Provide information about R/gcc/OS/package versions.