Suppress output of `expose_stan_functions()`

Is there any way to suppress all output expose_stan_functions() prints to the console. I’ve tried invisible, sink, capture.output, but nothing seems to do the trick.

With 2.19.2?

It wasn’t (I was on 2.19.1). But installing 2.19.2 did not seem to make a difference.

@bgoodri any hints for 2.19.2? Should there be a way to silence the function?

It was suppose to work via setting show_compiler_warnings to FALSE but I think I messed up. I guess you have to suppress them with options in ~/.R/Makevars

https://mc-stan.org/misc/warnings.html#compiler-warnings

1 Like