Skip to content

Installing techchart on Apple M1 #4

@landeisbm

Description

@landeisbm

When I attempt to install the techchart package:

     devtools::install_github("prodipta/techchart")

I get the following error:

cpttrend.cpp:142:27: error: use of undeclared identifier 'PI'
ret = double(n)/2log(2PI) + double(n)/2*log(variance) + double(n)/2;
^
1 error generated.
make: *** [cpttrend.o] Error 1
ERROR: compilation failed for package ‘techchart’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/techchart’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/63/lk4ndx6970n0_rxljsq33h6r0000gn/T//Rtmpb6KeH3/file5a5d2facc815/techchart_0.1.0.tar.gz’ had non-zero exit status

Thank you for any help you can give

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