-
Notifications
You must be signed in to change notification settings - Fork 2
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
recording failed tests here that only happen on GitHub Actions. Odd thing is that these test pass on local checks #363
Comments
@jeffreyhanson any idea on this? Should I just add
Wondering how it worked before? Never had this problem. |
Yeah that's weird. Is listed testthat in Suggests part of the DESCRIPTION? |
Hmm, also check if it's installed in renv? |
Its not in the rene.lock file. I tried renv::instal("testthat") and then renv::snapshot(), however it says the the lockfile is up to date. I think because it is not used in the application code the new version of renv can't pick it up? We have it listed in the Suggests part of the Description |
Hmm, maybe try |
I tried that, no dice. I am reading this: |
Maybe? |
I see that renv doesn't capture dependencies in the testthat folder. It considers testthat as separate from the core project. I ran
|
@jeffreyhanson I am getting a weird faliure when it trys to install igraph: I found out where it is called: wheretowork/R/utils_spatial_misc.R Lines 89 to 137 in 316b256
I am wondering if you have a new / different way to calculate reserve sizes, without the need to use |
Hmm, that's odd. Yeah, you could potentially use the sf package instead of igraph - but that will slow down performance a lot. I would suggest trying to work out why it's failing. The error message suggests that something is going wrong with the C/C++ compiled part of the package (since it's complaining about a DLL file). Looking at the compilation flags in the raw logs, we can see compilation of the igraph package depends on the cpp11 package (e.g., see |
Thanks, I see that cpp11 R package updated at the end of August. I updated to the latest 0.5 version and will see it that works. |
Darn, still errors at the same spot. But only for Windows build |
Hmm, maybe the issue is one of its other dependencies? |
I got it to pass on Windows! in the I removed those from the I didn't see these system dependecies for Ubuntu or in the Dockerfile. @jeffreyhanson would you know why? |
Ah - nice work tracking that down! No idea why having those dependencies present would cause issues. |
I think all these random fails have to do with the string encodings? Maybe this: wheretowork/R/fct_write_project.R Lines 158 to 159 in 316b256
The random tests fail when simulated WTW data is generated, then saved using write_project. And then read using read_project. It says that there is NULL in |
Yeah, that's odd - no idea what's going wrong here sorry. To help with debugging this, you could throw error messages that describe the contexts of |
The text was updated successfully, but these errors were encountered: