statnet / network

Classes for Relational Data
Other
15 stars 8 forks source link

In the speed tests, calibrate against machine speed to allow running in a virtual machine. #18

Closed krivit closed 4 years ago

krivit commented 4 years ago

R CMD check --use-valgrind on the package fails for network because tests/speedTests.R uses specific numbers for time limits on its tasks. This means that running inside a virtual machine like Valgrind, which slows down the execution, can trigger false positives.

martinamorris commented 4 years ago

This really belongs here so I'm going to transfer it.