Dear all,
I got an overwhelming amount of response to my question, and making a
complete summary is not possible. However, I learned that I should
change things like 'dat[5:8, 1]' to 'dat[[1]][5:8]',
respecting the fact that a data frame is a list, in my packages.
Accidentally, this also solves
Greetings,
I am trying to create some unit tests for a Rcpp::sourceCpp call. It
includes some dependencies with the // [[Rcpp::depends]] flag and compiles
and passes if I call the test file with testthat::test_file. However, if I
try to call it with devtools::test() to run all of my tests, the
c