[R-pkg-devel] Package compiler error

Mohammadi, A. a.mohammadi at rug.nl
Sun Oct 22 16:54:37 CEST 2017


Hi everyone,

In the new version of my package BDgraph
<https://cran.r-project.org/web/packages/BDgraph/index.html>, I got below
error (link
<https://cran.r-project.org/web/checks/check_results_BDgraph.html>). I
checked it in my Linux and it works. It's problem with MAC compilers
related to OpenMP.

I really appreciate any kind of help. Thank you in advance!


* installing to library ‘/home/ripley/R/Lib32’

* installing *source* package ‘BDgraph’ ...
** package ‘BDgraph’ successfully unpacked and MD5 sums checked
** libs
/opt/csw/bin/g++ -std=gnu++11 -I/home/ripley/R/cc/include -DNDEBUG
-I/usr/local/include  -xopenmp -fPIC  -O2 -c MyLapack.cpp -o
MyLapack.o
g++: error: language openmp not recognized
g++: error: language openmp not recognized
*** Error code 1
make: Fatal error: Command failed for target `MyLapack.o'
Current working directory /tmp/Rtmpc6aat3/R.INSTALL6e986d4b27ab/BDgraph/src
ERROR: compilation failed for package ‘BDgraph’
* removing ‘/home/ripley/R/Lib32/BDgraph


Best,
Reza
---------------------------------------------
Dr. A. Mohammadi
Postdoc Researcher in Statistics
Tilburg University
My University Homepage
<https://www.tilburguniversity.edu/webwijs/show/a.mohammadi.htm>
---------------------------------------------

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list