Rperform
Rperform copied to clipboard
correctness test your own code?
maybe write some tests to make sure that your mem_compare function returns a data frame with a certain number of row and certain row names?
either clone an existing repository as a part of the test framework (e.g. hadley/stringr) or use git2r to make a simple repository that you can run your code on.
I have written a basic test using testthat to begin with. Link to commit: https://github.com/da-ta-vinci21/Rperform/commit/21d6620febd6c0cf6a48c9db94985b4d2876de7f
for the function that generates a web page, test that the web page contains one image for every test.