tests/testthat/helpers/SW.R

# https://github.com/stan-dev/rstanarm/blob/master/tests/testthat/helpers/SW.R
SW <- function(expr) {
  capture.output(suppressWarnings(expr))
}
jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.