Hi Keith,

When I try just now, a new version of RcppParallel was available (4.3.20.2; previous one was 4.3.20.1):


essai de l'URL 
'https://cran.r-project.org/src/contrib/RcppParallel_4.3.20.2.tar.gz'

And it compiles without problem !

So the problem is solved !

Thanks

Marc




Le 14/02/2018 à 14:58, Keith O'Hara a écrit :
This looks like an issue to bring up with the Rcpp guys, not R… but can you 
provide a full printout of the error? I’m guessing this failed when compiling a 
C file, not C++.


On Feb 14, 2018, at 8:43 AM, Marc Girondot via R-SIG-Mac 
<r-sig-mac@r-project.org> wrote:

This morning I had an update to apply for RcppParallel but it failed

Here are some information:

update.packages()
RcppParallel :
  Version 4.3.20 installed in 
/Library/Frameworks/R.framework/Versions/3.5/Resources/library
  Version 4.3.20.1 available at https://cran.r-project.org
....
During instal, I had this error

error: invalid argument '-std=gnu++11' not allowed with 'C'

It failed with the two versions of clang that I have installed:

clang++ --version
clang version 5.0.1 (tags/RELEASE_501/final)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

or

clang++ --version
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Do you have some idea about what's happened and how to solve this problem ?

Thanks

Marc

_________________

Information on my R version:

R.Version()
$platform
[1] "x86_64-apple-darwin15.6.0"

$arch
[1] "x86_64"

$os
[1] "darwin15.6.0"

$system
[1] "x86_64, darwin15.6.0"

$status
[1] "Under development (unstable)"

$major
[1] "3"

$minor
[1] "5.0"

$year
[1] "2018"

$month
[1] "02"

$day
[1] "13"

$`svn rev`
[1] "74247"

$language
[1] "R"

$version.string
[1] "R Under development (unstable) (2018-02-13 r74247)"

$nickname
[1] "Unsuffered Consequences"

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to