I have some Rcpp code which I am trying to test using testthat.
Rcpp
testthat
I have a function int bar() in foo.cpp, and a test
int bar()
foo.cpp