-
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
Upkeep #22
base: main
Are you sure you want to change the base?
Conversation
resolves poissonconsulting/infrastructure-issues#204 |
One test in I'm guessing this has to do with file path differences between operating systems. I think both mac and ubuntu accept |
It would be good to dig into the error further before turning the test off and seeing if there is a change we can make to the code so it works on both windows and other systems. I think you should dig into the code and determine what exactly is causing the issue in windows and if anything can be done to fix it as it. |
I think the error is occurring because of this line in |
Have you tried building the file path with the |
The Windows R-CMD-check is actually failing on this line in
I tried adding an argument for the output directory that would differ between systems:
but we're still getting the file path error. I could try making if/else statements to run different code on Windows, but I don't really know what else to change after scouring the internet on this error. We could also skip this test on Windows, but users likely wouldn't be able to use |
I was incorrect above, this issue is not just about how the test is set up but the purpose of this function which is to created a quick way to view the tables, plots, figures, etc in the report format but it is not actually generating the report we write up. To fix this we need to make sure it encodes it properly for windows where the "quick" report structure is created. In the |
@aylapear, this fix worked! If I had to make an (educated) guess as to why If I've got the fix correct, you can go ahead and merge the pull request as long as @joethorley is happy with the changes. |
No description provided.