Code Monkey home page Code Monkey logo

cecs's People

Contributors

ewarchul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cecs's Issues

Remove note from CRAN check

Note:

Version: 0.1.0 
Check: compiled code 
Result: NOTE 
    File ‘cecs/libs/cecs.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

Performance issues

Code execution is sluggish (even 5 times slower than code from {cec2013} or {cec2017}) due to stringr::str_interp() function and/or bad C code organization.

  • replace stringr::str_interp with base::paste0
  • re-organize C code

CEC2005

Due to low quality of implementation, CEC2005 is not included in the package.

It's source code in C has to be rewritten.

Malloc.h on macOS

cec2013 uses malloc.h header which has been superseded and is not included in macOS.

Error message:

clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c cec2013.c -o cec2013.o
In file included from cec2013.c:8:
In file included from ./cec2013.h:8:
In file included from ./cec2013_interface.h:9:
./cec2013_functions.h:5:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.
make: *** [cec2013.o] Error 1
ERROR: compilation failed for package ‘cecs’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/cecs’

on

Darwin MacBook-Pro 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020  x86_64

Correct before 2021-02-01 to retain package on CRAN.

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.