Closed sedavid01 closed 9 months ago
@sedavid01 For your question regarding testthat.R
, please refer to this link. Code in there are not meant to be ran directly.
Pull request approved, minor updates made, and merge to dev complete. Closing this ticket.
17, @gracezhihuizhao was able to put together an Rmd to demonstrate that the unit tests pass and provides a case where a unit test will fail (and what that outcome looks like).
Goal: Add the Rmd file to the package in a location that will allow us to keep together the documentation while also not wrapping it up into the package submitted to CRAN.
From @brown-jason: check out usethis::use_build_ignore and create a folder called analyses that we can store stuff like this in. See here: https://stackoverflow.com/questions/13182634/rbuildignore-and-excluding-directories
(Also, please check that the code in "testthat.R" can be used to test the unit tests. Looks like one should be able to run that code when the package is installed and obtain the unit test results. However, when I tried it the code did not work. Need is just a verification that it works.)