===============================
R CMD BUILD
===============================
* checking for file ‘epimutacions/DESCRIPTION’ ... OK
* preparing ‘epimutacions’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
-----------------------------------
* installing *source* package ‘epimutacions’ ...
** using staged installation
** libs
gcc -I"/home/biocbuild/bbs-3.15-bioc/R/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -c mlm_init.c -o mlm_init.o
gcc -I"/home/biocbuild/bbs-3.15-bioc/R/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -c ruben.c -o ruben.o
ruben.c:4:1: error: unknown type name ‘using’
4 | using std::exp;
| ^~~~~
ruben.c:4:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
4 | using std::exp;
| ^
ruben.c:5:1: error: unknown type name ‘using’
5 | using std::log;
| ^~~~~
ruben.c:5:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
5 | using std::log;
| ^
ruben.c:6:1: error: unknown type name ‘using’
6 | using std::fabs;
| ^~~~~
ruben.c:6:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
6 | using std::fabs;
| ^
ruben.c:7:1: error: unknown type name ‘using’
7 | using std::sqrt;
| ^~~~~
ruben.c:7:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
7 | using std::sqrt;
| ^
ruben.c:9:8: error: expected identifier or ‘(’ before string constant
9 | extern "C" {
| ^~~
make: *** [/home/biocbuild/bbs-3.15-bioc/R/etc/Makeconf:168: ruben.o] Error 1
ERROR: compilation failed for package ‘epimutacions’
* removing ‘/tmp/RtmpokUfiz/Rinst327029d967f5a/epimutacions’
-----------------------------------
ERROR: package installation failed
===============================
R CMD BUILD
===============================
* checking for file ‘epimutacions/DESCRIPTION’ ... OK
* preparing ‘epimutacions’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
-----------------------------------
* installing *source* package ‘epimutacions’ ...
** using staged installation
** libs
clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c mlm_init.c -o mlm_init.o
clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c ruben.c -o ruben.o
ruben.c:4:1: error: unknown type name 'using'
using std::exp;
^
ruben.c:4:10: error: expected ';' after top level declarator
using std::exp;
^
;
ruben.c:4:11: error: expected identifier or '('
using std::exp;
^
ruben.c:5:1: error: unknown type name 'using'
using std::log;
^
ruben.c:5:10: error: expected ';' after top level declarator
using std::log;
^
;
ruben.c:5:11: error: expected identifier or '('
using std::log;
^
ruben.c:6:1: error: unknown type name 'using'
using std::fabs;
^
ruben.c:6:10: error: expected ';' after top level declarator
using std::fabs;
^
;
ruben.c:6:11: error: expected identifier or '('
using std::fabs;
^
ruben.c:7:1: error: unknown type name 'using'
using std::sqrt;
^
ruben.c:7:10: error: expected ';' after top level declarator
using std::sqrt;
^
;
ruben.c:7:11: error: expected identifier or '('
using std::sqrt;
^
ruben.c:9:8: error: expected identifier or '('
extern "C" {
^
13 errors generated.
make: *** [ruben.o] Error 1
ERROR: compilation failed for package ‘epimutacions’
* removing ‘/private/var/folders/7y/c__3_48d5y18p1_rhfs_4x9c0000gt/T/RtmpDAitfT/Rinstbcdc7aed2921/epimutacions’
-----------------------------------
ERROR: package installation failed