tests/include,recursive.R

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)
HenrikBengtsson/R.rsp documentation built on Feb. 20, 2024, 9:03 p.m.