[R-SIG-Mac] Update of RcppParallel failed
Keith O'Hara
keith.ohara at nyu.edu
Wed Feb 14 15:46:30 CET 2018
(It’s under the RcppCore banner, so I figured it was Dirk and co.)
The package installed fine for me (on a Mac), but the build doesn’t seem to import the CC and CXX settings from ~.R/Makevars or Makeconf for some reason. Bug on my end, or is there a reason for this?
> On Feb 14, 2018, at 9:29 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
>
> On 14/02/2018 14:01, Keith O'Hara wrote:
>> 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++.
>
> RcppParalllel is not part of Rcpp, and orphaned. It seems to be a mac-specific issue (it is not happening on other platforms with clang).
>
> There is a bug in src/Makevars. The line
>
> PKG_CPPFLAGS += $(CXX1XSTD) -I../inst/include/
>
> should refer to PKG_CXXFLAGS. I'll fix that after testing as version 4.3.20.2.
>
>
>
>
>>> On Feb 14, 2018, at 8:43 AM, Marc Girondot via R-SIG-Mac <r-sig-mac at 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 at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org <mailto:R-SIG-Mac at r-project.org>
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac <https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
>
>
> --
> Brian D. Ripley, ripley at stats.ox.ac.uk <mailto:ripley at stats.ox.ac.uk>
> Emeritus Professor of Applied Statistics, University of Oxford
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org <mailto:R-SIG-Mac at r-project.org>
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac <https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list