-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run tests #19
Comments
Can I assume the larger context is that I'd say maybe a filesystem permissions issue on the server, except the path starts with |
@dholstius Thanks for looking into this. I just looked at this more closely and I see the error. If you look closely at the path it is looking for ( The issue is that there is duplication in the file path it is using: It took me a while to realize this as when I tried to find the file I could. But that's because the file is in I think that we need to figure this out. But I am going to prioritize it a bit lower than fixing the errors related to package dependency issues. |
Ah. Maybe tbltools/tests/testthat/helper-test_csv_data.R Lines 1 to 5 in 72500da
There may be a newer or better way to incorporate data into tests. Perhaps it'd be good to ask the Lower priority sounds good to me as long as you can successfully run |
Got it. When I opened this I was only running the tests via R CMD CHECK and that's indeed the only path that's failing. Like you, I can run the tests the other ways you mention. According to the documentation, Can you confirm that you are seeing that two tests currently fail? Also, can you confirm whether these failures predate my work on R CMD CHECK? (I.e. I'd like to make sure that my work hasn't caused these failures). The failures I see are:
I think there are two things here:
|
Also, specifically regarding your thought that "there may be a newer or better way to incorporate data into tests", the help files for
I mention this because the file you reference starts with |
Thanks! Yes, we should move away from the old helper-* style. And, the Depends → Imports work is priority. It's OK with me that those tests you quoted are failing. I'd like to fix those. But not adding more failures is good for now. Thanks for asking! |
#12 is turning out to be a much larger task that I realized. My current PR is turning into addressing a small subset of the problem (namely, use
@importFrom <package> <function>
for all functions to remove ambiguity about which functions we really want to use. From there we can presumably move most of the functions from Depends to Imports).But I just realized a very serious issue that is probably worth an Issue of its own. R CMD CHECK is halting because it simply cannot run the package's test suite at all:
I have not investigated this issue yet at all.
The text was updated successfully, but these errors were encountered: