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))
}

Try the lgpr package in your browser

Any scripts or data that you put into this service are public.

lgpr documentation built on Sept. 24, 2023, 9:06 a.m.