tests/rsource.R

library("R.rsp")

rm(list="i")

pathname <- system.file("exData", "slowcounting.txt.rsp", package="R.rsp")
rsource(pathname, verbose = TRUE)

# Assert that the evaluation was done in the current environment
stopifnot(exists("i", mode="numeric"))
HenrikBengtsson/R.rsp documentation built on Feb. 20, 2024, 9:03 p.m.