How do we keep track of where the log file goes? At @jennybc 's suggestion I am using rprojroot to find the project directory, but to return the working directory if find_root() fails.
But if somebody just tries to use read_csv(), we can't control whether they are in a project or what the working directory is at the time of the call. So to which log file should that event be written?
Symptom: devtools::test() currently returns 0 errors, but devtools::check() returns 3.
How do we keep track of where the log file goes? At @jennybc 's suggestion I am using
rprojrootto find the project directory, but to return the working directory iffind_root()fails.But if somebody just tries to use
read_csv(), we can't control whether they are in a project or what the working directory is at the time of the call. So to which log file should that event be written?Symptom:
devtools::test()currently returns 0 errors, butdevtools::check()returns 3.