Skip to content

Cant install #49

Description

@rakhmatullohubaev-alt

I am getting this error when installing the causalTree package on my mac:

CTA_rundown.c:92:32: error: too many arguments to function call, expected 0, have 8
92 | xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2],
| ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | tr_mean, con_mean, tree_tr_mean, tree_con_mean, alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CTA_rundown.c:102:25: error: too many arguments to function call, expected 0, have 5
102 | xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
| ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
make: *** [CTA_rundown.o] Error 1
ERROR: compilation failed for package ‘causalTree’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/causalTree’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/tk/fmz1nw0j1xsdl6k2m2k5lxdw0000gn/T//RtmpABgpeV/file49ed2a6135d2/causalTree_0.0.tar.gz’ had non-zero exit status

can you help with this?

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