Skip to content

Can't install on Mac #4

Description

@Goiageshiketa

I have been tried to install Rpath on Mac (10.12.6) with Xcode and Command Line Tools installed.
Typing "devtools::install_github('slucey/RpathDev/Rpath', ref = 'Public', build_vignettes = TRUE)"
on Rstudio returns,


Downloading GitHub repo slucey/RpathDev@Public
from URL https://api.github.com/repos/slucey/RpathDev/zipball/Public
Installing Rpath

In file included from ecosim.cpp:2:
./ecosim.h:33:4: error: no matching function for call to 'transform'
std::transform(base.begin(), base.end(),
^~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:1932:1: note: candidate template ignored: couldn't infer template argument '_BinaryOperation'
transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:1922:1: note: candidate function template not viable: requires 4 arguments, but 5 were provided
transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
^
1 error generated.
make: *** [ecosim.o] Error 1
ERROR: compilation failed for package ‘Rpath’

  • removing ‘/Users/takeshigeaigo/Library/R/3.3/library/Rpath’
    Error : Command failed (1)

Does anyone help this?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions