search for: mypackagetest

Displaying 1 result from an estimated 1 matches for "mypackagetest".

2011 Oct 19
1
Test Case for Package
Hi, I had a query for writing a test case for a package. If we are testing a function then do we need to call that function for testing; library(mypackage)? Is that any circular logic any way. For eg. if I create a package mypackage, can I have a file mypackagetest in the tests directory whose line is library(mypackage). It would be helpful if I could get some input on this. Regards Vikram [[alternative HTML version deleted]]