The testthat
package is needed to run all tests. The location
tests themselves can be extracted from the package via
system.file("tests", package="igraph")
. This function simply calls the test_dir
function from the
testthat
package on the test directory.