[R-pkg-devel] R CMD Check: Tests running infinite

Patrick Schratz patrick.schratz at gmail.com
Tue Jan 31 13:45:26 CET 2017


Hello,

when running R CMD check / devtools::check, section "running tests..." is
not finishing (40 min+).

*Checking tests only works:*

*==> Sourcing R files in 'tests' directory*

*testthat results
================================================================*
*OK: 7 SKIPPED: 0 FAILED: 0*

*Tests complete*


As well as running tests line-by-line.

How can I debug my tests to discover the problem during R CMD check?

*Tests are using parallelization (foreach + doParallel)*

Best, Patrick

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list