Continuation of Work on the Two-Stage Package
Continuing the work of Homework 2, 3, and 4 on the "Two-Stage" package.
Those of you whose package did not pass R CMD check must fix all the problems.
Those of you who had inadequate tests — either nothing in the tests directory and/or nothing in your R function to assure you catch incorrect input — must fix these issues.
Everyone, whether I noted any issues in my comment or not, must
- Produce an exact, detailed, mathematical statement of what constitutes valid input for your R function.
- Produce an exact, detailed, mathematical statement of what input passes the tests in your R function.
- If parts 1 and 2 are not the same, add more tests to your R function.
Finally, also do R CMD check --use-valgrind <your package name>
as
well as R CMD check <your package name>
. Does it pass that?
Don't worry if it does not. We'll discuss in class.