Skip to content

ChIPKernels fails to compile in R 4.5 because of change in names of R API macros #1

@afayyazuddin

Description

@afayyazuddin

The error is in compilation of hamming.c due to removal of the macros Calloc, Free, and Realloc from the R API (https://stat.ethz.ch/R-manual/R-devel/doc/manual/R-exts.html). The new macros are now called R_Calloc, R_Free, and R_Realloc and the code compiles when the old names are replaced with the new ones.
A screenshot of the compilation error is shown below:

Image

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