Closed DavisVaughan closed 2 years ago
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 https://github.com/wch/r-source/commit/86b4a0641e889808ce204e28dd8bd19bbd1c8cbb
R_compact_intrange()
Rinternals.h
Defn.h
I guess we should figure out a way to avoid or swap out these tests
We get these errors because
R_compact_intrange()
was moved fromRinternals.h
to the privateDefn.h
in this commit https://github.com/wch/r-source/commit/86b4a0641e889808ce204e28dd8bd19bbd1c8cbbI guess we should figure out a way to avoid or swap out these tests