You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inst/include/Rcpp/r/headers.h
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,10 @@
21
21
#ifndefRCPP__R__HEADERS__H
22
22
#defineRCPP__R__HEADERS__H
23
23
24
+
#if defined(R_R_H) & defined(USING_R)
25
+
#pragma message "R.h has been included before the Rcpp headers. This can lead to hard-to-debug errors and is not necessary. See https://github.com/RcppCore/Rcpp/issues/14xx"
26
+
#endif
27
+
24
28
// include R headers, but set R_NO_REMAP and access everything via Rf_ prefixes
0 commit comments