[R] path and R CMD check
Christophe Genolini
cgenolin at u-paris10.fr
Thu Jul 24 00:51:31 CEST 2008
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
More information about the R-help
mailing list