if ( requireNamespace("tinytest", quietly = TRUE) && requireNamespace("mirt", quietly = TRUE) ){ tinytest::test_package("psychotree") }