Hi the list,
When I developpe my code, I put the file that define all the functions
in ./MyPack/R/prog.R and the tests in ./MyPack/tests/testsProg.R
The test files start by
load("../data/myData.rda")
source("../R/prog.R")
#test function number one...
But "R CMD check MyPack" does not find the file myData.rda.
Does someone knows what is wrong ?
Christophe
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.