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
devtools::check() running infinite while devtools::test() running fine #567
Comments
I am running into exactly the same issue with one of my package right now.
Commenting out |
This is the infamous |
This fixed the issue right away. It also shows how poor my googling skills are - even with the solution I can't really understand what's going on. |
Wow, that solved the problem! How many hours did I spent on that... Thanks so much!!!! @gaborcsardi |
Thank you, this solved this issue for me to. For anyone coming here from google. Add:
For testing parallel functions with testthat. |
When running
devtools::test()
on my package, everything works fine.devtools::check()
andR CMD check
are running infinite on my tests. My tests are using two cores viaforeach()
. Is that causing trouble? If not, is there any way to debug this?(Please use the
dev
branch for testing purposes.)The text was updated successfully, but these errors were encountered: