Closed john-harrold closed 3 weeks ago
Can you link to your package and make this conversation much more specific, i.e. I could experience the problem myself?
I've closed this issue due to lack of requested reprex. If you still care about this bug, please open a new issue with a reprex.
I am experiencing an issue similar to this one: https://github.com/r-lib/devtools/issues/179
I am developing a package using devetools::load_all() to test things. I am using eval within a tryCatch environment. Part of the code I am evaluating is calling system file for the package I'm developing. If I try to evaluate the code in the tryCatch environment , the system.file command returns "". If I just eval the code
eval(parse(text='system.file(package="bob", "path", "to", "bob")'))
it will return the file path.