Skip to content
Snippets Groups Projects
Commit a0f08024 authored by stepan's avatar stepan
Browse files

Fix syntax error in testrffi/test/simpleTests.R

parent 4a81767a
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,8 @@ strVec <- rffi.getStringNA();
stopifnot(anyNA(strVec))
x <- list(1)
attribute(x, 'myattr') <- 'hello';
attrs <- ATTRIB(x)
attr(x, 'myattr') <- 'hello';
attrs <- rffi.ATTRIB(x)
stopifnot(attrs[[1]] == 'hello')
# loess invokes loess_raw native function passing in string value as argument and that is what we test here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment