Skip to content
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

Unit test failure on CI platforms and in local package checks #1

Open
jpuka opened this issue Sep 14, 2020 · 0 comments
Open

Unit test failure on CI platforms and in local package checks #1

jpuka opened this issue Sep 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jpuka
Copy link

jpuka commented Sep 14, 2020

Unit tests sometimes fail in CI checks due to very high simulated values. This can also happen locally when checking package with devtools::check(args = c('--as-cran')). However, testing locally with devtools::test() never fails.

Example output from a failure:

-- 1. Failure: Steady state predictions are correct (@test-calibrate_yasso.R#54)  --------------
`simulated_out` not equal to `real_out`.
1/20 mismatches
[20] 6.6e+182 - 532 == 6.6e+182
@jpuka jpuka added the bug Something isn't working label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant