Skip to content

Mac R 4.2 cpp11test failure #280

Closed
Closed
@DavisVaughan

Description

@DavisVaughan
test-doubles.cpp:187:38: error: use of undeclared identifier 'R_compact_intrange'
    SEXP x = PROTECT(Rf_coerceVector(R_compact_intrange(1, 5), REALSXP));
test-doubles.cpp:221:48: error: use of undeclared identifier 'R_compact_intrange'
    cpp11::writable::doubles z(Rf_coerceVector(R_compact_intrange(1, 5), REALSXP));
test-doubles.cpp:239:48: error: use of undeclared identifier 'R_compact_intrange'
    cpp11::writable::doubles z(Rf_coerceVector(R_compact_intrange(1, 5), REALSXP));
                                               ^

We get these errors because R_compact_intrange() was moved from Rinternals.h to the private Defn.h in this commit wch/r-source@86b4a06

I guess we should figure out a way to avoid or swap out these tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions