File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -76,17 +76,17 @@ compileAttributes(pkg_path)
7676
7777# tests
7878testRostream <- function () {
79- captureFun <- function (... ) {
80- err <- capture.output(
81- out <- capture.output(... , type = " output" ), type = " message" )
82- c(out , err )
83- }
84- res <- all(ptrA() == ptrB())
85- res <- c(res , all(grepl(" ^ " , captureFun(something()))))
86- toLeft() # change alignment globally
87- res <- c(res , all(grepl(" ^s" , captureFun(something()))))
88- toRight() # restore
89- res
79+ captureFun <- function (... ) {
80+ err <- capture.output(
81+ out <- capture.output(... , type = " output" ), type = " message" )
82+ c(out , err )
83+ }
84+ res <- all(ptrA() == ptrB())
85+ res <- c(res , all(grepl(" ^ " , captureFun(something()))))
86+ toLeft() # change alignment globally
87+ res <- c(res , all(grepl(" ^s" , captureFun(something()))))
88+ toRight() # restore
89+ res
9090}
9191
9292# test package
You can’t perform that action at this time.
0 commit comments