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)
76
76
77
77
# tests
78
78
testRostream <- 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
90
90
}
91
91
92
92
# test package
You can’t perform that action at this time.
0 commit comments