library("R.rsp") path <- system.file("rsp_tests", package="R.rsp") pathname <- file.path(path, "recursive.txt.rsp") print(pathname) R.utils::withTimeout({ res <- try({ rcat(file=pathname) }) stopifnot(inherits(res, "try-error")) }, timeout=30L)