Add tests for R builds

This commit is contained in:
Greg Lin 2022-08-10 17:17:01 -05:00
commit 1de359f3e6

View file

@ -0,0 +1,5 @@
library(testpkg)
stopifnot(add_it(1, 2) == 3)
stopifnot(subtract_it(1, 2) == -1)
stopifnot(square_it(3) == 9)