Skip to content
Snippets Groups Projects
Commit 00408071 authored by Mick Jordan's avatar Mick Jordan
Browse files

Add test for R_tryEval

parent cdf4c283
Branches
No related tags found
No related merge requests found
......@@ -49,3 +49,8 @@ rffi.invoke12 <- function() {
rffi.interactive <- function() {
.Call("interactive", PACKAGE = "testrffi");
}
rffi.tryEval <- function(expr, env) {
.Call("tryEval", expr, env, PACKAGE = "testrffi")
}
......@@ -141,6 +141,6 @@ SEXP interactive(void) {
}
SEXP tryEval(SEXP expr, SEXP env) {
return R_tryEval(expr, env, NULL);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment