I am still trying to build a package. At the moment I am stuck with a file not found error message when processing R code from the tests subdirectory. What would be the accurate relative path for files in the tests directory to access files in the data directory? -- Johannes H?sing There is something fascinating about science. One gets such wholesale returns of conjecture mailto:johannes at huesing.name from such a trifling investment of fact. http://derwisch.wikidot.com (Mark Twain, "Life on the Mississippi")
Johannes Huesing wrote:> I am still trying to build a package. At the moment I am stuck with a > file not found error message when processing R code from the tests > subdirectory. What would be the accurate relative path for files in > the tests directory to access files in the data directory?You do not need a path. Just say data("your_data's_name") (if data is not already under Lazy Loading) in the R code. I guess you rely on an installed package when the tests are executed, don't you? Best wishes, uwe