Giter Club home page Giter Club logo

kbac's People

Contributors

bound-to-love avatar gaow avatar

Watchers

 avatar  avatar

kbac's Issues

download error on mac

devtools::install_github("gaow/kbac")
Downloading GitHub repo gaow/kbac@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/f7/v49nw0hx6rs85675mn0y3thr0000gn/T/Rtmp37Zdo5/remotesaf232ff3e2c/gaow-kbac-f3870dc/DESCRIPTION’ ...
─ preparing ‘KBAC’:
✔ checking DESCRIPTION meta-information
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘KBAC_0.01.tar.gz’

  • installing source package ‘KBAC’ ...
    ** using staged installation
    ** libs
    using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
    using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
    using SDK: ‘MacOSX13.3.sdk’
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c elementary.c -o elementary.o
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c error.c -o error.o
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c exp.c -o exp.o
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c fdiv.c -o fdiv.o
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c gamma.c -o gamma.o
    gamma.c:1613:54: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
    result->err = 2.0 * GSL_DBL_EPSILON * prod * fabs(n-m);
    ^
    gamma.c:1613:54: note: remove the call to 'fabs' since unsigned values cannot be negative
    result->err = 2.0 * GSL_DBL_EPSILON * prod * fabs(n-m);
    ^~~~
    1 warning generated.
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c hyperg.c -o hyperg.o
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c hypergeometric.c -o hypergeometric.o
    clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c infnan.c -o infnan.o
    infnan.c:136:10: warning: 'finite' is deprecated: first deprecated in macOS 10.9 - Use isfinite((double)x) instead. [-Wdeprecated-declarations]
    return finite(x);
    ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:752:12: note: 'finite' has been explicitly marked deprecated here
    extern int finite(double)
    ^
    1 warning generated.
    clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c interface.cpp -o interface.o
    clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c kbac.cpp -o kbac.o
    kbac.cpp:285:5: error: use of undeclared identifier 'random_shuffle'
    random_shuffle(m_ydat.begin(), m_ydat.end());
    ^
    1 error generated.
    make: *** [kbac.o] Error 1
    ERROR: compilation failed for package ‘KBAC’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/KBAC’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/f7/v49nw0hx6rs85675mn0y3thr0000gn/T//Rtmp37Zdo5/fileaf228c9b1b/KBAC_0.01.tar.gz’ had non-zero exit status
    this happened on R version 4.3 on MacBook, is there any way to fix this or this package is no longer supported/updated?

Install problem

Hi Gao,

I have a problem to install KBAC on Windows 7 as attached. Please let me know how to fix it.

Thanks.

Ho-Joon

KBAC_error.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.