When running devtools::document or roxygen2::roxygenize to generate roxytest files, roxytest complains that the test files weren't created by roxytest even though they were, have not been modified, and return true when calling made_by_roxytest on them. The problem is temporarily solved by manually deleting the roxytest created files, but the error recurs if called again and previously generated test files are present. Not sure if this is the expected behavior and I am missing something, but it seems like it might be an issue.
Description of Issue
When running
devtools::document
orroxygen2::roxygenize
to generate roxytest files, roxytest complains that the test files weren't created by roxytest even though they were, have not been modified, and return true when callingmade_by_roxytest
on them. The problem is temporarily solved by manually deleting the roxytest created files, but the error recurs if called again and previously generated test files are present. Not sure if this is the expected behavior and I am missing something, but it seems like it might be an issue.Reproducible Example
git clone git@github.com:PolicyAnalysisInc/herosurv.git
cd herosurv
git checkout 4a981b7f4fca94ae2d7fdd93bf618059828679f2
R
roxygen2::roxygenize()
Version Info