We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e208ff commit 7db4680Copy full SHA for 7db4680
inst/include/Rcpp/print.h
@@ -1,6 +1,6 @@
1
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
2
//
3
-// Copyright (C) 2015 Dirk Eddelbuettel
+// Copyright (C) 2015 - 2016 Dirk Eddelbuettel
4
5
// This file is part of Rcpp.
6
@@ -26,6 +26,12 @@ inline void print(SEXP s) {
26
Rf_PrintValue(s); // defined in Rinternals.h
27
}
28
29
+inline void warningcall(SEXP call, const std::string & s) {
30
+ Rf_warningcall(call, s.c_str());
31
+}
32
+
33
+// also note that warning() is defined in file exceptions.h
34
35
36
37
#endif
0 commit comments