DESCRIPTION
can break test_r()
#461
Labels
type: bug
Defect or unexpected limitation in existing functionality
DESCRIPTION
can break test_r()
#461
Steps to reproduce
DESCRIPTION
file with the following content:rhino::test_r()
inside the Rhino app directory.Bug description
The
rhino::test_r()
function fails to run with an error along the lines:Expected behavior
The
rhino::test_r()
function should run normally. ADESCRIPTION
file in a parent directory of a Rhino app should not affect it in any way.Rhino diagnostics
Comments
The problems seems to boil down to this:
testthat::test_dir()
(called byrhino::test_r()
) ascends to ancestor directories trying to find aDESCRIPTION
file to read some config from it. This is undesirable in our case and caused a headache when working on #58 (see this comment).The following shell script can be used to reproduce the problem without involving Rhino (checked with
testthat 3.1.7
):The full error is as follows:
The text was updated successfully, but these errors were encountered: