File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ context("doubles-C++") {
233233 UNPROTECT (1 );
234234 }
235235
236- #if defined(__APPLE__) && defined(R_VERSION) && R_VERSION >= R_Version(3, 5, 0)
236+ #if defined(__APPLE__)
237237 test_that (" writable::doubles(ALTREP_SEXP)" ) {
238238 // ALTREP compact-seq
239239 auto seq = cpp11::package (" base" )[" seq" ];
Original file line number Diff line number Diff line change 1- #include " Rversion.h"
21#include " cpp11/R.hpp"
32#include " cpp11/doubles.hpp"
43#include " cpp11/function.hpp"
@@ -218,7 +217,7 @@ context("integers-C++") {
218217 expect_true (x[2 ] == 3 );
219218 }
220219
221- #if defined(__APPLE__) && defined(R_VERSION) && R_VERSION >= R_Version(3, 5, 0)
220+ #if defined(__APPLE__)
222221 test_that (" writable::integers(ALTREP_SEXP)" ) {
223222 // ALTREP compact-seq
224223 auto seq = cpp11::package (" base" )[" seq" ];
Original file line number Diff line number Diff line change 77
88#include < algorithm> // for max_element
99
10- #ifdef _WIN32
11- #include " Rversion.h"
12- #define CPP11_HAS_IS_UTILITIES R_VERSION >= R_Version(4 , 0 , 0 )
13- #else
14- #define CPP11_HAS_IS_UTILITIES 1
15- #endif
16-
17- #if CPP11_HAS_IS_UTILITIES
1810context (" r_vector-capabilities-C++" ) {
1911 test_that (" read only vector capabilities" ) {
2012 using cpp11::integers;
@@ -77,7 +69,6 @@ context("r_vector-capabilities-C++") {
7769 expect_true (std::is_move_assignable<integers::proxy>::value);
7870 }
7971}
80- #endif
8172
8273context (" r_vector-C++" ) {
8374 test_that (" writable vector temporary isn't leaked (integer) (#338)" ) {
You can’t perform that action at this time.
0 commit comments